From 6ba96e815187312efb073a9fed69e2943b5acc1f Mon Sep 17 00:00:00 2001 From: fengachen <373943794@qq.com> Date: Thu, 4 Nov 2021 17:57:50 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E8=AF=A6=E6=83=85=E5=85=B3?= =?UTF-8?q?=E9=97=AD=E6=B8=85=E9=99=A4=E4=B9=8B=E5=89=8D=E7=9A=84=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ProjectDetailModal.vue | 41 ++++++--------------------- 1 file changed, 8 insertions(+), 33 deletions(-) diff --git a/src/components/ProjectDetailModal.vue b/src/components/ProjectDetailModal.vue index e15202c..0ad1eb9 100644 --- a/src/components/ProjectDetailModal.vue +++ b/src/components/ProjectDetailModal.vue @@ -267,37 +267,6 @@ import { queryCommonProjectById } from '@api/incomePaymentsApi' import JEllipsis from '@comp/jero/JEllipsis' import PreviewFile from './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: '开票人', @@ -372,9 +341,9 @@ export default { contactsInfo: {}, columns, // 到账信息 - paymentInfoList, + paymentInfoList:[], // 开票邮寄信息 - logisticsInfoList + logisticsInfoLis:[], } }, computed: {}, @@ -407,6 +376,12 @@ export default { }) }, handleCancel() { + // 清除之前的信息 + this.basicInfo = {} + this.enterpriseInfo = {} + this.contactsInfo = {} + this.paymentInfoList = [] + this.logisticsInfoLis = [] this.visible = false }, /*