Эх сурвалжийг харах

供应商:供应商类型必填没校验问题

lxf 1 жил өмнө
parent
commit
afc22fadcd

+ 2 - 2
src/views/purchaseManage/supplier/supplier/index.vue

@@ -254,7 +254,7 @@ const config = computed(() => {
 });
 let formData = reactive({
   data: {
-    type: "1",
+    type: "sales",
   },
 });
 const formOption = reactive({
@@ -359,7 +359,7 @@ const openModal = () => {
   modalType.value = "add";
   fileList.value = [];
   formData.data = {
-    type: "1",
+    type: "sales",
     countryId: "China",
   };
   getCityData(formData.data.countryId, "20");