Răsfoiți Sursa

禅道bug 2253 修复

jingshuyong 10 luni în urmă
părinte
comite
bd76e10e85
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  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);