'更新营销中心按钮禁用'

This commit is contained in:
2020-04-08 11:31:42 +08:00
parent 0d0e0dcb6f
commit 46f9db9c1c
7 changed files with 44 additions and 8 deletions

View File

@@ -119,7 +119,7 @@
</el-table-column>
<el-table-column label="操作" align="center" width="66">
<template slot-scope="scope">
<el-button type="text" size="mini" icon="el-icon-circle-plus-outline" @click.stop="addMoney(scope.row)">收款</el-button>
<el-button :disabled="addMoneyDisabled" type="text" size="mini" icon="el-icon-circle-plus-outline" @click.stop="addMoney(scope.row)">收款</el-button>
</template>
</el-table-column>
<!--<el-table-column label="操作" align="center" width="60" fixed="right">-->
@@ -221,6 +221,7 @@ export default {
},
data() {
return {
addMoneyDisabled: false,
dateRange: '',
check1: '',
pickerOptions: {
@@ -466,6 +467,7 @@ export default {
})
},
addMoney(row) {
this.addMoneyDisabled = true
this.maxnomoney = Number(row.未收金额)
this.tableData2 = []
this.moneyID = row.资金id
@@ -486,6 +488,7 @@ export default {
} else {
this.$message.error('收款失败')
}
this.addMoneyDisabled = false
})
},
cancelEdit(index, row) {