|
@@ -71,9 +71,9 @@
|
|
|
<!-- <ws-form-item v-if='paymentList.type=="干粮"' label="干粮单价" span="1" prop="waterContent">
|
|
|
<ws-input v-model="paymentList.solidGrainPrice" placeholder="请输入干粮单价" maxlength="100" size="small" :disabled='disabled' />
|
|
|
</ws-form-item> -->
|
|
|
- <ws-form-item v-if='paymentList.type=="潮粮"' label="纯重单价(元/公斤)" span="1" prop="tidalGrainPrice">
|
|
|
+ <!-- <ws-form-item v-if='paymentList.type=="潮粮"' label="纯重单价(元/公斤)" span="1" prop="tidalGrainPrice">
|
|
|
<ws-input v-model="paymentList.tidalGrainPrice" placeholder="请输入纯重单价" maxlength="100" size="small" disabled />
|
|
|
- </ws-form-item>
|
|
|
+ </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-form-item>
|
|
@@ -202,8 +202,9 @@
|
|
|
span="1"
|
|
|
prop="waterContent"
|
|
|
>
|
|
|
+ <!-- v-model="paymentList.solidGrainPrice" -->
|
|
|
<ws-input
|
|
|
- v-model="paymentList.solidGrainPrice"
|
|
|
+ v-model="paymentList.tidalGrainPrice"
|
|
|
placeholder="请输入纯重单价"
|
|
|
maxlength="100"
|
|
|
size="small"
|
|
@@ -468,6 +469,7 @@ export default {
|
|
|
getpaymentexamine({id:this.$route.query.id}).toPromise().then((response) => {
|
|
|
this.paymentList = response
|
|
|
this.paymentList.buckleWeightRatio = this.paymentList.qualityInspectionManagement.buckleWeightRatio
|
|
|
+ this.paymentList.tidalGrainPrice = this.paymentList.tidalGrainPrice.toFixed(2)
|
|
|
this.paymentList.qualityInspectionManagement.waterMin=this.$route.query.waterMin
|
|
|
this.paymentList.qualityInspectionManagement.weightDeduction=(this.paymentList.qualityInspectionManagement.waterContent-this.paymentList.qualityInspectionManagement.waterMin)*this.paymentList.buckleWeightRatio
|
|
|
this.paymentList.qualityInspectionManagement.weightDeduction=this.paymentList.qualityInspectionManagement.weightDeduction.toFixed(2)
|
|
@@ -705,15 +707,8 @@ export default {
|
|
|
postpaymentedit(this.paymentList).toPromise().then((response) => {
|
|
|
getpaymentexamine({id:this.$route.query.id}).toPromise().then((response) => {
|
|
|
this.printData= response
|
|
|
- console.log(this.printData,"打印")
|
|
|
})
|
|
|
this.isShowPrint = true
|
|
|
-
|
|
|
- // this.$router.push({ path: 'houseSelfCollectPrint',
|
|
|
- // query:{
|
|
|
- // name:"123"
|
|
|
- // }
|
|
|
- // })
|
|
|
},
|
|
|
)
|
|
|
},
|