瀏覽代碼

Merge branch 'master' into stage

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

+ 1 - 2
src/components/process/SendFunds.vue

@@ -605,8 +605,7 @@ const getDictData = () => {
     accountData.value = res.rows;
   });
   // 关联合同
-
-  proxy.post("/contract/page", { pageNum: 1, pageSize: 9999, status: 30 }).then((res) => {
+  proxy.post("/contract/page1", { pageNum: 1, pageSize: 9999, status: 30 }).then((res) => {
     contractList.value = res.rows;
   });
   // 部门树

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

@@ -498,8 +498,12 @@ const getDtl = (row) => {
             };
           });
         }
-        getCityData(res.countryId, "20");
-        getCityData(res.provinceId, "30");
+        if (res.countryId) {
+          getCityData(res.countryId, "20");
+        }
+        if (res.provinceId) {
+          getCityData(res.provinceId, "30");
+        }
         res.type = res.type + "";
         formData.data = res;
         dialogVisible.value = true;