【bug】项目详情 关闭清除之前的信息
This commit is contained in:
@@ -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
|
||||
},
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user