@@ -679,6 +679,18 @@ import { serverPaths } from '@/utils/enumData'
type: 'warning'
});
return
+ }else {
+ alert(this.rate);
+ console.log(this.rate);
+ }
+ if (this.rate < 0 || this.rate > 1) {
+ this.$notify({
+ title: '提示',
+ duration: 1800,
+ message: '抽成比例只能设置0-1之间的数字',
+ type: 'warning'
+ });
+ return
}
if (this.phone === '') {
this.$notify({
@@ -863,6 +875,15 @@ import { serverPaths } from '@/utils/enumData'
});
return
}
+ if (this.rate < 0 || this.rate > 1) {
+ this.$notify({
+ title: '提示',
+ duration: 1800,
+ message: '抽成比例只能设置0-1之间的数字',
+ type: 'warning'
+ });
+ return
+ }
if (this.phone === '') {
this.$notify({
title: '提示',
diff --git a/src/views/orderCenter/orderCenter.vue b/src/views/orderCenter/orderCenter.vue
index 76425d1..5360f87 100644
--- a/src/views/orderCenter/orderCenter.vue
+++ b/src/views/orderCenter/orderCenter.vue
@@ -138,12 +138,12 @@
{{ scope.row.ordersMassageList[0].massageType.classifyName }}
-
+
{{ scope.row.ordersMassageList[0].massageType.title }}
-
+
@@ -285,8 +285,8 @@
-
-
+
+
是
@@ -325,7 +325,8 @@
完成订单
- 取消订单
+
+ 取消订单
退全款
@@ -634,13 +635,13 @@
content: '',
serveTime:'',
shopName:'',
-
+
zongjine:0,
dacefei:0,
xiangmujin:0,
dialogFormVisibleBftk:false,
dialogFormVisibleBfkk:false,
-
+
fwData:[],
classifyId:'',
title: '',
@@ -943,7 +944,7 @@
this.totalMoneyTy = 0
this.totalMoneyTj = 0
this.totalMoneyP = 0
- this.totalMoneyShop = 0
+ this.totalMoneyShop = 0
this.$http({
url: this.$http.adornUrl('artificer/selectOrdersList'),
method: 'get',
@@ -1219,13 +1220,13 @@
},
// 修改备注、时间
updateBz(row){
-
+
var times1 = row.serveTime
-
+
this.ordersId = row.ordersId
this.serveTime = row.serveTime.slice(0,11)
this.times = row.serveTime.slice(11,16)
-
+
// for (var j in this.timeLis) {
// if (this.times==this.timeLis[j].times) {
// this.timeLis[j].classify = 1
@@ -1274,21 +1275,21 @@
},
// 取消订单弹框
replyNoticeKk(row){
-
+
this.content = ''
this.ordersId = row.ordersId
this.zongjine = Number(row.sumMoney)
this.dacefei = row.taxiMoney
this.xiangmujin = Number(row.sumMoney)-Number(row.taxiMoney)
this.dialogFormVisibleBfkk = true
-
-
-
+
+
+
},
quxiaoBtn(row){
let delid = row.ordersId
-
-
+
+
this.$confirm('当前技师已接单,若取消订单,系统将扣除'+this.bili+'%的手续费以及所需的车费!确定继续取消订单吗?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
@@ -1319,7 +1320,7 @@
}
})
}
-
+
})
})
},
@@ -1422,7 +1423,7 @@
}
})
}
-
+
})
})
},
diff --git a/src/views/user/userList.vue b/src/views/user/userList.vue
index 51d53ed..ea187d1 100644
--- a/src/views/user/userList.vue
+++ b/src/views/user/userList.vue
@@ -1227,7 +1227,7 @@
比例:
-