Forráskód Böngészése

铨一物料管理交互优化

lph 10 hónapja
szülő
commit
13a9d8c586
1 módosított fájl, 4 hozzáadás és 2 törlés
  1. 4 2
      zkqy-ui/src/views/amichi/BOMList/index.vue

+ 4 - 2
zkqy-ui/src/views/amichi/BOMList/index.vue

@@ -130,7 +130,7 @@
         <el-col :span="18">
           <div class="right_btn">
             <el-button
-              :disabled="!currentItem.id"
+              :disabled="!currentItem.id || currentItem.isOnlyMenu == '0'"
               icon="el-icon-plus"
               type="primary"
               size="mini"
@@ -626,7 +626,9 @@ export default {
       // if (data.isClickLine == "1") return;
       this.currentItem = data;
       this.queryParams.fid = data.id;
-      this.handleQuery();
+      if (data.isOnlyMenu == "1") {
+        this.handleQuery();
+      }
     },
     // 条件查询函数
     async getList() {