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