Commit f1a5e97b2609ac10e45187f3c1c382ceb2c8fafd
1 parent
11048911
赤峰扫码
Showing
3 changed files
with
34 additions
and
22 deletions
config/index.js
@@ -59,7 +59,7 @@ module.exports = { | @@ -59,7 +59,7 @@ module.exports = { | ||
59 | * Source Maps | 59 | * Source Maps |
60 | */ | 60 | */ |
61 | 61 | ||
62 | - productionSourceMap: true, | 62 | + productionSourceMap: false, |
63 | // https://webpack.js.org/configuration/devtool/#production | 63 | // https://webpack.js.org/configuration/devtool/#production |
64 | devtool: '#source-map', | 64 | devtool: '#source-map', |
65 | 65 |
src/components/orderPay.vue
@@ -23,7 +23,7 @@ | @@ -23,7 +23,7 @@ | ||
23 | </ul> | 23 | </ul> |
24 | 24 | ||
25 | <p style="margin-top: 20px;padding-left: 15px;">停车引导员工号(非必填)</p> | 25 | <p style="margin-top: 20px;padding-left: 15px;">停车引导员工号(非必填)</p> |
26 | - <mt-field style="font-size: 14px;color: #333;" label="" placeholder="请输入员工号" type="number" v-model="tollNumber" :attr="{ oninput: 'if(value.length>7)value=value.slice(0,7)' }" ></mt-field> | 26 | + <mt-field style="font-size: 14px;color: #333;" label="" placeholder="请输入员工号" type="number" v-model="tollNxumber" :attr="{ oninput: 'if(value.length>7)value=value.slice(0,7)' }" ></mt-field> |
27 | 27 | ||
28 | <div style="padding: 20px 18px"> | 28 | <div style="padding: 20px 18px"> |
29 | <div class="toPay" @click="toPay">{{clientBrowser}}支付</div> | 29 | <div class="toPay" @click="toPay">{{clientBrowser}}支付</div> |
@@ -66,7 +66,7 @@ export default { | @@ -66,7 +66,7 @@ export default { | ||
66 | webAppCode: '', // 微信code | 66 | webAppCode: '', // 微信code |
67 | appOrderTimeout: '', // 超时描述 | 67 | appOrderTimeout: '', // 超时描述 |
68 | tollNumber:'', // 收费员员工号 | 68 | tollNumber:'', // 收费员员工号 |
69 | - backDeveloperCode: '' | 69 | + // backDeveloperCode: '' |
70 | } | 70 | } |
71 | }, | 71 | }, |
72 | created() { | 72 | created() { |
@@ -122,12 +122,15 @@ export default { | @@ -122,12 +122,15 @@ export default { | ||
122 | this.orderId = [] | 122 | this.orderId = [] |
123 | this.orderId = _order | 123 | this.orderId = _order |
124 | } | 124 | } |
125 | - if(this.tollNumber){ | ||
126 | - this.backDeveloperCode = this.tollNumber | ||
127 | - }else{ | ||
128 | - this.backDeveloperCode = this.$route.query.backDeveloperCode | ||
129 | - } | ||
130 | - | 125 | + // if(this.tollNumber){ |
126 | + // this.backDeveloperCode = this.tollNumber | ||
127 | + // }else{ | ||
128 | + // this.backDeveloperCode = this.$route.query.backDeveloperCode | ||
129 | + // } | ||
130 | + | ||
131 | + // tollNumber | ||
132 | + // this.backDeveloperCode = this.tollNumber // 输入字段 | ||
133 | + let ticketChargeCode = this.$route.query.ticketChargeCode // 二维码里面的收费员编号 | ||
131 | if (this.clientBrowser == '支付宝') { // 支付宝支付 | 134 | if (this.clientBrowser == '支付宝') { // 支付宝支付 |
132 | let me = this | 135 | let me = this |
133 | var aliParams = {}; | 136 | var aliParams = {}; |
@@ -138,7 +141,8 @@ export default { | @@ -138,7 +141,8 @@ export default { | ||
138 | aliParams.paySrcType = this.paySrcType;//101停车支付 | 141 | aliParams.paySrcType = this.paySrcType;//101停车支付 |
139 | aliParams.orgId = this.$utils.myOrgId | 142 | aliParams.orgId = this.$utils.myOrgId |
140 | aliParams.backType = 2 | 143 | aliParams.backType = 2 |
141 | - aliParams.backDeveloperCode = this.backDeveloperCode | 144 | + aliParams.backDeveloperCode = this.tollNumber |
145 | + aliParams.ticketChargeCode = ticketChargeCode | ||
142 | aliParams.recordArreaInfos = JSON.stringify(this.orderId); | 146 | aliParams.recordArreaInfos = JSON.stringify(this.orderId); |
143 | console.log(aliParams) | 147 | console.log(aliParams) |
144 | aliPay(aliParams).then(response => { | 148 | aliPay(aliParams).then(response => { |
@@ -180,7 +184,8 @@ export default { | @@ -180,7 +184,8 @@ export default { | ||
180 | bankabcParams.orgId = this.$utils.myOrgId | 184 | bankabcParams.orgId = this.$utils.myOrgId |
181 | bankabcParams.backType = 2 | 185 | bankabcParams.backType = 2 |
182 | bankabcParams.PaymentLinkType = 1 | 186 | bankabcParams.PaymentLinkType = 1 |
183 | - bankabcParams.backDeveloperCode = this.backDeveloperCode | 187 | + bankabcParams.backDeveloperCode = this.tollNumber |
188 | + bankabcParams.ticketChargeCode = ticketChargeCode | ||
184 | bankabcParams.recordArreaInfos = JSON.stringify(this.orderId); | 189 | bankabcParams.recordArreaInfos = JSON.stringify(this.orderId); |
185 | console.log(bankabcParams) | 190 | console.log(bankabcParams) |
186 | bankH5Pay(bankabcParams).then(response => { | 191 | bankH5Pay(bankabcParams).then(response => { |
@@ -292,7 +297,8 @@ export default { | @@ -292,7 +297,8 @@ export default { | ||
292 | wxParams.paySrcType = this.paySrcType;//101停车支付 | 297 | wxParams.paySrcType = this.paySrcType;//101停车支付 |
293 | wxParams.recordArreaInfos = JSON.stringify(orderIdData); | 298 | wxParams.recordArreaInfos = JSON.stringify(orderIdData); |
294 | wxParams.openId = openIdData; | 299 | wxParams.openId = openIdData; |
295 | - wxParams.backDeveloperCode = this.backDeveloperCode | 300 | + wxParams.backDeveloperCode = this.tollNumber |
301 | + wxParams.ticketChargeCode = ticketChargeCode | ||
296 | wxParams.appId = this.$utils.myVxAppId; | 302 | wxParams.appId = this.$utils.myVxAppId; |
297 | vxPayQuery(wxParams).then(res => { | 303 | vxPayQuery(wxParams).then(res => { |
298 | if (res.code == 0) { // | 304 | if (res.code == 0) { // |
src/components/plateNumber.vue
@@ -259,14 +259,14 @@ | @@ -259,14 +259,14 @@ | ||
259 | </div> | 259 | </div> |
260 | 260 | ||
261 | 261 | ||
262 | - <modal-alert ref="alert"> | ||
263 | - <div class="trave-tip-content txt-l" slot="content"> | ||
264 | - <div class="confirm-text"> | ||
265 | - <p>请输入正确的车牌号</p> | ||
266 | - </div> | ||
267 | - </div> | ||
268 | - <span slot="button">知道了</span> | ||
269 | - </modal-alert> | 262 | + <!--<modal-alert ref="alert">--> |
263 | + <!--<div class="trave-tip-content txt-l" slot="content">--> | ||
264 | + <!--<div class="confirm-text">--> | ||
265 | + <!--<p>请输入正确的车牌号</p>--> | ||
266 | + <!--</div>--> | ||
267 | + <!--</div>--> | ||
268 | + <!--<span slot="button">知道了</span>--> | ||
269 | + <!--</modal-alert>--> | ||
270 | </div> | 270 | </div> |
271 | </template> | 271 | </template> |
272 | <script> | 272 | <script> |
@@ -423,7 +423,10 @@ export default { | @@ -423,7 +423,10 @@ export default { | ||
423 | plateLicense = this.plate_license_1 | 423 | plateLicense = this.plate_license_1 |
424 | plateLicense = this.palindrome(plateLicense) | 424 | plateLicense = this.palindrome(plateLicense) |
425 | if (plateLicense.length < 7) { | 425 | if (plateLicense.length < 7) { |
426 | - this.$refs.alert.open() | 426 | + this.$msgbox({ |
427 | + title: '提示', | ||
428 | + message: '请输入正确的车牌号', | ||
429 | + }) | ||
427 | return | 430 | return |
428 | } | 431 | } |
429 | } | 432 | } |
@@ -431,7 +434,10 @@ export default { | @@ -431,7 +434,10 @@ export default { | ||
431 | plateLicense = this.plate_license_2 | 434 | plateLicense = this.plate_license_2 |
432 | plateLicense = this.palindrome(plateLicense) | 435 | plateLicense = this.palindrome(plateLicense) |
433 | if (plateLicense.length < 8) { | 436 | if (plateLicense.length < 8) { |
434 | - this.$refs.alert.open() | 437 | + this.$msgbox({ |
438 | + title: '提示', | ||
439 | + message: '请输入正确的车牌号', | ||
440 | + }) | ||
435 | return | 441 | return |
436 | } | 442 | } |
437 | } | 443 | } |