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.
102 lines
4.8 KiB
102 lines
4.8 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-index-anchor index="定价信息" />
|
|
<view wx:for="{{form.orderPapers}}" wx:key="index">
|
|
<van-cell clickable center is-link data-index="{{index}}" bind:click="showCategory">
|
|
<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>废纸品类{{index + 1}}</text>
|
|
</view>
|
|
<view class="{{item.productName ? 'text-black' : 'text-gray'}}">{{item.productName || '请选择废纸品类'}}</view>
|
|
</view>
|
|
</van-cell>
|
|
<van-cell center>
|
|
<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 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="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>
|
|
</view>
|
|
|
|
<submit-layout wx:if="{{form}}">
|
|
<view class="flex flex-center" style="flex:1;justify-content: flex-start">
|
|
<text class="text-lg" wx:if="{{amout}}">金额:</text>
|
|
<text class="text-xxl text-price text-red" wx:if="{{amout}}">{{amout}}</text>
|
|
</view>
|
|
<van-button type="info" custom-style="height:88rpx;width:300rpx" bind:click="checkOrder">通过审核</van-button>
|
|
</submit-layout>
|
|
|
|
<van-popup position="bottom" show="{{ visible }}" bind:close="onHide" z-index="29">
|
|
<van-picker show-toolbar title="选择纸品" columns="{{ columns }}" bind:cancel="onHide" bind:confirm="onConfirm" />
|
|
</van-popup>
|
|
<notification id="qn-notification"/>
|