纸通宝SAAS仓库
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.
 

217 lines
10 KiB

<!--pages/process/order-check/index.wxml-->
<cu-custom bgColor="bg-white" isBack="{{true}}">
<view slot="content">厂外收货</view>
</cu-custom>
<view wx:if="{{form}}">
<view class="flex flex-justify info_status" wx:if="{{form.orderStatus == 3}}">
<view class="flex">
<image style="height:42rpx;width:42rpx" src="/assets/image/icon_uncheck.png"></image>
<view class="text-white text-sg" style="margin-left:12rpx">待审核</view>
</view>
<view class="text-white" style="padding: 12rpx 0rpx 12rpx 12rpx" bindtap="checkForm">重新定价</view>
</view>
<view class="flex flex-center info_status" style="justify-content: flex-start;" wx:elif="{{form.orderStatus == 4}}">
<image style="height:42rpx;width:42rpx" src="/assets/image/icon_payfor.png"></image>
<view class="text-white text-sg" style="margin-left:12rpx">待付款</view>
</view>
<view class="flex flex-center info_status" style="justify-content: flex-start;" wx:elif="{{form.orderStatus == 41}}">
<image style="height:42rpx;width:42rpx" src="/assets/image/icon_payfor.png"></image>
<view class="text-white text-sg" style="margin-left:12rpx">代付审核中</view>
</view>
<view class="flex flex-center info_status" style="justify-content: flex-start;" wx:elif="{{form.orderStatus == 42}}">
<image style="height:42rpx;width:42rpx" src="/assets/image/icon_payfor.png"></image>
<view class="text-white text-sg" style="margin-left:12rpx">待结算</view>
</view>
<view class="flex flex-center info_status" style="justify-content: flex-start;" wx:elif="{{form.orderStatus == 5}}">
<image style="height:42rpx;width:42rpx" src="/assets/image/icon_payfor.png"></image>
<view class="text-white text-sg" style="margin-left:12rpx">已完成</view>
</view>
<view class="flex flex-center info_status" style="justify-content: flex-start;" wx:elif="{{form.orderStatus == 6}}">
<!-- <image style="height:42rpx;width:42rpx" src="/assets/image/icon_close.png"></image> -->
<view class="text-white text-sg" style="margin-left:12rpx">已取消</view>
</view>
<van-cell clickable center>
<view slot="title" class="flex flex-justify">
<view class="text-black">客户姓名</view>
<view class="text-gray">{{form.factoryCustomerName || '- -'}}</view>
</view>
</van-cell>
<van-cell clickable center>
<view slot="title" class="flex flex-justify">
<view class="text-black">车牌号码</view>
<view class="text-gray">{{form.plateNumber || '- -'}}</view>
</view>
</van-cell>
<van-cell clickable center>
<view slot="title" class="flex flex-justify">
<view class="text-black">司机</view>
<view class="text-gray">{{form.driverName || '- -'}}</view>
</view>
</van-cell>
<van-cell clickable center wx:if="{{form.operatorName}}">
<view slot="title" class="flex flex-justify">
<view class="text-black">操作员</view>
<view class="text-gray">{{form.operatorName || '- -'}}</view>
</view>
</van-cell>
<van-cell clickable center wx:if="{{form.predictDeliveryToFactoryTime}}">
<view slot="title" class="flex flex-justify">
<view class="text-black">预计到厂时间</view>
<view class="text-gray">{{form.predictDeliveryToFactoryTime}}</view>
</view>
</van-cell>
<van-field label="辅助设备" type="textarea" disabled input-align="right" value="{{ form.equipmentRemark }}" autosize border="{{false}}" />
<van-cell>
<view slot="title" class="flex flex-justify">
<view class="flex flex-center text-black">厂外皮重(公斤)</view>
<view class="text-gray">{{form.offsiteTareWeight || '- -'}}</view>
</view>
</van-cell>
<van-cell>
<view slot="title" class="flex flex-justify">
<view class="flex flex-center text-black">厂外毛重(公斤)</view>
<view class="text-gray">{{form.offsiteGrossWeight || '- -'}}</view>
</view>
</van-cell>
<van-cell>
<view slot="title" class="flex flex-justify">
<view class="flex flex-center text-black">净重(公斤)</view>
<view class="text-gray">{{form.totalNetWeight || '- -'}}</view>
</view>
</van-cell>
<van-cell>
<view slot="title" class="flex flex-justify">
<view class="flex flex-center text-black">预计总金额(元)</view>
<view class="text-gray">{{form.estimatedTotalAmount || '- -'}}</view>
</view>
</van-cell>
<van-cell>
<view slot="title" class="flex flex-justify">
<view class="flex flex-center text-black">厂内毛重(公斤)</view>
<view class="{{form.onsideGrossWeight ? 'text-gray' : 'text-red'}}">{{form.onsideGrossWeight || '暂无'}}</view>
</view>
</van-cell>
<van-cell>
<view slot="title" class="flex flex-justify">
<view class="flex flex-center text-black">厂内厂外毛重差异(公斤)</view>
<view class="text-gray">{{form.onsideAndOffsiteDifferences || '- -'}}</view>
</view>
</van-cell>
<view style="height:16rpx"></view>
<view class="flex flex-center bg-white" style="justify-content: flex-start;padding: 24rpx 32rpx;border-bottom:1rpx solid #f3f3f3">
<view style="height:24rpx;width:6rpx;background-image: linear-gradient(180deg, #007AFF 0%, #027BFF 15%, #5AABFF 45%, #CAF4FE 100%);"></view>
<view class="text-black text-sg text-bold" style="margin-left: 12rpx">纸品信息</view>
</view>
<view wx:for="{{form.productCategoryInfos}}" wx:key="index">
<view style="height:16rpx" wx:if="{{index != 0 }}"></view>
<van-cell clickable center>
<view slot="title" class="flex flex-justify">
<view class="text-black">废纸品类{{index + 1}}</view>
<view class="text-gray">{{item.productCategoryName || '- -'}}</view>
</view>
</van-cell>
<van-cell>
<view slot="title" class="flex flex-justify">
<view class="text-black">结算单价(元/公斤)</view>
<view class="text-gray">{{item.settleUnitPrice || '- -'}}</view>
</view>
</van-cell>
<van-cell>
<view slot="title" class="flex flex-justify">
<view class="text-black">毛重(公斤)</view>
<view class="text-gray">{{item.grossWeight || '- -'}}</view>
</view>
</van-cell>
<van-cell>
<view slot="title" class="flex flex-justify">
<view class="text-black">皮重(公斤)</view>
<view class="text-gray">{{item.tareWeight || '- -'}}</view>
</view>
</van-cell>
<van-cell>
<view slot="title" class="flex flex-justify">
<view class="text-black">净重(公斤)</view>
<view class="text-gray">{{item.netWeight || '- -'}}</view>
</view>
</van-cell>
<!-- <van-cell>
<view slot="title" class="flex flex-justify">
<view class="text-black">预估金额(元)</view>
<view class="{{item.price ? 'text-black' : 'text-gray'}}">{{item.price || ''}}</view>
</view>
</van-cell> -->
<view class="bg-white" style="padding: 24rpx 32rpx 20rpx 32rpx">
<view class="flex flex-justify" style="padding-bottom: 24rpx">
<view class="flex flex-center text-black">过磅凭证</view>
</view>
<van-uploader file-list="{{ item.fileList }}" deletable="{{false}}" show-upload="{{false}}" />
</view>
<van-cell wx:if="{{item.deductWeight}}">
<view slot="title" class="flex flex-justify">
<view class="text-black">扣重(公斤)</view>
<view class="text-gray">{{item.deductWeight}}</view>
</view>
</van-cell>
<van-cell wx:if="{{item.deductPercent}}">
<view slot="title" class="flex flex-justify">
<view class="text-black">扣点(%)</view>
<view class="text-gray">{{item.deductPercent}}</view>
</view>
</van-cell>
<van-cell>
<view slot="title" class="flex flex-justify">
<view class="text-black">结算重量(公斤)</view>
<view class="text-gray">{{item.settleWeight || '- -'}}</view>
</view>
</van-cell>
<van-cell>
<view slot="title" class="flex flex-justify">
<view class="text-black">结算金额(元)</view>
<view class="text-gray">{{item.settlePrice || '- -'}}</view>
</view>
</van-cell>
</view>
<view style="height:16rpx"></view>
<view class="flex flex-center bg-white" style="justify-content: flex-start;padding: 24rpx 32rpx;border-bottom:1rpx solid #f3f3f3">
<view style="height:24rpx;width:6rpx;background-image: linear-gradient(180deg, #007AFF 0%, #027BFF 15%, #5AABFF 45%, #CAF4FE 100%);"></view>
<view class="text-black text-sg text-bold" style="margin-left: 12rpx">汇总信息</view>
</view>
<van-cell clickable center>
<view slot="title" class="flex flex-justify">
<view class="text-black">结算总重量(公斤)</view>
<view class="text-gray">{{form.settleTotalWeight || '- -'}}</view>
</view>
</van-cell>
<van-cell clickable center>
<view slot="title" class="flex flex-justify">
<view class="text-black">结算总金额(元)</view>
<view class="text-gray">{{form.settleTotalAmount || '- -'}}</view>
</view>
</van-cell>
</view>
<submit-layout wx:if="{{form && admin && form.orderStatus == 3}}">
<view class="flex flex-center" style="flex:1;justify-content: flex-start">
<text class="text-lg" wx:if="{{form.settleTotalAmount}}">金额:</text>
<text class="text-xxl text-price text-red" wx:if="{{form.settleTotalAmount}}">{{form.settleTotalAmount}}</text>
</view>
<van-button type="info" custom-style="height:88rpx;width:300rpx" bind:click="submitForm">通过审核</van-button>
</submit-layout>
<submit-layout wx:if="{{form && admin && (form.orderStatus == 4 || form.orderStatus == 42)}}">
<view class="flex flex-center" style="flex:1;justify-content: flex-start">
<text class="text-lg" wx:if="{{form.settleTotalAmount}}">金额:</text>
<text class="text-xxl text-price text-red" wx:if="{{form.settleTotalAmount}}">{{form.settleTotalAmount}}</text>
</view>
<van-button type="info" custom-style="height:88rpx;width:300rpx" bind:click="paymentOrder" wx:if="{{form.orderStatus == 4}}">进行支付</van-button>
<van-button type="info" custom-style="height:88rpx;width:300rpx" bind:click="paymentOrder" wx:if="{{form.orderStatus == 42}}">客户结算</van-button>
</submit-layout>
<view style="border-radius: 50rpx;position: fixed;bottom:160rpx;right:50rpx" wx:if="{{form && form.orderStatus != 6}}">
<van-button round type="info" bind:click="printOrder" custom-style="width: 100rpx;height: 100rpx;">
<van-icon name="printer" size="30px"/>
</van-button>
</view>
<van-dialog id="van-dialog" />
<notification id="qn-notification"/>