From 88a310dd71b7fe77ef72cf2a1ccf69540e9a7441 Mon Sep 17 00:00:00 2001
From: 15820893422 <1978476055@qq.com>
Date: Tue, 23 Apr 2024 17:33:01 +0800
Subject: [PATCH] edit
---
src/views/merchant/application/merInfo.vue | 4 +-
.../merchant/list/handle/merEditForm.vue | 38 ++++++++++++-------
src/views/merchant/list/handle/merInfo.vue | 16 ++++----
3 files changed, 35 insertions(+), 23 deletions(-)
diff --git a/src/views/merchant/application/merInfo.vue b/src/views/merchant/application/merInfo.vue
index d76ff28..acd9334 100644
--- a/src/views/merchant/application/merInfo.vue
+++ b/src/views/merchant/application/merInfo.vue
@@ -235,10 +235,10 @@
实际经营地址:
{{merData.biz.address_true}}
-
+
diff --git a/src/views/merchant/list/handle/merEditForm.vue b/src/views/merchant/list/handle/merEditForm.vue
index c095276..5cb68e4 100644
--- a/src/views/merchant/list/handle/merEditForm.vue
+++ b/src/views/merchant/list/handle/merEditForm.vue
@@ -300,34 +300,36 @@
- {{merData.ot_margin-merData.margin>=0 ? '已缴' : '待缴' }}
+ {{merData.is_margin == 1?merData.ot_margin-merData.margin>0 ? '待缴' : '已缴':'无' }}
- {{merData.ot_service_cost-merData.service_cost>=0 ? '已缴' : '待缴'}}
+ {{merData.is_service == 1?merData.ot_service_cost-merData.service_cost>0 ? '已缴' : '待缴':'无'}}
- {{merData.ot_goods_cost-merData.goods_cost>=0 ? '已缴' : '待缴'}}
+ {{merData.is_goods == 1?merData.ot_goods_cost-merData.goods_cost>0 ? '已缴' : '待缴':'无'}}
-
- {{merData.ot_margin-merData.margin}}
+
+ {{merData.is_margin == 1?(merData.ot_margin<+merData.margin)?merData.margin:(merData.ot_margin-merData.margin):'0'}}
-
- {{merData.ot_service_cost-merData.service_cost}}
+
+ {{merData.is_service == 1?(merData.ot_service_cost<+merData.service_cost)?merData.service_cost:(merData.ot_service_cost-merData.service_cost):'0'}}
+
-
- {{merData.ot_goods_cost-merData.goods_cost}}
+
+ {{merData.is_goods == 1?(merData.ot_goods_cost<+merData.goods_cost)?merData.goods_cost:(merData.ot_goods_cost-merData.goods_cost):'0'}}
+
@@ -448,22 +450,32 @@
-
+
-
+
+
+
+
+
+
diff --git a/src/views/merchant/list/handle/merInfo.vue b/src/views/merchant/list/handle/merInfo.vue
index 6311ffe..b34cffe 100644
--- a/src/views/merchant/list/handle/merInfo.vue
+++ b/src/views/merchant/list/handle/merInfo.vue
@@ -70,29 +70,29 @@
-->
银行卡信息
-
+
-
名称:
- {{merData.ext.bank&&merData.ext.bank.bankName}}
+ {{merData.financial_bank.name}}
-
开户银行:
- {{merData.ext.bank&&merData.ext.bank.bankCard}}
+ {{merData.financial_bank.bank}}
-
开户卡号:
- {{merData.ext.bank&&merData.ext.bank.bankBranchName}}
+ {{merData.financial_bank.bank_code}}
-
联行号:
- {{merData.ext.bank&&merData.ext.bank.CNAPS}}
+ {{merData.financial_bank.inter_bank}}
@@ -169,13 +169,13 @@
-->
- 费用额度:保证金{{merData.is_margin == 0 ? '无' : merData.ot_margin}},技术服务费{{merData.is_service == 0 ? '无' : merData.ot_service_cost}},上架费{{merData.is_goods == 0 ? '无' : merData.ot_goods_cost}}
+ 费用额度:保证金:{{merData.is_margin == 0 ? '无' : merData.ot_margin}},技术服务费:{{merData.is_service == 0 ? '无' : merData.ot_service_cost}},上架费:{{merData.is_goods == 0 ? '无' : merData.ot_goods_cost}}
- 费用余额:保证金{{merData.margin}},技术服务费{{merData.service_cost == 0 ? '无' : merData.service_cost}},上架费{{merData.goods_cost == 0 ? '无' : merData.goods_cost}}
+ 费用余额:保证金:{{merData.margin== 0 ? '无' : merData.margin}},技术服务费:{{merData.service_cost == 0 ? '无' : merData.service_cost}},上架费:{{merData.goods_cost == 0 ? '无' : merData.goods_cost}}
- 支付状态:保证金{{merData.is_margin == 1 ? '待缴' : merData.is_margin == 0 ? '无' : '已缴' }},技术服务费{{merData.is_service == 1 ? '待缴' : merData.is_service == 0 ? '无' : '已缴' }},上架费{{merData.is_goods == 1 ? '待缴' : merData.is_goods == 0 ? '无' : '已缴' }}
+ 支付状态:保证金:{{merData.ot_margin-merData.margin>=0 ? '已缴' : '待缴' }},技术服务费:{{merData.ot_service_cost-merData.service_cost>=0 ? '已缴' : '待缴'}},上架费:{{merData.ot_goods_cost-merData.goods_cost>=0 ? '已缴' : '待缴'}}