平板端快衣店
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

1 lines
12 KiB

<view class="page1"><uni-datetime-picker style="margin-bottom:20rpx;" vue-id="44aeab14-1" type="daterange" value="{{range}}" data-event-opts="{{[['^change',[['searchList']]],['^input',[['__set_model',['','range','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></uni-datetime-picker><view style="width:100%;margin:20px auto;background:#fff;"><view data-event-opts="{{[['tap',[['goDetail',['xiaoshou']]]]]}}" class="box" bindtap="__e"><view style="width:75%;"><view style="width:50rpx;height:40px;float:left;margin-right:20rpx;"><uni-icons vue-id="44aeab14-2" type="cart" size="24" color="red" bind:__l="__l"></uni-icons></view>销售金额</view><view style="width:25%;"><text style="display:inline-block;width:150rpx;text-align:center;height:40px;line-height:40px;float:left;">{{shopInfo.totalAmount}}</text><uni-icons vue-id="44aeab14-3" type="right" size="24" color="#777" bind:__l="__l"></uni-icons></view></view><view data-event-opts="{{[['tap',[['goDetail',['xiaoshou']]]]]}}" class="box" bindtap="__e"><view style="width:75%;"><view style="width:50rpx;height:50rpx;float:left;margin-right:20rpx;"><uni-icons vue-id="44aeab14-4" type="cart" size="24" color="red" bind:__l="__l"></uni-icons></view>销售总件数</view><view style="width:25%;"><text style="display:inline-block;width:150rpx;text-align:center;height:40px;line-height:40px;float:left;">{{shopInfo.totalJCount}}</text><uni-icons vue-id="44aeab14-5" type="right" size="24" color="#777" bind:__l="__l"></uni-icons></view></view><view style="width:100%;height:10rpx;background:#eee;"></view><view data-event-opts="{{[['tap',[['goDetail',['xiaoshoulirun']]]]]}}" class="box" bindtap="__e"><view style="width:75%;"><view style="width:50rpx;height:50rpx;float:left;margin-right:20rpx;"><uni-icons vue-id="44aeab14-6" type="wallet" size="24" color="red" bind:__l="__l"></uni-icons></view>销售利润</view><view style="width:25%;"><text style="display:inline-block;width:150rpx;text-align:center;height:40px;line-height:40px;float:left;">{{shopInfo.totalProfit==null?0:shopInfo.totalProfit}}</text><uni-icons vue-id="44aeab14-7" type="right" size="24" color="#777" bind:__l="__l"></uni-icons></view></view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="box" bindtap="__e"><view style="width:75%;"><view style="width:50rpx;height:40px;float:left;margin-right:20rpx;line-height:40px;"><uni-icons vue-id="44aeab14-8" type="wallet" size="24" color="red" bind:__l="__l"></uni-icons></view>实际利润</view><view style="width:25%;"><text style="display:inline-block;width:150rpx;text-align:center;height:40px;line-height:40px;float:left;">{{$root.g0}}</text><uni-icons vue-id="44aeab14-9" type="right" size="24" color="#777" bind:__l="__l"></uni-icons></view></view><view style="width:100%;height:10rpx;background:#eee;"></view><view data-event-opts="{{[['tap',[['goDetail',['jinhuo']]]]]}}" class="box" bindtap="__e"><view style="width:75%;"><view style="width:50rpx;height:40px;float:left;margin-right:20rpx;line-height:40px;"><uni-icons vue-id="44aeab14-10" type="home" size="24" color="red" bind:__l="__l"></uni-icons></view>进货金额</view><view style="width:25%;"><text style="display:inline-block;width:150rpx;text-align:center;height:40px;line-height:40px;float:left;">{{shopInfo.purchasingCost}}</text><uni-icons vue-id="44aeab14-11" type="right" size="24" color="#777" bind:__l="__l"></uni-icons></view></view><view data-event-opts="{{[['tap',[['goDetail',['jinhuo']]]]]}}" class="box" bindtap="__e"><view style="width:75%;"><view style="width:50rpx;height:40px;float:left;margin-right:20rpx;line-height:40px;"><uni-icons vue-id="44aeab14-12" type="home" size="24" color="red" bind:__l="__l"></uni-icons></view>进货总件数</view><view style="width:25%;"><text style="display:inline-block;width:150rpx;text-align:center;height:40px;line-height:40px;float:left;">{{shopInfo.purchasingCount}}</text><uni-icons vue-id="44aeab14-13" type="right" size="24" color="#777" bind:__l="__l"></uni-icons></view></view><view style="width:100%;height:10rpx;background:#eee;"></view><view data-event-opts="{{[['tap',[['goDetail',['tuihuo']]]]]}}" class="box" bindtap="__e"><view style="width:75%;"><view style="width:50rpx;height:40px;float:left;margin-right:20rpx;line-height:40px;"><uni-icons vue-id="44aeab14-14" type="refreshempty" size="24" color="red" bind:__l="__l"></uni-icons></view>退货金额</view><view style="width:25%;"><text style="display:inline-block;width:150rpx;text-align:center;height:40px;line-height:40px;float:left;">{{shopInfo.returnTotalAmount}}</text><uni-icons vue-id="44aeab14-15" type="right" size="24" color="#777" bind:__l="__l"></uni-icons></view></view><view data-event-opts="{{[['tap',[['goDetail',['tuihuo']]]]]}}" class="box" bindtap="__e"><view style="width:75%;"><view style="width:50rpx;height:40px;float:left;margin-right:20rpx;line-height:40px;"><uni-icons vue-id="44aeab14-16" type="refreshempty" size="24" color="red" bind:__l="__l"></uni-icons></view>退货总件数</view><view style="width:25%;"><text style="display:inline-block;width:150rpx;text-align:center;height:40px;line-height:40px;float:left;">{{shopInfo.returnTotalCount}}</text><uni-icons vue-id="44aeab14-17" type="right" size="24" color="#777" bind:__l="__l"></uni-icons></view></view><view style="width:100%;height:10rpx;background:#eee;"></view><view data-event-opts="{{[['tap',[['goDetail',['shishou']]]]]}}" class="box" bindtap="__e"><view style="width:75%;"><view style="width:50rpx;height:40px;float:left;margin-right:20rpx;line-height:40px;"><uni-icons vue-id="44aeab14-18" type="auth" size="24" color="red" bind:__l="__l"></uni-icons></view>实收金额</view><view style="width:25%;"><text style="display:inline-block;width:150rpx;text-align:center;height:40px;line-height:40px;float:left;">{{shopInfo.totalAlreadyEarn}}</text><uni-icons vue-id="44aeab14-19" type="right" size="24" color="#777" bind:__l="__l"></uni-icons></view></view><view data-event-opts="{{[['tap',[['goDetail',['xiadankehu']]]]]}}" class="box" bindtap="__e"><view style="width:75%;"><view style="width:50rpx;height:40px;float:left;margin-right:20rpx;line-height:40px;"><uni-icons vue-id="44aeab14-20" type="staff" size="24" color="red" bind:__l="__l"></uni-icons></view>下单客户</view><view style="width:25%;"><text style="display:inline-block;width:150rpx;text-align:center;height:40px;line-height:40px;float:left;">{{shopInfo.totalCCount}}</text><uni-icons vue-id="44aeab14-21" type="right" size="24" color="#777" bind:__l="__l"></uni-icons></view></view><view data-event-opts="{{[['tap',[['goDetail',['gongyingshang']]]]]}}" class="box" bindtap="__e"><view style="width:75%;"><view style="width:50rpx;height:40px;float:left;margin-right:20rpx;line-height:40px;"><uni-icons vue-id="44aeab14-22" type="staff" size="24" color="red" bind:__l="__l"></uni-icons></view>按供应商查看库存</view><view style="width:25%;"><text style="display:inline-block;width:150rpx;text-align:center;height:40px;line-height:40px;float:left;"></text><uni-icons vue-id="44aeab14-23" type="right" size="24" color="#777" bind:__l="__l"></uni-icons></view></view><view data-event-opts="{{[['tap',[['goDetail',['rexiao']]]]]}}" class="box" bindtap="__e"><view style="width:75%;"><view style="width:50rpx;height:40px;float:left;margin-right:20rpx;line-height:40px;"><uni-icons vue-id="44aeab14-24" type="fire" size="24" color="red" bind:__l="__l"></uni-icons></view>热销商品</view><view style="width:25%;"><text style="display:inline-block;width:150rpx;text-align:center;height:40px;line-height:40px;float:left;"></text><uni-icons vue-id="44aeab14-25" type="right" size="24" color="#777" bind:__l="__l"></uni-icons></view></view></view><block wx:if="{{showDayPrice}}"><view style="width:100%;height:100%;position:fixed;top:0;background:rgba(0,0,0,0.7);"><view style="position:fixed;margin:auto;height:320px;left:0;right:0;top:0;bottom:0;width:400px;background:#fff;border-radius:10px;color:#000;"><view style="width:100%;height:40px;font-size:18px;text-align:center;line-height:40px;font-weight:bold;">利润明细</view><view style="display:flex;"><view style="width:25%;display:flex;flex-direction:column;text-align:center;"><text style="font-weight:bold;">{{shopInfo.totalAmount}}</text><text>销售金额</text></view><view style="width:25%;display:flex;flex-direction:column;text-align:center;"><text style="font-weight:bold;">{{$root.g1}}</text><text>销售成本</text></view><view style="width:25%;display:flex;flex-direction:column;text-align:center;"><text style="font-weight:bold;">{{shopInfo.returnTotalAmount}}</text><text>退货金额</text></view><view style="width:25%;display:flex;flex-direction:column;text-align:center;"><text style="font-weight:bold;">{{shopInfo.saleReturnCost}}</text><text>退货成本</text></view></view><view style="width:95%;height:180px;margin:10px auto;border-top:1px solid #eee;"><view style="background:#ecf5ff;width:100%;color:#5fd9ee;height:40px;line-height:40px;padding-left:27px;">点击↓↓↓可查看计算公式</view><view data-event-opts="{{[['tap',[['changeFormula',['0']]]]]}}" class="tan-lirun" bindtap="__e"><text style="font-weight:bold;">{{shopInfo.totalProfit}}</text><text>销售利润</text></view><view data-event-opts="{{[['tap',[['changeFormula',['1']]]]]}}" class="tan-lirun" style="float:right;" bindtap="__e"><text style="font-weight:bold;">{{$root.g2}}</text><text>实际利润</text></view><view data-event-opts="{{[['tap',[['changeFormula',['3']]]]]}}" class="tan-lirun" bindtap="__e"><text style="font-weight:bold;">{{(shopInfo.totalProfit==0||shopInfo.totalProfit==null?0:shopInfo.totalAmount==0||shopInfo.totalAmount==null?0:$root.g3)+"%"}}</text><text>销售利润率</text></view><view data-event-opts="{{[['tap',[['changeFormula',['2']]]]]}}" class="tan-lirun" style="float:right;" bindtap="__e"><text style="font-weight:bold;">{{(shopInfo.totalProfit-shopInfo.returnTotalAmount+shopInfo.saleReturnCost==0||shopInfo.totalProfit-shopInfo.returnTotalAmount+shopInfo.saleReturnCost==null?0:shopInfo.totalAmount-shopInfo.returnTotalAmount==0||shopInfo.totalAmount-shopInfo.returnTotalAmount==null?0:$root.g4)+"%"}}</text><text>实际利润率</text></view></view><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" style="height:40px;width:100%;line-height:40px;text-align:center;border-top:1px solid #eee;font-size:14px;" bindtap="__e">确定</view></view></view></block><block wx:if="{{showFormula}}"><view style="height:200px;position:fixed;z-index:999;margin:auto;left:0;right:0;top:0;bottom:0;width:400px;background:rgba(0,0,0,0.7);border-radius:10px;color:#eee;"><view style="width:100%;height:50px;font-size:18px;text-align:center;line-height:50px;">{{''+(showDan==0?'销售利润':showDan==1?'实际利润':showDan==2?'实际利润率':showDan==3?'销售利润率':'')+'计算公式'}}</view><view style="text-align:center;line-height:40px;"><block wx:if="{{showDan==3}}"><view style="margin-top:20rpx;"><view>公式:销售利润/销售金额*100</view><view>{{shopInfo.totalProfit+"/"+shopInfo.totalAmount+"*100="+(shopInfo.totalProfit==0&&shopInfo.totalAmount==0?0:$root.g5)+"%"}}</view></view></block><block wx:if="{{showDan==2}}"><view style="margin-top:20rpx;"><view>公式:实际利润/(销售金额-退货金额)</view><view>{{$root.g6+"/"+(shopInfo.totalAmount-shopInfo.returnTotalAmount)+" * 100="+(shopInfo.totalProfit-shopInfo.returnTotalAmount+shopInfo.saleReturnCost==0?0:$root.g7)+"%"}}</view></view></block><block wx:if="{{showDan==1}}"><view style="margin-top:20rpx;"><view>公式:销售利润-(退货金额-退货成本)</view><view>{{shopInfo.totalProfit+"-("+shopInfo.returnTotalAmount+"-"+shopInfo.saleReturnCost+")="+$root.g8}}</view></view></block><block wx:if="{{showDan==0}}"><view style="margin-top:20rpx;"><view>公式:销售金额-销售成本</view><view>{{shopInfo.totalAmount+"-"+(shopInfo.totalAmount-shopInfo.totalProfit)+"="+shopInfo.totalProfit}}</view></view></block></view></view></block></view>