Bläddra i källkod

Merge branch 'dev' of http://110.41.163.243:9980/kd-aiot/kd-aiot-frontend-mes into dengfei

695593266@qq.com 10 månader sedan
förälder
incheckning
2780baec56
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      src/views/byProduct/components/addByProduct.vue

+ 2 - 2
src/views/byProduct/components/addByProduct.vue

@@ -196,12 +196,12 @@
 
       save() {
         let param = {
-          detailList: this.materialList[0].detailList,
+          detailList: this.materialList[0].detailList || [],
           ...this.productForm,
           categoryId: this.materialList[0].id,
           quantity: this.productWeight
         };
-        console.log(param);
+        console.log(param,'1111111111111111');
 
         disposeSave(param).then((res) => {
           this.$emit('close', true);