Browse Source

完善单车返利核对

master
yunuo970428 6 months ago
parent
commit
e86c6fd407
  1. 20
      anrui-scm/anrui-scm-ui/src/views/bikerebate/bicyclerebatecheck/bicyclerebatetobechecked.vue

20
anrui-scm/anrui-scm-ui/src/views/bikerebate/bicyclerebatecheck/bicyclerebatetobechecked.vue

@ -132,11 +132,11 @@
<el-row>
<el-col :span="8">
<div class="span-sty">其中待支付费用</div>
<el-form-item><el-input class="addinputInfo addinputw" v-model="formobj.onceTreatCost" @keyup.native="formobj.onceTreatCost = getNumber(formobj.onceTreatCost, 2)" @input="firstCostInput" clearable placeholder=""/></el-form-item>
<el-form-item><el-input class="addinputInfo addinputw" v-model="formobj.tempTreatCost" @keyup.native="formobj.tempTreatCost = getNumber(formobj.tempTreatCost, 2)" @input="firstCostInput" clearable placeholder=""/></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty">其中抵顶费用</div>
<el-form-item><el-input class="addinputInfo addinputw" v-model="formobj.onceSuppCost" @keyup.native="formobj.onceSuppCost = getNumber(formobj.onceSuppCost, 2)" @input="firstCostInput" clearable placeholder=""/></el-form-item>
<el-form-item><el-input class="addinputInfo addinputw" v-model="formobj.tempSuppCost" @keyup.native="formobj.tempSuppCost = getNumber(formobj.tempSuppCost, 2)" @input="firstCostInput" clearable placeholder=""/></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty">其中含返利</div>
@ -337,7 +337,9 @@ export default {
secondRebate: '',
secondSuppRemark: '',
adjustmentMoney: '',
adjustmentRemarks: ''
adjustmentRemarks: '',
tempTreatCost: '', //
tempSuppCost: '' //
},
dialogFileVisible: false,
updateAction: '',
@ -505,8 +507,8 @@ export default {
},
// --
firstCostInput() {
// = - -
this.formobj.firstRebate = Math.round((parseFloat(this.formobj.stayDetermineMoneyNew !== '' ? this.formobj.stayDetermineMoneyNew : 0) - parseFloat(this.formobj.onceTreatCost !== '' ? this.formobj.onceTreatCost : 0) - parseFloat(this.formobj.onceSuppCost !== '' ? this.formobj.onceSuppCost : 0)) * 100) / 100
// = - -
this.formobj.firstRebate = Math.round((parseFloat(this.formobj.stayDetermineMoneyNew !== '' ? this.formobj.stayDetermineMoneyNew : 0) - parseFloat(this.formobj.tempTreatCost !== '' ? this.formobj.tempTreatCost : 0) - parseFloat(this.formobj.tempSuppCost !== '' ? this.formobj.tempSuppCost : 0)) * 100) / 100
this.adjustmentMoneyAdd()
},
// --
@ -523,8 +525,8 @@ export default {
},
// --
adjustmentMoneyAdd() {
// = --(--
this.formobj.surplusRebate = Math.round((parseFloat(this.formobj.estimateRebate !== '' ? this.formobj.estimateRebate : 0) - parseFloat(this.formobj.withholdCost !== '' ? this.formobj.withholdCost : 0) - (parseFloat(this.formobj.uploadMoney !== '' ? this.formobj.uploadMoney : 0) - parseFloat(this.formobj.onceTreatCost !== '' ? this.formobj.onceTreatCost : 0) - parseFloat(this.formobj.onceSuppCost !== '' ? this.formobj.onceSuppCost : 0) - parseFloat(this.formobj.stayDetermineMoneyNew !== '' ? this.formobj.stayDetermineMoneyNew : 0))) * 100) / 100
// = --(--
this.formobj.surplusRebate = Math.round((parseFloat(this.formobj.estimateRebate !== '' ? this.formobj.estimateRebate : 0) - parseFloat(this.formobj.withholdCost !== '' ? this.formobj.withholdCost : 0) - (parseFloat(this.formobj.uploadMoney !== '' ? this.formobj.uploadMoney : 0) - parseFloat(this.formobj.tempTreatCost !== '' ? this.formobj.tempTreatCost : 0) - parseFloat(this.formobj.tempSuppCost !== '' ? this.formobj.tempSuppCost : 0) - parseFloat(this.formobj.stayDetermineMoneyNew !== '' ? this.formobj.stayDetermineMoneyNew : 0))) * 100) / 100
// = -
this.formobj.adjustmentMoney = Math.round((parseFloat(this.formobj.firstRebate !== '' ? this.formobj.firstRebate : 0) + parseFloat(this.formobj.secondRebate !== '' ? this.formobj.secondRebate : 0) - parseFloat(this.formobj.surplusRebate !== '' ? this.formobj.surplusRebate : 0)) * 100) / 100
},
@ -562,7 +564,9 @@ export default {
secondRebate: '',
secondSuppRemark: '',
adjustmentMoney: '',
adjustmentRemarks: ''
adjustmentRemarks: '',
tempTreatCost: '', //
tempSuppCost: '' //
}
this.checked = true
},

Loading…
Cancel
Save