Browse Source

完善专项返利核对

zhanglei
yunuo970428 8 months ago
parent
commit
a5cf33b349
  1. 24
      anrui-scm/anrui-scm-ui/src/views/specialrebate/specialrebatecheck/specialrebatetobechecked.vue

24
anrui-scm/anrui-scm-ui/src/views/specialrebate/specialrebatecheck/specialrebatetobechecked.vue

@ -131,15 +131,15 @@
<el-row>
<el-col :span="8">
<div class="span-sty">其中支出费用</div>
<el-form-item><el-input class="addinputInfo addinputw" v-model="formobj.onceItureCost" @keyup.native="formobj.onceItureCost = getNumber(formobj.onceItureCost, 2)" @input="firstCostInput" clearable placeholder=""/></el-form-item>
<el-form-item><el-input class="addinputInfo addinputw" v-model="formobj.tempItureCost" @keyup.native="formobj.tempItureCost = getNumber(formobj.tempItureCost, 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.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-row>
<el-row>
@ -350,7 +350,10 @@ export default {
secondRebate: '',
surplusRebate: '',
adjustmentMoney: '',
adjustmentRemarks: ''
adjustmentRemarks: '',
tempItureCost: '', //
tempTreatCost: '', //
tempSuppCost: '' //
},
dialogFileVisible: false,
updateAction: '',
@ -511,8 +514,8 @@ export default {
},
// --
firstCostInput() {
// = - - -
this.formobj.firstRebate = Math.round((parseFloat(this.formobj.stayDetermineMoneyNew !== '' ? this.formobj.stayDetermineMoneyNew : 0) - parseFloat(this.formobj.onceItureCost !== '' ? this.formobj.onceItureCost : 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.tempItureCost !== '' ? this.formobj.tempItureCost : 0) - parseFloat(this.formobj.tempTreatCost !== '' ? this.formobj.tempTreatCost : 0) - parseFloat(this.formobj.tempSuppCost !== '' ? this.formobj.tempSuppCost : 0)) * 100) / 100
this.adjustmentMoneyAdd()
},
// --
@ -529,8 +532,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.onceItureCost !== '' ? this.formobj.onceItureCost : 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.tempItureCost !== '' ? this.formobj.tempItureCost : 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
},
@ -570,7 +573,10 @@ export default {
secondRebate: '',
surplusRebate: '',
adjustmentMoney: '',
adjustmentRemarks: ''
adjustmentRemarks: '',
tempItureCost: '', //
tempTreatCost: '', //
tempSuppCost: '' //
}
this.checked = false
},

Loading…
Cancel
Save