[update] 打包管理接口联调;工作组项目文件预览
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user