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.
187 lines
9.2 KiB
187 lines
9.2 KiB
<!--pages/process/order-check/index.wxml-->
|
|
<cu-custom bgColor="bg-white" isBack="{{true}}">
|
|
<view slot="content">厂外收货</view>
|
|
</cu-custom>
|
|
|
|
<view wx:if="{{form}}">
|
|
<van-index-anchor index="订单信息" />
|
|
<van-cell clickable center>
|
|
<view slot="title" class="flex flex-justify">
|
|
<view class="text-black">客户姓名</view>
|
|
<view class="{{form.factoryCustomerName ? 'text-black' : '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="{{form.plateNumber ? 'text-black' : '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="{{form.driverName ? 'text-black' : '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="{{form.operatorName ? 'text-black' : 'text-gray'}}">{{form.operatorName || '请选择操作员'}}</view>
|
|
</view>
|
|
</van-cell>
|
|
<van-cell clickable center wx:if="{{form.appointDate}}">
|
|
<view slot="title" class="flex flex-justify">
|
|
<view class="text-black">预计到厂时间</view>
|
|
<view class="{{form.appointDate ? 'text-black' : 'text-gray'}}">{{form.appointDate || '请选择预计到厂时间'}}</view>
|
|
</view>
|
|
</van-cell>
|
|
<van-field label="辅助设备" type="textarea" disabled input-align="right" placeholder="请输入辅助设备" autosize border="{{ false }}" />
|
|
|
|
<van-index-anchor index="纸品信息" />
|
|
<view wx:for="{{form.productCategoryInfos}}" wx:key="index">
|
|
<van-cell clickable center>
|
|
<view slot="title" class="flex flex-justify">
|
|
<view class="text-black">废纸品类{{index + 1}}</view>
|
|
<view class="{{item.productName ? 'text-black' : 'text-gray'}}">{{item.productName || '请选择废纸品类'}}</view>
|
|
</view>
|
|
</van-cell>
|
|
<van-cell>
|
|
<view slot="title" class="flex flex-justify">
|
|
<view class="text-black">预估单价(元/公斤)</view>
|
|
<view class="{{item.unitPrice ? 'text-black' : 'text-gray'}}">{{item.unitPrice || '请输入单价'}}</view>
|
|
</view>
|
|
</van-cell>
|
|
<van-cell>
|
|
<view slot="title" class="flex flex-justify">
|
|
<view class="flex flex-center text-black">
|
|
<view class="text-red text-xl" style="line-height: 10px; padding-top: 8px">*</view>
|
|
<text>毛重(公斤)</text>
|
|
</view>
|
|
<input id="totalWeight" data-index="{{index}}" type="digit" placeholder-style="color:#aaa" style="text-align: right" maxlength="8"
|
|
placeholder="请输入毛重" value="{{item.unitPrice || ''}}" bindinput="bindInput" />
|
|
</view>
|
|
</van-cell>
|
|
<van-cell>
|
|
<view slot="title" class="flex flex-justify">
|
|
<view class="flex flex-center text-black">
|
|
<view class="text-red text-xl" style="line-height: 10px; padding-top: 8px">*</view>
|
|
<text>皮重(公斤)</text>
|
|
</view>
|
|
<input id="emptyWeight" data-index="{{index}}" type="digit" placeholder-style="color:#aaa" style="text-align: right" maxlength="8"
|
|
placeholder="请输入皮重" value="{{item.unitPrice || ''}}" bindinput="bindInput" />
|
|
</view>
|
|
</van-cell>
|
|
<van-cell>
|
|
<view slot="title" class="flex flex-justify">
|
|
<view class="text-black">净重(公斤)</view>
|
|
<view class="{{item.netWeight ? 'text-black' : '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 class="text-red text-xl" style="line-height: 10px; padding-top: 8px">*</view>
|
|
<text>过磅凭证</text>
|
|
</view>
|
|
<text class="text-gray">最多3张,每图片大小限制5M</text>
|
|
</view>
|
|
<van-uploader name="{{index}}" file-list="{{ item.fileList }}" multiple max-count="6" max-size="{{1024 * 1024 * 5}}" bind:file-change="fileChange" />
|
|
</view>
|
|
<van-cell>
|
|
<view slot="title" class="flex flex-justify">
|
|
<view class="flex flex-center text-black">
|
|
<view class="text-red text-xl" style="line-height: 10px; padding-top: 8px">*</view>
|
|
<text>结算单价(元/公斤)</text>
|
|
</view>
|
|
<input id="emptyWeight" data-index="{{index}}" type="digit" placeholder-style="color:#aaa" style="text-align: right" maxlength="8"
|
|
placeholder="请输入结算单价" value="{{item.unitPrice || ''}}" bindinput="bindInput" />
|
|
</view>
|
|
</van-cell>
|
|
<van-cell>
|
|
<view slot="title" class="flex flex-justify">
|
|
<view class="flex flex-center text-black" data-type="1" bindtap="changeDeductType">
|
|
<van-checkbox value="{{ item.sign == 1 }}" icon-size="32rpx"></van-checkbox>
|
|
<text style="margin-left:8rpx">扣重(公斤)</text>
|
|
</view>
|
|
<input id="deductWeight" type="digit" disabled="{{item.sign == 2}}" focus="{{focus == 1}}"
|
|
placeholder-style="color:#aaa" style="text-align: right" maxlength="10" placeholder="请输入扣重重量"
|
|
value="{{item.deductWeight || ''}}" bindinput="bindInput" data-type="1" bindtap="changeDeductType" />
|
|
</view>
|
|
</van-cell>
|
|
<van-cell>
|
|
<view slot="title" class="flex flex-justify">
|
|
<view class="flex flex-center text-black" data-type="2" bindtap="changeDeductType">
|
|
<van-checkbox value="{{ item.sign == 2 }}" icon-size="32rpx"></van-checkbox>
|
|
<text style="margin-left:8rpx">扣点(%)</text>
|
|
</view>
|
|
<input id="deductPercent" type="digit" disabled="{{form.sign == 1}}" focus="{{focus == 2}}"
|
|
placeholder-style="color:#aaa" style="text-align: right" maxlength="10" placeholder="请输入扣点比例"
|
|
value="{{form.deductPercent}}" bindinput="bindInput" data-type="2" bindtap="changeDeductType" />
|
|
</view>
|
|
</van-cell>
|
|
<van-cell>
|
|
<view slot="title" class="flex flex-justify">
|
|
<view class="text-black">结算重量(公斤)</view>
|
|
<view class="text-gray">{{form.settleWeight || '- -'}}</view>
|
|
</view>
|
|
</van-cell>
|
|
<van-cell>
|
|
<view slot="title" class="flex flex-justify">
|
|
<view class="text-black">结算金额(元)</view>
|
|
<view class="text-gray">{{form.settleWeight || '- -'}}</view>
|
|
</view>
|
|
</van-cell>
|
|
</view>
|
|
<van-index-anchor index="汇总信息" />
|
|
<van-cell clickable center>
|
|
<view slot="title" class="flex flex-justify">
|
|
<view class="text-black">总净重(公斤)</view>
|
|
<view class="{{form.driverName ? 'text-black' : 'text-gray'}}">{{form.driverName || '请选择司机'}}</view>
|
|
</view>
|
|
</van-cell>
|
|
<van-cell clickable center>
|
|
<view slot="title" class="flex flex-justify">
|
|
<view class="text-black">预计总金额(元)</view>
|
|
<view class="{{form.driverName ? 'text-black' : 'text-gray'}}">{{form.driverName || '请选择司机'}}</view>
|
|
</view>
|
|
</van-cell>
|
|
<van-cell>
|
|
<view slot="title" class="flex flex-justify">
|
|
<view class="flex flex-center text-black">
|
|
<view class="text-red text-xl" style="line-height: 10px; padding-top: 8px">*</view>
|
|
<text>厂外皮重(公斤)</text>
|
|
</view>
|
|
<input id="emptyWeight" data-index="{{index}}" type="digit" placeholder-style="color:#aaa" style="text-align: right" maxlength="8"
|
|
placeholder="请输入厂外皮重" value="{{item.unitPrice || ''}}" bindinput="bindInput" />
|
|
</view>
|
|
</van-cell>
|
|
<van-cell>
|
|
<view slot="title" class="flex flex-justify">
|
|
<view class="flex flex-center text-black">
|
|
<view class="text-red text-xl" style="line-height: 10px; padding-top: 8px">*</view>
|
|
<text>厂外毛重(公斤)</text>
|
|
</view>
|
|
<input id="emptyWeight" data-index="{{index}}" type="digit" placeholder-style="color:#aaa" style="text-align: right" maxlength="8"
|
|
placeholder="请输入厂外毛重" value="{{item.unitPrice || ''}}" bindinput="bindInput" />
|
|
</view>
|
|
</van-cell>
|
|
</view>
|
|
<submit-layout wx:if="{{form && admin && form.orderStatus == 3}}">
|
|
<van-button plain type="default" custom-style="height:88rpx;width:254rpx" bind:click="checkForm">重新定价</van-button>
|
|
<van-button type="info" custom-style="margin-left:32rpx;height:88rpx;width:400rpx" bind:click="submitForm">审核通过</van-button>
|
|
</submit-layout>
|
|
|
|
<view style="border-radius: 50rpx;position: fixed;bottom:160rpx;right:50rpx" wx:if="{{form}}">
|
|
<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"/>
|