瀏覽代碼

feat(KIP-10673): C端 | HKC 临时停车交互优化

lock.qiu@kerryprops.com 1 年之前
父節點
當前提交
2203b66c55
共有 2 個文件被更改,包括 4 次插入2 次删除
  1. 1 0
      src/components/plate-number/plateNumber.vue
  2. 3 2
      src/pages/parkingFee/mixins/parkingFee.js

+ 1 - 0
src/components/plate-number/plateNumber.vue

@@ -429,6 +429,7 @@ export default {
       this.activeIndex = val;
     },
     numArr(val) {
+      console.log(432, val);
       this.carnoArr = val;
     },
   },

+ 3 - 2
src/pages/parkingFee/mixins/parkingFee.js

@@ -200,7 +200,7 @@ export default {
     async getVehiclesINTMP() {
       const res = await getVehicles(this.kipUserId)
       this.licensePlateList = this.setLicensePlateList(res.content);
-      if (this.licensePlateList.length > 0 && this.mallId == "8a84853b7c91ac5b017c961a9b2a030d1") {
+      if (this.licensePlateList.length > 0 && this.mallId == "8a84853b7c91ac5b017c961a9b2a030d") {
         console.log('this.licensePlateList::', this.licensePlateList, this.licensePlateList[this.licensePlateList.length - 1])
         this.numArr[0] = this.licensePlateList[this.licensePlateList.length - 1].charAt(0)
         this.numArr[1] = this.licensePlateList[this.licensePlateList.length - 1].charAt(1)
@@ -211,11 +211,12 @@ export default {
       if (this.licensePlateList[this.licensePlateList.length - 1].charAt(6)) {
         this.numArr[6] = this.licensePlateList[this.licensePlateList.length - 1].charAt(6)
       }
-      this.disabledBtn = false
+      // this.disabledBtn = false
       } else if (this.licensePlateList.length === 0 && this.mallId == "8a84853b7c91ac5b017c961a9b2a030d") {
         this.numArr[0] = '浙'
         this.numArr[1] = 'A'
       }
+      console.log(219, this.numArr);
     },
     setLicensePlateList (arr) {
       var array = []