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

<view class="page1 data-v-3f07d8d4"><block wx:if="{{enDayShow}}"><view data-event-opts="{{[['tap',[['bigFWHPic',['$event']]]]]}}" style="width:100%;height:60rpx;" bindtap="__e" class="data-v-3f07d8d4"><u-notice-bar vue-id="2f06e030-1" mode="horizontal" bgColor="#088FEB" color="#eee" text="{{textArr}}" class="data-v-3f07d8d4" bind:__l="__l"></u-notice-bar></view></block><uni-section class="mb-10 data-v-3f07d8d4" vue-id="2f06e030-2" title="历史订单" type="line" bind:__l="__l" vue-slots="{{['default']}}"><view class="example-body data-v-3f07d8d4"><uni-datetime-picker vue-id="{{('2f06e030-3')+','+('2f06e030-2')}}" border="false" type="daterange" value="{{range}}" data-event-opts="{{[['^change',[['sectionChange']]],['^input',[['__set_model',['','range','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" class="data-v-3f07d8d4" bind:__l="__l"></uni-datetime-picker></view><view style="display:flex;" class="data-v-3f07d8d4"><view class="shop-choose data-v-3f07d8d4" style="{{'width:'+($root.g0>1?'70%':'100%')+';'}}"><view class="shop-name data-v-3f07d8d4"> 店铺 </view><uni-data-select style="width:100%;" vue-id="{{('2f06e030-4')+','+('2f06e030-2')}}" localdata="{{shopList}}" clear="{{false}}" value="{{shopId}}" data-event-opts="{{[['^change',[['change']]],['^input',[['__set_model',['','shopId','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" class="data-v-3f07d8d4" bind:__l="__l"></uni-data-select></view><block wx:if="{{$root.g1>1}}"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" style="width:25%;margin-left:2.5%;background:#007AFF;height:80rpx;text-align:center;color:#fff;border-radius:10px;line-height:80rpx;margin-top:20rpx;font-size:24rpx;" bindtap="__e" class="data-v-3f07d8d4"> 切换身份 </view></block></view></uni-section><view style="background:#fff;border:1px solid #eee;" class="data-v-3f07d8d4"><uni-segmented-control vue-id="2f06e030-5" current="{{current}}" values="{{items}}" styleType="text" activeColor="#007aff" data-event-opts="{{[['^clickItem',[['onClickItem']]]]}}" bind:clickItem="__e" class="data-v-3f07d8d4" bind:__l="__l"></uni-segmented-control></view><view class="content data-v-3f07d8d4"><view hidden="{{!(current===0)}}" class="data-v-3f07d8d4"><block wx:if="{{$root.g2>0}}"><view class="ulList data-v-3f07d8d4"><view class="_ul data-v-3f07d8d4"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goDetail',['$0'],[[['list','',index]]]]]]]}}" bindtap="__e" class="_li data-v-3f07d8d4"><uni-card vue-id="{{'2f06e030-6-'+index}}" title="{{item.userName==null?'暂无':item.userName}}" sub-title="{{item.createTime==null?'暂无':item.createTime}}" extra="{{'数量:'+(item.productCount==null?'暂无':item.productCount)}}" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}"><view class="uni-body data-v-3f07d8d4" style="font-weight:bold;font-size:30rpx;"><text class="cardText data-v-3f07d8d4" style="font-size:30rpx;">单号:</text>{{''+item.id+''}}</view><view class="uni-body data-v-3f07d8d4"><text class="cardText data-v-3f07d8d4">销售员:</text>{{''+(item.createByName==null?'暂无':item.createByName)}}</view><view class="uni-body data-v-3f07d8d4"><text class="cardText data-v-3f07d8d4">销售金额:</text><text class="priceText data-v-3f07d8d4">{{item.totalAmount==null?'暂无':item.totalAmount}}</text><text class="cardText data-v-3f07d8d4" decode="{{true}}">     欠款: </text><text class="priceText data-v-3f07d8d4" style="color:red;">{{item.noEarn==null?'暂无':item.noEarn}}</text></view><block wx:if="{{item.returnSaleProductCount>0}}"><view class="uni-body data-v-3f07d8d4"><text class="cardText data-v-3f07d8d4">退货金额:</text><text class="priceText data-v-3f07d8d4">{{item.returnSaleTotalAmount==null?'暂无':item.returnSaleTotalAmount}}</text><text class="cardText data-v-3f07d8d4" decode="{{true}}">     退货数: </text><text class="priceText data-v-3f07d8d4">{{item.returnSaleProductCount==null?'暂无':item.returnSaleProductCount}}</text></view></block><view class="uni-body data-v-3f07d8d4"><text class="cardText data-v-3f07d8d4"> 订单状态:</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></uni-card></view></block></view></view></block></view><view hidden="{{!(current===1)}}" class="data-v-3f07d8d4"><view style="background:#fff;color:#eee;" class="data-v-3f07d8d4"><view data-ref="top" style="height:120rpx;" class="data-v-3f07d8d4 vue-ref"><view style="text-align:center;display:flex;border-top:1px solid #eee;padding:20rpx 0;color:#7E5E60;font-weight:bold;" class="data-v-3f07d8d4"><view style="display:flex;flex-direction:column;width:20%;" class="data-v-3f07d8d4"><text class="data-v-3f07d8d4">{{duizhangList.initialArrears>=0?'期初欠款':'期初余额'}}</text><text class="data-v-3f07d8d4">{{duizhangList.initialArrears==null?"0":$root.g3}}</text></view><view style="display:flex;flex-direction:column;width:20%;border-left:1px solid #eee;" class="data-v-3f07d8d4"><text class="data-v-3f07d8d4">{{duizhangList.endArrears>=0?'期末欠款':'期末余额'}}</text><text class="data-v-3f07d8d4">{{duizhangList.endArrears==null?"0":$root.g4}}</text></view><view style="display:flex;flex-direction:column;width:20%;border-left:1px solid #eee;" class="data-v-3f07d8d4"><text class="data-v-3f07d8d4">{{duizhangList.arrears>=0?'本期欠款':'本期余额'}}</text><text class="data-v-3f07d8d4">{{duizhangList.arrears==null?"0":$root.g5}}</text></view><view style="display:flex;flex-direction:column;width:20%;border-left:1px solid #eee;" class="data-v-3f07d8d4"><text class="data-v-3f07d8d4">拿货总额</text><text class="data-v-3f07d8d4">{{duizhangList.totalSale==null?"0":duizhangList.totalSale}}</text></view><view style="display:flex;flex-direction:column;width:20%;border-left:1px solid #eee;" class="data-v-3f07d8d4"><text class="data-v-3f07d8d4">退货总额</text><text class="data-v-3f07d8d4">{{duizhangList.totalReturn==null?"0":duizhangList.totalReturn}}</text></view></view></view></view><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{duizhangList}}"><view style="background:#fff;display:block;overflow:hidden;margin:20rpx auto;width:95%;border-radius:10px;position:relative;" class="data-v-3f07d8d4"><view style="display:flex;" class="data-v-3f07d8d4"><view style="margin-top:40rpx;width:120rpx;height:120rpx;border-radius:80rpx;background:#8470FF;color:#fff;font-size:26rpx;padding:24rpx 34rpx;margin:35rpx 0 0 35rpx;" class="data-v-3f07d8d4">{{''+(item.$orig.dealingsType==0?"销售开单":item.$orig.dealingsType==1?"退货":item.$orig.dealingsType==2?"回款":item.$orig.dealingsType==3&&item.$orig.amount<0?"初始余额":item.$orig.dealingsType==3&&item.$orig.amount>=0?"初始欠款":item.$orig.dealingsType==4?"充值金额":item.$orig.dealingsType==5?"追加欠款":item.$orig.dealingsType==6?"撤销订单":"")+''}}</view><view style="height:170rpx;line-height:50rpx;padding-left:30rpx;" class="data-v-3f07d8d4"><view style="{{'color:#000;font-size:32rpx;font-weight:bold;'+('margin-top:'+(item.$orig.isOldName==false?'20rpx':'34rpx')+';')}}" class="data-v-3f07d8d4">{{''+item.f0+''}}</view><view style="color:#747474;font-size:28rpx;" class="data-v-3f07d8d4">{{'操作人:'+(item.$orig.createByName==null?"":item.$orig.createByName)+''}}</view><block wx:if="{{item.$orig.isOldName==false}}"><view style="color:red;font-size:28rpx;" class="data-v-3f07d8d4">{{'客户:'+item.$orig.dealingsUserName+''}}</view></block><block wx:if="{{item.$orig.dealingsType==0&&isDownKH==false&&item.$orig.delFlag==0&&item.$orig.billSaleDetailVos!=null}}"><view data-event-opts="{{[['tap',[['oneShare',['$0','xiaoshou'],[[['duizhangRecords','',index]]]]]]]}}" style="width:100rpx;height:60rpx;background:#088FEB;color:#fff;border-radius:10px;position:absolute;top:30rpx;right:20rpx;text-align:center;line-height:60rpx;" bindtap="__e" class="data-v-3f07d8d4"> 分享 </view></block><block wx:if="{{(item.$orig.dealingsType==4||item.$orig.dealingsType==5)&&isDownKH==false}}"><view data-event-opts="{{[['tap',[['oneShare',['$0','chongzhi'],[[['duizhangRecords','',index]]]]]]]}}" style="width:100rpx;height:60rpx;background:#088FEB;color:#fff;border-radius:10px;position:absolute;top:30rpx;right:20rpx;text-align:center;line-height:60rpx;" bindtap="__e" class="data-v-3f07d8d4"> 分享 </view></block><block wx:if="{{item.$orig.delFlag==1&&item.$orig.dealingsType==0&&item.$orig.billSaleDetailVos!=null}}"><image style="position:absolute;top:0;right:0;width:300rpx;height:150rpx;" src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/7650e962bef14f529406866888eeff24.png" alt class="_img data-v-3f07d8d4"></image></block><block wx:if="{{item.$orig.delFlag==1&&item.$orig.dealingsType==0&&item.$orig.billSaleDetailVos==null}}"><image style="position:absolute;top:0;right:0;width:200rpx;height:110rpx;" src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/7517e15b5cf843d59b5b69c3a06a5d7b.png" alt class="_img data-v-3f07d8d4"></image></block><block wx:if="{{item.$orig.dealingsType==6}}"><image style="position:absolute;top:0;right:0;width:300rpx;height:150rpx;" src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/862680ecfe5a48b1a410287fb45987ef.png" alt class="_img data-v-3f07d8d4"></image></block></view></view><block wx:if="{{item.$orig.billSaleDetailVos!=null||item.$orig.billReturnSaleDetailVos!=null}}"><view style="height:60rpx;line-height:60rpx;padding-left:20rpx;font-size:28rpx;background:#FFF0F5;color:#F08080;margin-bottom:20rpx;width:95%;margin:0 auto 20rpx;border-radius:5px;" class="data-v-3f07d8d4"> 拿货数据~请查收 </view></block><block wx:if="{{item.$orig.billSaleDetailVos!=null}}"><view style="width:95%;margin:0 auto;border:1.5px solid #000;border-radius:10px;" class="data-v-3f07d8d4"><uni-table vue-id="{{'2f06e030-7-'+index}}" stripe="{{true}}" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}"><uni-tr style="background:#FFBF00;" vue-id="{{('2f06e030-8-'+index)+','+('2f06e030-7-'+index)}}" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}"><uni-th vue-id="{{('2f06e030-9-'+index)+','+('2f06e030-8-'+index)}}" align="center" width="120" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}"><text style="font-weight:bold;" class="data-v-3f07d8d4"> 【销】 </text> 货号 </uni-th><uni-th vue-id="{{('2f06e030-10-'+index)+','+('2f06e030-8-'+index)}}" align="center" width="55" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}">数量</uni-th><uni-th vue-id="{{('2f06e030-11-'+index)+','+('2f06e030-8-'+index)}}" align="center" width="70" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}">销售价</uni-th><uni-th vue-id="{{('2f06e030-12-'+index)+','+('2f06e030-8-'+index)}}" align="center" width="80" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}">总价</uni-th></uni-tr><block wx:for="{{item.$orig.billSaleDetailVos}}" wx:for-item="item1" wx:for-index="index1" wx:key="index1"><uni-tr bind:tap="__e" vue-id="{{('2f06e030-13-'+index+'-'+index1)+','+('2f06e030-7-'+index)}}" data-event-opts="{{[['^tap',[['clickDetail',['$0'],[[['duizhangRecords','',index],['billSaleDetailVos','',index1]]]]]]]}}" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}"><uni-td vue-id="{{('2f06e030-14-'+index+'-'+index1)+','+('2f06e030-13-'+index+'-'+index1)}}" align="center" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}"><text class="data-v-3f07d8d4">{{''+(item1.productSn==null?"":item1.productSn)+''}}</text></uni-td><uni-td vue-id="{{('2f06e030-15-'+index+'-'+index1)+','+('2f06e030-13-'+index+'-'+index1)}}" align="center" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}">{{item1.productCount==null?"0":item1.productCount}}</uni-td><uni-td vue-id="{{('2f06e030-16-'+index+'-'+index1)+','+('2f06e030-13-'+index+'-'+index1)}}" align="center" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}">{{item1.discountAmount==null?"0":item1.discountAmount}}</uni-td><uni-td vue-id="{{('2f06e030-17-'+index+'-'+index1)+','+('2f06e030-13-'+index+'-'+index1)}}" align="center" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}">{{item1.totalAmount==null?"0":item1.totalAmount}}</uni-td></uni-tr></block></uni-table></view></block><block wx:if="{{item.$orig.billReturnSaleDetailVos!=null}}"><view style="width:95%;margin:20rpx auto 0;border:1.5px solid #000;border-radius:10px;" class="data-v-3f07d8d4"><uni-table vue-id="{{'2f06e030-18-'+index}}" stripe="{{true}}" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}"><uni-tr style="background:#FFBF00;" vue-id="{{('2f06e030-19-'+index)+','+('2f06e030-18-'+index)}}" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}"><uni-th vue-id="{{('2f06e030-20-'+index)+','+('2f06e030-19-'+index)}}" align="center" width="120" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}"><text style="font-weight:bold;color:#F08080;" class="data-v-3f07d8d4"> 【退】 </text> 货号 </uni-th><uni-th vue-id="{{('2f06e030-21-'+index)+','+('2f06e030-19-'+index)}}" align="center" width="55" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}">数量</uni-th><uni-th vue-id="{{('2f06e030-22-'+index)+','+('2f06e030-19-'+index)}}" align="center" width="70" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}">退货价</uni-th><uni-th vue-id="{{('2f06e030-23-'+index)+','+('2f06e030-19-'+index)}}" align="center" width="80" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}">总价</uni-th></uni-tr><block wx:for="{{item.$orig.billReturnSaleDetailVos}}" wx:for-item="item1" wx:for-index="index1" wx:key="index1"><uni-tr bind:tap="__e" vue-id="{{('2f06e030-24-'+index+'-'+index1)+','+('2f06e030-18-'+index)}}" data-event-opts="{{[['^tap',[['clickDetail',['$0'],[[['duizhangRecords','',index],['billReturnSaleDetailVos','',index1]]]]]]]}}" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}"><uni-td vue-id="{{('2f06e030-25-'+index+'-'+index1)+','+('2f06e030-24-'+index+'-'+index1)}}" align="center" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}"><text class="data-v-3f07d8d4">{{''+(item1.productSn==null?"":item1.productSn)+''}}</text></uni-td><uni-td vue-id="{{('2f06e030-26-'+index+'-'+index1)+','+('2f06e030-24-'+index+'-'+index1)}}" align="center" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}">{{item1.productCount==null?"0":item1.productCount}}</uni-td><uni-td vue-id="{{('2f06e030-27-'+index+'-'+index1)+','+('2f06e030-24-'+index+'-'+index1)}}" align="center" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}">{{item1.discountAmount==null?"0":item1.discountAmount}}</uni-td><uni-td vue-id="{{('2f06e030-28-'+index+'-'+index1)+','+('2f06e030-24-'+index+'-'+index1)}}" align="center" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}">{{item1.totalAmount==null?"0":item1.totalAmount}}</uni-td></uni-tr></block></uni-table></view></block><block wx:if="{{item.$orig.billSaleDetailVos!=null}}"><view style="border-bottom:2px solid #eee;" class="data-v-3f07d8d4"><view style="font-weight:bold;padding:20rpx;" class="data-v-3f07d8d4"> 付款明细: </view><view class="data-v-3f07d8d4"><view class="data-v-3f07d8d4"><view style="padding-left:20rpx;" class="data-v-3f07d8d4"><text class="data-v-3f07d8d4">{{"销售金额:"+(item.$orig.totalAmount==null?"0":item.$orig.totalAmount)}}</text></view><view style="padding-left:20rpx;" class="data-v-3f07d8d4"><text class="data-v-3f07d8d4">{{"退货金额:"+(item.$orig.returnSaleTotalAmount==null?"0":item.$orig.returnSaleTotalAmount)}}</text></view></view><view style="padding-left:20rpx;margin-top:40rpx;" class="data-v-3f07d8d4"><view class="data-v-3f07d8d4">{{"欠款抵退货:"+(item.$orig.debtDeductionAmount==null?"0":item.$orig.debtDeductionAmount)+''}}</view><view class="data-v-3f07d8d4">{{"销售抵退货:"+(item.$orig.saleDeductionAmount==null?"0":item.$orig.saleDeductionAmount)+''}}</view><view class="data-v-3f07d8d4">{{'余额抵销售:'+(item.$orig.balanceDeductionAmount==null?"0":item.$orig.balanceDeductionAmount)+''}}</view></view><block wx:if="{{item.$orig.remark!=''&&item.$orig.remark!=undefined&&item.$orig.remark!=null}}"><view style="padding-left:20rpx;margin-top:40rpx;" class="data-v-3f07d8d4"><view class="data-v-3f07d8d4">{{"备注:"+item.$orig.remark}}</view></view></block></view><view style="padding-left:20rpx;margin:40rpx 0 20rpx;height:60rpx;line-height:60rpx;text-align:center;font-size:30rpx;font-weight:bold;display:flex;" class="data-v-3f07d8d4"><text style="flex:1;" class="data-v-3f07d8d4">{{"本单应收:"+(item.$orig.realAmount==null?"0":item.$orig.realAmount)}}</text><text style="display:inline-block;padding-left:20rpx;flex:1;" class="data-v-3f07d8d4">{{"本单实收:"+(item.$orig.alreadyEarn==null?"0":item.$orig.alreadyEarn)}}</text></view></view></block><view style="text-align:center;display:flex;padding:20rpx 0;color:#000;" class="data-v-3f07d8d4"><block wx:if="{{item.$orig.lastDebtAmount>=0}}"><view style="flex:1;display:flex;flex-direction:column;" class="data-v-3f07d8d4"><text class="data-v-3f07d8d4">之前欠款</text><text class="data-v-3f07d8d4">{{item.$orig.lastDebtAmount==null?"0":item.$orig.lastDebtAmount}}</text></view></block><block wx:if="{{item.$orig.lastDebtAmount<0}}"><view style="flex:1;display:flex;flex-direction:column;" class="data-v-3f07d8d4"><text class="data-v-3f07d8d4">之前余额</text><text class="data-v-3f07d8d4">{{item.$orig.lastDebtAmount==null?"0":item.g6}}</text></view></block><block wx:if="{{item.$orig.dealingsType==5||item.$orig.amount>=0}}"><view style="flex:1;border-left:1px solid #eee;display:flex;flex-direction:column;" class="data-v-3f07d8d4"><text class="data-v-3f07d8d4">{{item.$orig.dealingsType==5?'追加欠款':item.$orig.dealingsType==4?'充值金额':item.$orig.dealingsType==6?'撤销余额':item.$orig.dealingsType==10?'本单退款':'本单欠款'}}</text><text class="data-v-3f07d8d4">{{item.$orig.amount==null?"0":item.$orig.dealingsType==5?item.g7:item.$orig.amount}}</text></view></block><block wx:if="{{item.$orig.amount<0&&item.$orig.dealingsType!=5}}"><view style="flex:1;border-left:1px solid #eee;display:flex;flex-direction:column;" class="data-v-3f07d8d4"><text class="data-v-3f07d8d4">{{item.$orig.dealingsType==4?'充值金额':item.$orig.dealingsType==6?'撤销欠款':'本单余额'}}</text><text class="data-v-3f07d8d4">{{item.$orig.amount==null?"0":item.g8}}</text></view></block><block wx:if="{{item.$orig.balanceDue>=0}}"><view style="flex:1;border-left:1px solid #eee;display:flex;flex-direction:column;" class="data-v-3f07d8d4"><text class="data-v-3f07d8d4">{{item.$orig.dealingsType==6?'撤销后欠款':'本单后欠款'}}</text><text class="data-v-3f07d8d4">{{item.$orig.balanceDue==null?"0":item.$orig.balanceDue}}</text></view></block><block wx:if="{{item.$orig.balanceDue<0}}"><view style="flex:1;border-left:1px solid #eee;display:flex;flex-direction:column;" class="data-v-3f07d8d4"><text class="data-v-3f07d8d4">{{item.$orig.dealingsType==6?'撤销后余额':'本单后余额'}}</text><text class="data-v-3f07d8d4">{{item.$orig.balanceDue==null?"0":item.g9}}</text></view></block></view></view></block></block><view style="text-align:center;margin-bottom:20rpx;" class="data-v-3f07d8d4"><text class="data-v-3f07d8d4">{{"对账时间:"+(duizhangList.queryDate==null?"":duizhangList.queryDate)}}</text></view></view><view hidden="{{!(current===2)}}" class="data-v-3f07d8d4"><block wx:for="{{$root.l2}}" wx:for-item="item" wx:for-index="index4" wx:key="index4"><view class="shop-box data-v-3f07d8d4" style="background:#fff;display:block;overflow:hidden;margin:0 auto 20rpx;"><view class="data-v-3f07d8d4"><view style="padding-left:20rpx;margin:40rpx 0;font-weight:bold;font-size:36rpx;text-align:center;" class="data-v-3f07d8d4"><text class="data-v-3f07d8d4">{{"货号:"+(item.$orig.productSn==null?'':item.$orig.productSn)}}</text></view><view style="text-align:center;margin-bottom:20rpx;" class="data-v-3f07d8d4"><text class="data-v-3f07d8d4">{{"名称:"+(item.$orig.productName==null?'':item.$orig.productName)}}</text><text style="padding:0 20rpx;" class="data-v-3f07d8d4">{{"总数量:"+(item.$orig.productCount==undefined?'0':item.$orig.productCount)}}</text></view><uni-table vue-id="{{'2f06e030-29-'+index4}}" border="{{true}}" stripe="{{true}}" emptyText="暂无更多数据" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}"><uni-tr style="background:#eee;" vue-id="{{('2f06e030-30-'+index4)+','+('2f06e030-29-'+index4)}}" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}"><uni-th vue-id="{{('2f06e030-31-'+index4)+','+('2f06e030-30-'+index4)}}" align="center" width="100" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}">日期</uni-th><uni-th vue-id="{{('2f06e030-32-'+index4)+','+('2f06e030-30-'+index4)}}" align="center" width="50" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}">数量</uni-th><uni-th vue-id="{{('2f06e030-33-'+index4)+','+('2f06e030-30-'+index4)}}" align="center" width="70" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}">单价</uni-th><uni-th vue-id="{{('2f06e030-34-'+index4)+','+('2f06e030-30-'+index4)}}" align="center" width="70" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}">总价</uni-th></uni-tr><block wx:for="{{item.l1}}" wx:for-item="item1" wx:for-index="index1" wx:key="index1"><uni-tr bind:tap="__e" vue-id="{{('2f06e030-35-'+index4+'-'+index1)+','+('2f06e030-29-'+index4)}}" data-event-opts="{{[['^tap',[['xiaoshouDetail',['2','$0'],[[['list','',index4],['customerBuySaleVoList','',index1]]]]]]]}}" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}"><uni-td vue-id="{{('2f06e030-36-'+index4+'-'+index1)+','+('2f06e030-35-'+index4+'-'+index1)}}" align="center" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}">{{item1.f1}}</uni-td><uni-td vue-id="{{('2f06e030-37-'+index4+'-'+index1)+','+('2f06e030-35-'+index4+'-'+index1)}}" align="center" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}">{{item1.$orig.productCount}}</uni-td><uni-td vue-id="{{('2f06e030-38-'+index4+'-'+index1)+','+('2f06e030-35-'+index4+'-'+index1)}}" align="center" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}">{{item1.$orig.customerBuyProductDetailLogVos[0].realPrice}}</uni-td><uni-td vue-id="{{('2f06e030-39-'+index4+'-'+index1)+','+('2f06e030-35-'+index4+'-'+index1)}}" align="center" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}">{{item1.$orig.customerBuyProductDetailLogVos[0].realPrice*item1.$orig.productCount}}</uni-td></uni-tr></block></uni-table></view></view></block></view><view hidden="{{!(current===3)}}" class="data-v-3f07d8d4"><block wx:for="{{$root.l3}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view style="background:#fff;display:block;overflow:hidden;margin:0 auto 20rpx;" class="data-v-3f07d8d4"><view style="width:100%;height:80rpx;line-height:80rpx;" class="data-v-3f07d8d4"><text style="display:inline-block;width:55%;text-align:center;font-weight:bold;font-size:30rpx;" class="data-v-3f07d8d4">{{'日期:'+item.f2+''}}</text><text style="display:inline-block;width:45%;text-align:center;border-left:1px solid #eee;" class="data-v-3f07d8d4">{{'操作:'+(item.$orig.createByName==null?'':item.$orig.createByName)+''}}</text></view><uni-table vue-id="{{'2f06e030-40-'+index}}" border="{{true}}" stripe="{{true}}" emptyText="暂无更多数据" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}"><uni-tr style="background:#eee;" vue-id="{{('2f06e030-41-'+index)+','+('2f06e030-40-'+index)}}" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}"><uni-th vue-id="{{('2f06e030-42-'+index)+','+('2f06e030-41-'+index)}}" align="center" width="85" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}">货号</uni-th><uni-th vue-id="{{('2f06e030-43-'+index)+','+('2f06e030-41-'+index)}}" align="center" width="50" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}">数量</uni-th><uni-th vue-id="{{('2f06e030-44-'+index)+','+('2f06e030-41-'+index)}}" align="center" width="70" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}">退货价</uni-th></uni-tr><block wx:for="{{item.$orig.returnSaleDetailList}}" wx:for-item="items" wx:for-index="index1" wx:key="index1"><uni-tr bind:tap="__e" vue-id="{{('2f06e030-45-'+index+'-'+index1)+','+('2f06e030-40-'+index)}}" data-event-opts="{{[['^tap',[['xiaoshouDetail',['3','$0'],[[['list','',index],['returnSaleDetailList','',index1]]]]]]]}}" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}"><uni-td vue-id="{{('2f06e030-46-'+index+'-'+index1)+','+('2f06e030-45-'+index+'-'+index1)}}" align="center" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}">{{items.productSn==null?'':items.productSn}}</uni-td><uni-td vue-id="{{('2f06e030-47-'+index+'-'+index1)+','+('2f06e030-45-'+index+'-'+index1)}}" align="center" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}">{{items.productCount}}</uni-td><uni-td vue-id="{{('2f06e030-48-'+index+'-'+index1)+','+('2f06e030-45-'+index+'-'+index1)}}" align="center" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}">{{items.discountAmount}}</uni-td></uni-tr></block></uni-table></view></block></view></view><u-loadmore vue-id="2f06e030-49" status="{{status}}" class="data-v-3f07d8d4" bind:__l="__l"></u-loadmore><uni-popup vue-id="2f06e030-50" background-color="#fff" data-ref="detailPopup" class="data-v-3f07d8d4 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view style="width:500rpx;min-height:500rpx;max-height:1000rpx;overflow:scroll;" class="data-v-3f07d8d4"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" style="width:50rpx;height:50rpx;position:absolute;right:20rpx;top:25rpx;" bindtap="__e" class="data-v-3f07d8d4"><uni-icons vue-id="{{('2f06e030-51')+','+('2f06e030-50')}}" type="closeempty" color="red" size="22" class="data-v-3f07d8d4" bind:__l="__l"></uni-icons></view><view style="height:100rpx;line-height:100rpx;font-weight:bold;font-size:36rpx;text-align:center;" class="data-v-3f07d8d4">{{''+detailList.productName+"("+detailList.productSn+')'}}</view><uni-table style="margin-bottom:20rpx;" vue-id="{{('2f06e030-52')+','+('2f06e030-50')}}" border="{{true}}" stripe="{{true}}" emptyText="暂无更多数据" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}"><uni-tr style="background:#eee;" vue-id="{{('2f06e030-53')+','+('2f06e030-52')}}" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}"><uni-th vue-id="{{('2f06e030-54')+','+('2f06e030-53')}}" align="center" width="80" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}">规格</uni-th><uni-th vue-id="{{('2f06e030-55')+','+('2f06e030-53')}}" align="center" width="55" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}">数量</uni-th></uni-tr><block wx:for="{{$root.l4}}" wx:for-item="item" wx:for-index="index" wx:key="index"><uni-tr vue-id="{{('2f06e030-56-'+index)+','+('2f06e030-52')}}" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}"><uni-td vue-id="{{('2f06e030-57-'+index)+','+('2f06e030-56-'+index)}}" align="center" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}">{{item.f3}}</uni-td><uni-td vue-id="{{('2f06e030-58-'+index)+','+('2f06e030-56-'+index)}}" align="center" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}">{{item.$orig.productCount}}</uni-td></uni-tr></block></uni-table></view></uni-popup><uni-popup vue-id="2f06e030-59" background-color="#fff" data-ref="xsdetailPopup" class="data-v-3f07d8d4 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view style="width:500rpx;min-height:500rpx;max-height:1000rpx;overflow:scroll;" class="data-v-3f07d8d4"><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" style="width:50rpx;height:50rpx;position:absolute;right:20rpx;top:25rpx;" bindtap="__e" class="data-v-3f07d8d4"><uni-icons vue-id="{{('2f06e030-60')+','+('2f06e030-59')}}" type="closeempty" color="red" size="22" class="data-v-3f07d8d4" bind:__l="__l"></uni-icons></view><view style="height:100rpx;line-height:100rpx;font-weight:bold;font-size:36rpx;text-align:center;" class="data-v-3f07d8d4"> 规格数量详情 </view><uni-table style="margin-bottom:20rpx;border-radius:10px;" vue-id="{{('2f06e030-61')+','+('2f06e030-59')}}" border="{{true}}" stripe="{{true}}" emptyText="暂无更多数据" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}"><uni-tr style="background:#eee;" vue-id="{{('2f06e030-62')+','+('2f06e030-61')}}" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}"><uni-th vue-id="{{('2f06e030-63')+','+('2f06e030-62')}}" align="center" width="80" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}">规格</uni-th><uni-th vue-id="{{('2f06e030-64')+','+('2f06e030-62')}}" align="center" width="55" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}">数量</uni-th></uni-tr><block wx:for="{{$root.l5}}" wx:for-item="item" wx:for-index="index" wx:key="index"><uni-tr vue-id="{{('2f06e030-65-'+index)+','+('2f06e030-61')}}" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}"><uni-td vue-id="{{('2f06e030-66-'+index)+','+('2f06e030-65-'+index)}}" align="center" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}">{{item.f4}}</uni-td><uni-td vue-id="{{('2f06e030-67-'+index)+','+('2f06e030-65-'+index)}}" align="center" class="data-v-3f07d8d4" bind:__l="__l" vue-slots="{{['default']}}">{{item.$orig.productCount}}</uni-td></uni-tr></block></uni-table></view></uni-popup><uni-popup vue-id="2f06e030-68" background-color="#fff" data-ref="userPopup" class="data-v-3f07d8d4 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="popup-content data-v-3f07d8d4"><view data-event-opts="{{[['tap',[['e3',['$event']]]]]}}" style="width:50rpx;height:50rpx;position:absolute;right:20rpx;top:25rpx;" bindtap="__e" class="data-v-3f07d8d4"><uni-icons vue-id="{{('2f06e030-69')+','+('2f06e030-68')}}" type="closeempty" color="red" size="22" class="data-v-3f07d8d4" bind:__l="__l"></uni-icons></view><view style="height:100rpx;line-height:100rpx;font-weight:bold;font-size:36rpx;text-align:center;" class="data-v-3f07d8d4"> 请选择身份 </view><block wx:for="{{userList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['checkUser',['$0'],[[['userList','',index,'id']]]]]]]}}" style="line-height:60rpx;border-top:1px solid #eee;padding:10rpx 20rpx;" bindtap="__e" class="data-v-3f07d8d4"><view class="data-v-3f07d8d4">{{"名称:"+item.name}}</view><view class="data-v-3f07d8d4">{{"电话:"+item.phone}}</view><view class="data-v-3f07d8d4">{{"地址:"+item.address}}</view></view></block></view></uni-popup><uni-fab vue-id="2f06e030-70" content="{{content}}" horizontal="{{horizontal}}" data-ref="fab" data-event-opts="{{[['^trigger',[['trigger']]]]}}" bind:trigger="__e" class="data-v-3f07d8d4 vue-ref" bind:__l="__l"></uni-fab></view>