Explorar el Código

Merge pull request #16 from tron/lock/Microservices/inovice

Lock/microservices/inovice
John-Hong hace 2 años
padre
commit
fc2b9b89dc

+ 13 - 4
src/api/parking/index.js

@@ -80,17 +80,17 @@ export function unlicensedCarCheckIn(params) {
 
 // 未开票列表
 export function invoicesNotapplied(params) {
-  return window.requestms.get(`/invoices/not-applied`, params, { loading: true });
+  return window.requestms.get(`/invoices/not-applied`, { params, loading: true });
 }
 
 // 已开票列表
 export function invoicesCompleted(params) {
-  return window.requestms.get(`/invoices/completed`, params, { loading: true });
+  return window.requestms.get(`/invoices/completed`,  { params, loading: true });
 }
 
 // 开票详情
 export function invoicesDeatil(id) {
-  return window.requestms.get(`/invoices${id}`, { loading: true });
+  return window.requestms.get(`/invoices/${id}`, { loading: true });
 }
 
 // 发票关联的订单支付详情
@@ -129,9 +129,18 @@ export function invoicesAgainSandEmail(invoiceId) {
 // 提交发票申请
 
 export function submitInvoice(params) {
-  return window.requestms.post(`/invoices`,params, { loading: true });
+  return window.requestms.post(`/invoices/`,params, { loading: true });
+
+}
+// 查询会员默认邮箱信息
+
+export function invoiceEmails() {
+  return window.requestms.get(`/invoice-emails/current-user-default-email`, { loading: true });
 
 }
+
+
+
 // 1.19 无牌车出场
 /**
  * 

+ 1 - 1
src/api/request.js

@@ -109,7 +109,7 @@ function XUser(config) {
     phoneNumber: store.state.mobile, // 终端用户ID, 微信端传openId, 支付宝小程序传阿里userId, APP传KIP的userId
     // projectId: 'paroject1',
     projectId: store.state.projectId || '4028e3817c2b3f79017c2b48c54c0000', // 楼盘id
-    // buildingId: 'shenyang01',
+    // buildingId: 'QHKC-P1',
     // buildingId: window.localStorage.getItem('buildingId'),
     brandId: store.state.groupId,
     // brandId: '8aaa81947c6e1ca0017c73c13cc30006',

+ 2 - 2
src/pages/parkingFee/components/base/parkingReceipt/parkingApplication.vue

@@ -22,7 +22,7 @@
             />
           </div>
           <div v-if="headerInfo.invoiceTitleType == 'COMPANY'" class="duty-paragraph">
-            税号:{{ headerInfo.corporationTax }}
+            税号:{{ headerInfo.taxNo }}
           </div>
         </div>
         <div class="invoice-header-info" v-else>
@@ -137,7 +137,7 @@
           </div>
         </div>
         <div class="part-item default-email top" @click="changeDefaultEMail">
-          <van-checkbox v-model="isDefaultEMail" icon-size="30PX"
+          <van-checkbox v-model="condition.emailAsDefault" icon-size="30PX"
                         checked-color="#ed1c24"
             ><span class="text">保存电子邮箱为默认邮箱</span></van-checkbox
           >

+ 8 - 8
src/pages/parkingFee/components/base/parkingReceipt/parkingInvoice.vue

@@ -6,13 +6,13 @@
         <div class="part-item lines header">
           <span class="part-item-key">抬头</span>
           <div class="part-item-value" @click="showHeader">
-            {{ order.invoiceTitleName }}
+            {{ order.invoiceTitle.titleName }}
             <img class="invoice-header-arrow" :src="arrowIcon" mode="widthFix" />
           </div>
         </div>
         <div class="part-item">
           <span class="part-item-key">开票订单号</span>
-          <span class="part-item-value">{{ order.orderno }}</span>
+          <span class="part-item-value">{{ order.invoiceOrderNo }}</span>
         </div>
         <div class="part-item">
           <span class="part-item-key">发票类型</span>
@@ -21,13 +21,13 @@
         <div class="part-item">
           <span class="part-item-key">开票日期</span>
           <span class="part-item-value">{{
-              order.paperDrewDate ? order.paperDrewDate : '-'
+              order.invoiceTime ? order.invoiceTime : '-'
             }}</span>
         </div>
         <div class="part-item">
           <span class="part-item-key">发票号码</span>
           <span class="part-item-value">{{
-              order.invoiceno ? order.invoiceno : '-'
+              order.invoiceNumber ? order.invoiceNumber : '-'
             }}</span>
         </div>
         <div class="part-item">
@@ -45,14 +45,14 @@
         <div class="part-item">
           <span class="part-item-key">总金额</span>
           <span class="part-item-value"
-          ><span class="purple">{{ order.invoiceAmount / 100 }}</span
+          ><span class="purple">{{ order.invoiceAmount }}</span
           >元</span
           >
         </div>
         <div class="part-item">
-        <span class="part-item-key"
-        >共<span class="purple">{{ order.payNumber }}笔</span>缴费记录</span
-        >
+        <!-- <span class="part-item-key"
+        >共<span class="purple">{{ order.invoiceItem.length }}笔</span>缴费记录</span
+        > -->
           <div class="part-item-value" @click="gotoRecordDetail">
             <span>查看详情</span>
             <img class="invoice-header-arrow" :src="arrowIcon" mode="widthFix" />

+ 2 - 2
src/pages/parkingFee/components/base/parkingReceipt/parkingInvoiceImage.vue

@@ -5,7 +5,7 @@
     <div class="part">
       <div class="part-item lines">
         <span class="part-item-key">电子邮箱</span>
-        <span class="part-item-value">{{ order.mailbox }}</span>
+        <span class="part-item-value">{{ res.email }}</span>
       </div>
       <div class="invoice-img" v-if="order.invoiceUrl">
         <!-- <image class="img" :src="picUrl + order.invoiceImgUrl" mode="widthFix"></image>
@@ -24,7 +24,7 @@
           'blue-push-again-btn': custTypeId === 1,
           'green-push-again-btn': custTypeId === 2,
         }"
-        @click="pushAgain(order.invoiceUrl)"
+        @click="pushAgain(res.id)"
       >再次推送</div
       >
     </div>

+ 9 - 6
src/pages/parkingFee/components/base/parkingReceipt/parkingReceipt.vue

@@ -160,13 +160,13 @@
                 >{{ item.orderNo }}-{{ item.vehicleNo }}
                 </div
                 >
-                <div v-else>{{ item.invoiceTitleName }}的停车发票</div>
+                <div v-else>{{ item.invoiceHeader }}</div>
                 <div v-if="tabIndex == 1" style="color: #ed1c24"
                 >¥{{item.totalPaidAmount}}
                 </div
                 >
                 <div v-else style="color: #ed1c24"
-                >¥{{item.totalPaidAmount}}
+                >¥{{item.invoiceTotalAmount}}
                 </div
                 >
               </div>
@@ -211,10 +211,10 @@
                   {{ item.createTime ? item.createTime : '-' }}
                 </div
                 >
-                <!-- 0:已提交申请(待开票) 1:开票中  2:开票完成 3:开票失败 -->
+                <!-- 0:已提交申请(待开票) 1:开票中  2:开票完成 3:开票失败  COMPLETE-->
                 <div
                   class="choice_card_status"
-                  v-if="item.status === 2"
+                  v-if="item.status === 'SUBMITTED'"
                   style="color: #8cc63f"
                 >
                   开票完成
@@ -226,7 +226,7 @@
                 </div>
                 <div
                   class="choice_card_status"
-                  v-else-if="item.status === 3"
+                  v-else-if="item.status === 'FAILED'"
                   style="color: #ed1c24" @click.stop
                 >
                   <div>开票失败</div>
@@ -239,7 +239,10 @@
                     style="height: 40px"
                   ></img> -->
                 </div>
-                <div class="choice_card_status" v-else style="color: #f7931e">
+                <div 
+                class="choice_card_status" 
+                v-else
+                style="color: #f7931e">
                   开票中
                   <img
                     class="arrow"

+ 2 - 2
src/pages/parkingFee/components/officeBlue/parkingFeeCoupon.vue

@@ -35,7 +35,7 @@
           </div>
         </van-checkbox-group>
         <!-- 为避免冲突,小程序 和 H5 跳转 CRM小程序:积分商城 的逻辑分开处理 -->
-        <div :class="['guide-box', 'mgb-110', !couponList?.length && 'flex-bottom']" v-if="platform === 'miniprogram'">
+        <div :class="['guide-box', 'mgb-110', !couponList.length && 'flex-bottom']" v-if="platform === 'miniprogram'">
           <div class="guide-title">优惠券兑换指导</div>
           <div class="guide-desc" @click="navigateToMiniProgram">
             停车优惠券可直接使用,若您还没有兑换或继续兑换,可前往
@@ -43,7 +43,7 @@
             进行兑换
           </div>
         </div>
-        <div :class="['guide-box', 'mgb-110', !couponList?.length && 'flex-bottom']" v-if="platform === 'micromessenger'">
+        <div :class="['guide-box', 'mgb-110', !couponList.length && 'flex-bottom']" v-if="platform === 'micromessenger'">
           <div class="guide-title">优惠券兑换指导</div>
           <div class="guide-desc">
             停车优惠券可直接使用,若您还没有兑换或继续兑换,可前往

+ 31 - 4
src/pages/parkingFee/mixins/parkingReceipt/parkingApplication.js

@@ -7,7 +7,7 @@ import { mapState } from 'vuex';
 import uni from '@/utils/uniHooks';
 import { getUrlParams } from '@/utils/index.js';
 import { Dialog, Toast } from 'vant';
-import { invoicesDetail, submitInvoice } from '@/api/parking';
+import { invoicesDetail, submitInvoice, invoiceEmails } from '@/api/parking';
 
 export default {
   data() {
@@ -26,7 +26,7 @@ export default {
         // invoiceCategory: 0, // 发票类型 0:停车缴费  1:活动
         invoiceType: 'GVAT', // 发票类型:gvat-增值税普通发票svat-增值税专⽤发票gvate-增值税电⼦普票发票svate-增值税电⼦专⽤发票
         remark: '',
-        invoiceTitle: [], // long|发票抬头id
+        invoiceTitle: {}, // long|发票抬头id
         parkOrderList: [], // 被选中的缴费记录id
         email: '',
         emailAsDefault: true
@@ -42,7 +42,7 @@ export default {
       orderQuantity: 0,
       parkingOrder: null,
       pagesize: 10,
-      page: 1,
+      page: 0,
       parkingDetailList: []
     };
   },
@@ -64,6 +64,7 @@ export default {
         title: '发票申请',
       });
     }, 300);
+    this.getEmail()
     // console.clear();
     const query = getUrlParams();
     // console.log('是否重新回到改页面', this.pageOptions);
@@ -108,6 +109,7 @@ export default {
       if (options.header) {
         if (typeof options.header == 'string') {
           this.headerInfo = JSON.parse(options.header);
+          console.log('this.headerInfo:::', this.headerInfo)
         } else if (typeof options.header == 'object') {
           this.headerInfo = options.header;
         }
@@ -128,6 +130,31 @@ export default {
     }),
   },
   methods: {
+    getInvoicesOrders: async function () {
+      try {
+        const res = await invoicesOrders()
+        
+        console.log('1.28 查看发票关联的订单支付详情::::', res)
+      } catch {
+        uni.showToast({
+          title: '服务器开小差了呢,请您稍后再试',
+          icon: 'none',
+        });
+      }
+    },
+    getEmail: async function () {
+      try {
+        const res = await invoiceEmails()
+        this.condition.email = res.email
+        this.condition.emailAsDefault = res.emailAsDefault
+        console.log('邮箱::::', res)
+      } catch {
+        uni.showToast({
+          title: '服务器开小差了呢,请您稍后再试',
+          icon: 'none',
+        });
+      }
+    },
     changeShowMore() {
       this.isShow = !this.isShow;
     },
@@ -356,7 +383,7 @@ export default {
       });
 
       
-      params.invoiceTitle = [{id: this.headerInfo.id}]
+      params.invoiceTitle.id = this.headerInfo.id
       params.totalAmount = Number(this.invoiceAmount)
       console.log('params.parkOrderList::', params)
   // params.openid = this.openid;

+ 7 - 3
src/pages/parkingFee/mixins/parkingReceipt/parkingChangeHeader.js

@@ -62,9 +62,9 @@ export default {
     if (options.type == 'edit') {
       this.condition = JSON.parse(this.$route.query.item)
     }
-    console.log(this.globalData);
+    console.log('this.condition::::', this.condition, this.globalData, this.$route.query.id);
     if (options.type) this.type = options.type;
-    if (options.id) (this.id = options.id), this.getInvoiceTitleById();
+    // if (options.id) (this.id = options.id), this.getInvoiceTitleById();
     // 埋点本地化
     this.preUrl = uni.getStorageSync('previousUrl');
     uni.setStorageSync(
@@ -101,7 +101,7 @@ export default {
       //   id: this.id,
       // };
         try {
-          const res = await invoicesEdittitles(this.id)
+          const res = await invoicesEdittitles(this.$route.query.id)
           if (res.content.length > 0 ) {
             console.log('res:::', res)
             self.condition = res.data.data;
@@ -150,6 +150,7 @@ export default {
       let res = null
       try {
         if (this.type === 'add') {
+          
           res = await invoicesNewtitles(this.condition)
           if (res) {
             this.$router.back();
@@ -157,6 +158,9 @@ export default {
   
         } else if (this.type === 'edit') {
           res = await invoicesEdittitles(this.condition, this.$route.query.id)
+          if (res) {
+            this.$router.back();
+          }
         }
       } catch {
         uni.showToast({

+ 1 - 1
src/pages/parkingFee/mixins/parkingReceipt/parkingChooseHeader.js

@@ -20,7 +20,7 @@ export default {
       list: [],
       preUrl: '',
       pagesize: 10,
-      page: 1,
+      page: 0,
     };
   },
   created() {

+ 48 - 6
src/pages/parkingFee/mixins/parkingReceipt/parkingInvoice.js

@@ -11,7 +11,9 @@ export default {
       picUrl: this.$picUrl,
       arrowIcon: arrowIcon,
       downloadBtnIcon: downloadBtnIcon,
-      order: {},
+      order: {
+        
+    },
       webviewStyles: {
         progress: {
           color: '#FF3333',
@@ -30,6 +32,7 @@ export default {
         title: '发票详情',
       });
     }, 300);
+      // const res = await invoicesDeatil(id)
     this.getInvoicedDetail(this.id);
   },
   computed: {
@@ -42,12 +45,48 @@ export default {
     getInvoicedDetail: async function (id) {
       //
       // console.log('根据发票id获取发票详情信息(含发票抬头信息),', id);
-      const self = this;
-      self.$md(data);
+      // const self = this;
+      // self.$md(data);
       try {
-        const res = await invoicesNotapplied(id)
-        if (res.data.code === 0) {
-          self.order = res.data.data;
+        const res = await invoicesDeatil(id)
+      //   res = {
+      //     id: 1219562352,
+      //     invoiceOrderNo: "INVyedUsFwdkelQbxeTeQOvaScfqIOOmaa",
+      //     pdfUrl: "https://232.pdf",
+      //     invoiceType: "增值税普通发票",
+      //     invoiceNumber: "UMaAIKKIkknjWEXJUfPxxQHeWKEJ",
+      //     invoiceCode: "43253254324",
+      //     invoiceTotalAmount: 0.72,
+      //     email: "LlN@qq.com",
+      //     remark: "gNfZBdyFGRajVfJNonEnOinZj",
+      //     invoiceTitleId: 1188957731,
+      //     invoiceTime: "20220228",
+      //     invoiceTitle: {
+      //         "id": 1018954901,
+      //         "titleName": "QvBQYuxiXXVytGCxzVllpgTJKhRQq",
+      //         "companyAddress": "上海浦东"
+      //     },
+      //     invoiceItem: [
+      //         {
+      //             "id": 1295249578,
+      //             "invoiceItemNo": "SY32342432043250-辽A8889",
+      //             "invoiceAmount": 0.99,
+      //             "parkName": "沈阳家里停车场",
+      //             "enterTime": "2026-02-13 16:23:01",
+      //             "parkTotalTime": 39088943
+      //         },
+      //         {
+      //             "id": 12952495798,
+      //             "invoiceItemNo": "SY32342432043250-辽A8889",
+      //             "invoiceAmount": 0.99,
+      //             "parkName": "沈阳家里停车场",
+      //             "enterTime": "2026-02-13 16:23:01",
+      //             "parkTotalTime": 39088943
+      //         }
+      //     ]
+      // }
+        if (res) {
+          self.order = res;
         } else {
           uni.showToast({
             title: res.data.msg,
@@ -94,6 +133,9 @@ export default {
     gotoRecordDetail() {
       this.$router.push({
         path: 'parkingOrderDetail?id=' + this.order.id,
+        query: {
+          order: JSON.stringify(this.order)
+        }
       });
     },
     showInvoiceDetail() {

+ 69 - 85
src/pages/parkingFee/mixins/parkingReceipt/parkingInvoiceImage.js

@@ -3,7 +3,7 @@ const app = {};
 import downloadBtnIcon from '../../static/images/download.png';
 import { mapState } from 'vuex';
 import uni from '@/utils/uniHooks';
-import { invoicesAgainSandEmail } from '@/api/parking';
+import { invoicesAgainSandEmail, invoiceEmails } from '@/api/parking';
 
 export default {
   data() {
@@ -14,6 +14,7 @@ export default {
       setTime: 60,
       timer: null,
       order: {},
+      res: {},
       preUrl: '',
     };
   },
@@ -22,13 +23,7 @@ export default {
     // this.order = {
     //   mailbox: '1212'
     // }
-    console.log('获取的发票信息', this.order);
-    // 埋点本地化
-    this.preUrl = uni.getStorageSync('previousUrl');
-    uni.setStorageSync(
-      'previousUrl',
-      '/pages/parkingFee/parkingReceipt/parkingInvoiceImage.vue'
-    );
+    this.getEmail()
   },
   mounted() {
     setTimeout(() => {
@@ -49,99 +44,88 @@ export default {
     }),
   },
   methods: {
-    downloadOrder(url) {
-      uni.downloadFile({
-        url: url,
-        success: function (res) {
-          console.log('下载文档成功');
-          var filePath = res.tempFilePath;
-          uni.openDocument({
-            filePath: filePath,
-            success: function (res) {
-              console.log('打开文档成功');
-            },
-          });
-        },
-      });
-    },
-    pushAgain: async function (url) {
-      const self = this;
-      if (self.setTime >= 0 && self.timer) {
+    getEmail: async function () {
+      try {
+        const res = await invoiceEmails() 
+        this.res = res
+      } catch {
         uni.showToast({
-          title: '邮件已发送,请于1分钟后再试',
+          title: '未请求到邮箱信息',
           icon: 'none',
         });
-        return false;
       }
-      if (self.timer && self.setTime < 0) {
-        clearTimeout(self.timer);
-        self.timer = null;
-      }
-      self.timer = setTimeout(() => {
-        self.setTime--;
-      }, 1000);
-      const data = {
-        attachments: [
-          {
-            name: '嘉里停车发票.pdf',
-            invoiceId: self.order.id,
-            url: url,
-          },
-        ],
-        html: true,
-        sendTo: 'string',
-        sendTos: [self.order.mailbox],
-        subject: self.order.invoiceTitleName + '的电子发票',
-        text: '停车发票',
-      };
-      self.$md(data);
+    },
+    pushAgain: async function (id) {
+      const self = this;
+      // if (self.setTime >= 0 && self.timer) {
+      //   uni.showToast({
+      //     title: '邮件已发送,请于1分钟后再试',
+      //     icon: 'none',
+      //   });
+      //   return false;
+      // }
+      // if (self.timer && self.setTime < 0) {
+      //   clearTimeout(self.timer);
+      //   self.timer = null;
+      // }
+      // self.timer = setTimeout(() => {
+      //   self.setTime--;
+      // }, 1000);
+      // const data = {
+      //   attachments: [
+      //     {
+      //       name: '嘉里停车发票.pdf',
+      //       invoiceId: self.order.id,
+      //       url: url,
+      //     },
+      //   ],
+      //   html: true,
+      //   sendTo: 'string',
+      //   sendTos: [self.order.mailbox],
+      //   subject: self.order.invoiceTitleName + '的电子发票',
+      //   text: '停车发票',
+      // };
+      // self.$md(data);
       try {
         const res = await invoicesAgainSandEmail(id)
-        if (res) {
           uni.showToast({
             title: '邮件已发送邮箱,请注意查收',
             icon: 'none',
+            duration: 2000
           });
-        } else {
-          uni.showToast({
-            title: res.data.msg,
-            duration: 2000,
-            icon: 'none',
-          });
-        }
       } catch {
         uni.showToast({
           title: '服务器开小差了呢,请您稍后再试',
           icon: 'none',
         });
       }
-      uni.request({
-        url: self.$baseURL + 'sms/email',
-        method: 'POST',
-        data: data,
-        header: JSON.parse(uni.getStorageSync('handleUser')),
-        success: (res) => {
-          console.log('推送', res.data);
-          if (res.data.code === 0) {
-            uni.showToast({
-              title: '邮件已发送邮箱,请注意查收',
-              icon: 'none',
-            });
-          } else {
-            uni.showToast({
-              title: res.data.msg,
-              duration: 2000,
-              icon: 'none',
-            });
-          }
-        },
-        fail: () => {
-          uni.showToast({
-            title: '服务器开小差了呢,请您稍后再试',
-            icon: 'none',
-          });
-        },
-      });
+      // uni.request({
+      //   url: self.$baseURL + 'sms/email',
+      //   method: 'POST',
+      //   data: data,
+      //   header: JSON.parse(uni.getStorageSync('handleUser')),
+      //   success: (res) => {
+      //     console.log('推送', res.data);
+      //     if (res.data.code === 0) {
+      //       uni.showToast({
+      //         title: '邮件已发送邮箱,请注意查收',
+      //         icon: 'none',
+      //       });
+      //     } else {
+      //       uni.showToast({
+      //         title: res.data.msg,
+      //         duration: 2000,
+      //         icon: 'none',
+      //       });
+      //     }
+      //   },
+      //   fail: () => {
+      //     uni.showToast({
+      //       title: '服务器开小差了呢,请您稍后再试',
+      //       icon: 'none',
+      //     });
+      //   },
+      // });
     },
   },
 };

+ 58 - 3
src/pages/parkingFee/mixins/parkingReceipt/parkingReceipt.js

@@ -29,7 +29,7 @@ export default {
       isLoadMore: false,
       loadStatus: 'loading',
       pagesize: 10,
-      page: 1,
+      page: 0,
       current: -1,
       isCheckAll: 0,
       ids: [],
@@ -111,12 +111,12 @@ export default {
       this.current = -1;
       this.ids = [];
       this.totalNum = 0.00;
-      this.page = 1;
+      this.page = 0;
       this.list = [];
       this.getInvoiceList();
     },
     goToDeatil(item) {
-      if (this.tabIndex === 2 && item.status === 2) {
+      if (this.tabIndex === 2 || item.status === 'COMPLETE') {
         this.$router.push({
           path: 'parkingInvoice?id=' + item.id,
         });
@@ -184,6 +184,61 @@ export default {
           res = await invoicesNotapplied(params)
         } else {
           res = await invoicesCompleted(params)
+        //   res = {
+        //     content: [      
+        //         {
+        //             id: 2,
+        //             titleName: "XX科技公司",
+        //             taxNo: "yedUsFwdWbxeTeQOv",
+        //             defaultOrNot: true,
+        //             companyAddress: "上海静安",
+        //             companyTel: "02189878983",
+        //             depositBank: "招商银行",
+        //             depositAccount: "43499892879472445",
+        //             invoiceTitleType: "COMPANY",
+        //             status: 2,
+        //             invoiceTotalAmount:0.4
+        //         },
+        //         {
+        //             id: 1,
+        //             titleName: "XX科技公司",
+        //             taxNo: "yedUsFwdkelQ",
+        //             defaultOrNot: true,
+        //             companyAddress: "上海静安",
+        //             companyTel: "02189878983",
+        //             depositBank: "招商银行",
+        //             depositAccount: "43499892879472445",
+        //             invoiceTitleType: "COMPANY",
+        //             status: 2,
+        //             invoiceTotalAmount: 10.00
+        //         }
+        //     ],
+        //     "pageable": {
+        //         "sort": {
+        //             "unsorted": false,
+        //             "sorted": true,
+        //             "empty": false
+        //         },
+        //         "pageNumber": 0,
+        //         "pageSize": 4,
+        //         "offset": 0,
+        //         "unpaged": false,
+        //         "paged": true
+        //     },
+        //     "last": true,
+        //     "totalPages": 1,
+        //     "totalElements": 3,
+        //     "first": true,
+        //     "sort": {
+        //         "unsorted": false,
+        //         "sorted": true,
+        //         "empty": false
+        //     },
+        //     "number": 0,
+        //     "numberOfElements": 3,
+        //     "size": 4,
+        //     "empty": false
+        // }
         }
           console.log('99', res)
           if (res) {

+ 1 - 0
src/pages/parkingFee/mixins/vehicleAddOrEdit.js

@@ -175,6 +175,7 @@ export default {
             uni.hideLoading();
             if (result && result.code == '000000') {
               if (result.data) {
+                console.log(22);
                 Toast({
                   message: '修改车牌成功',
                   onClose: () => {