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.
349 lines
18 KiB
349 lines
18 KiB
<!--pages/agent/detail/index.wxml-->
|
|
<wxs module="agent" src="../../agent/index.wxs"></wxs>
|
|
<wxs module="formate" src="../../../pages/formate.wxs"></wxs>
|
|
<cu-custom bgColor="bg-white" isBack="{{true}}">
|
|
<view slot="content">订单详情</view>
|
|
</cu-custom>
|
|
|
|
<view class="bg-{{agent.backStatus(orderInfo.status)}} flex" style="padding:30rpx" wx:if="{{orderInfo}}">
|
|
<text class="cuIcon-{{agent.iconStatus(orderInfo.status)}} text-white" style="font-size:30px"></text>
|
|
<text class="text-xxl text-white" style="margin-left:16rpx">{{agent.orderStatus(orderInfo.status)}}</text>
|
|
</view>
|
|
<!--结算中和已完成、收货待审核-->
|
|
<view wx:if="{{orderInfo && (orderInfo.status == 53 || orderInfo.status == 54)}}">
|
|
|
|
<view class="bg-white" wx:for="{{orderInfo.orderItems}}" wx:key="index" style="padding:24rpx 30rpx;margin-top:{{index == 0 ? 0 : 16}}rpx">
|
|
<view class="flex flex-justify text-sg">
|
|
<text class="text-sg text-bold">货车车牌:{{item.logisticcsInfo.plateNumber}}</text>
|
|
<text class="text-black" style="padding: 4rpx 0rpx 4rpx 16rpx">{{agent.orderStatus(item.status)}}</text>
|
|
</view>
|
|
<view class="flex" wx:if="{{item.status == 50 || item.status == 51}}" style="border-top:2rpx solid #f3f3f3;margin-top:24rpx;padding-top:24rpx;justify-content: flex-end">
|
|
<wux-button outline type="assertive" size="copy" data-index="{{index}}" bind:click="cancelOrderItem" wx:if="{{item.status == 51}}">取消</wux-button>
|
|
</view>
|
|
<view wx:elif="{{item.weightnoteInfo && item.weightnoteInfo.id}}" style="border-top:2rpx solid #f3f3f3;margin-top:24rpx">
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx">
|
|
<text class="text-black">结算单价</text>
|
|
<text class="text-gray">{{formate.formatePrice2(item.weightnoteInfo.settleUtiPrice)}}</text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx">
|
|
<text class="text-black">净重</text>
|
|
<text class="text-gray">{{formate.formateWeight(item.weightnoteInfo.netWeight)}}</text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx">
|
|
<text class="text-black">结算重量</text>
|
|
<text class="text-gray">{{formate.formateWeight(item.weightnoteInfo.settleWeight)}}</text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx">
|
|
<text class="text-black">扣点</text>
|
|
<text class="text-gray">{{item.weightnoteInfo.deductedPoint}}%</text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx">
|
|
<text class="text-black">磅单图片</text>
|
|
</view>
|
|
<view style="margin-top:20rpx">
|
|
<sudoku-image image-list="{{item.weightnoteInfo.imageUrls}}" square="{{true}}" clickable="{{true}}">
|
|
</sudoku-image>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx">
|
|
<text class="text-black">信息费</text>
|
|
<text class="text-gray">{{formate.formatePrice2(item.unitSurcharge)}}</text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx">
|
|
<text class="text-black">调节费</text>
|
|
<text class="text-gray text-price">{{item.adjustMoney}}</text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx">
|
|
<text class="text-black">结算金额</text>
|
|
<text class="text-gray text-price" style="color:#FFA524">{{item.weightnoteInfo.settlePrice}}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="bg-white margin-top" style="padding:24rpx 30rpx">
|
|
<view class="text-df text-gray" style="border-bottom:2rpx solid #f3f3f3;padding-bottom:24rpx">送货信息</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx">
|
|
<text class="text-black">纸厂开户账号</text>
|
|
<view class="flex flex-center">
|
|
<text class="text-gray" style="margin-right:12rpx">{{orderInfo.millSupplierId}}</text>
|
|
<wux-button outline type="positive" size="copy" bind:click="clipboard">复制</wux-button>
|
|
</view>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx">
|
|
<text class="text-black">纸厂订单号</text>
|
|
<text class="text-gray">{{orderInfo.millDeliveryOrderId}}</text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx">
|
|
<text class="text-black">货到时间</text>
|
|
<text class="text-gray">{{orderInfo.paperMillDeliveryTime}}</text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx">
|
|
<text class="text-black">信息费</text>
|
|
<text class="text-gray">{{formate.formatePrice2(orderInfo.unitSurcharge)}}</text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx;align-items: flex-start">
|
|
<text class="text-black" style="min-width:180rpx">注意事项</text>
|
|
<text class="text-gray">{{orderInfo.attenssion || ''}}</text>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="flex flex-justify bg-white margin-top" style="padding:30rpx" wx:if="{{orderInfo}}">
|
|
<image class="image-load" src="/assets/image/ico_address.png"></image>
|
|
<view style="margin-left:24rpx;flex:1">
|
|
<view class="text-sg">{{orderInfo.paperMillName}}</view>
|
|
<view class="text-sm text-gray" style="margin-top:8rpx">地址:{{orderInfo.paperMillAddress}}</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="bg-white margin-top" style="padding:24rpx 30rpx 0rpx 30rpx" wx:if="{{orderInfo}}">
|
|
<view id="info2" class="flex flex-justify" style="border-bottom:{{visiable2?2:0}}rpx solid #f3f3f3;padding-bottom:24rpx" bindtap="hideLayout">
|
|
<view class="text-df text-gray">预约信息</view>
|
|
<text class="cuIcon-{{visiable2?'fold':'unfold'}} text-gray" style="font-size:18px"></text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx" wx:if="{{visiable2}}">
|
|
<text class="text-black">纸品品类</text>
|
|
<text class="text-gray">{{orderInfo.paperCategoryName}}</text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx" wx:if="{{visiable2}}">
|
|
<text class="text-black">预估单价</text>
|
|
<text class="text-gray">{{formate.formatePrice2(orderInfo.paperCategoryPrice)}}</text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx" wx:if="{{visiable2}}">
|
|
<text class="text-black">预计重量</text>
|
|
<text class="text-gray">{{formate.formateWeight(orderInfo.totalEstimatedWeight)}}</text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx" wx:if="{{visiable2}}">
|
|
<text class="text-black">货车数量</text>
|
|
<text class="text-gray">{{orderInfo.orderItems.length}}</text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="padding:20rpx 0rpx" wx:if="{{visiable2}}">
|
|
<text class="text-black">货到时间</text>
|
|
<text class="text-gray">{{orderInfo.deliveryTime}}</text>
|
|
</view>
|
|
</view>
|
|
|
|
</view>
|
|
<!--待送货-->
|
|
<view wx:elif="{{orderInfo && orderInfo.status == 51}}">
|
|
<view class="bg-white margin-top" style="padding:24rpx 30rpx">
|
|
<view class="text-df text-gray" style="border-bottom:2rpx solid #f3f3f3;padding-bottom:24rpx">送货信息</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx">
|
|
<text class="text-black">纸厂开户账号</text>
|
|
<view class="flex flex-center">
|
|
<text class="text-gray" style="margin-right:12rpx">{{orderInfo.millSupplierId}}</text>
|
|
<wux-button outline type="positive" size="copy" bind:click="clipboard">复制</wux-button>
|
|
</view>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx">
|
|
<text class="text-black">纸厂订单号</text>
|
|
<text class="text-gray">{{orderInfo.millDeliveryOrderId}}</text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx">
|
|
<text class="text-black">货到时间</text>
|
|
<text class="text-gray">{{orderInfo.paperMillDeliveryTime}}</text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx">
|
|
<text class="text-black">信息费</text>
|
|
<text class="text-gray">{{formate.formatePrice2(orderInfo.unitSurcharge)}}</text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx;align-items: flex-start">
|
|
<text class="text-black" style="min-width:180rpx">注意事项</text>
|
|
<text class="text-gray">{{orderInfo.attenssion || ''}}</text>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="flex flex-justify bg-white margin-top" style="padding:30rpx" wx:if="{{orderInfo}}">
|
|
<image class="image-load" src="/assets/image/ico_address.png"></image>
|
|
<view style="margin-left:24rpx;flex:1">
|
|
<view class="text-sg">{{orderInfo.paperMillName}}</view>
|
|
<view class="text-sm text-gray" style="margin-top:8rpx">地址:{{orderInfo.paperMillAddress}}</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="bg-white margin-top" style="padding:24rpx 30rpx" wx:if="{{orderInfo}}">
|
|
<view class="text-df text-gray" style="border-bottom:2rpx solid #f3f3f3;padding-bottom:24rpx">车辆信息</view>
|
|
<view wx:for="{{orderInfo.orderItems}}" wx:key="index">
|
|
<wux-divider show-text="{{ false }}" wx:if="{{index != 0 }}"></wux-divider>
|
|
<view class="flex flex-justify text-sg" style="padding:16rpx 0rpx">
|
|
<text class="text-sg text-black">货车车牌{{index + 1}}</text>
|
|
<text class="text-df text-gray">{{item.logisticcsInfo.plateNumber}}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="bg-white margin-top" style="padding:24rpx 30rpx 0rpx 30rpx">
|
|
<view id="info2" class="flex flex-justify" style="border-bottom:{{visiable2?2:0}}rpx solid #f3f3f3;padding-bottom:24rpx" bindtap="hideLayout">
|
|
<view class="text-df text-gray">预约信息</view>
|
|
<text class="cuIcon-{{visiable2?'fold':'unfold'}} text-gray" style="font-size:18px"></text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx" wx:if="{{visiable2}}">
|
|
<text class="text-black">纸品品类</text>
|
|
<text class="text-gray">{{orderInfo.paperCategoryName}}</text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx" wx:if="{{visiable2}}">
|
|
<text class="text-black">预估单价</text>
|
|
<text class="text-gray">{{formate.formatePrice2(orderInfo.paperCategoryPrice)}}</text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx" wx:if="{{visiable2}}">
|
|
<text class="text-black">预计重量</text>
|
|
<text class="text-gray">{{formate.formateWeight(orderInfo.totalEstimatedWeight)}}</text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx" wx:if="{{visiable2}}">
|
|
<text class="text-black">货车数量</text>
|
|
<text class="text-gray">{{orderInfo.orderItems.length}}</text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="padding:20rpx 0rpx" wx:if="{{visiable2}}">
|
|
<text class="text-black">货到时间</text>
|
|
<text class="text-gray">{{orderInfo.deliveryTime}}</text>
|
|
</view>
|
|
</view>
|
|
|
|
</view>
|
|
<!--已关闭-->
|
|
<view wx:elif="{{orderInfo && orderInfo.status == 55}}">
|
|
|
|
<view class="bg-white" style="padding:24rpx 30rpx">
|
|
<view class="text-df text-gray" style="border-bottom:2rpx solid #f3f3f3;padding-bottom:24rpx">车辆信息</view>
|
|
<view wx:for="{{orderInfo.orderItems}}" wx:key="index">
|
|
<wux-divider show-text="{{ false }}" wx:if="{{index != 0 }}"></wux-divider>
|
|
<view class="flex flex-justify text-sg" style="margin-top:16rpx">
|
|
<text class="text-sg text-black">货车车牌{{index + 1}}</text>
|
|
<text class="text-df text-gray">{{item.logisticcsInfo.plateNumber}}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="flex flex-justify bg-white margin-top" style="padding:30rpx" wx:if="{{orderInfo}}">
|
|
<image class="image-load" src="/assets/image/ico_address.png"></image>
|
|
<view style="margin-left:24rpx;flex:1">
|
|
<view class="text-sg">{{orderInfo.paperMillName}}</view>
|
|
<view class="text-sm text-gray" style="margin-top:8rpx">地址:{{orderInfo.paperMillAddress}}</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="bg-white margin-top" style="padding:24rpx 30rpx" wx:if="{{orderInfo.millSupplierId}}">
|
|
<view class="text-df text-gray" style="border-bottom:2rpx solid #f3f3f3;padding-bottom:24rpx">送货信息</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx">
|
|
<text class="text-black">纸厂开户账号</text>
|
|
<view class="flex flex-center">
|
|
<text class="text-gray" style="margin-right:12rpx">{{orderInfo.millSupplierId}}</text>
|
|
<wux-button outline type="positive" size="copy" bind:click="clipboard">复制</wux-button>
|
|
</view>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx">
|
|
<text class="text-black">纸厂订单号</text>
|
|
<text class="text-gray">{{orderInfo.millDeliveryOrderId}}</text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx">
|
|
<text class="text-black">货到时间</text>
|
|
<text class="text-gray">{{orderInfo.paperMillDeliveryTime}}</text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx">
|
|
<text class="text-black">信息费</text>
|
|
<text class="text-gray">{{formate.formatePrice2(orderInfo.unitSurcharge)}}</text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx;align-items: flex-start">
|
|
<text class="text-black" style="min-width:180rpx">注意事项</text>
|
|
<text class="text-gray">{{orderInfo.attenssion}}</text>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="bg-white margin-top" style="padding:24rpx 30rpx 0rpx 30rpx">
|
|
<view class="text-df text-gray" style="border-bottom:2rpx solid #f3f3f3;padding-bottom:24rpx">预约信息</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx">
|
|
<text class="text-black">纸品品类</text>
|
|
<text class="text-gray">{{orderInfo.paperCategoryName}}</text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx">
|
|
<text class="text-black">预估单价</text>
|
|
<text class="text-gray">{{formate.formatePrice2(orderInfo.paperCategoryPrice)}}</text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx">
|
|
<text class="text-black">预计重量</text>
|
|
<text class="text-gray">{{formate.formateWeight(orderInfo.totalEstimatedWeight)}}</text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx">
|
|
<text class="text-black">货车数量</text>
|
|
<text class="text-gray">{{orderInfo.orderItems.length}}</text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="padding:20rpx 0rpx" >
|
|
<text class="text-black">货到时间</text>
|
|
<text class="text-gray">{{orderInfo.deliveryTime}}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<!--待预约-->
|
|
<view wx:elif="{{orderInfo}}">
|
|
<view class="bg-white" style="padding:24rpx 30rpx 0rpx 30rpx">
|
|
<view id="info2" class="flex flex-justify" style="border-bottom:2rpx solid #f3f3f3;padding-bottom:24rpx">
|
|
<view class="text-df text-gray">预约信息</view>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx">
|
|
<text class="text-black">纸品品类</text>
|
|
<text class="text-gray">{{orderInfo.paperCategoryName}}</text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx">
|
|
<text class="text-black">预估单价</text>
|
|
<text class="text-gray">{{formate.formatePrice2(orderInfo.paperCategoryPrice)}}</text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx">
|
|
<text class="text-black">预计重量</text>
|
|
<text class="text-gray">{{formate.formateWeight(orderInfo.totalEstimatedWeight)}}</text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx">
|
|
<text class="text-black">货车数量</text>
|
|
<text class="text-gray">{{orderInfo.orderItems.length}}</text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="padding:20rpx 0rpx">
|
|
<text class="text-black">货到时间</text>
|
|
<text class="text-gray">{{orderInfo.deliveryTime}}</text>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="flex flex-justify bg-white margin-top" style="padding:30rpx" wx:if="{{orderInfo}}">
|
|
<image class="image-load" src="/assets/image/ico_address.png"></image>
|
|
<view style="margin-left:24rpx;flex:1">
|
|
<view class="text-sg">{{orderInfo.paperMillName}}</view>
|
|
<view class="text-sm text-gray" style="margin-top:8rpx">地址:{{orderInfo.paperMillAddress}}</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="bg-white margin-top" style="padding:24rpx 30rpx" wx:if="{{orderInfo}}">
|
|
<view class="text-df text-gray" style="border-bottom:2rpx solid #f3f3f3;padding-bottom:24rpx">车辆信息</view>
|
|
<view wx:for="{{orderInfo.orderItems}}" wx:key="index">
|
|
<wux-divider show-text="{{ false }}" wx:if="{{index != 0 }}"></wux-divider>
|
|
<view class="flex flex-justify text-sg" style="margin-top:16rpx">
|
|
<text class="text-sg text-black">货车车牌{{index + 1}}</text>
|
|
<text class="text-df text-gray">{{item.logisticcsInfo.plateNumber}}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="bg-white margin-top" style="padding:24rpx 30rpx 0rpx 30rpx" wx:if="{{orderInfo}}">
|
|
<view id="info" class="flex flex-justify" style="border-bottom:{{visiable1?2:0}}rpx solid #f3f3f3;padding-bottom:24rpx" bindtap="hideLayout">
|
|
<view class="text-df text-gray">订单信息</view>
|
|
<text class="cuIcon-{{visiable1?'fold':'unfold'}} text-gray" style="font-size:18px"></text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx" wx:if="{{visiable1}}">
|
|
<text class="text-black">订单编号</text>
|
|
<text class="text-gray">{{orderInfo.orderId}}</text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="margin-top:20rpx" wx:if="{{visiable1}}">
|
|
<text class="text-black">创建时间</text>
|
|
<text class="text-gray">{{orderInfo.createTime}}</text>
|
|
</view>
|
|
<view class="flex flex-justify text-sg" style="padding:20rpx 0rpx;align-items: flex-start" wx:if="{{visiable1}}">
|
|
<text class="text-black" style="min-width:200rpx">订单备注</text>
|
|
<text class="text-gray">{{orderInfo.remark || ''}}</text>
|
|
</view>
|
|
</view>
|
|
<view style="height:16rpx"></view>
|
|
|
|
<view style="height:{{116 + safeBottom}}rpx;" wx:if="{{orderInfo && cancel && (orderInfo.status == 50 || orderInfo.status == 51)}}"></view>
|
|
<view class="cu-bar bg-white foot flex flex-center" style="height:{{100 + safeBottom}}rpx;padding: 32rpx 32rpx {{safeBottom + 32}}rpx 32rpx;justify-content: flex-end"
|
|
wx:if="{{orderInfo && cancel && (orderInfo.status == 50 || orderInfo.status == 51)}}">
|
|
<wux-button outline style="margin-right:24rpx" type="assertive" size="small" bind:click="refuseOrder" wx:if="{{orderInfo.status == 51}}">更改预约</wux-button>
|
|
<wux-button outline type="stable" size="small" bind:click="cancelOrder" wx:if="{{orderInfo.status == 50 || orderInfo.status == 51}}">取消订单</wux-button>
|
|
</view>
|
|
|
|
<wux-dialog id="wux-dialog" />
|