@ -4,21 +4,25 @@
<cu-custom bgColor="bg-white" isBack="{{true}}">
<view slot="content">订单详情</view>
</cu-custom>
<!-- 顶部的header -->
<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 wx:if="{{orderInfo && (orderInfo.status == 53 || orderInfo.status == 54||(orderInfo.activityId!=null&&(orderInfo.status==51||orderInfo.status==52)))}}">
<view class="bg-white text-df text-gray" style="border-bottom:2rpx solid #f3f3f3;padding:24rpx 30rpx">
车辆信息({{orderInfo.orderItems.length}}辆车)
</view>
<view wx:for="{{orderInfoStep}}" wx:key="index" style="margin-top:{{index == 0 ? 0 : 16}}rpx">
<!-- <view class="bg-white flex flex-justify text-sg" style="padding: 24rpx 30rpx">
<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> -->
<!-- 车辆信息 -->
<wux-accordion-group>
<wux-accordion>
<view slot="header" class="flex flex-justify" style="width: 100%">
@ -26,7 +30,7 @@
<text class="text-sg text-black text-bold">{{item.logisticcsInfo.plateNumber}}</text>
<text class="text-sg text-black text-bold" style="margin-left:8rpx">「{{item.paperCategoryName || orderInfo.paperCategoryName}}」</text>
</view>
<view class="text-df text-gray" style="padding-right:16rpx;">{{agent.orderStatus(item.status)}} </view>
<view class="text-df text-gray" style="padding-right:16rpx;">进度详情 </view>
</view>
<wux-steps direction="vertical">
<wux-step wx:for-item="timeItem" wx:for-index="oindex" wx:for="{{item.orderItemTimeList}}" wx:key="oindex"
@ -53,7 +57,11 @@
</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>
<text class="text-gray">{{formate.formatePrice2(item.unitSurcharge==null?0:item.unitSurcharge)}}</text>
</view>
<view class="flex flex-justify text-sg" style="margin-top:20rpx">
<text class="text-black">调节费</text>
<text class="text-gray">{{item.adjustMoney > 0 ? '+' : ''}}{{formate.formateAmount(item.adjustMoney)}}元</text>
</view>
<view class="flex flex-justify text-sg" style="margin-top:20rpx">
<text class="text-black">磅单图片</text>
@ -149,7 +157,7 @@
</view>
</view>
<!-- 全款 -->
<view class="bg-white" style="padding: 24rpx 30rpx;margin-top:16rpx" wx:else >
<view wx:if="{{item.activityOrderAuditPassNum == 3||orderInfo.activityId==null}}" class="bg-white" style="padding: 24rpx 30rpx;margin-top:16rpx">
<view class="flex flex-justify text-sg">
<text class="text-black">总金额</text>
<text style="color:#F5222D">{{formate.formateAmount(item.sumAmount)}}元</text>
@ -158,17 +166,17 @@
<text class="text-gray">结算单价 x 结算重量</text>
<text class="text-gray">{{formate.formatePrice2(item.weightnoteInfo.settleUtiPrice)}} x {{formate.formateWeight(item.weightnoteInfo.settleWeight)}}</text>
</view>
<view class="flex flex-justify text-sg" style="margin-top:20rpx;border-top:2rpx solid #f3f3f3;padding-top:16rpx" wx:if="{{item.adjustMoney && item.adjustMoney}}">
<text class="text-black">调节费</text>
<text style="color:#F5222D">{{item.adjustMoney > 0 ? '+' : ''}}{{formate.formateAmount(item.adjustMoney)}}元</text>
</view>
<view class="flex flex-justify text-sg" style="margin-top:20rpx;border-top:2rpx solid #f3f3f3;padding-top:16rpx">
<text class="text-black">代卖费</text>
<text style="color:#F5222D">{{formate.formateAmount(item.surcharge) || 0}}元</text>
</view>
<view class="flex flex-justify text-xs" style="margin-top:2rpx" wx:if="{{item.orderType == 1}}">
<text class="text-gray">代卖费单价 x 结算重量</text>
<text class="text-gray">{{formate.formatePrice2(item.unitSurcharge)}} x {{formate.formateWeight(item.weightnoteInfo.settleWeight)}}</text>
<text class="text-gray">{{formate.formatePrice2(item.unitSurcharge==null?0:item.unitSurcharge)}} x {{formate.formateWeight(item.weightnoteInfo.settleWeight)}}</text>
</view>
<view class="flex flex-justify text-sg" style="margin-top:20rpx;border-top:2rpx solid #f3f3f3;padding-top:16rpx" wx:if="{{item.adjustMoney && item.adjustMoney}}">
<text class="text-black">调节费</text>
<text style="color:#F5222D">{{item.adjustMoney > 0 ? '+' : ''}}{{formate.formateAmount(item.adjustMoney)}}元</text>
</view>
<view class="flex flex-justify text-xs" style="margin-top:2rpx" wx:else>
<text class="text-gray">代卖费单价 x 净重</text>
@ -285,15 +293,16 @@
<text class="text-sg text-black text-bold">{{item.logisticcsInfo.plateNumber}}</text>
<text class="text-sg text-black text-bold" style="margin-left:8rpx">「{{item.paperCategoryName || orderInfo.paperCategoryName}}」</text>
</view>
<view class="text-df text-gray" style="padding-right:16rpx;">{{agent.orderStatus(item.status)}} </view>
<view class="text-df text-gray" style="padding-right:16rpx;">进度详情 </view>
</view>
<wux-steps direction="vertical">
<wux-step wx:for-item="timeItem" wx:for-index="oindex" wx:for="{{item.orderItemTimeList}}" wx:key="oindex"
title="{{timeItem.description}}" status="{{statusStep(timeItem.status)}}" content="{{timeItem.time}}"/>
</wux-steps>
</wux-accordion>
</wux-accordion-group>
<view class="bg-white margin-top"></view>
<wux-accordion-group>
<wux-accordion>
<view slot="header" class="text-gray">预约信息</view>
@ -320,6 +329,7 @@
</wux-accordion>
</wux-accordion-group>
</view>
<!--已关闭-->
<view wx:elif="{{orderInfo && orderInfo.status == 55}}">
@ -333,7 +343,7 @@
<text class="text-sg text-black text-bold">{{item.logisticcsInfo.plateNumber}}</text>
<text class="text-sg text-black text-bold" style="margin-left:8rpx">「{{item.paperCategoryName || orderInfo.paperCategoryName}}」</text>
</view>
<view class="text-df text-gray" style="padding-right:16rpx;">{{agent.orderStatus(item.status)}} </view>
<view class="text-df text-gray" style="padding-right:16rpx;">进度详情 </view>
</view>
<wux-steps direction="vertical">
<wux-step wx:for-item="timeItem" wx:for-index="oindex" wx:for="{{item.orderItemTimeList}}" wx:key="oindex"
@ -403,7 +413,14 @@
</view>
<!--待预约-->
<view wx:elif="{{orderInfo}}">
<view class="bg-white" style="padding:24rpx 30rpx 0rpx 30rpx">
<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">
<view id="info2" class="flex flex-justify" style="border-bottom:2rpx solid #f3f3f3;padding-bottom:24rpx">
<view class="text-df text-gray">预约信息</view>
</view>
@ -428,15 +445,6 @@
<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 text-df text-gray" style="border-bottom:2rpx solid #f3f3f3;padding:24rpx 30rpx">
车辆信息({{orderInfo.orderItems.length}}辆车)
</view>
@ -447,7 +455,7 @@
<text class="text-sg text-black text-bold">{{item.logisticcsInfo.plateNumber}}</text>
<text class="text-sg text-black text-bold" style="margin-left:8rpx">「{{item.paperCategoryName || orderInfo.paperCategoryName}}」</text>
</view>
<view class="text-df text-gray" style="padding-right:16rpx;">{{agent.orderStatus(item.status)}} </view>
<view class="text-df text-gray" style="padding-right:16rpx;">进度详情 </view>
</view>
<wux-steps direction="vertical">
<wux-step wx:for-item="timeItem" wx:for-index="oindex" wx:for="{{item.orderItemTimeList}}" wx:key="oindex"
@ -458,6 +466,156 @@
</view>
<view class="bg-white margin-top"></view>
<wux-accordion-group wx:if="{{orderInfo}}">
<view class="bg-white" wx:if="{{item.weightnoteInfo && item.weightnoteInfo.id}}" style="padding: 24rpx 30rpx">
<view class="flex flex-justify text-sg">
<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" wx:if="{{item.weightnoteInfo.settleWeight}}">
<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" wx:if="{{item.weightnoteInfo.deductedPoint}}">
<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>
<text class="text-gray">{{formate.formatePrice2(item.unitSurcharge==null?0:item.unitSurcharge)}}</text>
</view>
<view class="flex flex-justify text-sg" style="margin-top:20rpx">
<text class="text-black">调节费</text>
<text class="text-gray">{{item.adjustMoney > 0 ? '+' : ''}}{{formate.formateAmount(item.adjustMoney)}}元</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>
<!-- 预付款 -->
<view class="bg-white" style="padding: 24rpx 30rpx;margin-top:16rpx" wx:if="{{item.activityOrderAuditPassNum == 1}}">
<view class="flex flex-justify text-sg">
<text class="text-black">预计总金额</text>
<text style="color:#F5222D">{{formate.formateAmount(item.preTotalMoney)}}元</text>
</view>
<view class="flex flex-justify text-sm" style="margin-top:2rpx">
<text class="text-gray">结算单价 x 净重</text>
<text class="text-gray">{{formate.formatePrice2(item.unitPrice)}} x {{formate.formateWeight3(item.weightnoteInfo.netWeight)}}</text>
</view>
<view class="flex flex-justify text-sg" style="margin-top:24rpx;border-top:2rpx solid #f3f3f3;padding-top:16rpx">
<text class="text-black">首笔应收金额</text>
<text style="color:#F5222D">{{formate.formateAmount(item.prepayMoney)}}元</text>
</view>
<view class="flex flex-justify text-sm" style="margin-top:2rpx">
<text class="text-gray">预估总金额 x {{agent.getActivitySettleType(orderInfo.activitySettleType)}}</text>
<text class="text-gray">{{formate.formateAmount(item.preTotalMoney)}}元 x {{agent.getActivitySettleType(orderInfo.activitySettleType)}}</text>
</view>
<view class="flex flex-justify text-sg" style="margin-top:24rpx;border-top:2rpx solid #f3f3f3;padding-top:16rpx">
<text class="text-black">代卖费</text>
<text style="color:#F5222D">{{formate.formateAmount(item.proxyAmount) || 0}}元</text>
</view>
<view class="flex flex-justify text-sm" style="margin-top:2rpx">
<text class="text-gray">代卖费单价 x 净重</text>
<text class="text-gray">{{formate.formatePrice2(item.unitSurcharge)}} x {{formate.formateWeight3(item.weightnoteInfo.netWeight)}}</text>
</view>
<view class="flex text-sg" style="justify-content: flex-end;margin-top:24rpx;border-top:2rpx solid #f3f3f3;padding-top:24rpx">
<text class="text-black text-bold">首笔实收金额:</text>
<text class="text-gray" style="color:#F5222D">{{formate.formateAmount(item.preSettleMoney)}}元</text>
</view>
</view>
<!-- 尾款 -->
<view wx:elif="{{item.activityOrderAuditPassNum == 2}}">
<view class="bg-white" style="padding: 24rpx 30rpx;margin-top:16rpx">
<view class="flex flex-justify text-sg">
<text class="text-black">预计总金额</text>
<text style="color:#F5222D">{{formate.formateAmount(item.preTotalMoney)}}元</text>
</view>
<view class="flex flex-justify text-xs" style="margin-top:2rpx">
<text class="text-gray">结算单价 x 净重</text>
<text class="text-gray">{{formate.formatePrice2(item.unitPrice)}} x {{formate.formateWeight3(item.weightnoteInfo.netWeight)}}</text>
</view>
<view class="flex flex-justify text-sg" style="margin-top:24rpx;border-top:2rpx solid #f3f3f3;padding-top:16rpx">
<text class="text-black">首笔应收金额</text>
<text style="color:#F5222D">{{formate.formateAmount(item.prepayMoney)}}元</text>
</view>
<view class="flex flex-justify text-xs" style="margin-top:2rpx">
<text class="text-gray">预估总金额 x {{agent.getActivitySettleType(orderInfo.activitySettleType)}}</text>
<text class="text-gray">{{formate.formateAmount(item.preTotalMoney)}}元 x {{agent.getActivitySettleType(orderInfo.activitySettleType)}}</text>
</view>
<view class="flex flex-justify text-sg" style="margin-top:24rpx;border-top:2rpx solid #f3f3f3;padding-top:16rpx">
<text class="text-black">代卖费</text>
<text style="color:#F5222D">{{formate.formateAmount(item.proxyAmount) || 0}}元</text>
</view>
<view class="flex flex-justify text-xs" style="margin-top:2rpx">
<text class="text-gray">代卖费单价 x 净重</text>
<text class="text-gray">{{formate.formatePrice2(item.unitSurcharge)}} x {{formate.formateWeight3(item.weightnoteInfo.netWeight)}}</text>
</view>
<view class="flex flex-justify text-sg" style="margin-top:24rpx;border-top:2rpx solid #f3f3f3;padding-top:24rpx">
<text class="text-black text-bold">首笔实收金额:</text>
<text class="text-gray" style="color:#F5222D">{{formate.formateAmount(item.preSettleMoney)}}元</text>
</view>
</view>
<view class="bg-white" style="padding: 24rpx 30rpx;margin-top:16rpx">
<view class="flex flex-justify text-sg">
<text class="text-black">未结算金额</text>
<text style="color:#F5222D">{{formate.formateAmount(item.unSettleMoney)}}元</text>
</view>
<view class="flex flex-justify text-xs" style="margin-top:2rpx">
<text class="text-gray">单价 x 结算重量 - 首笔应收金额</text>
<text class="text-gray">{{formate.formatePrice2(item.unitPrice)}} x {{formate.formateWeight3(item.weightnoteInfo.settleWeight)}} - {{formate.formateAmount(item.prepayMoney)}}元</text>
</view>
<view class="flex flex-justify text-sg" style="margin-top:24rpx;border-top:2rpx solid #f3f3f3;padding-top:24rpx" wx:if="{{item.adjustMoney && item.adjustMoney != 0}}">
<text class="text-black">调节费</text>
<text style="color:#F5222D">-{{formate.formateAmount(item.adjustMoney)}}元</text>
</view>
<view class="flex flex-justify text-sg" style="margin-top:24rpx;border-top:2rpx solid #f3f3f3;padding-top:24rpx">
<text class="text-black text-bold">尾款实收金额:</text>
<text style="color:#F5222D">{{formate.formateAmount(item.finalPayMoney)}}元</text>
</view>
<view class="flex flex-justify text-sg" style=";margin-top:24rpx;border-top:2rpx solid #f3f3f3;padding-top:24rpx">
<text class="text-black text-bold">总收款金额:</text>
<text style="color:#F5222D">{{formate.formateAmount(item.finalSettlePrice)}}元</text>
</view>
</view>
</view>
<!-- 全款 -->
<view wx:if="{{item.activityOrderAuditPassNum == 3||orderInfo.activityId==null}}" class="bg-white" style="padding: 24rpx 30rpx;margin-top:16rpx">
<view class="flex flex-justify text-sg">
<text class="text-black">总金额</text>
<text style="color:#F5222D">{{formate.formateAmount(item.sumAmount)}}元</text>
</view>
<view class="flex flex-justify text-xs" style="margin-top:2rpx">
<text class="text-gray">结算单价 x 结算重量</text>
<text class="text-gray">{{formate.formatePrice2(item.weightnoteInfo.settleUtiPrice)}} x {{formate.formateWeight(item.weightnoteInfo.settleWeight)}}</text>
</view>
<view class="flex flex-justify text-sg" style="margin-top:20rpx;border-top:2rpx solid #f3f3f3;padding-top:16rpx">
<text class="text-black">代卖费</text>
<text style="color:#F5222D">{{formate.formateAmount(item.surcharge) || 0}}元</text>
</view>
<view class="flex flex-justify text-xs" style="margin-top:2rpx" wx:if="{{item.orderType == 1}}">
<text class="text-gray">代卖费单价 x 结算重量</text>
<text class="text-gray">{{formate.formatePrice2(item.unitSurcharge==null?0:item.unitSurcharge)}} x {{formate.formateWeight(item.weightnoteInfo.settleWeight)}}</text>
</view>
<view class="flex flex-justify text-sg" style="margin-top:20rpx;border-top:2rpx solid #f3f3f3;padding-top:16rpx" wx:if="{{item.adjustMoney && item.adjustMoney}}">
<text class="text-black">调节费</text>
<text style="color:#F5222D">{{item.adjustMoney > 0 ? '+' : ''}}{{formate.formateAmount(item.adjustMoney)}}元</text>
</view>
<view class="flex flex-justify text-xs" style="margin-top:2rpx" wx:else>
<text class="text-gray">代卖费单价 x 净重</text>
<text class="text-gray">{{formate.formatePrice2(item.unitSurcharge)}} x {{formate.formateWeight(item.weightnoteInfo.netWeight)}}</text>
</view>
<view class="flex flex-justify text-sg" style="margin-top:24rpx;border-top:2rpx solid #f3f3f3;padding-top:20rpx">
<text class="text-black text-bold">总收款金额:</text>
<text style="color:#F5222D">{{formate.formateAmount(item.weightnoteInfo.settlePrice)}}元</text>
</view>
</view>
<wux-accordion>
<view slot="header" class="text-gray">订单信息</view>
<view class="flex flex-justify text-sg">