|
@@ -69,10 +69,10 @@
|
|
|
<ws-input v-model="paymentList.qualityInspectionManagement.natureOfGrainPurchase" placeholder="请输入购粮性质" maxlength="100" size="small" disabled />
|
|
|
</ws-form-item>
|
|
|
<ws-form-item v-if='paymentList.type=="干粮"' label="干粮单价(元/公斤)" span="1" prop="waterContent">
|
|
|
- <ws-input v-model="paymentList.qualityInspectionManagement.dryGrainPrice" placeholder="请输入干粮单价" maxlength="100" size="small" disabled />
|
|
|
+ <ws-input type="number" @mousewheel.native.prevent v-model="paymentList.qualityInspectionManagement.dryGrainPrice" placeholder="请输入干粮单价" maxlength="100" size="small" disabled />
|
|
|
</ws-form-item>
|
|
|
<ws-form-item v-if='paymentList.type=="干粮"' label="净重(公斤)" span="1" prop="waterContent">
|
|
|
- <ws-input v-model="paymentList.netWeight" placeholder="请输入净重" maxlength="100" size="small" disabled />
|
|
|
+ <ws-input type="number" @mousewheel.native.prevent v-model="paymentList.netWeight" placeholder="请输入净重" maxlength="100" size="small" disabled />
|
|
|
</ws-form-item>
|
|
|
</ws-info-table>
|
|
|
<div class="titles">质检数据</div>
|
|
@@ -81,7 +81,7 @@
|
|
|
<ws-input v-model="paymentList.qualityInspectionManagement.grade" placeholder="请输入等级" maxlength="100" size="small" disabled />
|
|
|
</ws-form-item>
|
|
|
<ws-form-item label="杂质(%)" span="1" prop="waterContent">
|
|
|
- <ws-input
|
|
|
+ <ws-input type="number" @mousewheel.native.prevent
|
|
|
v-model="paymentList.qualityInspectionManagement.impurity"
|
|
|
placeholder="请输入杂质占比"
|
|
|
maxlength="100"
|
|
@@ -90,7 +90,7 @@
|
|
|
/>
|
|
|
</ws-form-item>
|
|
|
<ws-form-item label="水分(%)" span="1" prop="waterContent">
|
|
|
- <ws-input
|
|
|
+ <ws-input type="number" @mousewheel.native.prevent
|
|
|
v-model="paymentList.qualityInspectionManagement.waterContent"
|
|
|
placeholder="请输入水分占比"
|
|
|
maxlength="100"
|
|
@@ -99,7 +99,7 @@
|
|
|
/>
|
|
|
</ws-form-item>
|
|
|
<ws-form-item label="霉变粒(%)" span="1" prop="waterContent">
|
|
|
- <ws-input
|
|
|
+ <ws-input type="number" @mousewheel.native.prevent
|
|
|
v-model="paymentList.qualityInspectionManagement.mildewGrain"
|
|
|
placeholder="请输入霉变粒占比"
|
|
|
maxlength="100"
|
|
@@ -108,10 +108,10 @@
|
|
|
/>
|
|
|
</ws-form-item>
|
|
|
<ws-form-item label="容重(克/升)" span="1" prop="waterContent">
|
|
|
- <ws-input v-model="paymentList.qualityInspectionManagement.bulkDensity" placeholder="请输入容重" maxlength="100" size="small" disabled />
|
|
|
+ <ws-input type="number" @mousewheel.native.prevent v-model="paymentList.qualityInspectionManagement.bulkDensity" placeholder="请输入容重" maxlength="100" size="small" disabled />
|
|
|
</ws-form-item>
|
|
|
<ws-form-item label="热损伤(%)" span="1" prop="waterContent">
|
|
|
- <ws-input
|
|
|
+ <ws-input type="number" @mousewheel.native.prevent
|
|
|
v-model="paymentList.qualityInspectionManagement.jiaorenli"
|
|
|
placeholder="请输入热损伤占比"
|
|
|
maxlength="100"
|
|
@@ -120,7 +120,7 @@
|
|
|
/>
|
|
|
</ws-form-item>
|
|
|
<ws-form-item label="不完善粒(%)" span="1" prop="waterContent">
|
|
|
- <ws-input
|
|
|
+ <ws-input type="number" @mousewheel.native.prevent
|
|
|
v-model="paymentList.qualityInspectionManagement.imperfectGrain"
|
|
|
placeholder="请输入不完善粒占比"
|
|
|
maxlength="100"
|
|
@@ -133,7 +133,7 @@
|
|
|
<div v-if='paymentList.type=="潮粮"' class="titles">单价核算</div>
|
|
|
<ws-info-table v-if='paymentList.type=="潮粮"'>
|
|
|
<ws-form-item label="潮粮水分(%)" span="1" prop="waterContent">
|
|
|
- <ws-input
|
|
|
+ <ws-input type="number" @mousewheel.native.prevent
|
|
|
v-model="paymentList.qualityInspectionManagement.waterContent"
|
|
|
placeholder="请输入潮粮水分"
|
|
|
maxlength="100"
|
|
@@ -142,7 +142,7 @@
|
|
|
/>
|
|
|
</ws-form-item>
|
|
|
<ws-form-item v-if='paymentList.type=="潮粮"' label="扣重比" span="1" prop="waterContent">
|
|
|
- <ws-input
|
|
|
+ <ws-input type="number" @mousewheel.native.prevent
|
|
|
@input='buckleWeightRatiochange'
|
|
|
v-model="paymentList.buckleWeightRatio"
|
|
|
placeholder="请输入扣重比"
|
|
@@ -152,7 +152,7 @@
|
|
|
/>
|
|
|
</ws-form-item>
|
|
|
<ws-form-item v-if='paymentList.type=="潮粮"' label="干粮水分(%)" span="1" prop="waterContent">
|
|
|
- <ws-input
|
|
|
+ <ws-input type="number" @mousewheel.native.prevent
|
|
|
v-model="paymentList.qualityInspectionManagement.waterMin"
|
|
|
placeholder="请输入干粮水分"
|
|
|
maxlength="100"
|
|
@@ -161,29 +161,29 @@
|
|
|
/>
|
|
|
</ws-form-item>
|
|
|
<ws-form-item v-if='paymentList.type=="潮粮"' label="扣重" span="1" prop="waterContent">
|
|
|
- <ws-input v-model="paymentList.qualityInspectionManagement.weightDeduction" placeholder="请输入扣重" maxlength="100" size="small" disabled/>
|
|
|
+ <ws-input type="number" @mousewheel.native.prevent v-model="paymentList.qualityInspectionManagement.weightDeduction" placeholder="请输入扣重" maxlength="100" size="small" disabled/>
|
|
|
</ws-form-item>
|
|
|
<ws-form-item v-if='paymentList.type=="潮粮"' label="掉水(%)" span="1" prop="waterContent">
|
|
|
- <ws-input v-model="paymentList.qualityInspectionManagement.waterContent-paymentList.qualityInspectionManagement.waterMin" placeholder="请输入掉水" maxlength="100" size="small" disabled/>
|
|
|
+ <ws-input type="number" @mousewheel.native.prevent v-model="paymentList.qualityInspectionManagement.waterContent-paymentList.qualityInspectionManagement.waterMin" placeholder="请输入掉水" maxlength="100" size="small" disabled/>
|
|
|
</ws-form-item>
|
|
|
<ws-form-item v-if='paymentList.type=="潮粮"' label="基数" span="1" prop="waterContent">
|
|
|
- <ws-input v-model="paymentList.base" placeholder="请输入基数" maxlength="100" size="small" disabled/>
|
|
|
+ <ws-input type="number" @mousewheel.native.prevent v-model="paymentList.base" placeholder="请输入基数" maxlength="100" size="small" disabled/>
|
|
|
</ws-form-item>
|
|
|
<ws-form-item v-if='paymentList.type=="潮粮"' label="毛重(公斤)" span="1" prop="waterContent">
|
|
|
- <ws-input v-model="paymentList.weighingManagement.grossWeight" placeholder="请输入毛重" maxlength="100" size="small" disabled/>
|
|
|
+ <ws-input type="number" @mousewheel.native.prevent v-model="paymentList.weighingManagement.grossWeight" placeholder="请输入毛重" maxlength="100" size="small" disabled/>
|
|
|
</ws-form-item>
|
|
|
<ws-form-item v-if='paymentList.type=="潮粮"' label="纯重(公斤)" span="1" prop="waterContent">
|
|
|
- <ws-input v-model="paymentList.pureWeight" placeholder="请输入纯重" maxlength="100" size="small" disabled/>
|
|
|
+ <ws-input type="number" @mousewheel.native.prevent v-model="paymentList.pureWeight" placeholder="请输入纯重" maxlength="100" size="small" disabled/>
|
|
|
</ws-form-item>
|
|
|
<ws-form-item v-if='paymentList.type=="潮粮"' label="皮重(公斤)" span="1" prop="waterContent">
|
|
|
- <ws-input v-model="paymentList.weighingManagement.tare" placeholder="请输入皮重" maxlength="100" size="small" disabled/>
|
|
|
+ <ws-input type="number" @mousewheel.native.prevent v-model="paymentList.weighingManagement.tare" placeholder="请输入皮重" maxlength="100" size="small" disabled/>
|
|
|
</ws-form-item>
|
|
|
<ws-form-item v-if='paymentList.type=="潮粮"'
|
|
|
label="净重单价(元/公斤)"
|
|
|
span="1"
|
|
|
prop="waterContent"
|
|
|
>
|
|
|
- <ws-input
|
|
|
+ <ws-input type="number" @mousewheel.native.prevent
|
|
|
v-model="paymentList.qualityInspectionManagement.tidalGrainPrice"
|
|
|
placeholder="请输入净重单价"
|
|
|
maxlength="100"
|
|
@@ -192,10 +192,10 @@
|
|
|
/>
|
|
|
</ws-form-item>
|
|
|
<ws-form-item v-if='paymentList.type=="潮粮"' label="扣杂(公斤)" span="1" prop="waterContent">
|
|
|
- <ws-input v-model="paymentList.weighingManagement.buckleMiscellaneous" placeholder="请输入扣杂" maxlength="100" size="small" disabled/>
|
|
|
+ <ws-input type="number" @mousewheel.native.prevent v-model="paymentList.weighingManagement.buckleMiscellaneous" placeholder="请输入扣杂" maxlength="100" size="small" disabled/>
|
|
|
</ws-form-item>
|
|
|
<ws-form-item label="扣单价(元/公斤)" span="1" prop="unitDeduction">
|
|
|
- <ws-input v-model="paymentList.unitDeduction" @input="grainMoney" placeholder="请输入扣单价" maxlength="100" size="small" :disabled="disabled"/>
|
|
|
+ <ws-input type="number" @mousewheel.native.prevent v-model="paymentList.unitDeduction" @input="grainMoney" placeholder="请输入扣单价" maxlength="100" size="small" :disabled="disabled"/>
|
|
|
</ws-form-item>
|
|
|
<ws-form-item v-if='paymentList.type=="潮粮"'
|
|
|
label="纯重单价(元/公斤)"
|
|
@@ -203,7 +203,7 @@
|
|
|
prop="waterContent"
|
|
|
>
|
|
|
<!-- v-model="paymentList.solidGrainPrice" -->
|
|
|
- <ws-input
|
|
|
+ <ws-input type="number" @mousewheel.native.prevent
|
|
|
v-model="paymentList.solidGrainPrice"
|
|
|
placeholder="请输入纯重单价"
|
|
|
maxlength="100"
|
|
@@ -212,7 +212,7 @@
|
|
|
/>
|
|
|
</ws-form-item>
|
|
|
<ws-form-item v-if='paymentList.type=="潮粮"' label="净重(公斤)" span="1" prop="waterContent">
|
|
|
- <ws-input v-model="paymentList.weighingManagement.netWeight" placeholder="请输入净重" maxlength="100" size="small" disabled/>
|
|
|
+ <ws-input type="number" @mousewheel.native.prevent v-model="paymentList.weighingManagement.netWeight" placeholder="请输入净重" maxlength="100" size="small" disabled/>
|
|
|
</ws-form-item>
|
|
|
</ws-info-table>
|
|
|
|
|
@@ -224,7 +224,7 @@
|
|
|
prop="waterContent"
|
|
|
class="formItem"
|
|
|
>
|
|
|
- <ws-input @input='grainMoney' v-model="paymentList.grainMoney" placeholder="请输入粮款" maxlength="100" size="small" disabled/>
|
|
|
+ <ws-input type="number" @mousewheel.native.prevent @input='grainMoney' v-model="paymentList.grainMoney" placeholder="请输入粮款" maxlength="100" size="small" disabled/>
|
|
|
</ws-form-item>
|
|
|
<ws-form-item v-if='paymentList.type=="干粮"'
|
|
|
label="粮款 = 净重 x (干粮单价 - 扣单价) ="
|
|
@@ -232,10 +232,10 @@
|
|
|
prop="waterContent"
|
|
|
class="formItem"
|
|
|
>
|
|
|
- <ws-input @input='grainMoney' v-model="paymentList.grainMoney" placeholder="请输入粮款" maxlength="100" size="small" disabled/>
|
|
|
+ <ws-input type="number" @mousewheel.native.prevent @input='grainMoney' v-model="paymentList.grainMoney" placeholder="请输入粮款" maxlength="100" size="small" disabled/>
|
|
|
</ws-form-item>
|
|
|
<ws-form-item label="称重扣款" span="1" prop="waterContent">
|
|
|
- <ws-input
|
|
|
+ <ws-input type="number" @mousewheel.native.prevent
|
|
|
@input='grainMoney'
|
|
|
@focus="inputFocus($event)"
|
|
|
v-model="paymentList.weighingDeduction"
|
|
@@ -246,7 +246,7 @@
|
|
|
/>
|
|
|
</ws-form-item>
|
|
|
<ws-form-item label="称重补助" span="1" prop="waterContent">
|
|
|
- <ws-input
|
|
|
+ <ws-input type="number" @mousewheel.native.prevent
|
|
|
@input='grainMoney'
|
|
|
@focus="inputFocus($event)"
|
|
|
v-model="paymentList.weighingSubsidy"
|
|
@@ -258,7 +258,7 @@
|
|
|
</ws-form-item>
|
|
|
|
|
|
<ws-form-item label="运费扣款" span="1" prop="waterContent">
|
|
|
- <ws-input
|
|
|
+ <ws-input type="number" @mousewheel.native.prevent
|
|
|
@input='grainMoney'
|
|
|
@focus="inputFocus($event)"
|
|
|
v-model="paymentList.freightDeduction"
|
|
@@ -269,7 +269,7 @@
|
|
|
/>
|
|
|
</ws-form-item>
|
|
|
<ws-form-item label="运费补助" span="1" prop="waterContent">
|
|
|
- <ws-input
|
|
|
+ <ws-input type="number" @mousewheel.native.prevent
|
|
|
@input='grainMoney'
|
|
|
@focus="inputFocus($event)"
|
|
|
v-model="paymentList.freightSubsidy"
|
|
@@ -280,7 +280,7 @@
|
|
|
/>
|
|
|
</ws-form-item>
|
|
|
<ws-form-item label="卸车扣款" span="1" prop="waterContent">
|
|
|
- <ws-input
|
|
|
+ <ws-input type="number" @mousewheel.native.prevent
|
|
|
@input='grainMoney'
|
|
|
@focus="inputFocus($event)"
|
|
|
v-model="paymentList.unloadDeduction"
|
|
@@ -291,7 +291,7 @@
|
|
|
/>
|
|
|
</ws-form-item>
|
|
|
<ws-form-item label="卸车补助" span="1" prop="waterContent">
|
|
|
- <ws-input
|
|
|
+ <ws-input type="number" @mousewheel.native.prevent
|
|
|
@input='grainMoney'
|
|
|
@focus="inputFocus($event)"
|
|
|
v-model="paymentList.unloadSubsidy"
|
|
@@ -302,7 +302,7 @@
|
|
|
/>
|
|
|
</ws-form-item>
|
|
|
<ws-form-item label="质量扣款" span="1" prop="qualityDeduction">
|
|
|
- <ws-input
|
|
|
+ <ws-input type="number" @mousewheel.native.prevent
|
|
|
@input='grainMoney'
|
|
|
@focus="inputFocus($event)"
|
|
|
v-model="paymentList.qualityDeduction"
|
|
@@ -314,7 +314,7 @@
|
|
|
</ws-form-item>
|
|
|
|
|
|
<ws-form-item label="其他补助" span="1" prop="waterContent">
|
|
|
- <ws-input
|
|
|
+ <ws-input type="number" @mousewheel.native.prevent
|
|
|
@input='grainMoney'
|
|
|
@focus="inputFocus($event)"
|
|
|
v-model="paymentList.otherSubsidy"
|
|
@@ -326,7 +326,7 @@
|
|
|
</ws-form-item>
|
|
|
|
|
|
<ws-form-item label="其他扣款" span="1" prop="waterContent">
|
|
|
- <ws-input
|
|
|
+ <ws-input type="number" @mousewheel.native.prevent
|
|
|
@input='grainMoney'
|
|
|
@focus="inputFocus($event)"
|
|
|
v-model="paymentList.otherDeduction"
|
|
@@ -342,7 +342,7 @@
|
|
|
prop="waterContent"
|
|
|
class="formItem"
|
|
|
>
|
|
|
- <ws-input
|
|
|
+ <ws-input type="number" @mousewheel.native.prevent
|
|
|
v-model="paymentList.calculationPayable"
|
|
|
placeholder="请输入计算应付"
|
|
|
maxlength="100"
|
|
@@ -351,7 +351,7 @@
|
|
|
/>
|
|
|
</ws-form-item>
|
|
|
<ws-form-item label="实际付款" span="1" prop="waterContent">
|
|
|
- <ws-input
|
|
|
+ <ws-input type="number" @mousewheel.native.prevent
|
|
|
@change='actualPayment'
|
|
|
v-model="paymentList.actualPayment"
|
|
|
placeholder="请输入实际付款"
|