diff --git a/src/api/bank.ts b/src/api/bank.ts index f2e0b2f..31163f9 100644 --- a/src/api/bank.ts +++ b/src/api/bank.ts @@ -33,4 +33,9 @@ export function apimMrchantbankLists(params: any) { // 添加银行列表 export function apimMrchantbankCheck(params: any) { return request.post({ url: '/merchat/merchantbank/check', params }) +} + +// 资金流水列表 +export function apiFinancialRecordLists(params: any) { + return request.get({ url: '/financial/FinancialRecord/lists', params }) } \ No newline at end of file diff --git a/src/api/supplier.ts b/src/api/supplier.ts index db7ffa6..cd5122b 100644 --- a/src/api/supplier.ts +++ b/src/api/supplier.ts @@ -33,4 +33,19 @@ export function apiSupplierApplyLists(params: any) { // 供应商申请审核 export function apiSupplierStatus(params: any) { return request.post({ url: '/supplier/supplier/status', params }) +} + +// 供应商已绑定商品列表 +export function apiSupplierBindGoods(params: any) { + return request.get({ url: '/supplier/SupplierBindGoods/lists', params }) +} + +// 供应商绑定商品 +export function apiSupplierBindGoodsAdd(params: any) { + return request.post({ url: '/supplier/SupplierBindGoods/add', params }) +} + +// 供应商删除绑定商品 +export function apiSupplierBindGoodsDelete(params: any) { + return request.post({ url: '/supplier/SupplierBindGoods/delete', params }) } \ No newline at end of file diff --git a/src/components/supplierGoodsPop/index.vue b/src/components/supplierGoodsPop/index.vue new file mode 100644 index 0000000..8438e57 --- /dev/null +++ b/src/components/supplierGoodsPop/index.vue @@ -0,0 +1,130 @@ + + + + diff --git a/src/views/data/financial_information/details.vue b/src/views/data/financial_information/capital_water/details.vue similarity index 100% rename from src/views/data/financial_information/details.vue rename to src/views/data/financial_information/capital_water/details.vue diff --git a/src/views/data/financial_information/edit.vue b/src/views/data/financial_information/capital_water/edit.vue similarity index 100% rename from src/views/data/financial_information/edit.vue rename to src/views/data/financial_information/capital_water/edit.vue diff --git a/src/views/data/financial_information/capital_water/index.vue b/src/views/data/financial_information/capital_water/index.vue new file mode 100644 index 0000000..8a254aa --- /dev/null +++ b/src/views/data/financial_information/capital_water/index.vue @@ -0,0 +1,97 @@ + + + + diff --git a/src/views/data/financial_information/index.vue b/src/views/data/financial_information/index.vue deleted file mode 100644 index a3d5367..0000000 --- a/src/views/data/financial_information/index.vue +++ /dev/null @@ -1,11 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/data/merchant/audit/detail.vue b/src/views/data/merchant/audit/detail.vue index 9abcb6a..804f752 100644 --- a/src/views/data/merchant/audit/detail.vue +++ b/src/views/data/merchant/audit/detail.vue @@ -38,18 +38,18 @@ {{ dataJSON.update_time }} - + - + 通过 拒绝 - + -
+
确认
@@ -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 @@ - 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 @@ - +