[update] 打包管理接口联调;工作组项目文件预览

This commit is contained in:
zhaoxiao
2021-09-13 16:53:38 +08:00
parent 33012457c3
commit 844787e991
6 changed files with 196 additions and 69 deletions
@@ -154,7 +154,7 @@ export default {
id: 1,
chargeProject: '项目名称',
receivableAmount: 100,
paidAmount: 0,
paidAmount: 50,
thisIncomingAmount: null,
remark: ''
}, {
@@ -197,6 +197,10 @@ export default {
close() {
this.visible = false
},
/**
* 来款金额输入失去焦点,进行金额分配
* @param e
*/
incomingAmountBlur(e) {
e.target.value = (e.target.value.replace(/[^0-9.]/g, '')).trim()
this.inputIncomingAmount = Number(e.target.value)
@@ -204,6 +208,10 @@ export default {
this.calculateThisTimeAmount()
})
},
/**
* 清空本次来款金额
* @returns {Promise<unknown>}
*/
clearThisTimeAmount() {
return new Promise(resolve => {
this.dataSource.forEach(item => {