diff --git a/.env.development b/.env.development index c527b65..b1704f7 100644 --- a/.env.development +++ b/.env.development @@ -1,2 +1,2 @@ -VITE_API_URL = "http://m.taigurun.cn" -VITE_OSS_URL = "http://m.taigurun.cn" \ No newline at end of file +VITE_API_URL = "https://m.taigurun.cn" +VITE_OSS_URL = "https://m.taigurun.cn" \ No newline at end of file diff --git a/.env.production b/.env.production index c527b65..b1704f7 100644 --- a/.env.production +++ b/.env.production @@ -1,2 +1,2 @@ -VITE_API_URL = "http://m.taigurun.cn" -VITE_OSS_URL = "http://m.taigurun.cn" \ No newline at end of file +VITE_API_URL = "https://m.taigurun.cn" +VITE_OSS_URL = "https://m.taigurun.cn" \ No newline at end of file diff --git a/index.html b/index.html index 66ab5bf..8aedca8 100644 --- a/index.html +++ b/index.html @@ -11,6 +11,7 @@
+ \ No newline at end of file diff --git a/src/views/Merchant/MerchantProduct.vue b/src/views/Merchant/MerchantProduct.vue deleted file mode 100644 index 8344bbd..0000000 --- a/src/views/Merchant/MerchantProduct.vue +++ /dev/null @@ -1,123 +0,0 @@ - -{{ item.Phone }}
-
+
{{ item.orderCount }}
+订单数
+¥{{ item.ordermoney }}
+营业额
+¥{{ item.income }}
+应收
+{{ $formatGMT(order.addtime, 'yyyy-MM-dd HH:mm:ss') }}
+
- 待付款
+ {{ $formatCellphone(data.usercellphone) }}
- 待处理
+ {{ $formatGMT(data.addtime, 'yyyy-MM-dd HH:mm:ss') }}
- 已完成
+ {{ $formatGMT(data.paytime, 'yyyy-MM-dd HH:mm:ss') }}
{{ data.ordernum }}
- ¥{{ data.ordermoney }}
- (余额支付{{ data.Amount.toFixed(2) }},积分抵扣{{ data.Deduct.toFixed(2) }}) -
+{{ data.payjifen }}积分
+¥{{ data.payquan }}
+¥{{ data.paymoney }}
+{{ data.discountratio }}%
+¥{{ data.discount }}
+¥{{ data.income }}
刷新
刷新
{{ total.YesterdayAmount && total.YesterdayAmount != 0 - ? ((total.TodayAmount - total.YesterdayAmount) / total.YesterdayAmount * 100).toFixed(2) - : (total.TodayAmount > 0 ? '100.00' : '0.00') }}%较昨日
+{{ total.yesterdayyingyee && total.yesterdayyingyee != 0 + ? ((total.todayyingyee - total.yesterdayyingyee) / total.yesterdayyingyee * 100).toFixed(2) + : (total.todayyingyee > 0 ? '100.00' : '0.00') }}%较昨日
{{ total.YesterdayDeduct && total.YesterdayDeduct != 0 - ? ((total.TodayDeduct - total.YesterdayDeduct) / total.YesterdayDeduct * 100).toFixed(2) - : (total.TodayDeduct > 0 ? '100.00' : '0.00') }}%较昨日
+{{ total.yesterdayingshou && total.yesterdayingshou != 0 + ? ((total.todayyingshou - total.yesterdayingshou) / total.yesterdayingshou * 100).toFixed(2) + : (total.todayyingshou > 0 ? '100.00' : '0.00') }}%较昨日
{{ total.YesterdayQty && total.YesterdayQty != 0 - ? ((total.TodayQty - total.YesterdayQty) / total.YesterdayQty * 100).toFixed(2) - : (total.TodayQty > 0 ? '100.00' : '0.00') }}%较昨日
+{{ total.yesterdaydingdanshu && total.yesterdaydingdanshu != 0 + ? ((total.todaydingdanshu - total.yesterdaydingdanshu) / total.yesterdaydingdanshu * 100).toFixed(2) + : (total.todaydingdanshu > 0 ? '100.00' : '0.00') }}%较昨日
- {{ total.PrevMonthIncome && total.PrevMonthIncome != 0 - ? ((total.MonthIncome - total.PrevMonthIncome) / total.PrevMonthIncome * 100).toFixed(2) - : (total.MonthIncome > 0 ? '100.00' : '0.00') }}%较上月
+{{ total.yesterdayyouhui && total.yesterdayyouhui != 0 + ? ((total.todayyouhui - total.yesterdayyouhui) / total.yesterdayyouhui * 100).toFixed(2) + : (total.todayyouhui > 0 ? '100.00' : '0.00') }}%较昨日
{{ currentDate[0] }}-{{ currentDate[1] }}-{{ currentDate[2] }}
@@ -77,25 +76,25 @@
+ 12568951256
+
+ 余额
+
+ 会员卡
+ 核销礼品券
+
+ 查看礼品券核销记录
+
+ 查看业绩统计数据
+
+
+
- 等人已购买
+
+
+
+
+
+ 购买即可升级VIP
+
- 购买即可参与推广活动
-
-
-
-
- x{{ list.buynums }}
-- 订单备注:{{ item.remark }} -
- -
@@ -43,7 +43,7 @@
@@ -83,6 +83,7 @@ export default {
needpay: 0,
state: 0,
},
+ hide: true,
wallet: {
totalsum: 0,
},
@@ -113,7 +114,7 @@ export default {
const walletRes = await this.$get('/v1/client/DUsermoneysClient/statistics');
this.wallet = walletRes.data;
} catch (err) {
- this.$showFailToast(err.errmsg || '加载失败');
+ this.$showFailToast(err.message || '加载失败');
}
},
async doPay() {
@@ -130,7 +131,7 @@ export default {
async balancePay() {
try {
// 余额支付调用支付宝接口(实际由后端判断余额支付)
- const res = await this.$get(`/v1/client/FOrdersClient/${this.ordernum}/payali`);
+ const res = await this.$get(`/v1/client/FOrdersClient/${this.ordernum}/payyue`);
if (res.data) {
location.href = res.data;
}
@@ -142,7 +143,7 @@ export default {
}, 1000);
}
} catch (err) {
- this.$showFailToast(err.errmsg || '支付失败');
+ this.$showFailToast(err.message || '支付失败');
}
},
// 支付宝支付
@@ -157,7 +158,7 @@ export default {
}
this.showPayResult = true;
} catch (err) {
- this.$showFailToast(err.errmsg || '支付失败');
+ this.$showFailToast(err.message || '支付失败');
}
},
// 微信支付
@@ -169,7 +170,7 @@ export default {
}
this.showPayResult = true;
} catch (err) {
- this.$showFailToast(err.errmsg || '支付失败');
+ this.$showFailToast(err.message || '支付失败');
}
},
onPayCompleted() {
diff --git a/src/views/Trade/TradeConfirm.vue b/src/views/Trade/TradeConfirm.vue
index 8af6cb2..2368174 100644
--- a/src/views/Trade/TradeConfirm.vue
+++ b/src/views/Trade/TradeConfirm.vue
@@ -41,7 +41,7 @@
x{{ item.buynums }}
+{{ item.discountratio }}%让利
+¥{{ item.ordermoney?.toFixed(2) }}
+ + {{ item.discountratio }}%让利 + +
+
+
+ 20%
+ + 实付 +
+ ¥500.00 +
+ 20%
+ + 实付 +
+ ¥500.00 +
余额
会员卡额度
积分
待付款
待发货
待收货
@@ -93,7 +93,7 @@
+
@@ -178,7 +178,13 @@