|
@@ -48,7 +48,7 @@
|
|
|
:pdground="pdground" :icon="icon" :iconSize="iconsize" :lv="lv" :onval="onval"
|
|
|
:loadMake="loadMake" :usingComponents="true" @result="qrR" />
|
|
|
</view>
|
|
|
- <view style="color: #333333; font-size: 26rpx; font-weight: bold; text-align: center;">36582496825
|
|
|
+ <view style="color: #333333; font-size: 26rpx; font-weight: bold; text-align: center;">{{orderData.ServiceCode}}
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
@@ -379,9 +379,26 @@
|
|
|
},
|
|
|
methods: {
|
|
|
changeStore(){
|
|
|
- uni.navigateTo({
|
|
|
- url: '../changeStore/changeStore?id'+this.id
|
|
|
- })
|
|
|
+ this.haveChangeStore();
|
|
|
+ },
|
|
|
+ haveChangeStore(){
|
|
|
+ uni.showLoading({
|
|
|
+ title: '加载中'
|
|
|
+ });
|
|
|
+
|
|
|
+ this.$http('worldKeepCar/orderChangeShop/queryIfConChangeShop', {
|
|
|
+ sheetId: this.id,
|
|
|
+
|
|
|
+ }, 'GET').then(res => {
|
|
|
+ uni.hideLoading();
|
|
|
+
|
|
|
+ if (res.code == 0) {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: '../changeStore/changeStore?id'+this.id
|
|
|
+ })
|
|
|
+ }
|
|
|
+
|
|
|
+ })
|
|
|
},
|
|
|
showMa(){
|
|
|
this.isShowMa = !this.isShowMa
|
|
@@ -514,8 +531,29 @@
|
|
|
},
|
|
|
refundMoney(){
|
|
|
console.log('退款');
|
|
|
- uni.navigateTo({
|
|
|
- url:'../refundMoney/refundMoney?sheetId='+this.id +'&maxMoney=' + this.orderData.PayMoney
|
|
|
+
|
|
|
+
|
|
|
+ // 是否可以退款
|
|
|
+ this.haveRefundMoney();
|
|
|
+ },
|
|
|
+ haveRefundMoney(){
|
|
|
+ uni.showLoading({
|
|
|
+ title: '加载中'
|
|
|
+ });
|
|
|
+
|
|
|
+ this.$http('worldKeepCar/orderRefund/queryIfConRefund', {
|
|
|
+ sheetId: this.id,
|
|
|
+
|
|
|
+ }, 'GET').then(res => {
|
|
|
+ uni.hideLoading();
|
|
|
+
|
|
|
+ if (res.code == 0) {
|
|
|
+ uni.navigateTo({
|
|
|
+ url:'../refundMoney/refundMoney?sheetId='+this.id +'&maxMoney=' + this.orderData.PayMoney
|
|
|
+
|
|
|
+ })
|
|
|
+ }
|
|
|
+
|
|
|
})
|
|
|
},
|
|
|
orderPay() {
|