1 line
9.0 KiB
Plaintext
1 line
9.0 KiB
Plaintext
<block wx:if="{{detail.id}}"><view class="farmer-order-distribution-detail"><uni-nav-bar vue-id="18563174-1" fixed="{{true}}" shadow="{{false}}" statusBar="{{true}}" color="#fff" backgroundColor="{{scrollTop<20?'':primaryColor}}" leftIcon="icon-left" title="配送订单详情" bind:__l="__l"></uni-nav-bar><view style="{{'height:'+(configInfo.navBarHeight+'px')+';'}}"></view><image class="common-bg abs" mode="aspectFill" lazy-load="{{true}}" src="https://lbqny.migugu.com/admin/farm/bg-cash.png"></image><view class="pl-lg pr-lg c-base" style="height:120rpx;"><view class="f-sm-title text-bold pt-md">{{statusType[detail.pay_type]}}</view><view class="f-caption"><block wx:if="{{detail.pay_type==-1}}"><block>{{"已退配送费 ¥"+detail.pay_price}}</block></block><block wx:if="{{detail.pay_type==2}}"><block>请尽快为买家配送该商品</block></block></view></view><block wx:if="{{detail.send_type==2}}"><view class="order-text-info ml-md mr-md pd-lg fill-base f-paragraph c-title box-shadow radius-24"><view data-event-opts="{{[['tap',[['toMap',['$event']]]]]}}" class="flex-warp" catchtap="__e"><view class="iconfont icon-dingwei mr-sm _i" style="font-size:28rpx;margin-top:6rpx;"></view><view class="flex-1">{{detail.address}}</view></view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="flex-y-baseline c-caption" style="margin:5rpx 0 0 38rpx;" catchtap="__e">{{detail.user_name+''}}<view class="ml-lg">{{''+detail.mobile+''}}</view></view></view></block><view class="order-text-info mt-md ml-md mr-md pl-lg pr-lg fill-base f-paragraph c-title box-shadow radius-24"><view class="flex-between pt-lg pb-lg"><view class="text c-desc">配送单号</view><view class="flex-y-center"><view class="max-350 ellipsis">{{detail.order_code}}</view><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="copy-btn flex-center fill-body" style="{{'color:'+(primaryColor)+';'}}" bindtap="__e">复制</view></view></view><view class="flex-between pt-lg pb-lg b-1px-t"><view class="text c-desc">{{detail.send_type==1?'自提时间':'送货时间'}}</view><view>{{detail.time_text}}</view></view><view class="flex-between pt-lg pb-lg b-1px-t"><view class="text c-desc">配送方式</view><view>{{sendType[detail.send_type]}}</view></view><block wx:if="{{detail.send_type==1}}"><view class="flex-between pt-lg pb-lg b-1px-t"><view class="text c-desc">自提人</view><view class="flex-y-center"><view class="max-350">{{detail.user_name+' '+detail.mobile}}</view><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" class="copy-btn flex-center fill-body" style="{{'color:'+(primaryColor)+';'}}" bindtap="__e">拨打</view></view></view></block><block wx:if="{{detail.pay_type>2&&detail.send_type==2}}"><view class="flex-between pt-lg pb-lg b-1px-t"><view class="text c-desc">发货时间</view><view>{{detail.send_time}}</view></view></block><block wx:if="{{detail.pay_type==7}}"><view class="flex-between pt-lg pb-lg b-1px-t"><view class="text c-desc">{{detail.send_type==1?'取货时间':'收货时间'}}</view><view>{{detail.receiving_time}}</view></view></block><block wx:if="{{detail.text}}"><view class="pt-lg pb-lg b-1px-t"><view class="text c-desc">备注</view><view class="mt-sm"><text style="word-break:break-all;" decode="emsp">{{detail.text}}</text></view></view></block></view><view class="mt-md ml-md mr-md pd-lg fill-base f-paragraph c-title box-shadow radius-24"><view class="order-item flex-center"><image class="avatar box-shadow-mini radius-24" mode="aspectFill" lazy-load="{{true}}" src="{{detail[orderText[options.type]].goods_cover}}"></image><view class="flex-1 ml-lg"><view class="f-title c-title text-bold max-490 ellipsis">{{''+detail[orderText[options.type]].goods_name+''}}</view><block wx:if="{{options.type==1}}"><block><view class="f-caption c-caption mt-sm">{{'数量:'+(detail[orderText[options.type]].num+'/'+detail[orderText[options.type]].unit)+''}}</view><view class="f-caption c-caption">{{'配送周期:'+detail[orderText[options.type]].send_cycle+''}}</view></block></block><block wx:if="{{options.type==2}}"><block><view class="f-caption c-caption mt-sm">{{"租赁期限:"+detail[orderText[options.type]].end_time+' 到期'}}</view><view class="f-caption c-caption">{{'租赁面积:'+detail[orderText[options.type]].area+'㎡'}}</view></block></block></view></view></view><block wx:if="{{options.type==1}}"><view class="fill-base mt-md ml-md mr-md pl-lg pr-lg f-paragraph c-title box-shadow radius-24"><view class="pt-lg pb-lg f-title text-bold b-1px-b">认养收获</view><view class="pt-lg pb-lg"><view class="order-seed-item flex-center"><image class="seed-img radius-10" mode="aspectFill" lazy-load="{{true}}" classload="{{true}}" src="{{detail.claim_order.harvest_cover}}"></image><view class="flex-1 ml-lg f-paragraph c-title ellipsis">{{detail.claim_order.harvest_text}}</view></view></view></view></block><block wx:if="{{$root.g0}}"><view class="mt-md ml-md mr-md pl-lg pr-lg fill-base f-paragraph c-title box-shadow radius-24"><view class="pt-lg pb-lg f-title text-bold b-1px-b">种子管理</view><view class="pt-lg pb-lg"><block wx:for="{{detail.land_order.seed}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['order-seed-item','flex-center',[(index!=0)?'mt-md':'']]}}"><image class="seed-img radius-10" mode="aspectFill" lazy-load="{{true}}" classload="{{true}}" src="{{item.imgs}}"></image><view class="flex-1 ml-lg c-title"><view class="flex-between"><view class="f-paragraph max-380 ellipsis">{{item.title}}</view><view class="f-caption">{{item.area+"㎡"}}</view></view><view class="flex-between f-caption c-caption"><view class="c-warning">{{"¥"+item.seed_price}}</view><view>{{"x"+item.num}}</view></view></view></view></block></view></view></block><block wx:if="{{detail.send_type==2}}"><view class="order-text-info mt-md ml-md mr-md pl-lg pr-lg fill-base f-paragraph c-title box-shadow radius-24"><view class="flex-between pt-lg pb-lg"><view class="text">配送费</view><view>{{"¥"+detail.pay_price}}</view></view><view class="flex-between pt-lg pb-lg b-1px-t"><view class="text">实付金额</view><view class="c-warning text-bold">{{"¥"+detail.pay_price}}</view></view></view></block><view class="order-text-info mt-md ml-md mr-md pd-lg fill-base f-caption c-title box-shadow radius-24"><view class="flex-warp pt-sm"><view class="text c-caption">订单类型</view><view class="flex-1">{{orderType[options.type]}}</view></view><block wx:if="{{detail.send_type==2}}"><block><view class="flex-warp pt-md"><view class="text c-caption">付款单号</view><view class="flex-1 flex-y-center">{{detail.transaction_id+''}}<view data-event-opts="{{[['tap',[['e3',['$event']]]]]}}" class="copy-btn sm flex-center fill-body" style="{{'color:'+(primaryColor)+';'}}" bindtap="__e">复制</view></view></view><block wx:if="{{detail.pay_type==-1}}"><view class="flex-warp pt-md"><view class="text c-caption">退款单号</view><view class="flex-1 flex-y-center">{{detail.refund_code+''}}<view data-event-opts="{{[['tap',[['e4',['$event']]]]]}}" class="copy-btn sm flex-center fill-body" style="{{'color:'+(primaryColor)+';'}}" bindtap="__e">复制</view></view></view></block></block></block><view class="flex-warp pt-md"><view class="text c-caption">下单时间</view><view class="flex-1">{{detail.create_time}}</view></view><block wx:if="{{detail.send_type==2}}"><block><block wx:if="{{detail.pay_time}}"><view class="flex-warp pt-md"><view class="text c-caption">支付时间</view><view class="flex-1">{{detail.pay_time}}</view></view></block><block wx:if="{{detail.pay_type==-1}}"><view class="flex-warp pt-md"><view class="text c-caption">退款时间</view><view class="flex-1">{{detail.refund_time}}</view></view></block><view class="flex-warp pt-md"><view class="text c-caption">支付方式</view><view class="flex-1">{{payType[detail.pay_model]}}</view></view></block></block></view><view class="{{[[(detail.pay_type==2)?'space-max-footer':''],[(detail.pay_type!=2)?'space-footer':'']]}}"></view><block wx:if="{{detail.pay_type==2}}"><block><block wx:if="{{detail.send_type==1}}"><fix-bottom-button vue-id="18563174-2" text="{{[{type:'confirm',text:'确认取货'}]}}" data-event-opts="{{[['^confirm',[['toChangeOrder',['confirm_get_item']]]]]}}" bind:confirm="__e" bind:__l="__l"></fix-bottom-button></block><block wx:if="{{detail.send_type==2}}"><fix-bottom-button vue-id="18563174-3" text="{{[{type:'confirm',text:'立即发货'}]}}" data-event-opts="{{[['^confirm',[['toChangeOrder',['confirm_send_item']]]]]}}" bind:confirm="__e" bind:__l="__l"></fix-bottom-button></block></block></block><common-popup class="vue-ref" vue-id="18563174-4" title="确认取货" desc="请确认是否取货,确认后将无法恢复" text="确认取货" info="{{popupInfo}}" data-ref="confirm_get_item" data-event-opts="{{[['^confirm',[['confirmChangeOrder']]]]}}" bind:confirm="__e" bind:__l="__l"></common-popup><common-popup class="vue-ref" vue-id="18563174-5" title="立即发货" desc="请确认是否发货,确认后将无法恢复" text="确认发货" info="{{popupInfo}}" data-ref="confirm_send_item" data-event-opts="{{[['^confirm',[['confirmChangeOrder']]]]}}" bind:confirm="__e" bind:__l="__l"></common-popup></view></block> |