diff --git a/Utils/Api.js b/Utils/Api.js
index 1648707..a7aad5c 100644
--- a/Utils/Api.js
+++ b/Utils/Api.js
@@ -275,3 +275,22 @@ export const reconsider = params => {
export const getSettleAcctByMer = params => {
return POST('GET', `${base}/merSettleAcct/getSettleAcctByMer`, params).then(res => res.data);
}
+
+// 查询商户渠道平台列表
+export const getMerPlatformList = params => {
+ return POST('GET', `${base}/merPlatform/getMerPlatformList`, params).then(res => res.data);
+}
+
+// 查询商户
+export const getMerList = params => {
+ return POST('GET', `${base}/mer/getMerList`, params).then(res => res.data);
+}
+ // 查询业务员
+export const querySalesmanList = params => {
+ return POST('GET', `${base}/salesman/querySalesmanList`, params).then(res => res.data);
+}
+//查询订单详情
+export const getOrderByOutTradeOrder = params => {
+ return POST('GET', `${base}/tradeOrder/getOrderByOutTradeOrder`, params).then(res => res.data);
+}
+
diff --git a/pages.json b/pages.json
index 9a9c281..73a4567 100644
--- a/pages.json
+++ b/pages.json
@@ -481,6 +481,21 @@
}
}
+ ,{
+ "path" : "pages/index/normal-Merchant/normal-Merchant",
+ "style" :
+ {
+ "navigationBarTitleText": "商户",
+ "navigationBarTextStyle": "white",
+ "enablePullDownRefresh": false,
+ "onReachBottomDistance": 50,
+ "app-plus": {
+ "titleNView": false, //禁用原生导航栏
+ "softinputNavBar": "none"
+ }
+ }
+
+ }
],
"subpackages": [{
"root": "subPages",
diff --git a/pages/index/collectNotes/collectNotes.vue b/pages/index/collectNotes/collectNotes.vue
index a4b04c5..98b55fa 100644
--- a/pages/index/collectNotes/collectNotes.vue
+++ b/pages/index/collectNotes/collectNotes.vue
@@ -15,6 +15,35 @@
{{enddate}}
+
+
+ 业务员 :
+
+ {{salesmanname}}
+ 请选择
+
+
+
+
+ 商户 :
+
+ {{merName}}
+ 请选择
+
+
+
+
+ 门店 :
+
+ {{storename}}
+ 请选择
+
+
+
@@ -44,24 +73,32 @@
-
-
+
+
+
-
- 扫一扫
- ¥ {{item.tradeAmount}}
+ {{item.outTradeNo}}
+
+ 扫一扫
+ {{statusList[item.status]}}
-
+
+ {{item.salesmanName}}
+ {{item.storeName}}
+
+
{{item.createTime | timeFormat('yyyy-mm-dd hh:mm:ss')}}
- {{statusList[item.status]}}
+ ¥ {{item.tradeAmount}}
+
@@ -71,8 +108,12 @@
+
+
\ No newline at end of file
diff --git a/pages/index/open-Divide_accounts/open-Divide_accounts.vue b/pages/index/open-Divide_accounts/open-Divide_accounts.vue
index cd3a0cc..642ff6d 100644
--- a/pages/index/open-Divide_accounts/open-Divide_accounts.vue
+++ b/pages/index/open-Divide_accounts/open-Divide_accounts.vue
@@ -188,7 +188,7 @@
"merId": this.merId,
"platformType": 1,
"splitLowestRatio": this.splitLowestRatio,
- "splitEntrustFilePath": this.powerofattorney[0]
+ "splitEntrustFilePath": this.powerofattorney
}
merLedgerApply(datas).then(res => {
uni.hideLoading();
diff --git a/pages/index/order-list-details/order-list-details.vue b/pages/index/order-list-details/order-list-details.vue
index 279178d..320f02c 100644
--- a/pages/index/order-list-details/order-list-details.vue
+++ b/pages/index/order-list-details/order-list-details.vue
@@ -1,41 +1,67 @@
-
+
- 账号
- 账号名称
-
-
- 账号
- 账号名称
-
-
- 账号
- 账号名称
+ 商户名称
+ {{orderByOutTradeOrder.merName}}
+
+
+ 门店名称
+ {{orderByOutTradeOrder.storeName}}
+
+
+ 交易模式
+ 支付宝
+ 微信
+
+
+ 支付时间
+ {{orderByOutTradeOrder.payTime | timeFormat('yyyy-mm-dd hh:mm:ss')}}
-
- 账号
- 账号名称
+
+ 商户交易单号
+ {{orderByOutTradeOrder.outTradeNo}}
+
+
+ 账户端交易单号
+ {{orderByOutTradeOrder.accTradeNo}}
+
+
+ 交易状态
+ {{statusList[orderByOutTradeOrder.status]}}
+
+
+ 交易金额
+ ¥ {{orderByOutTradeOrder.tradeAmount}}
+
+
+ 门店优惠
+ {{orderByOutTradeOrder.storeDiscountPrice}}
+
+
+
+ 客户手机号
+ {{orderByOutTradeOrder.userPhone}}
-
- 账号
- 账号名称
+
+ 客户优惠券优惠
+ {{orderByOutTradeOrder.userDiscountPrice}}
- 账号
- 账号名称
+ 交易实际金额
+ {{orderByOutTradeOrder.tradeActualAmount}}
-
- 账号
- 账号名称
+
+ 交易费率
+ {{orderByOutTradeOrder.feeRate}}
- 账号
- 账号名称
+ 交易创建方式
+ 扫一扫
-
- 账号
- 账号名称
+
+ 平台商户号
+ {{orderByOutTradeOrder.platformMerNo}}
@@ -43,14 +69,44 @@
diff --git a/pages/tabBar/home/home.vue b/pages/tabBar/home/home.vue
index 385637c..56c1f08 100644
--- a/pages/tabBar/home/home.vue
+++ b/pages/tabBar/home/home.vue
@@ -18,15 +18,14 @@
- 总收益
- ¥0.00
+
+
今日总收入
¥{{auditnum.tradePrice}}
-
+
进件成功数量
{{auditnum.contractSuccess}}
@@ -94,9 +93,13 @@
img: '../../../static/img/home3.png'
},
{
- title: '商户管理',
+ title: '进件管理',
url: '../../index/merchant-management/merchant-management',
img: '../../../static/img/home4.png'
+ }, {
+ title: '商户管理',
+ url: '../../index/normal-Merchant/normal-Merchant',
+ img: '../../../static/img/home4.png'
}, {
title: '我的设备',
url: '../../index/mineService/mineService?id=3',
@@ -154,11 +157,11 @@
title: '结算审核',
url: '../../index/review-Settlement/review-Settlement',
img: '../../../static/img/home1.png'
- }]
- // , {
- // title: '权益活动',
- // url: '../../index/equity-activity-review/equity-activity-review',
- // img: '../../../static/img/home5.png'
+ }]
+ // , {
+ // title: '权益活动',
+ // url: '../../index/equity-activity-review/equity-activity-review',
+ // img: '../../../static/img/home5.png'
// }
return;
}
diff --git a/pages/welcome/welcome.vue b/pages/welcome/welcome.vue
index 9c93c9d..b38752b 100644
--- a/pages/welcome/welcome.vue
+++ b/pages/welcome/welcome.vue
@@ -17,28 +17,28 @@
},
onLoad(options) {
let that = this;
- // uni.reLaunch({
- // url: '../tabBar/home/home'
- // })
+ uni.reLaunch({
+ url: '../tabBar/home/home'
+ })
// #ifdef H5
- let arr1 = window.location.href;
- let arr2 = arr1.split('=');
- if (arr2[2]) {
- var arr3 = arr2[2].split('&');
- if (arr3[0] != undefined && arr3[0]) {
- app.globalData.h5code = arr3[0];
- uni.setStorage({
- key: "h5code",
- data: arr3[0]
- })
- }
- } else {
- // 获取openid
- that.jumpcdx();
- }
- if (app.globalData.h5code) {
- that.getAccessToken();
- }
+ // let arr1 = window.location.href;
+ // let arr2 = arr1.split('=');
+ // if (arr2[2]) {
+ // var arr3 = arr2[2].split('&');
+ // if (arr3[0] != undefined && arr3[0]) {
+ // app.globalData.h5code = arr3[0];
+ // uni.setStorage({
+ // key: "h5code",
+ // data: arr3[0]
+ // })
+ // }
+ // } else {
+ // // 获取openid
+ // that.jumpcdx();
+ // }
+ // if (app.globalData.h5code) {
+ // that.getAccessToken();
+ // }
// #endif
},
methods: {