diff --git a/BagAuth/pages/login/login.vue b/BagAuth/pages/login/login.vue
index 3e2c44a..2749b93 100644
--- a/BagAuth/pages/login/login.vue
+++ b/BagAuth/pages/login/login.vue
@@ -100,7 +100,7 @@
this.otherUser = true
uni.clearStorageSync()
this.weChatLogin(option)
- console.log('当前为卡力用户')
+ // console.log('当前为卡力用户')
return
}
}
@@ -170,17 +170,17 @@
}
uni.setStorageSync('isOther',_that.otherUser)
uni.setStorageSync('otherUserInfo',sysCustomerInfos)
- console.log('此处为data参数:',data)
- console.log('当前为卡利用户:companyId 为',sysCustomerInfos.companyId)
+ // console.log('此处为data参数:',data)
+ // console.log('当前为卡利用户:companyId 为',sysCustomerInfos.companyId)
oilIdentityApi.wechatLogin(data).then(res=>{
- console.log('这里是wechatLogin',res)
+ // console.log('这里是wechatLogin',res)
this.OtherloginSuccess(res)
- console.log(res)
+ // console.log(res)
})
return
}
}else{
- console.log('这里是213','----')
+ // console.log('这里是213','----')
this.autoLogin()
}
// uni.setStorageSync('isOther',_that.otherUser)
diff --git a/BagStation/orderDetail/orderDetail.vue b/BagStation/orderDetail/orderDetail.vue
index f22c275..9e3fd60 100644
--- a/BagStation/orderDetail/orderDetail.vue
+++ b/BagStation/orderDetail/orderDetail.vue
@@ -13,9 +13,13 @@
-
+
+
+
+
+
@@ -73,6 +77,12 @@
{{order.sitePrice?order.sitePrice+'¥/' +( order.oilProductType=='GAS'?'L':'L') :'暂无'}}
+
+ 油机价格
+ {{order.sitePriceAmount?order.sitePriceAmount+'¥/' +( order.oilProductType=='GAS'?'L':'L') :'暂无'}}
+
+
优惠价格
{
- console.log(res)
+ // console.log(res)
this.val = res.data
if (res.code == 40000) {
this.showQr = false
} else if (res.code == 20000) {
- this.showQr = true
+ if (res.data.writeOffType === 'url') {
+ uni.navigateTo({
+ url: `/BagStation/pages/makeOrder/G7Supplier?url=${encodeURIComponent(res.data.codeStr)}`
+ })
+ return
+ }
+ if (res.data.writeOffType === 'image') {
+ this.baseImage = res.data.codeStr
+ this.showQr = true
+ return
+ }
+
this.val = res.data.codeStr;
this.foreground = this.val.indexOf('SHLFC/V1') == -1 ? '#000' : '#1A487E';
+ this.showQr = true
}
})
},
@@ -402,6 +425,31 @@
+
\ No newline at end of file
diff --git a/BagStation/pages/components/price-select-tab.vue b/BagStation/pages/components/price-select-tab.vue
index 2dbf00c..aaa74ca 100644
--- a/BagStation/pages/components/price-select-tab.vue
+++ b/BagStation/pages/components/price-select-tab.vue
@@ -135,7 +135,7 @@
+ placeholder="请输入油机金额" value="" style="border-bottom: 1px solid #efefef;" :disabled="readonlyRealMoney" />
@@ -166,7 +166,7 @@
+ placeholder="加油金额" value="" />
@@ -188,24 +188,24 @@
-
-
-->
+
+ 油机价格
+ {{order.sitePriceAmount?order.sitePriceAmount+'¥/' +( order.oilProductType=='GAS'?'L':'L') :'暂无'}}
+
加油金额
@@ -153,6 +163,7 @@
data() {
const now = new Date()
return {
+ baseImage:'',
foreground: '#000',
oilItem: {},
status: "",
@@ -258,10 +269,22 @@
this.showQr = false
this.showtext = true
} else if (res.code == 20000) {
- this.showQr = true
this.showtext = false
+ if (res.data.writeOffType === 'url') {
+ uni.navigateTo({
+ url: `./G7Supplier?url=${encodeURIComponent(res.data.codeStr)}`
+ })
+ return
+ }
+ if (res.data.writeOffType === 'image') {
+ this.baseImage = res.data.codeStr
+ this.showQr = true
+ return
+ }
+
this.val = res.data.codeStr
this.foreground = this.val.indexOf('SHLFC/V1') == -1 ? '#000' : '#1A487E';
+ this.showQr = true
}
})
},
@@ -413,7 +436,30 @@
}
-
+
\ No newline at end of file
diff --git a/BagStation/pages/newRoutePlanning/chooseLocation.vue b/BagStation/pages/newRoutePlanning/chooseLocation.vue
index c21a675..ed04963 100644
--- a/BagStation/pages/newRoutePlanning/chooseLocation.vue
+++ b/BagStation/pages/newRoutePlanning/chooseLocation.vue
@@ -88,7 +88,7 @@
},
created() {
this.TXSDK = new amapFile({
- key: 'UTXBZ-BUH6D-TQD44-HCEG4-UKOFT-U2BDN'
+ key: 'YR3BZ-EWX3M-JFW6U-6TREG-FXFJH-CMFWY'
});
},
methods: {
diff --git a/BagStation/pages/newRoutePlanning/newRoutePlanning.vue b/BagStation/pages/newRoutePlanning/newRoutePlanning.vue
index 1207aaf..325f42d 100644
--- a/BagStation/pages/newRoutePlanning/newRoutePlanning.vue
+++ b/BagStation/pages/newRoutePlanning/newRoutePlanning.vue
@@ -9,7 +9,7 @@