|
|
|
@ -62,40 +62,28 @@ |
|
|
|
<text>结算单价(元/公斤)</text> |
|
|
|
</view> |
|
|
|
</van-field> |
|
|
|
<!-- <van-cell wx:if="{{status == 1}}"> |
|
|
|
<van-cell wx:if="{{status == 1}}"> |
|
|
|
<view slot="title" class="flex flex-justify"> |
|
|
|
<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> |
|
|
|
<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="请输入扣重重量" |
|
|
|
placeholder-style="color:#aaa" style="text-align: right;flex:1" maxlength="10" placeholder="请输入扣重重量(选填)" |
|
|
|
value="{{item.deductWeight || ''}}" bindinput="bindInput" data-type="1" bindtap="changeDeductType" /> |
|
|
|
</view> |
|
|
|
</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" wx:if="{{status == 1}}"> |
|
|
|
<view slot="label" class="flex flex-center text-black" style="justify-content: flex-start" data-type="1" bindtap="changeDeductType"> |
|
|
|
<van-checkbox value="{{ item.sign == 1 }}" icon-size="32rpx"></van-checkbox> |
|
|
|
<text style="margin-left:8rpx">扣重(公斤)</text> |
|
|
|
</view> |
|
|
|
</van-field> |
|
|
|
<!-- <van-cell wx:if="{{status == 1}}"> |
|
|
|
</van-cell> |
|
|
|
<van-cell wx:if="{{status == 1}}"> |
|
|
|
<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="请输入扣点比例" |
|
|
|
placeholder-style="color:#aaa" style="text-align: right;flex:1" maxlength="10" placeholder="请输入扣点比例(选填)" |
|
|
|
value="{{item.deductPercent}}" bindinput="bindInput" data-type="2" bindtap="changeDeductType" /> |
|
|
|
</view> |
|
|
|
</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 wx:if="{{status == 1}}"> |
|
|
|
<view slot="title" class="flex flex-justify"> |
|
|
|
<view class="text-black">结算重量(公斤)</view> |
|
|
|
|