From 519c091d6101012fc8ba9e715b671919fc3e46be Mon Sep 17 00:00:00 2001 From: fengachen <373943794@qq.com> Date: Thu, 4 Nov 2021 17:53:55 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90bug=E3=80=91=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E8=AF=A6=E6=83=85=20=E5=85=B3=E9=97=AD=E6=B8=85=E9=99=A4?= =?UTF-8?q?=E4=B9=8B=E5=89=8D=E7=9A=84=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/MessagePage/ProjectDetailModal.vue | 41 ++++---------------- 1 file changed, 8 insertions(+), 33 deletions(-) diff --git a/src/views/MessagePage/ProjectDetailModal.vue b/src/views/MessagePage/ProjectDetailModal.vue index 9fb6d68..96c6145 100644 --- a/src/views/MessagePage/ProjectDetailModal.vue +++ b/src/views/MessagePage/ProjectDetailModal.vue @@ -117,37 +117,6 @@ import { queryCommonProjectById } from '@api/incomePaymentsApi' import JEllipsis from '@comp/jero/JEllipsis' import PreviewFile from '@comp/jero/PreviewFile' // import {getAction} from "@api/manage"; -const paymentInfoList = [ - { - id: 1001, - year: '2021', - money: '200' - }, - { - id: 1002, - year: '2021', - money: '200' - }, - { - id: 1003, - year: '2021', - money: '200' - } -] -const logisticsInfoList = [ - { - id: '01', - person: '张三', - time: '2021年10月21', - money: '200', - piaoNo: '123456', - projects: ['项目一', '项目二', '项目三'], - postPerson: '李四', - postTime: '2021年10月21', - emsOrSF: 'EMS', - postNo: '123456' - } -] const columns = [ { title: '开票人', @@ -222,9 +191,9 @@ export default { contactsInfo: {}, columns, // 到账信息 - paymentInfoList, + paymentInfoList:[], // 开票邮寄信息 - logisticsInfoList + logisticsInfoList:[], } }, computed: {}, @@ -260,6 +229,12 @@ export default { }) }, handleCancel() { + // 清除信息 + this.basicInfo = {} + this.enterpriseInfo = {} + this.contactsInfo = {} + this.paymentInfoList = [] + this.logisticsInfoList = [] this.visible = false }, /*