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
6.7 KiB
1 lines
6.7 KiB
<view class="page1"><view style="position:fixed;top:0;z-index:99;height:70px;width:100%;display:flex;background:#fff;padding-top:30px;"><uni-icons vue-id="a9480c2a-1" type="left" size="10" data-event-opts="{{[['^tap',[['backPage']]]]}}" bind:tap="__e" bind:__l="__l"></uni-icons></view><view class="search" style="position:fixed;top:70px;z-index:99;"><uni-datetime-picker style="margin-bottom:20rpx;" vue-id="a9480c2a-2" 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="display:flex;height:40px;padding:5px 10px;"><view style="{{'width:85%;height:30px;'+('width:'+(listStatus!=6?'85%':'100%')+';')}}"><uni-search-bar class="uni-mt-10" vue-id="a9480c2a-3" radius="5" placeholder="输入客户名称/销售人员/单号搜索" cancelButton="none" data-event-opts="{{[['^confirm',[['searchList']]]]}}" bind:confirm="__e" bind:__l="__l"></uni-search-bar></view><block wx:if="{{listStatus!=6}}"><view style="width:15%;"><view data-event-opts="{{[['tap',[['changeSort',['paixu']]]]]}}" style="width:80%;height:30px;background:#5fd9ee;text-align:center;line-height:30px;border-radius:10px;margin:0 auto;color:#fff;" bindtap="__e">查看<block wx:if="{{noDaysort==false}}"><uni-icons vue-id="a9480c2a-4" type="down" color="#fff" size="7" bind:__l="__l"></uni-icons></block><block wx:if="{{noDaysort}}"><uni-icons vue-id="a9480c2a-5" type="up" color="#fff" size="7" bind:__l="__l"></uni-icons></block></view></view></block></view></view><block wx:if="{{noDaysort}}"><view class="nahuo-mask"><view style="width:100%;margin:0 auto;background:#fff;height:200rpx;border:1px solid #eee;border-bottom-left-radius:10px;border-bottom-right-radius:10px;"><view data-event-opts="{{[['tap',[['getCancelOrder']]]]}}" class="paixu-content" style="border-bottom:1px solid #eee;" bindtap="__e">查看全部订单</view><view data-event-opts="{{[['tap',[['getCancelOrder',['2']]]]]}}" class="paixu-content" bindtap="__e">查看已作废状态的订单</view></view></view></block><block wx:if="{{$root.g0>0}}"><view class="ulList" style="overflow:scroll;margin-top:140px;"><view style="{{'margin-bottom:'+(btnStatus==false?'160px':'')+';'}}" class="_ul"><block wx:for="{{inventoryList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="_li"><checkbox-group data-event-opts="{{[['change',[['checkboxChange',['$event']]]]]}}" bindchange="__e"><label class="uni-list-cell uni-list-cell-pd"><block wx:if="{{btnStatus==false}}"><checkbox style="float:left;width:60rpx;line-height:300rpx;margin:0 20rpx;" value="{{item}}"></checkbox></block><view data-event-opts="{{[['tap',[['gotoDetail',['$0','$1'],[[['inventoryList','',index,'id']],[['inventoryList','',index,'userId']]]]]]]}}" style="{{'width:95%;background:#fff;margin:10px auto 0;padding:10px 20px 0;border-radius:10px;box-shadow:0 0px 6px 1px rgba(7,7,7,0.2);'+('width:'+(btnStatus==false?'90%':'95%')+';')}}" bindtap="__e"><view style="font-size:14px;display:flex;height:70px;line-height:30px;border-bottom:1px solid #eee;padding-bottom:10px;"><view style="width:100%;"><view style="display:flex;height:30px;line-height:30px;"><view style="flex:1;font-size:16px;font-weight:bold;">{{''+(item.userName==null?'暂无':(shopId=='1810179818189361152'||shopId=='1863043415453863936')&&item.userName=='散客'?'客户':item.userName)+''}}</view><view style="flex:1;color:#777;">{{'时间:'+(item.createTime==null?'暂无':item.createTime)+''}}</view><view style="flex:1;text-align:right;color:#777;">单号:<text class="cardText"></text>{{item.id+''}}</view></view><view style="display:flex;height:30px;line-height:30px;"><view style="width:10%;">{{'数量:'+(item.productCount==null?'暂无':item.productCount)+''}}</view><view style="flex:1;display:flex;"><view class="uni-body" style="margin-right:20px;"><text class="cardText">销售金额:</text><text class="priceText">{{item.totalAmount==null?'暂无':item.totalAmount}}</text><text class="cardText" decode="{{true}}">欠款:</text><text class="priceText" style="color:red;">{{item.noEarn==null?'暂无':item.noEarn}}</text></view><block wx:if="{{item.returnSaleProductCount>0}}"><view class="uni-body"><text class="cardText">退货金额:</text><text class="priceText">{{item.returnSaleTotalAmount==null?'暂无':item.returnSaleTotalAmount}}</text><text class="cardText" decode="{{true}}">退货数:</text><text class="priceText">{{item.returnSaleProductCount==null?'暂无':item.returnSaleProductCount}}</text></view></block></view><view style="font-size:14px;">{{'订单状态:'+(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></view></view></view><view style="display:flex;"><view style="flex:1;height:30px;line-height:30px;color:#777;"><text class="cardText">销售员:</text>{{''+(item.createByName==null?'暂无':item.createByName)+''}}</view><view style="height:30px;line-height:30px;"><block wx:if="{{item.status==6}}"><view data-event-opts="{{[['tap',[['goSaleGoods',['$0',''],[[['inventoryList','',index]]]]]]]}}" class="floatRight" catchtap="__e">去开单</view></block><block wx:if="{{item.status==4}}"><view data-event-opts="{{[['tap',[['cancelOrder',['$0','',index],[[['inventoryList','',index]]]]]]]}}" class="floatRight" catchtap="__e">撤销</view></block><block wx:if="{{item.status==4}}"><view data-event-opts="{{[['tap',[['cancelOrder',['$0','goPay'],[[['inventoryList','',index]]]]]]]}}" class="floatRight" catchtap="__e">撤销并复制</view></block><block wx:if="{{item.status==4}}"><view data-event-opts="{{[['tap',[['copyOrder',['$0',''],[[['inventoryList','',index]]]]]]]}}" class="floatRight" catchtap="__e">复制</view></block><block wx:if="{{item.status==2}}"><view data-event-opts="{{[['tap',[['againOrder',['$0'],[[['inventoryList','',index]]]]]]]}}" class="floatRight" catchtap="__e">重新开单</view></block><block wx:if="{{item.status==6}}"><view data-event-opts="{{[['tap',[['delItemModal',['$0'],[[['inventoryList','',index]]]]]]]}}" class="floatRight" style="color:red;width:150rpx;" catchtap="__e">删除订单</view></block></view></view></view></label></checkbox-group></view></block><u-loadmore vue-id="a9480c2a-6" status="{{status}}" bind:__l="__l"></u-loadmore></view></view></block><block wx:else><u-empty vue-id="a9480c2a-7" mode="order" margin-top="200" bind:__l="__l"></u-empty></block></view>
|