Commit 16da6ffa authored by 许珑标's avatar 许珑标

批量支付自动代入备注

parent 251c0a0f
...@@ -281,6 +281,9 @@ export default { ...@@ -281,6 +281,9 @@ export default {
if (this.batchForm.payTitle) { if (this.batchForm.payTitle) {
this.form.payTitle = this.batchForm.payTitle this.form.payTitle = this.batchForm.payTitle
} }
if (this.batchForm.payRemark) {
this.form.payRemark = this.batchForm.payRemark
}
}, },
// 删除明细 // 删除明细
handleDelete(indexKey, pStr) { handleDelete(indexKey, pStr) {
...@@ -348,7 +351,7 @@ export default { ...@@ -348,7 +351,7 @@ export default {
payeeAccType: 1, payeeAccType: 1,
isPrivateAcc: 1, isPrivateAcc: 1,
amount: item.amount, amount: item.amount,
payRemark: item.payRemark payRemark: item.payRemark ? item.payRemark : this.batchForm.payRemark ? this.batchForm.payRemark : '',
}) })
}) })
this.getList() this.getList()
......
...@@ -281,6 +281,9 @@ export default { ...@@ -281,6 +281,9 @@ export default {
if (this.batchForm.payTitle) { if (this.batchForm.payTitle) {
this.form.payTitle = this.batchForm.payTitle this.form.payTitle = this.batchForm.payTitle
} }
if (this.batchForm.payRemark) {
this.form.payRemark = this.batchForm.payRemark
}
}, },
// 删除明细 // 删除明细
handleDelete(indexKey, pStr) { handleDelete(indexKey, pStr) {
...@@ -348,7 +351,7 @@ export default { ...@@ -348,7 +351,7 @@ export default {
payeeAccType: 1, payeeAccType: 1,
isPrivateAcc: 1, isPrivateAcc: 1,
amount: item.amount, amount: item.amount,
payRemark: item.payRemark payRemark: item.payRemark ? item.payRemark : this.batchForm.payRemark ? this.batchForm.payRemark : '',
}) })
}) })
this.getList() this.getList()
......
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