diff --git a/Utils/Api.js b/Utils/Api.js
index 09ef50d..0752b72 100644
--- a/Utils/Api.js
+++ b/Utils/Api.js
@@ -301,4 +301,22 @@ export const querySalesmanList = params => {
export const getOrderByOutTradeOrder = params => {
return POST('GET', `${base}/tradeOrder/getOrderByOutTradeOrder`, params).then(res => res.data);
}
+// #根据商户查询费率
+export const getRateByMer = params => {
+ return POST('GET', `${base}/merRate/getRateByMer`, params).then(res => res.data);
+}
+// #编辑费率申请
+export const editRateApply = params => {
+ return POST('POST', `${base}/merRate/editRateApply`, params).then(res => res.data);
+}
+// #查询最新申请信息
+export const getNewRateApplyDetail = params => {
+ return POST('GET', `${base}/merRate/getNewRateApplyDetail`, params).then(res => res.data);
+}
+
+//#查询费率申请详情
+export const getRateApplyDetail = params => {
+ return POST('GET', `${base}/merRate/getRateApplyDetail`, params).then(res => res.data);
+}
+
diff --git a/pages.json b/pages.json
index 910b3e3..edbbe93 100644
--- a/pages.json
+++ b/pages.json
@@ -444,6 +444,36 @@
}
}
+ ,{
+ "path" : "pages/index/modifyRate/modifyRate",
+ "style" :
+ {
+ "navigationBarTitleText": "修改费率",
+ "navigationBarTextStyle": "white",
+ "enablePullDownRefresh": false,
+ "onReachBottomDistance": 50,
+ "app-plus": {
+ "titleNView": false, //禁用原生导航栏
+ "softinputNavBar": "none"
+ }
+ }
+
+ }
+ ,{
+ "path" : "pages/index/rateReview/rateReview",
+ "style" :
+ {
+ "navigationBarTitleText": "审核费率",
+ "navigationBarTextStyle": "white",
+ "enablePullDownRefresh": false,
+ "onReachBottomDistance": 50,
+ "app-plus": {
+ "titleNView": false, //禁用原生导航栏
+ "softinputNavBar": "none"
+ }
+ }
+
+ }
],
"subpackages": [{
"root": "subPages",
diff --git a/pages/index/merchant-details/merchant-details.vue b/pages/index/merchant-details/merchant-details.vue
index 823790a..5cb9fc4 100644
--- a/pages/index/merchant-details/merchant-details.vue
+++ b/pages/index/merchant-details/merchant-details.vue
@@ -111,7 +111,10 @@
- 修改结算
+
+ 修改结算
+ 修改费率
+
@@ -235,6 +238,12 @@
uni.navigateTo({
url: '/pages/index/updateSettlement/updateSettlement?id=' + this.merid
})
+ },
+ //修改费率
+ updatemodifyRate(){
+ uni.navigateTo({
+ url:'/pages/index/modifyRate/modifyRate?id=' + this.merid
+ })
},
//跳转绑定二维码
jumpBindScan(item, items) {
@@ -311,7 +320,7 @@
.subbtn {
color: #FFFFFF;
background-color: #0083f5;
- width: 90%;
+ width: 40%;
margin-left: 5%;
margin-top: 80rpx;
margin-bottom: 50rpx;
diff --git a/pages/index/modifyRate/modifyRate.vue b/pages/index/modifyRate/modifyRate.vue
new file mode 100644
index 0000000..4c4364e
--- /dev/null
+++ b/pages/index/modifyRate/modifyRate.vue
@@ -0,0 +1,205 @@
+
+
+
+
+
+
+ 审核驳回
+
+
+ {{modifyDetails.rejectReason}}
+
+
+ 审核中
+
+
+
+ 修改商户费率
+
+ {{item.rateTypeName}}
+
+ (单位: 百分之一)
+
+
+
+ 提交审核
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/index/rateReview/rateReview.vue b/pages/index/rateReview/rateReview.vue
new file mode 100644
index 0000000..2f87ed3
--- /dev/null
+++ b/pages/index/rateReview/rateReview.vue
@@ -0,0 +1,175 @@
+
+
+
+
+ 渠道审核中
+
+
+
+ 费率信息审核
+
+
+ {{item.rateTypeName}}
+ {{item.ratePct}} (单位: 百分之一)
+
+
+
+ 驳回信息
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/index/review-Settlement/review-Settlement.vue b/pages/index/review-Settlement/review-Settlement.vue
index 9c438bb..86a776c 100644
--- a/pages/index/review-Settlement/review-Settlement.vue
+++ b/pages/index/review-Settlement/review-Settlement.vue
@@ -12,12 +12,13 @@
+ @click="jumpRviewSettdetails(item)">
- {{item.auditObjectName}}
-
+ {{item.auditObjectName}}
+ 审核类型: {{item.vocationalWorkTypeName}}
+
提交时间: {{item.createTime | timeFormat('yyyy-mm-dd hh:mm:ss')}}
@@ -105,9 +106,17 @@
},
//跳转详情
jumpRviewSettdetails(item) {
- uni.navigateTo({
- url: '/pages/index/settlement_details/settlement_details?id=' + item
- })
+ if (item.vocationalWorkType == 1) {
+ uni.navigateTo({
+ url: '/pages/index/settlement_details/settlement_details?id=' + item.auditNo
+ })
+ }
+ if (item.vocationalWorkType == 2) {
+ uni.navigateTo({
+ url: '/pages/index/rateReview/rateReview?id=' + item.auditObjectId + '&auditid=' + item
+ .auditNo
+ })
+ }
}
}
}
@@ -128,5 +137,4 @@
align-items: center;
padding: 20upx 0 20upx 20upx;
}
-
\ No newline at end of file