|
|
@ -1,6 +1,6 @@ |
|
|
<!--pages/message/index.wxml--> |
|
|
<!--pages/message/index.wxml--> |
|
|
<view style="height:16rpx" wx:if="{{index != 0 }}"></view> |
|
|
<view style="height:16rpx" wx:if="{{index != 0 }}"></view> |
|
|
<van-cell clickable center is-link bind:click="showCategory"> |
|
|
|
|
|
|
|
|
<van-cell clickable center is-link arrow-direction="down" bind:click="showCategory"> |
|
|
<view slot="title" class="flex flex-justify"> |
|
|
<view slot="title" class="flex flex-justify"> |
|
|
<view class="flex flex-center text-black"> |
|
|
<view class="flex flex-center text-black"> |
|
|
<view class="text-red text-xl" style="line-height: 10px; padding-top: 8px">*</view> |
|
|
<view class="text-red text-xl" style="line-height: 10px; padding-top: 8px">*</view> |
|
|
@ -9,7 +9,7 @@ |
|
|
<view class="{{item.productCategoryName ? 'text-black' : 'text-gray'}}">{{item.productCategoryName || '请选择废纸品类'}}</view> |
|
|
<view class="{{item.productCategoryName ? 'text-black' : 'text-gray'}}">{{item.productCategoryName || '请选择废纸品类'}}</view> |
|
|
</view> |
|
|
</view> |
|
|
</van-cell> |
|
|
</van-cell> |
|
|
<van-cell> |
|
|
|
|
|
|
|
|
<!-- <van-cell> |
|
|
<view slot="title" class="flex flex-justify"> |
|
|
<view slot="title" class="flex flex-justify"> |
|
|
<view class="flex flex-center text-black"> |
|
|
<view class="flex flex-center text-black"> |
|
|
<view class="text-red text-xl" style="line-height: 10px; padding-top: 8px">*</view> |
|
|
<view class="text-red text-xl" style="line-height: 10px; padding-top: 8px">*</view> |
|
|
@ -18,14 +18,20 @@ |
|
|
<input id="settleUnitPrice" data-index="{{index}}" type="digit" placeholder-style="color:#aaa" style="text-align: right" |
|
|
<input id="settleUnitPrice" data-index="{{index}}" type="digit" placeholder-style="color:#aaa" style="text-align: right" |
|
|
maxlength="8" placeholder="请输入结算单价" value="{{item.settleUnitPrice || ''}}" bindinput="bindInput" /> |
|
|
maxlength="8" placeholder="请输入结算单价" value="{{item.settleUnitPrice || ''}}" bindinput="bindInput" /> |
|
|
</view> |
|
|
</view> |
|
|
</van-cell> |
|
|
|
|
|
|
|
|
</van-cell> --> |
|
|
|
|
|
<van-field id="settleUnitPrice" value="{{ item.settleUnitPrice || '' }}" type="digit" placeholder="请输入结算单价" clearable input-align="right" bind:change="bindInput"> |
|
|
|
|
|
<view slot="label" class="flex text-black" style="width:240rpx"> |
|
|
|
|
|
<view class="text-red text-xl" style="line-height: 10px; padding-top: 12px">*</view> |
|
|
|
|
|
<text>结算单价(元/公斤)</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
</van-field> |
|
|
<van-cell> |
|
|
<van-cell> |
|
|
<view slot="title" class="flex flex-justify"> |
|
|
<view slot="title" class="flex flex-justify"> |
|
|
<view class="text-black">净重(公斤)</view> |
|
|
<view class="text-black">净重(公斤)</view> |
|
|
<view class="{{item.netWeight ? 'text-black' : 'text-gray'}}">{{item.netWeight || ''}}</view> |
|
|
<view class="{{item.netWeight ? 'text-black' : 'text-gray'}}">{{item.netWeight || ''}}</view> |
|
|
</view> |
|
|
</view> |
|
|
</van-cell> |
|
|
</van-cell> |
|
|
<van-cell> |
|
|
|
|
|
|
|
|
<!-- <van-cell> |
|
|
<view slot="title" class="flex flex-justify"> |
|
|
<view slot="title" class="flex flex-justify"> |
|
|
<view class="flex flex-center text-black" data-type="1" bindtap="changeDeductType"> |
|
|
<view class="flex flex-center text-black" data-type="1" bindtap="changeDeductType"> |
|
|
<van-checkbox value="{{ !item.sign || item.sign == 1 }}" icon-size="32rpx"></van-checkbox> |
|
|
<van-checkbox value="{{ !item.sign || item.sign == 1 }}" icon-size="32rpx"></van-checkbox> |
|
|
@ -35,8 +41,14 @@ |
|
|
placeholder-style="color:#aaa" style="text-align: right" maxlength="10" placeholder="请输入扣重重量" |
|
|
placeholder-style="color:#aaa" style="text-align: right" maxlength="10" placeholder="请输入扣重重量" |
|
|
value="{{item.deductWeight || ''}}" bindinput="bindInput" data-type="1" bindtap="changeDeductType" /> |
|
|
value="{{item.deductWeight || ''}}" bindinput="bindInput" data-type="1" bindtap="changeDeductType" /> |
|
|
</view> |
|
|
</view> |
|
|
</van-cell> |
|
|
|
|
|
<van-cell> |
|
|
|
|
|
|
|
|
</van-cell> --> |
|
|
|
|
|
<van-field id="deductWeight" value="{{ item.deductWeight || '' }}" data-type="1" type="digit" placeholder="请输入扣重重量" clearable disabled="{{item.sign == 2}}" input-align="right" bind:change="bindInput" bind:click-input="changeDeductType"> |
|
|
|
|
|
<view slot="label" class="flex flex-center text-black" style="justify-content: flex-start" data-type="1" bindtap="changeDeductType"> |
|
|
|
|
|
<van-checkbox value="{{ !item.sign || item.sign == 1 }}" icon-size="32rpx"></van-checkbox> |
|
|
|
|
|
<text style="margin-left:8rpx">扣重(公斤)</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
</van-field> |
|
|
|
|
|
<!-- <van-cell> |
|
|
<view slot="title" class="flex flex-justify"> |
|
|
<view slot="title" class="flex flex-justify"> |
|
|
<view class="flex flex-center text-black" data-type="2" bindtap="changeDeductType"> |
|
|
<view class="flex flex-center text-black" data-type="2" bindtap="changeDeductType"> |
|
|
<van-checkbox value="{{ item.sign == 2 }}" icon-size="32rpx"></van-checkbox> |
|
|
<van-checkbox value="{{ item.sign == 2 }}" icon-size="32rpx"></van-checkbox> |
|
|
@ -46,7 +58,13 @@ |
|
|
placeholder-style="color:#aaa" style="text-align: right" maxlength="10" placeholder="请输入扣点比例" |
|
|
placeholder-style="color:#aaa" style="text-align: right" maxlength="10" placeholder="请输入扣点比例" |
|
|
value="{{item.deductPercent}}" bindinput="bindInput" data-type="2" bindtap="changeDeductType" /> |
|
|
value="{{item.deductPercent}}" bindinput="bindInput" data-type="2" bindtap="changeDeductType" /> |
|
|
</view> |
|
|
</view> |
|
|
</van-cell> |
|
|
|
|
|
|
|
|
</van-cell> --> |
|
|
|
|
|
<van-field id="deductPercent" value="{{ item.deductPercent || '' }}" type="digit" placeholder="请输入扣点比例" clearable disabled="{{item.sign == 2}}" input-align="right" bind:change="bindInput" data-type="2" maxlength="10" bind:click-input="changeDeductType" wx:if="{{status == 1}}"> |
|
|
|
|
|
<view slot="label" class="flex flex-center text-black" style="justify-content: flex-start" data-type="2" bindtap="changeDeductType"> |
|
|
|
|
|
<van-checkbox value="{{ item.sign == 2 }}" icon-size="32rpx"></van-checkbox> |
|
|
|
|
|
<text style="margin-left:8rpx">扣点(%)</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
</van-field> |
|
|
<van-cell> |
|
|
<van-cell> |
|
|
<view slot="title" class="flex flex-justify"> |
|
|
<view slot="title" class="flex flex-justify"> |
|
|
<view class="text-black">结算重量(公斤)</view> |
|
|
<view class="text-black">结算重量(公斤)</view> |
|
|
|