戴艳蓉 преди 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_bar: good_bar || "",
             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 || "",
             lead_time: lead_time || "",
             sample_day: sample_day || "",