695593266@qq.com 7 месяцев назад
Родитель
Сommit
692b5f1052

+ 1 - 1
src/views/factoryModel/productionLine/components/edit.vue

@@ -588,7 +588,7 @@
             })
             })
             .catch((e) => {
             .catch((e) => {
               this.loading = false;
               this.loading = false;
-              this.$message.error(e.message);
+              // this.$message.error(e.message);
             });
             });
         });
         });
       },
       },

+ 1 - 1
src/views/factoryModel/workshop/components/edit.vue

@@ -360,7 +360,7 @@
             })
             })
             .catch((e) => {
             .catch((e) => {
               this.loading = false;
               this.loading = false;
-              this.$message.error(e.message);
+              // this.$message.error(e.message);
             });
             });
         });
         });
       },
       },

+ 4 - 2
src/views/material/BOMmanage/detailsPop.vue

@@ -827,8 +827,6 @@
       },
       },
 
 
       handSubmit() {
       handSubmit() {
-        console.log(this.currentNodeData, 'this.currentNodeData');
-
         if (Number(this.currentNodeData.baseCount) <= 0) {
         if (Number(this.currentNodeData.baseCount) <= 0) {
           this.$message.warning('基本用量需要大于0');
           this.$message.warning('基本用量需要大于0');
           return;
           return;
@@ -879,6 +877,10 @@
         });
         });
       },
       },
       handJsSubmit() {
       handJsSubmit() {
+        if (!this.radioSubmit) {
+          return this.$message.warning('请选择提交的BOM的类型!');
+        }
+
         this.submit(
         this.submit(
           this.radioSubmit == 1 ? 'bom_release' : 'bom_release_device'
           this.radioSubmit == 1 ? 'bom_release' : 'bom_release_device'
         );
         );