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
8.9 KiB
1 lines
8.9 KiB
<view class="container data-v-d819714e"><uni-card vue-id="2b13b666-1" title="{{order.name+','+order.phone}}" thumbnail="/static/images/logo.png" class="data-v-d819714e" bind:__l="__l" vue-slots="{{['default']}}"><view class="uni-body data-v-d819714e">{{sales.province+sales.area+sales.city+sales.receiveAddress+''}}</view></uni-card><view class="tui-order-item boxbg data-v-d819714e"><u-collapse vue-id="2b13b666-2" class="data-v-d819714e" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><u-collapse-item vue-id="{{('2b13b666-3-'+index)+','+('2b13b666-2')}}" title="{{item.$orig.productName}}" name="{{item.$orig.saleId}}" value="{{'¥'+item.$orig.wholesalePrice+' * '+(sales.discount<10?sales.discount:item.$orig.discount)}}" class="data-v-d819714e" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{item.l0}}" wx:for-item="val" wx:for-index="index2" wx:key="index2"><view class="u-collapse-content data-v-d819714e">{{''+val.g0+"\n\t\t\t\t\t* "+val.$orig.productCount+''}}<block wx:if="{{isReturn}}"><u-number-box bind:input="__e" vue-id="{{('2b13b666-4-'+index+'-'+index2)+','+('2b13b666-3-'+index)}}" integer="{{true}}" max="{{val.$orig.productCount}}" min="{{0}}" value="{{val.$orig.returnCount}}" data-event-opts="{{[['^input',[['__set_model',['$0','returnCount','$event',[]],[[['list','',index],['saleDetailQueryDTO','',index2]]]]]]]}}" class="data-v-d819714e" bind:__l="__l"></u-number-box></block></view></block></u-collapse-item></block></u-collapse><view class="tui-goods-info data-v-d819714e"><view class="tui-price-flex tui-size32 tui-pbtm20 data-v-d819714e"><view class="tui-flex-shrink data-v-d819714e">合计</view><view class="tui-goods-price tui-primary-color data-v-d819714e"><view class="tui-size-24 data-v-d819714e">¥</view><view class="tui-price-large data-v-d819714e"><text class="data-v-d819714e">{{sales.realAmount}}</text><block wx:if="{{sales.totalAmount>sales.realAmount}}"><text class="lineText data-v-d819714e">{{"¥"+sales.totalAmount}}</text></block></view></view></view><view class="tui-price-flex tui-size32 data-v-d819714e"><view class="tui-flex-shrink data-v-d819714e">已付款</view><view class="tui-goods-price tui-primary-color data-v-d819714e"><view class="tui-size-24 data-v-d819714e">¥</view><view class="tui-price-large data-v-d819714e">{{sales.alreadyEarn}}</view></view></view><view class="tui-price-flex tui-size32 data-v-d819714e"><view class="tui-flex-shrink data-v-d819714e">欠款</view><view class="tui-goods-price data-v-d819714e"><view class="tui-size-24 data-v-d819714e">¥</view><view class="tui-price-large data-v-d819714e">{{sales.newNoEarn>=0?sales.newNoEarn:sales.noEarn}}</view></view></view><block wx:if="{{isReturn}}"><view class="tui-price-flex tui-size32 data-v-d819714e"><view class="tui-flex-shrink data-v-d819714e">已选金额</view><view class="tui-goods-price data-v-d819714e"><view class="tui-size-24 data-v-d819714e">¥</view><view class="tui-price-large data-v-d819714e">{{changeAmount}}</view></view></view></block><block wx:if="{{isReturn}}"><view class="tui-price-flex tui-size32 data-v-d819714e"><view class="tui-flex-shrink data-v-d819714e">退货金额</view><view class="tui-goods-price data-v-d819714e"><view class="tui-size-24 data-v-d819714e">¥</view><view class="tui-price-large data-v-d819714e">{{returnAmount}}</view></view></view></block><block wx:if="{{editNoPrice}}"><view class="tui-price-flex tui-size32 data-v-d819714e"><view class="tui-flex-shrink data-v-d819714e">还款金额</view><view class="tui-goods-price data-v-d819714e"><view class="tui-price-large data-v-d819714e"><uni-easyinput vue-id="2b13b666-5" trim="all" value="{{newEarn}}" data-event-opts="{{[['^change',[['getNoPay']]],['^input',[['__set_model',['','newEarn','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" class="data-v-d819714e" bind:__l="__l"></uni-easyinput></view></view></view></block><block wx:if="{{isReturn}}"><view class="tui-price-flex tui-size32 data-v-d819714e"><view class="tui-flex-shrink data-v-d819714e">平台取货</view><view class="tui-goods-price data-v-d819714e"><uni-data-checkbox vue-id="2b13b666-6" localdata="{{sex}}" value="{{radio1}}" data-event-opts="{{[['^change',[['checkBoxChange']]],['^input',[['__set_model',['','radio1','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" class="data-v-d819714e" bind:__l="__l"></uni-data-checkbox></view></view></block><block wx:if="{{isReturn&&radio1==0}}"><view class="tui-price-flex tui-size32 data-v-d819714e"><view class="tui-flex-shrink data-v-d819714e">配送人员</view><view class="tui-goods-price data-v-d819714e"><uni-combox bind:input="__e" vue-id="2b13b666-7" candidates="{{orderByWorkerCandidates}}" placeholder="请选择配送人员" value="{{orderByWorker}}" data-event-opts="{{[['^input',[['__set_model',['','orderByWorker','$event',[]]]]]]}}" class="data-v-d819714e" bind:__l="__l"></uni-combox></view></view></block></view></view><view class="tui-order-info boxbg data-v-d819714e"><view class="tui-order-title data-v-d819714e">退款历史信息</view><view class="tui-order-content data-v-d819714e"><u-collapse vue-id="2b13b666-8" value="{{[shopList[0].saleId]}}" class="data-v-d819714e" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{$root.l3}}" wx:for-item="item" wx:for-index="index" wx:key="index"><u-collapse-item vue-id="{{('2b13b666-9-'+index)+','+('2b13b666-8')}}" title="{{item.$orig.productName}}" name="{{item.$orig.saleId}}" class="data-v-d819714e" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{item.l2}}" wx:for-item="val" wx:for-index="index2" wx:key="index2"><view class="u-collapse-content data-v-d819714e">{{''+val.g1+"\n\t\t\t\t\t\t\t* "+val.$orig.productCount+''}}<block wx:if="{{isReturn}}"><u-number-box bind:input="__e" vue-id="{{('2b13b666-10-'+index+'-'+index2)+','+('2b13b666-9-'+index)}}" integer="{{true}}" max="{{val.$orig.productCount}}" min="{{0}}" value="{{val.$orig.returnCount}}" data-event-opts="{{[['^input',[['__set_model',['$0','returnCount','$event',[]],[[['shopList','',index],['saleDetailQueryDTO','',index2]]]]]]]}}" class="data-v-d819714e" bind:__l="__l"></u-number-box></block></view></block></u-collapse-item></block></u-collapse></view></view><view class="tui-order-info boxbg data-v-d819714e"><view class="tui-order-title data-v-d819714e">订单信息</view><view class="tui-order-content data-v-d819714e"><view class="tui-order-flex data-v-d819714e"><view class="tui-item-title data-v-d819714e">订单号:</view><view class="tui-item-content data-v-d819714e">{{sales.id}}</view></view><view class="tui-order-flex data-v-d819714e"><view class="tui-item-title data-v-d819714e">物流单号:</view><view class="tui-item-content data-v-d819714e">{{order.kdOrderId}}</view></view><view class="tui-order-flex data-v-d819714e"><view class="tui-item-title data-v-d819714e">创建时间:</view><view class="tui-item-content data-v-d819714e">{{sales.createTime}}</view></view><view class="tui-order-flex data-v-d819714e"><view class="tui-item-title data-v-d819714e">配送方式:</view><view class="tui-item-content data-v-d819714e">{{''+(sales.transportType==1?'物流':sales.transportType==2?'自提':sales.transportType==3?'快递':'拼单')+''}}</view></view></view></view><u-popup vue-id="2b13b666-11" show="{{popupShow}}" mode="bottom" data-event-opts="{{[['^close',[['close']]],['^open',[['open']]]]}}" bind:close="__e" bind:open="__e" class="data-v-d819714e" bind:__l="__l" vue-slots="{{['default']}}"><view class="popupBox data-v-d819714e"></view></u-popup><view class="tui-tabbar data-v-d819714e"><view class="tui-btn-mr data-v-d819714e"><u-button vue-id="2b13b666-12" type="primary" plain="{{true}}" shape="circle" class="data-v-d819714e" bind:__l="__l" vue-slots="{{['default']}}">打印</u-button></view><view class="tui-btn-mr data-v-d819714e"><u-button vue-id="2b13b666-13" type="error" plain="{{true}}" shape="circle" data-event-opts="{{[['^click',[['cancelOrder']]]]}}" bind:click="__e" class="data-v-d819714e" bind:__l="__l" vue-slots="{{['default']}}">取消订单</u-button></view><block wx:if="{{sales.status==5}}"><view class="tui-btn-mr data-v-d819714e"><u-button vue-id="2b13b666-14" type="error" plain="{{true}}" shape="circle" data-event-opts="{{[['^click',[['returnGoods']]]]}}" bind:click="__e" class="data-v-d819714e" bind:__l="__l" vue-slots="{{['default']}}">{{!isReturn?'退货':'确认退货'}}</u-button></view></block><view class="tui-btn-mr data-v-d819714e"><block wx:if="{{!editNoPrice}}"><u-button vue-id="2b13b666-15" type="error" plain="{{true}}" shape="circle" data-event-opts="{{[['^click',[['editnoEarn']]]]}}" bind:click="__e" class="data-v-d819714e" bind:__l="__l" vue-slots="{{['default']}}">汇款</u-button></block><block wx:else><u-button vue-id="2b13b666-16" type="error" plain="{{true}}" shape="circle" data-event-opts="{{[['^click',[['sureNpPay']]]]}}" bind:click="__e" class="data-v-d819714e" bind:__l="__l" vue-slots="{{['default']}}">确认</u-button></block></view></view></view>
|