Commit 4cc8ccf9eae245944ef859b2950dc84ad8f13b9d

Authored by 刘淇
1 parent 12335653

房山 临牌

dist 2.zip 0 → 100644
No preview for this file type
dist 3.zip 0 → 100644
No preview for this file type
dist 4.zip 0 → 100644
No preview for this file type
dist.zip 0 → 100644
No preview for this file type
src/components/plateNumber.vue
... ... @@ -8,7 +8,9 @@
8 8 </p>
9 9  
10 10 <div v-if="formData.commonCard == '3'">
11   - <input type="text" class="iphone-box" v-model="carNum" maxlength="8">
  11 + <input type="text" class="iphone-box" v-model="carNum" maxlength="8"
  12 + @input="carNum = carNum.toUpperCase()"
  13 + >
12 14 </div>
13 15  
14 16 <div class="num-box" v-else>
... ... @@ -209,7 +211,8 @@ export default {
209 211 };
210 212  
211 213 noCarQRcodeInOutPark(apiParams).then(res => {
212   - if (res.code === 0 && res.data) {
  214 + console.log(res)
  215 + if (res.code == 0 && res.data) {
213 216 // URL参数查询到费用 → 跳支付页
214 217 sessionStorage.setItem('tmpObjCookie', JSON.stringify(res.data));
215 218 this.$router.push({ path: "pay" });
... ... @@ -253,7 +256,7 @@ export default {
253 256  
254 257 noCarQRcodeInOutPark(apiParams).then(res => {
255 258 this.loading = false;
256   - if (res.code === 0 && res.data) {
  259 + if (res.code == 0 && res.data) {
257 260 // 缓存车牌查询到费用 → 跳支付页
258 261 sessionStorage.setItem('tmpObjCookie', JSON.stringify(res.data));
259 262 this.$router.push({ path: "pay" });
... ... @@ -315,7 +318,7 @@ export default {
315 318  
316 319 noCarQRcodeInOutPark(apiParams).then(res => {
317 320 this.loading = false;
318   - if (res.code === 0 && res.data) {
  321 + if (res.code == 0 && res.data) {
319 322 // 手动输入查询到费用 → 跳支付页
320 323 sessionStorage.setItem('tmpObjCookie', JSON.stringify(res.data));
321 324 this.$router.push({ path: "pay" });
... ...