Browse Source

解决冲突

zhongtianhaoyuan 3 năm trước cách đây
mục cha
commit
522d994ed2

+ 3 - 2
src/model/houseSelfCollect/index.js

@@ -43,7 +43,8 @@ import {
   API_GET_CUSTOMER_CODEJY,
   API_GET_INSPECT_GETDRYGRAINPRICE,
   API_GET_INSPECT_GETJURISDICTION,
-  API_POST_INVOICING
+  API_POST_INVOICING,
+  API_GET_INVOICING
 } from '@/api/V2/houseSelfCollect'
 //客户管理列表
 export const getCustomerManage = appRx.get(API_GET_CUSTOMER_MANAGE, errorCatcher, errorHandle, filter)
@@ -133,4 +134,4 @@ export const getJurisdiction  = appRx.get(API_GET_INSPECT_GETJURISDICTION, error
 // export const invoicing  = appRx.get(API_GET_INVOICING, errorCatcher, errorHandle, filter)
 //财务开票post
 export const invoicing  = appRx.post(API_GET_INVOICING, errorCatcher, errorHandle, filter)
-
+                                     API_GET_INVOICING

+ 1 - 1
src/views/houseSelfCollect/paymentManagement.vue

@@ -370,7 +370,7 @@ export default {
          ]
         this.invoicingImgList = response.data.imgList
         if(response.data.imgList.length>0){
-          for(let i = 0;i<response.data.imgList;i++){
+          for(let i = 0;i<response.data.imgList.length;i++){
           //创建标签下载文件
             let a = document.createElement('a');
             a.href = response.data.imgList[i].src;