代码更新

This commit is contained in:
2023-01-18 21:59:54 +08:00
parent 7f3b76ea44
commit 6aa282f3ae
2 changed files with 27 additions and 1 deletions

View File

@@ -195,6 +195,7 @@
<el-button
slot="right"
class="filter-item"
:loading="loadingConfirm"
type="warning"
:disabled="confirm_flag"
icon="el-icon-check"
@@ -327,6 +328,7 @@ export default {
del: ['admin', 'checkoutbill:del']
},
openMoneyDialog: false,
loadingConfirm: false,
divShow: false,
taskShow: false,
dis_flag: true,
@@ -437,9 +439,13 @@ export default {
})
},
confirm() {
this.loadingConfirm = true
checkoutbill.confirm({ 'iostorinv_id': this.currentRow.iostorinv_id }).then(res => {
this.querytable()
this.crud.notify('出库成功!', CRUD.NOTIFICATION_TYPE.SUCCESS)
this.loadingConfirm = false
}).catch(() => {
this.loadingConfirm = false
})
},
querytable() {