+
确认
@@ -57,95 +57,99 @@
diff --git a/src/views/data/merchant/merchant/edit.vue b/src/views/data/merchant/merchant/edit.vue
index e76ee4b..db2b4bc 100644
--- a/src/views/data/merchant/merchant/edit.vue
+++ b/src/views/data/merchant/merchant/edit.vue
@@ -331,9 +331,9 @@ const setFormData = async (data: Record
) => {
formData[key] = data[key]
}
}
- await getAreaList(formData.city_id, true)
- await getTownList(formData.area_id, true)
- getVilllageList(formData.street_id)
+ if(formData.city_id) await getAreaList(formData.city_id, true)
+ if(formData.area_id) await getTownList(formData.area_id, true)
+ if(formData.street_id) getVilllageList(formData.street_id)
}
diff --git a/src/views/data/supplier/audit/detail.vue b/src/views/data/supplier/audit/detail.vue
index debb724..67498b4 100644
--- a/src/views/data/supplier/audit/detail.vue
+++ b/src/views/data/supplier/audit/detail.vue
@@ -13,92 +13,35 @@
:column="3"
border
>
-
-
+
+
- {{ formData.mer_name }}
+ {{ formData.supplier.mer_name }}
-
-
-
-
-
-
-
- {{ formData.settle_cycle }}
-
-
- {{ formData.interest_rate }}
-
-
- {{ formData.sys_labels_text }}
-
-
- {{ formData.city_name }}
-
-
- {{ formData.area_name }}
-
-
- {{ formData.street_name }}
-
-
- {{ formData.village_name }}
+
+ {{ formData.supplier.service_phone }}
- {{ formData.mer_address }}
+ {{ formData.supplier.mer_address }}
-
-
+
+ {{ dataJSON.company_name }}
-
- {{ formData.commission_rate }}
+
+
-
-
+
+ {{ dataJSON.company_address }}
-
- {{ formData.long }}
+
+ {{ dataJSON.social_credit_code }}
-
- {{ formData.lat }}
-
-
- {{ formData.service_phone }}
-
-
- {{ formData.mer_money }}
-
-
- {{ formData.financial_bank }}
-
-
- {{ formData.financial_wechat }}
-
-
- {{ formData.financial_alipay }}
-
-
-
+
+ {{ formData.supplier.update_time }}
-
+
通过
@@ -109,7 +52,7 @@
-
+
确认
@@ -184,6 +127,7 @@ const formRules = reactive
({
],
});
+const dataJSON = ref({});
// 获取详情
const setFormData = async (data: Record) => {
for (const key in formData) {
@@ -199,6 +143,7 @@ const setFormData = async (data: Record) => {
formData[key] = data[key];
}
}
+ dataJSON.value = JSON.parse(data.supplier?.data_json || '{}')
}
};
diff --git a/src/views/data/supplier/audit/index.vue b/src/views/data/supplier/audit/index.vue
index 4b7adcf..cc927b8 100644
--- a/src/views/data/supplier/audit/index.vue
+++ b/src/views/data/supplier/audit/index.vue
@@ -49,11 +49,11 @@
-->
-
+
-
+
diff --git a/src/views/data/supplier/supplier/bindGoods.vue b/src/views/data/supplier/supplier/bindGoods.vue
new file mode 100644
index 0000000..cb1c829
--- /dev/null
+++ b/src/views/data/supplier/supplier/bindGoods.vue
@@ -0,0 +1,139 @@
+
+
+
+
+
+
+
+
+ 商品绑定
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/data/supplier/supplier/index.vue b/src/views/data/supplier/supplier/index.vue
index f91d306..c7f490b 100644
--- a/src/views/data/supplier/supplier/index.vue
+++ b/src/views/data/supplier/supplier/index.vue
@@ -1,183 +1,289 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 查询
- 重置
-
-
-
-
-
-
-
-
-
-
-
-
- 新增
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+
+
+ 新增
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{
+ row.sys_labels_arr.map((t: any) => t.name).join(",")
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ row.commission_switch ? "开启" : "关闭" }}
+
+
+
+
+
+
+ 编辑
+
+
删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{row.sys_labels_arr.map((t:any)=>t.name).join(',')}}
-
-
-
-
-
-
-
-
-
-
-
-
- {{ row.commission_switch ? "开启" : "关闭" }}
-
-
-
-
-
-
- 编辑
-
-
- 删除
-
-
- 详情
-
-
-
-
-
-
-
-
-
-
+
+ 详情
+
+ 商品绑定
+
+
+
+
+
+
+
+
+
+
-
diff --git a/src/views/goods/goods/detail.vue b/src/views/goods/goods/detail.vue
index 438aeee..c76ef70 100644
--- a/src/views/goods/goods/detail.vue
+++ b/src/views/goods/goods/detail.vue
@@ -20,9 +20,9 @@
{{ formData.unit }}
-
+
{{ formData.buy }}
diff --git a/src/views/goods/goods/edit.vue b/src/views/goods/goods/edit.vue
index f044759..8ebcaa0 100644
--- a/src/views/goods/goods/edit.vue
+++ b/src/views/goods/goods/edit.vue
@@ -126,7 +126,7 @@
-
+