ysy пре 2 година
родитељ
комит
b775577528

+ 6 - 0
src/views/material/materialBOM/components/edit-dialog.vue

@@ -378,6 +378,12 @@
         });
         });
 
 
       },
       },
+
+            /* 更新visible */
+            updateVisible(value) {
+        this.$emit('update:visible', value);
+      },
+
       handleDel (index) {
       handleDel (index) {
         this.tableData.splice(index, 1);
         this.tableData.splice(index, 1);
       },
       },

+ 1 - 1
src/views/material/materialBOM/components/view-dialog.vue

@@ -40,7 +40,7 @@
         </el-col>
         </el-col>
         <el-col :span="8">
         <el-col :span="8">
           <el-form-item label="分类层级" prop="categoryType">
           <el-form-item label="分类层级" prop="categoryType">
-            {{ categoryList[ formData.categoryType - 1].label }}
+            {{ categoryList[formData.categoryType - 1].label }}
           </el-form-item>
           </el-form-item>
         </el-col>
         </el-col>
         <el-col :span="8">
         <el-col :span="8">