瀏覽代碼

null改为’‘

qukaidi 4 年之前
父節點
當前提交
ad2070bab1
共有 1 個文件被更改,包括 12 次插入12 次删除
  1. 12 12
      src/views/Warehousing/inStock/AddOrUpdate.vue

+ 12 - 12
src/views/Warehousing/inStock/AddOrUpdate.vue

@@ -3323,7 +3323,7 @@ export default {
           arr = [...new Set(arr)];
           this.form.fProductName = arr.join(",");
         } else {
-          this.form.fProductName = null;
+          this.form.fProductName = "";
         }
         if (this.detailList.length > 0) {
           let arr = [];
@@ -3333,7 +3333,7 @@ export default {
           arr = [...new Set(arr)];
           this.form.fMarks = arr.join(",");
         } else {
-          this.form.fMarks = null;
+           this.form.fMarks = "";
         }
         if (this.detailList.length == 0) {
           this.form.fNetweight = 0;
@@ -3415,7 +3415,7 @@ export default {
         arr = [...new Set(arr)];
         this.form.fProductName = arr.join(",");
       } else {
-        this.form.fProductName = null;
+        this.form.fProductName = "";
       }
       if (this.detailList.length > 0) {
         let arr = [];
@@ -3425,7 +3425,7 @@ export default {
         arr = [...new Set(arr)];
         this.form.fMarks = arr.join(",");
       } else {
-        this.form.fMarks = null;
+         this.form.fMarks = "";
       }
       if (this.detailList.length == 0) {
         this.form.fNetweight = 0;
@@ -3506,7 +3506,7 @@ export default {
         arr = [...new Set(arr)];
         this.form.fProductName = arr.join(",");
       } else {
-        this.form.fProductName = null;
+        this.form.fProductName = "";
       }
       if (this.detailList.length > 0) {
         let arr = [];
@@ -3516,7 +3516,7 @@ export default {
         arr = [...new Set(arr)];
         this.form.fMarks = arr.join(",");
       } else {
-        this.form.fMarks = null;
+         this.form.fMarks = "";
       }
       if (this.detailList.length == 0) {
         this.form.fNetweight = 0;
@@ -3738,7 +3738,7 @@ export default {
             arr = [...new Set(arr)];
             this.form.fProductName = arr.join(",");
           } else {
-            this.form.fProductName = null;
+            this.form.fProductName = "";
           }
           if (this.detailList.length > 0) {
             let arr = [];
@@ -3748,7 +3748,7 @@ export default {
             arr = [...new Set(arr)];
             this.form.fMarks = arr.join(",");
           } else {
-            this.form.fMarks = null;
+             this.form.fMarks = "";
           }
           let formData = new window.FormData();
           formData.append("tWarehouseBills", JSON.stringify(this.form));
@@ -3827,7 +3827,7 @@ export default {
             arr = [...new Set(arr)];
             this.form.fProductName = arr.join(",");
           } else {
-            this.form.fProductName = null;
+            this.form.fProductName = "";
           }
           if (this.detailList.length > 0) {
             let arr = [];
@@ -3837,7 +3837,7 @@ export default {
             arr = [...new Set(arr)];
             this.form.fMarks = arr.join(",");
           } else {
-            this.form.fMarks = null;
+             this.form.fMarks = "";
           }
           formData.append("tWarehouseBills", JSON.stringify(this.form));
           // 库存明细
@@ -4604,7 +4604,7 @@ export default {
           arr = [...new Set(arr)];
           this.form.fProductName = arr.join(",");
         } else {
-          this.form.fProductName = null;
+          this.form.fProductName = "";
         }
         if (this.detailList.length > 0) {
           let arr = [];
@@ -4614,7 +4614,7 @@ export default {
           arr = [...new Set(arr)];
           this.form.fMarks = arr.join(",");
         } else {
-          this.form.fMarks = null;
+           this.form.fMarks = "";
         }
         this.form.fBillingway = this.form.fFeetUnit;
         if (this.detailList.length == 0) {