|
@@ -114,7 +114,7 @@
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
<ws-form-item v-if='paymentList.type=="潮粮"' label="干粮水分(%)" span="1" prop="waterContent">
|
|
<ws-form-item v-if='paymentList.type=="潮粮"' label="干粮水分(%)" span="1" prop="waterContent">
|
|
<ws-input type="number" @mousewheel.native.prevent
|
|
<ws-input type="number" @mousewheel.native.prevent
|
|
- v-model="paymentList.qualityInspectionManagement.waterMin" placeholder="请输入干粮水分" maxlength="100"
|
|
|
|
|
|
+ v-model="ganwater" placeholder="请输入干粮水分" maxlength="100"
|
|
size="small" disabled />
|
|
size="small" disabled />
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
<ws-form-item v-if='paymentList.type=="潮粮" && paymentList.qualityInspectionManagement.paramType == "1"'
|
|
<ws-form-item v-if='paymentList.type=="潮粮" && paymentList.qualityInspectionManagement.paramType == "1"'
|
|
@@ -130,7 +130,7 @@
|
|
<ws-form-item v-if='paymentList.type=="潮粮" && paymentList.qualityInspectionManagement.paramType != 1'
|
|
<ws-form-item v-if='paymentList.type=="潮粮" && paymentList.qualityInspectionManagement.paramType != 1'
|
|
label="掉水(%)" span="1" prop="waterContent">
|
|
label="掉水(%)" span="1" prop="waterContent">
|
|
<ws-input type="number" @mousewheel.native.prevent
|
|
<ws-input type="number" @mousewheel.native.prevent
|
|
- v-model="paymentList.qualityInspectionManagement.waterContent-paymentList.qualityInspectionManagement.waterMin"
|
|
|
|
|
|
+ v-model="paymentList.qualityInspectionManagement.waterContent-ganwater"
|
|
placeholder="请输入掉水" maxlength="100" size="small" disabled />
|
|
placeholder="请输入掉水" maxlength="100" size="small" disabled />
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
<ws-form-item v-if='paymentList.type=="潮粮" && paymentList.qualityInspectionManagement.paramType != 1'
|
|
<ws-form-item v-if='paymentList.type=="潮粮" && paymentList.qualityInspectionManagement.paramType != 1'
|
|
@@ -305,6 +305,7 @@
|
|
},
|
|
},
|
|
unitDeduction: 0
|
|
unitDeduction: 0
|
|
},
|
|
},
|
|
|
|
+ ganwater:14,
|
|
disabled: false,
|
|
disabled: false,
|
|
types: '',
|
|
types: '',
|
|
isShowPrint: false,
|
|
isShowPrint: false,
|
|
@@ -400,7 +401,7 @@
|
|
this.paymentList.tidalGrainPrice = this.paymentList.tidalGrainPrice.toFixed(4)
|
|
this.paymentList.tidalGrainPrice = this.paymentList.tidalGrainPrice.toFixed(4)
|
|
if (this.paymentList.qualityInspectionManagement.paramType == '2') {
|
|
if (this.paymentList.qualityInspectionManagement.paramType == '2') {
|
|
this.paymentList.qualityInspectionManagement.weightDeduction = (this.paymentList
|
|
this.paymentList.qualityInspectionManagement.weightDeduction = (this.paymentList
|
|
- .qualityInspectionManagement.waterContent - this.paymentList.qualityInspectionManagement.waterMin) *
|
|
|
|
|
|
+ .qualityInspectionManagement.waterContent - 14) *
|
|
this.paymentList.buckleWeightRatio
|
|
this.paymentList.buckleWeightRatio
|
|
this.paymentList.qualityInspectionManagement.weightDeduction = this.paymentList
|
|
this.paymentList.qualityInspectionManagement.weightDeduction = this.paymentList
|
|
.qualityInspectionManagement.weightDeduction.toFixed(2)
|
|
.qualityInspectionManagement.weightDeduction.toFixed(2)
|
|
@@ -686,7 +687,7 @@
|
|
buckleWeightRatiochange(e) {
|
|
buckleWeightRatiochange(e) {
|
|
if (this.paymentList.buckleWeightRatio >= 0 && this.paymentList.buckleWeightRatio <= 2) {
|
|
if (this.paymentList.buckleWeightRatio >= 0 && this.paymentList.buckleWeightRatio <= 2) {
|
|
this.paymentList.qualityInspectionManagement.weightDeduction = (this.paymentList.qualityInspectionManagement
|
|
this.paymentList.qualityInspectionManagement.weightDeduction = (this.paymentList.qualityInspectionManagement
|
|
- .waterContent - this.paymentList.qualityInspectionManagement.waterMin) * this.paymentList
|
|
|
|
|
|
+ .waterContent - 14) * this.paymentList
|
|
.buckleWeightRatio
|
|
.buckleWeightRatio
|
|
this.paymentList.qualityInspectionManagement.weightDeduction = this.paymentList.qualityInspectionManagement
|
|
this.paymentList.qualityInspectionManagement.weightDeduction = this.paymentList.qualityInspectionManagement
|
|
.weightDeduction.toFixed(2)
|
|
.weightDeduction.toFixed(2)
|