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
19 KiB

<view class="page1"><cmd-nav-bar vue-id="8dd740cc-1" iconOne="menu" title="{{shopName}}" background-color="#fff" data-event-opts="{{[['^iconOne',[['goToInfo']]]]}}" bind:iconOne="__e" bind:__l="__l"></cmd-nav-bar><view class="IndexContent"><block wx:if="{{enDayShow}}"><view style="width:100%;height:60rpx;"><u-notice-bar vue-id="8dd740cc-2" mode="horizontal" bgColor="#088FEB" color="#eee" text="{{textArr}}" bind:__l="__l"></u-notice-bar></view></block><view class="contentPadding" style="color:#000;padding:28rpx 20rpx 0 !important;"><view class="title-btn-d"><view data-event-opts="{{[['tap',[['goSonPage',['/package1/index/fireGoods']]]]]}}" class="title-btn-sbtn" bindtap="__e"><image class="title-img _img" src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/b46f57fed2604228bcd1801a156fafbc.jpg" alt></image><text>热销商品</text></view><view data-event-opts="{{[['tap',[['goSonPage',['/pages/index/order?listStatus=6']]]]]}}" class="title-btn-sbtn" bindtap="__e"><image class="title-img _img" src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/15211be8bbf74600ba90e040c57e2f45.jpg" alt></image><text>待配货</text><block wx:if="{{waitCount.waitAddProductCount>0}}"><text class="red-circle">{{waitCount.waitAddProductCount>99?'99+':waitCount.waitAddProductCount}}</text></block></view><view data-event-opts="{{[['tap',[['goSonPage',['/package1/AI/AIHangOrderList']]]]]}}" class="title-btn-sbtn" bindtap="__e"><image class="title-img _img" src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/750b982236234011a959d1afe68a8069.jpg" alt></image><text>挂单</text><block wx:if="{{waitCount.registrationCount>0}}"><text class="red-circle">{{waitCount.registrationCount>99?'99+':waitCount.registrationCount}}</text></block></view><view data-event-opts="{{[['tap',[['goSonPage',['/package1/index/shareStyle']]]]]}}" class="title-btn-sbtn" bindtap="__e"><image class="title-img _img" src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/83b7267c23b242d888385d7397542122.jpg" alt></image><text>推款</text></view><view data-event-opts="{{[['tap',[['goSonPage',['/package1/AI/AIInventoryList']]]]]}}" class="title-btn-sbtn" bindtap="__e"><image class="title-img _img" src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/01c48cc06cfb4f44aa304fbc26df048c.jpg" alt></image><text>Ai入库</text></view></view></view><view data-event-opts="{{[['tap',[['quwaimai',['$event']]]]]}}" class="waimai" style="{{'right:'+(waimaiRight)+';'}}" bindtap="__e"></view><view class="contentPadding"><view class="title" style="display:flex;"><view class="iconfont icon-xiaoshouyuce _i" style="flex:1;"> 今日营收详情</view><block wx:if="{{warehouseKeeperFlag==1&&storeFlag==1&&shopInfo.notConfirmPurductCount>0}}"><view data-event-opts="{{[['tap',[['goInventory',['$event']]]]]}}" class="btn1 _i" style="height:60rpx;line-height:60rpx;font-size:28rpx;font-weight:bold;" bindtap="__e">{{''+(shopInfo.notConfirmPurductCount==undefined?'0':shopInfo.notConfirmPurductCount)+'笔待确认入库'}}</view></block></view><u-grid vue-id="8dd740cc-3" col="{{3}}" bind:__l="__l" vue-slots="{{['default']}}"><u-grid-item vue-id="{{('8dd740cc-4')+','+('8dd740cc-3')}}" bind:__l="__l" vue-slots="{{['default']}}"><u-count-to vue-id="{{('8dd740cc-5')+','+('8dd740cc-4')}}" start-val="{{0}}" end-val="{{type==0?shopInfo.totalAmount:0}}" decimals="{{2}}" bind:__l="__l"></u-count-to><text class="grid-text">销售总金额</text></u-grid-item><u-grid-item bind:tap="__e" vue-id="{{('8dd740cc-6')+','+('8dd740cc-3')}}" data-event-opts="{{[['^tap',[['showPayType']]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><u-count-to vue-id="{{('8dd740cc-7')+','+('8dd740cc-6')}}" start-val="{{0}}" end-val="{{type==0?shopInfo.totalAlreadyEarn:0}}" bind:__l="__l"></u-count-to><text class="grid-text">今日实收</text><block wx:if="{{type==0}}"><uni-icons style="position:absolute;bottom:35rpx;right:10rpx;" vue-id="{{('8dd740cc-8')+','+('8dd740cc-6')}}" type="help" size="21" bind:__l="__l"></uni-icons></block></u-grid-item><u-grid-item bind:tap="__e" vue-id="{{('8dd740cc-9')+','+('8dd740cc-3')}}" data-event-opts="{{[['^tap',[['e0']]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><u-count-to vue-id="{{('8dd740cc-10')+','+('8dd740cc-9')}}" start-val="{{0}}" end-val="{{type==0?$root.g0:0}}" decimals="{{2}}" bind:__l="__l"></u-count-to><view class="grid-text">今日利润</view><block wx:if="{{type==0}}"><uni-icons style="position:absolute;bottom:35rpx;right:10rpx;" vue-id="{{('8dd740cc-11')+','+('8dd740cc-9')}}" type="help" size="21" bind:__l="__l"></uni-icons></block></u-grid-item></u-grid><block wx:if="{{shopName!='珍好一族'}}"><view style="display:flex;text-align:center;font-size:30rpx;"><view class="title-four"><view style="line-height:80rpx;font-size:38rpx;">{{shopInfo.totalCCount}}</view><view>下单客户</view></view><view class="title-four"><view style="line-height:80rpx;font-size:38rpx;">{{shopInfo.totalJCount}}</view><view>销售件数</view></view><view class="title-four"><view style="line-height:80rpx;font-size:38rpx;">{{shopInfo.returnTotalAmount}}</view><view>退货金额</view></view><view class="title-four"><view style="line-height:80rpx;font-size:38rpx;">{{shopInfo.returnTotalCount}}</view><view>退货数</view></view></view></block><block wx:if="{{shopName=='珍好一族'}}"><view style="display:flex;text-align:center;font-size:30rpx;"><view class="title-four1"><view style="line-height:80rpx;font-size:44rpx;">{{shopInfo.totalCCount}}</view><view>下单客户</view></view><view class="title-four1"><view style="line-height:80rpx;font-size:44rpx;">{{shopInfo.totalJCount}}</view><view>销售件数</view></view><view class="title-four1"><view style="line-height:80rpx;font-size:44rpx;">{{shopInfo.returnTotalAmount}}</view><view>退货金额</view></view><view class="title-four1"><view style="line-height:80rpx;font-size:44rpx;">{{shopInfo.returnTotalCount}}</view><view>退货数</view></view></view></block></view><block wx:if="{{type==0}}"><view class="contentPadding"><view class="title"><view class="iconfont icon-huaban _i"> 本周营收统计 <view data-event-opts="{{[['tap',[['gotoSearchData',['$event']]]]]}}" class="btn" bindtap="__e"> 数据统计 > </view></view></view><qiun-data-charts vue-id="8dd740cc-12" type="column" opts="{{opts}}" chartData="{{chartData}}" canvas2d="true" canvasId="canvsaId1" bind:__l="__l"></qiun-data-charts></view></block><view class="contentPadding"><view class="title"><view class="iconfont icon-wenjianliebiao _i"> 近期订单列表</view></view><block wx:if="{{$root.g1>0}}"><view class="inventoryList _ul"><block wx:for="{{inventoryList}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view class="_li"><block wx:if="{{item.returnSaleTotalAmount==null}}"><uni-card vue-id="{{'8dd740cc-13-'+__i0__}}" title="{{item.userName==null?'暂无':item.userName}}" sub-title="{{'销售金额:¥'+(item.totalAmount==null?'暂无':item.totalAmount)}}" thumbnail="{{item.img}}" data-event-opts="{{[['^tap',[['gotoDetail',['$0','$1'],[[['inventoryList','id',item.id,'id']],[['inventoryList','id',item.id,'userId']]]]]]]}}" bind:tap="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="uni-body">{{(item.createByName==null?'暂无':item.createByName)+" -\n\t\t\t\t\t\t\t"+item.createTime+''}}</view><view class="uni-body"><text class="cardText"> 订单状态:</text>{{(item.status=='0'?'待抢单':item.status=='2'?'作废':item.status=='1'?'待取货':item.status=='3'?'待送达':item.status=='4'?'已完成':item.status=='5'?'下游客户待退货':item.status=='00'?'退货待抢单':item.status=='01'?'退货待取货':item.status=='03'?'退货待送达':item.status=='04'?'待确认退货':item.status=='6'?'待配货':item.status=='8'?'待物流上门':item.status=='9'?'已完成':'挂单')+''}}</view><block wx:if="{{item.status==4||item.status==1||item.status==0}}"><view data-event-opts="{{[['tap',[['cancelOrder',['$0'],[[['inventoryList','id',item.id]]]]]]]}}" class="floatRight" catchtap="__e">撤销</view></block><block wx:if="{{item.status==4||item.status==1||item.status==0}}"><view data-event-opts="{{[['tap',[['cancelOrder',['$0','goPay'],[[['inventoryList','id',item.id]]]]]]]}}" class="floatRight" catchtap="__e">撤销并复制</view></block><block wx:if="{{item.status==4||item.status==1||item.status==2}}"><view data-event-opts="{{[['tap',[['copyOrder',['$0',''],[[['inventoryList','id',item.id]]]]]]]}}" class="floatRight" catchtap="__e">复制</view></block></uni-card></block><block wx:if="{{item.returnSaleTotalAmount!=null}}"><uni-card vue-id="{{'8dd740cc-14-'+__i0__}}" title="{{item.userName==null?'暂无':item.userName}}" sub-title="{{'销售金额:¥'+(item.totalAmount==null?'暂无':item.totalAmount)+' _ 退货金额:¥'+(item.returnSaleTotalAmount==null?'暂无':item.returnSaleTotalAmount)}}" thumbnail="{{item.img}}" data-event-opts="{{[['^tap',[['gotoDetail',['$0'],[[['inventoryList','id',item.id,'id']]]]]]]}}" bind:tap="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="uni-body">{{(item.createByName==null?'暂无':item.createByName)+" -\n\t\t\t\t\t\t\t"+item.createTime+''}}</view><view class="uni-body"><text class="cardText"> 订单状态:</text>{{(item.status=='0'?'待抢单':item.status=='2'?'作废':item.status=='1'?'待取货':item.status=='3'?'待送达':item.status=='4'?'已完成':item.status=='5'?'下游客户待退货':item.status=='00'?'退货待抢单':item.status=='01'?'退货待取货':item.status=='03'?'退货待送达':item.status=='04'?'待确认退货':item.status=='6'?'待配货':item.status=='8'?'待物流上门':item.status=='9'?'已完成':'挂单')+''}}</view><block wx:if="{{item.status==4||item.status==1||item.status==0}}"><view data-event-opts="{{[['tap',[['cancelOrder',['$0'],[[['inventoryList','id',item.id]]]]]]]}}" class="floatRight" catchtap="__e">撤销</view></block><block wx:if="{{item.status==4||item.status==1||item.status==0}}"><view data-event-opts="{{[['tap',[['cancelOrder',['$0','goPay'],[[['inventoryList','id',item.id]]]]]]]}}" class="floatRight" catchtap="__e">撤销并复制</view></block><block wx:if="{{item.status==4||item.status==1||item.status==2}}"><view data-event-opts="{{[['tap',[['copyOrder',['$0',''],[[['inventoryList','id',item.id]]]]]]]}}" class="floatRight" catchtap="__e">复制</view></block></uni-card></block></view></block></view></block><block wx:else><u-empty vue-id="8dd740cc-15" mode="order" text="暂无订单,快去开单吧!" bind:__l="__l"></u-empty></block></view></view><uni-popup class="vue-ref" vue-id="8dd740cc-16" background-color="#fff" data-ref="cePopup" bind:__l="__l" vue-slots="{{['default']}}"><view class="popup-content"><u-cell vue-id="{{('8dd740cc-17')+','+('8dd740cc-16')}}" icon="grid-fill" url="/package2/index/checkShop" title="切换当前店铺" clickable="{{true}}" isLink="{{true}}" arrow-direction="left" bind:__l="__l"></u-cell><view class="border-line"></view><u-cell vue-id="{{('8dd740cc-18')+','+('8dd740cc-16')}}" icon="man-add-fill" url="/package1/index/peopleList?popleType=gysName&noClick=1" title="供货商管理" clickable="{{true}}" isLink="{{true}}" arrow-direction="left" bind:__l="__l"></u-cell><u-cell vue-id="{{('8dd740cc-19')+','+('8dd740cc-16')}}" icon="man-add-fill" url="/package1/index/waitStorage?inStorageStatus=1" title="采购单历史" clickable="{{true}}" isLink="{{true}}" arrow-direction="left" bind:__l="__l"></u-cell><u-cell vue-id="{{('8dd740cc-20')+','+('8dd740cc-16')}}" icon="man-add-fill" url="/package1/inventory/inventoryReturnList" title="采购退货" clickable="{{true}}" isLink="{{true}}" arrow-direction="left" bind:__l="__l"></u-cell><u-cell vue-id="{{('8dd740cc-21')+','+('8dd740cc-16')}}" icon="man-add-fill" url="/package2/stock/goodsStock" title="盘点管理" clickable="{{true}}" isLink="{{true}}" arrow-direction="left" bind:__l="__l"></u-cell><view class="border-line"></view><u-cell vue-id="{{('8dd740cc-22')+','+('8dd740cc-16')}}" icon="account-fill" url="/package1/index/peopleList?popleType=khName&noClick=1" title="客户管理" clickable="{{true}}" isLink="{{true}}" arrow-direction="left" bind:__l="__l"></u-cell><u-cell vue-id="{{('8dd740cc-23')+','+('8dd740cc-16')}}" icon="account-fill" url="/package1/index/customClassList" title="客户分类" clickable="{{true}}" isLink="{{true}}" arrow-direction="left" bind:__l="__l"></u-cell><u-cell vue-id="{{('8dd740cc-24')+','+('8dd740cc-16')}}" icon="account-fill" title="销售单历史" clickable="{{true}}" isLink="{{true}}" arrow-direction="left" data-event-opts="{{[['^click',[['goOrder']]]]}}" bind:click="__e" bind:__l="__l"></u-cell><u-cell vue-id="{{('8dd740cc-25')+','+('8dd740cc-16')}}" icon="account-fill" url="/package1/index/returnOrder" title="退货单历史" clickable="{{true}}" isLink="{{true}}" arrow-direction="left" bind:__l="__l"></u-cell><view class="border-line"></view><block wx:if="{{shopName=='炘钱'||shopName=='炘玩'||shopName=='提钱退休'}}"><u-cell vue-id="{{('8dd740cc-26')+','+('8dd740cc-16')}}" icon="integral-fill" url="/package1/AI/addAiList" title="管理员登录" clickable="{{true}}" isLink="{{true}}" arrow-direction="left" bind:__l="__l"></u-cell></block><u-cell vue-id="{{('8dd740cc-27')+','+('8dd740cc-16')}}" icon="rewind-right-fill" url="/pages/rebate/rebateShare" title="邀请返佣" clickable="{{true}}" isLink="{{true}}" arrow-direction="left" bind:__l="__l"></u-cell><u-cell vue-id="{{('8dd740cc-28')+','+('8dd740cc-16')}}" icon="setting-fill" url="/package1/index/setUp" title="设置" clickable="{{true}}" isLink="{{true}}" arrow-direction="left" bind:__l="__l"></u-cell><u-cell vue-id="{{('8dd740cc-29')+','+('8dd740cc-16')}}" icon="rewind-left-fill" title="退出登录" clickable="{{true}}" isLink="{{true}}" arrow-direction="left" data-event-opts="{{[['^click',[['outLogin']]]]}}" bind:click="__e" bind:__l="__l"></u-cell><view class="kongbai"></view></view></uni-popup><uni-popup class="vue-ref" vue-id="8dd740cc-30" background-color="#fff" data-ref="publicizepopup" bind:__l="__l" vue-slots="{{['default']}}"><view class="publicize-content"><image src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/baa8e7c7b38d4feabeed8cf43f49ccfb.png" alt="宣传图" class="_img"></image><view data-event-opts="{{[['tap',[['popClose',['$event']]]]]}}" class="pop-close" bindtap="__e">X</view></view></uni-popup><block wx:if="{{showDayPrice&&type==0}}"><view style="{{'position:fixed;margin:auto;left:0;right:0;top:0;bottom:0;width:400rpx;background:rgba(0,0,0,0.7);border-radius:10px;color:#eee;'+('height:'+(160+$root.g2*80+'rpx')+';')}}"><view style="width:100%;height:80rpx;font-size:30rpx;text-align:center;line-height:80rpx;"> 今日收款方式统计 </view><block wx:for="{{shopInfo.totalAlreadyEarnDetail}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view style="text-align:center;line-height:80rpx;"><view>{{''+(item.payType==0?'现金收款:':item.payType==1?'微信收款:':item.payType==2?'支付宝收款:':item.payType==3?'银行卡收款:':item.payType==4?'收款码收款:':'')+item.payAmount+'元'}}</view></view></block><view style="text-align:center;line-height:80rpx;"><view>{{'客户充值:'+zongAmount+'元'}}</view></view></view></block><block wx:if="{{showFormula&&type==0}}"><view style="height:230rpx;position:fixed;z-index:999;margin:auto;left:0;right:0;top:0;bottom:0;width:200px;background:rgba(0,0,0,0.7);border-radius:10px;color:#eee;"><view style="width:100%;height:80rpx;font-size:30rpx;text-align:center;line-height:80rpx;">{{''+(showDan==0?'销售利润':showDan==1?'实际利润':showDan==2?'实际利润率':showDan==3?'销售利润率':'')+'计算公式'}}</view><view style="text-align:center;line-height:40rpx;"><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.g3)+'%'}}</view></view></block><block wx:if="{{showDan==2}}"><view style="margin-top:20rpx;"><view>公式:实际利润/(销售金额-退货金额)</view><view>{{''+$root.g4+"/"+(shopInfo.totalAmount-shopInfo.returnTotalAmount)+"\n\t\t\t\t\t*\n\t\t\t\t\t100="+(shopInfo.totalProfit-shopInfo.returnTotalAmount+shopInfo.saleReturnCost==0?0:$root.g5)+'%'}}</view></view></block><block wx:if="{{showDan==1}}"><view style="margin-top:20rpx;"><view>公式:销售利润-(退货金额-退货成本)</view><view>{{''+shopInfo.totalProfit+"-("+shopInfo.returnTotalAmount+"-"+shopInfo.saleReturnCost+")="+$root.g6+''}}</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><block wx:if="{{shijiPrice&&type==0}}"><view style="width:100%;height:100%;position:fixed;top:0;background:rgba(0,0,0,0.7);"><view style="position:fixed;margin:auto;height:660rpx;left:0;right:0;top:0;bottom:0;width:600rpx;background:#fff;border-radius:10px;color:#000;"><view style="width:100%;height:80rpx;font-size:30rpx;text-align:center;line-height:80rpx;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.g7}}</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:380rpx;margin:0 auto;margin-top:20rpx;border-top:1px solid #eee;"><view style="background:#ecf5ff;width:100%;color:#5fd9ee;height:80rpx;line-height:80rpx;padding-left:10px;"> 点击↓↓↓可查看计算公式 </view><view data-event-opts="{{[['tap',[['changeFormula',['0']]]]]}}" class="tan-lirun" bindtap="__e"><text style="font-weight:bold;margin-top:20rpx;">{{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;margin-top:20rpx;">{{$root.g8}}</text><text>实际利润</text></view><view data-event-opts="{{[['tap',[['changeFormula',['3']]]]]}}" class="tan-lirun" bindtap="__e"><text style="font-weight:bold;margin-top:20rpx;">{{(shopInfo.totalProfit==0||shopInfo.totalProfit==null?0:shopInfo.totalAmount==0||shopInfo.totalAmount==null?0:$root.g9)+"%"}}</text><text>销售利润率</text></view><view data-event-opts="{{[['tap',[['changeFormula',['2']]]]]}}" class="tan-lirun" style="float:right;" bindtap="__e"><text style="font-weight:bold;margin-top:20rpx;">{{(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.g10)+"%"}}</text><text>实际利润率</text></view></view><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" style="height:100rpx;width:100%;line-height:100rpx;text-align:center;border-top:1px solid #eee;font-size:40rpx;" bindtap="__e"> 确定 </view></view></view></block></view>