From 870a9499eb65de0031ef8e8f70607e5dfb64b806 Mon Sep 17 00:00:00 2001 From: cy <1664593601@qq.com> Date: 星期四, 30 十一月 2023 09:30:18 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- admin-web/src/views/stock/ledger/alertQuery/index.vue | 22 +++++++++++----------- 1 files changed, 11 insertions(+), 11 deletions(-) diff --git a/admin-web/src/views/stock/ledger/alertQuery/index.vue b/admin-web/src/views/stock/ledger/alertQuery/index.vue index c1f3529..bb2c3eb 100644 --- a/admin-web/src/views/stock/ledger/alertQuery/index.vue +++ b/admin-web/src/views/stock/ledger/alertQuery/index.vue @@ -45,7 +45,7 @@ label: 'label', value: 'id', url: SettingIplatform.apiBaseURL + '/pc/base/category/select/tree', - props: {checkStrictly: false} + props: {checkStrictly: false, emitPath: false, value: 'id'} }, }, { @@ -174,17 +174,17 @@ methods: { del(row) { this.$modal - .confirm('鏄惁纭鍒犻櫎鍚嶇О涓�"' + row.name + '"鐨勬満鏋勫悧锛�') - .then(function () { - finsystenant.del({id: row.id}).then((res) => { + .confirm('鏄惁纭鍒犻櫎鍚嶇О涓�"' + row.name + '"鐨勬満鏋勫悧锛�') + .then(function () { + finsystenant.del({id: row.id}).then((res) => { + }); + }) + .then((res) => { + this.$message.success('鍒犻櫎鎴愬姛锛�'); + this.search(); + }) + .catch(() => { }); - }) - .then((res) => { - this.$message.success('鍒犻櫎鎴愬姛锛�'); - this.search(); - }) - .catch(() => { - }); }, // 鏌ヨtable鍒楄〃 search(pageNum) { -- Gitblit v1.9.1