|
|
@@ -236,14 +236,11 @@
|
|
|
|
|
|
methods: {
|
|
|
|
|
|
-
|
|
|
appointment(order){
|
|
|
console.log('+++++++++++++++')
|
|
|
this.$emit('openPayAppointment',order,2)
|
|
|
},
|
|
|
|
|
|
-
|
|
|
-
|
|
|
oneClickPay(order){
|
|
|
this.$emit('openPay',order,1)
|
|
|
},
|
|
|
@@ -254,10 +251,19 @@
|
|
|
uni.scanCode({
|
|
|
scanType: ['qrCode'],
|
|
|
success: function (res) {
|
|
|
+ let json = JSON.parse(res.result)
|
|
|
+ if(json.storeId != item.storeId){
|
|
|
+ uni.showToast({
|
|
|
+ icon: 'error',
|
|
|
+ duration: 3000,
|
|
|
+ title: '请扫描订单门店二维码'
|
|
|
+ });
|
|
|
+ return
|
|
|
+ }
|
|
|
uni.navigateTo({
|
|
|
- url:'/orderPages/serviceItems/index?serviceStationId='+ res.result + '&orderId='+item.orderId + '&serviceObjectId=' + item.serviceObjectId
|
|
|
+ url:'/orderPages/serviceItems/index?serviceStationId='+ json.stationId + '&orderId='+item.orderId + '&serviceObjectId=' + item.serviceObjectId
|
|
|
})
|
|
|
- }
|
|
|
+ },
|
|
|
})
|
|
|
},
|
|
|
/*下拉刷新的回调 */
|