戴艳蓉 3 年之前
父節點
當前提交
357c3db766
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/goodStore/goodsCost/components/baseForm.vue

+ 2 - 2
src/views/goodStore/goodsCost/components/baseForm.vue

@@ -1707,8 +1707,8 @@ export default {
             good_size: good_size || "",
             good_size: good_size || "",
             good_bar: good_bar || "",
             good_bar: good_bar || "",
             supply_area: supply_area || "",
             supply_area: supply_area || "",
-            delivery_place: (delivery_place || "").split(","),
-            origin_place: (origin_place || "").split(","),
+            delivery_place: delivery_place?(delivery_place || "").split(","):[],
+            origin_place: origin_place?(origin_place || "").split(","):[],
             delivery_day: delivery_day || "",
             delivery_day: delivery_day || "",
             lead_time: lead_time || "",
             lead_time: lead_time || "",
             sample_day: sample_day || "",
             sample_day: sample_day || "",