Commit 8e2ea560 authored by yanglilong's avatar yanglilong

EOB账单回款调整

parent 1deb9512
...@@ -136,7 +136,7 @@ ...@@ -136,7 +136,7 @@
</a-col> </a-col>
<a-col :lg="12" :xs="24"> <a-col :lg="12" :xs="24">
<a-form-model-item label="账单回款金额" prop="paidAmountEob"> <a-form-model-item label="账单回款金额" prop="paidAmountEob">
<a-input v-model.trim="editFormObj.paidAmountEob" placeholder="账单回款金额" type="number" /> <a-input v-model.trim="editFormObj.paidAmountEob" placeholder="账单回款金额" type="number" @change="changePaidAmount" />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :lg="12" :xs="24"> <a-col :lg="12" :xs="24">
...@@ -330,14 +330,19 @@ export default { ...@@ -330,14 +330,19 @@ export default {
this.dialogShow = true; this.dialogShow = true;
this.$nextTick(()=>{ this.$nextTick(()=>{
this.editFormObj = { this.editFormObj = {
actualAmount: record.actualAmount, // 该条记录的折后金额
id: record.id, id: record.id,
receiptNo: record.receiptNo, receiptNo: record.receiptNo,
refuseAmountEob: record.refuseAmountEob || "", refuseAmountEob: record.refuseAmountEob || '',
claimsStatus: record.claimsStatus || "", claimsStatus: record.claimsStatus || "01",
paidAmountEob: record.paidAmountEob || "", paidAmountEob: record.paidAmountEob || record.actualAmount || "",
}; };
}) })
}, },
// 账单汇款金额输入改变 未赔付金额=账单金额-账单回款金额
changePaidAmount() {
this.editFormObj.refuseAmountEob = (this.editFormObj.actualAmount || 0) - (this.editFormObj.paidAmountEob || 0)
},
//编辑保存 //编辑保存
handleEditOK() { handleEditOK() {
this.$refs.editForm.validate((valid) => { this.$refs.editForm.validate((valid) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment