diff --git a/src/components/parkRecord.vue b/src/components/parkRecord.vue index fda0e78..66be8ad 100644 --- a/src/components/parkRecord.vue +++ b/src/components/parkRecord.vue @@ -17,7 +17,7 @@

您为会员卡车辆无需缴费,请直接离场。

-
+
  • {{i.carNumber}}
  • 本次费用
  • @@ -48,59 +48,60 @@
    +
    +
    +

    总欠费金额: + ¥{{(allMoney/100).toFixed(2)}} +

    + +
    +
      +
    • {{i.carNumber}}
    • +
    • 欠费
    • +
    + +
    +

    车辆类型:临停车

    + +

    车场名称:{{i.parkName}} +

    +

    进场时间:{{i.parkInTime}} +

    +

    出场时间:{{i.parkOutTime}} +

    +

    停车时长:{{ $utils.dateFormat(i.parkDuration)}}

    +
    +

    ¥{{(i.unPayFee/100).toFixed(2)}}

    +
    -
    -

    总欠费金额: - ¥{{(allMoney/100).toFixed(2)}} -

    - -
    -
      -
    • {{i.carNumber}}
    • -
    • 欠费
    • -
    - -
    -

    车辆类型:临停车

    - -

    车场名称:{{i.parkName}} -

    -

    进场时间:{{i.parkInTime}} -

    -

    出场时间:{{i.parkOutTime}} -

    -

    停车时长:{{ $utils.dateFormat(i.parkDuration)}}

    -
    -

    ¥{{(i.unPayFee/100).toFixed(2)}}

    -
    -
    -
    +
    - @@ -162,20 +163,7 @@ export default { methods: { parkRecordList(){ var salt = this.$utils.myCommonSalt(32); - // var sortd = [ - // { keyname: 'app_id', value: this.$utils.myVarAppid }, - // { keyname: 'deviceInfo', value: this.$utils.myDeviceInfo }, - // { keyname: 'salt', value: salt }, - // { keyname: 'sign_type', value: 'md5' }, - // { keyname: 'pageNum', value: 1 }, - // { keyname: 'pageSize', value: 1000 }, - // { keyname: 'parkState', value: 10 }, - // { keyname: 'terminalSource', value: 7 }, - // { keyname: 'carNumber', value: this.carNumber }, - // { keyname: 'orgId', value: this.$utils.myOrgId }, - // - // ]; - // var md5sign = this.$utils.myGetSign(sortd); + var jsondata = { app_id: this.$utils.myVarAppid, deviceInfo: this.$utils.myDeviceInfo, @@ -199,10 +187,12 @@ export default { console.log(response) this.parkList = response.data.dataList - this.parkingData = this.parkList.filter(item => { return item.parkState == '10' }) + if(this.parkingData.length>0){ + this.currentTabActive = 0 + } console.log(this.parkingData) this.historyList = this.parkList.filter(item => { return item.parkState == '20' @@ -272,23 +262,6 @@ export default { var list = "[" + this.orderIds + "]" - // var orderlist = this.orderIds - // var codes = "[" + fun.parkCodes + "]" - // - // var sortd = [ - // - // { keyname: 'app_id', value: this.$utils.myVarAppid }, - // { keyname: 'deviceInfo', value: this.$utils.myDeviceInfo }, - // { keyname: 'salt', value: salt }, - // { keyname: 'sign_type', value: 'md5' }, - // { keyname: 'orderIds', value: list }, - // { keyname: 'terminalSource', value: 7 }, - // { keyname: 'orgId', value: this.$utils.myOrgId }, - // { keyname: 'payType', value:4 }, - // { keyname: 'appId', value: this.$utils.myVxAppId } - // - // ]; - // var md5sign = this.$utils.myGetSign(sortd); var jsondata = { app_id: this.$utils.myVarAppid,