diff --git a/src/api/shop/shopDealerOrder/model/index.ts b/src/api/shop/shopDealerOrder/model/index.ts
index 9e3b90d..e76f732 100644
--- a/src/api/shop/shopDealerOrder/model/index.ts
+++ b/src/api/shop/shopDealerOrder/model/index.ts
@@ -8,6 +8,8 @@ export interface ShopDealerOrder {
id?: number;
// 买家用户ID
userId?: number;
+ // 商品名称
+ title?: string;
// 买家用户昵称
nickname?: string;
// 订单编号
@@ -16,6 +18,8 @@ export interface ShopDealerOrder {
orderPrice?: string;
// 结算金额
settledPrice?: string;
+ // 换算成度
+ degreePrice?: string;
// 支付金额
payPrice?: string;
// 分销商用户id(一级)
diff --git a/src/utils/request.ts b/src/utils/request.ts
index bca94d7..1285742 100644
--- a/src/utils/request.ts
+++ b/src/utils/request.ts
@@ -19,7 +19,7 @@ const getBaseUrl = (): string => {
try {
// 如果store中没有,则尝试从localStorage获取
const ApiUrl = localStorage.getItem('ApiUrl');
- if (ApiUrl) {
+ if (ApiUrl && import.meta.env.PROD) {
return ApiUrl;
}
} catch (error) {
diff --git a/src/views/sdy/shopDealerCapital/components/search.vue b/src/views/sdy/shopDealerCapital/components/search.vue
new file mode 100644
index 0000000..82fea9d
--- /dev/null
+++ b/src/views/sdy/shopDealerCapital/components/search.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+ 添加
+
+
+
+
+
diff --git a/src/views/sdy/shopDealerCapital/components/shopDealerCapitalEdit.vue b/src/views/sdy/shopDealerCapital/components/shopDealerCapitalEdit.vue
new file mode 100644
index 0000000..6557d9c
--- /dev/null
+++ b/src/views/sdy/shopDealerCapital/components/shopDealerCapitalEdit.vue
@@ -0,0 +1,398 @@
+
+
+
+
+
+
+ 基本信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 资金流动信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 元
+
+
+
+
+
+
+
+
+
+
+
+ 关联信息
+
+
+
+
+
+ 转账相关操作需要填写对方用户ID
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/sdy/shopDealerCapital/index.vue b/src/views/sdy/shopDealerCapital/index.vue
new file mode 100644
index 0000000..ebe174d
--- /dev/null
+++ b/src/views/sdy/shopDealerCapital/index.vue
@@ -0,0 +1,285 @@
+
+ $router.go(-1)">
+
+
+
+
+
+
+
+
+
+
+ 显示
+ 隐藏
+
+
+
+ 修改
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/sdy/shopDealerOrder/components/Import.vue b/src/views/sdy/shopDealerOrder/components/Import.vue
index cc7cdef..e636ecf 100644
--- a/src/views/sdy/shopDealerOrder/components/Import.vue
+++ b/src/views/sdy/shopDealerOrder/components/Import.vue
@@ -19,6 +19,10 @@
+
业务员({{ form.userId }}):{{ form.nickname }}
+
一级分销商({{ form.firstUserId }}):{{ form.firstNickname }},一级佣金30%:{{ form.firstMoney }}
+
二级分销商({{ form.secondUserId }}):{{ form.secondNickname }},二级佣金10%:{{ form.secondMoney }}
+
三级分销商({{ form.thirdUserId }}):{{ form.thirdNickname }},三级佣金60%:{{ form.thirdMoney }}
+