From ed6c6350015d52ea1cb033c7558f72b721ece84a Mon Sep 17 00:00:00 2001
From: WangHan <wwh_work@126,com>
Date: 星期四, 19 十二月 2024 19:58:55 +0800
Subject: [PATCH] 打包名称修改,去除错误输出

---
 admin-web/src/views/stock/ledger/alertQuery/index.vue |   28 +++++++++++++---------------
 1 files changed, 13 insertions(+), 15 deletions(-)

diff --git a/admin-web/src/views/stock/ledger/alertQuery/index.vue b/admin-web/src/views/stock/ledger/alertQuery/index.vue
index b27f0e8..fdcacf3 100644
--- a/admin-web/src/views/stock/ledger/alertQuery/index.vue
+++ b/admin-web/src/views/stock/ledger/alertQuery/index.vue
@@ -24,8 +24,6 @@
 import MyButton from '@/components/myButton/myButton';
 import SettingIplatform from '@/utils/settingIplatform';
 import * as finsystenant from '@/api/baseSetting/finsystenant';
-import {goodsModel, getCategorySelectTree} from '@/api/baseSetting/finsystenant';
-import {getDicts} from '@/api/system/dict/data';
 import * as DateFormatter from '@/utils/DateFormatter';
 
 export default {
@@ -42,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'}
           },
         },
         {
@@ -176,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