Browse Source

修改bug

chenrui 7 tháng trước cách đây
mục cha
commit
182887fc53
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      src/views/salesManagement/receiptPrint/list.vue

+ 1 - 2
src/views/salesManagement/receiptPrint/list.vue

@@ -368,7 +368,6 @@ export default {
         }
         auditInfo = await getProcessInstance({ 'businessType': 'FINANCE_BOOK', 'businessSn': list.bookSn }).then(res => (res.data[0] && res.data[0].opinionList) ? res.data[0].opinionList : [])
       }
-      console.log(auditInfo)
       this.spinning = true
       this.showTipModal = true
       let detailItemUseStr = ''
@@ -382,7 +381,7 @@ export default {
           detailPayUseStr = this.getUseDetailInfo(row.detailItemPayList)
         }
         // 审核信息
-        const auditStr = auditInfo ? this.getAuditInfo(auditInfo[list.bookSn]) : ''
+        const auditStr = auditInfo ? this.getAuditInfo(auditInfo) : ''
         this.$refs.printModel.getData(type ? row : [{ audit: auditStr, detail: detailItemUseStr, payDetail: detailPayUseStr, subList: [row] }], type ? list : [list])
       })
     },