瀏覽代碼

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

lxf 1 年之前
父節點
當前提交
afc22fadcd
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/purchaseManage/supplier/supplier/index.vue

+ 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");