From a8ba678a3fe5a39da2c732014cebbb66e408e97c Mon Sep 17 00:00:00 2001 From: WangHan <wwh_work@126,com> Date: 星期三, 02 四月 2025 18:45:12 +0800 Subject: [PATCH] 问题与漏洞修改 --- admin-web/src/views/stock/ledger/alertQuery/index.vue | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 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..fdcacf3 100644 --- a/admin-web/src/views/stock/ledger/alertQuery/index.vue +++ b/admin-web/src/views/stock/ledger/alertQuery/index.vue @@ -40,12 +40,12 @@ placeholder: '璇烽�夋嫨', defaultValue: '', options: [], - cascader: [{key: 'baseGoodsModelsId', queryKey: 'goodsTemplatesId'}], + cascader: [{key: 'goodsTemplateId', queryKey: 'categoryId'}], optionsConfig: { label: 'label', value: 'id', url: SettingIplatform.apiBaseURL + '/pc/base/category/select/tree', - props: {checkStrictly: false} + props: {checkStrictly: false, emitPath: false, value: 'id'} }, }, { @@ -174,22 +174,22 @@ 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) { if (pageNum != undefined) { - this.$refs.myTable.search(pageNum); + this.$refs.myTable.search({pageNum}); } else { this.$refs.myTable.search(); } -- Gitblit v1.9.1