标准入库流程- 点击新增清空数据
This commit is contained in:
@@ -2390,17 +2390,26 @@
|
|||||||
clearFormData(data) {
|
clearFormData(data) {
|
||||||
this.form = {
|
this.form = {
|
||||||
// 基础信息
|
// 基础信息
|
||||||
|
standInData: '0', // 标准来源
|
||||||
|
standSort: '', // 标准类别
|
||||||
|
country: '', // 国家
|
||||||
|
standSystem: '', // 标准体系
|
||||||
|
standNumber: '', // 标准编号
|
||||||
|
standNature: '', // 标准性质
|
||||||
|
standEnName: '', // 英文名称
|
||||||
|
standName: '', // 中文名称
|
||||||
|
signFlag: '1', // 是否需要会签
|
||||||
textStatus: '', // 文本状态
|
textStatus: '', // 文本状态
|
||||||
standYear: '', // 标准年份
|
standYear: '', // 标准年份
|
||||||
standInData: data.standInData ? data.standInData : '0', // 标准类型
|
// standInData: data.standInData ? data.standInData : '0', // 标准类型
|
||||||
standSort: data.standSort ? data.standSort : '', // 标准类别
|
// standSort: data.standSort ? data.standSort : '', // 标准类别
|
||||||
country: data.country ? data.country : '', // 国家
|
// country: data.country ? data.country : '', // 国家
|
||||||
standSystem: data.standSystem ? data.standSystem : '', // 标准体系
|
// standSystem: data.standSystem ? data.standSystem : '', // 标准体系
|
||||||
standNumber: data.standNumber ? data.standNumber : '', // 标准编号
|
// standNumber: data.standNumber ? data.standNumber : '', // 标准编号
|
||||||
standNature: data.standNature ? data.standNature : '', // 标准性质
|
// standNature: data.standNature ? data.standNature : '', // 标准性质
|
||||||
standEnName: data.standEnName ? data.standEnName : '', // 英文名称
|
// standEnName: data.standEnName ? data.standEnName : '', // 英文名称
|
||||||
standName: data.standName ? data.standName : '', // 中文名称
|
// standName: data.standName ? data.standName : '', // 中文名称
|
||||||
signFlag: data.signFlag ? data.signFlag : '1', // 是否需要会签
|
// signFlag: data.signFlag ? data.signFlag : '1', // 是否需要会签
|
||||||
issueTime: '', // 发布时间
|
issueTime: '', // 发布时间
|
||||||
isRelateAccess: '', // 是否纳入认证清单
|
isRelateAccess: '', // 是否纳入认证清单
|
||||||
standSystemName: '',// 标准体系名称
|
standSystemName: '',// 标准体系名称
|
||||||
@@ -2465,6 +2474,20 @@
|
|||||||
treeListName: ''
|
treeListName: ''
|
||||||
} // 标准信息
|
} // 标准信息
|
||||||
},
|
},
|
||||||
|
clearFileListData(){
|
||||||
|
// 文本信息文件
|
||||||
|
this.xgdFileList =[] // 修改单
|
||||||
|
this.FBGBJBDFileList=[]//发布稿 原文
|
||||||
|
this.FBGYWBDFileList=[]// 发布稿 译文
|
||||||
|
this.ssgFileList=[]// 送审稿
|
||||||
|
this.caFileList=[]// 草案
|
||||||
|
this.zbjbdFileList=[]// 增补件
|
||||||
|
this.xdbFileList=[]//修订本
|
||||||
|
this.kwjFileList=[]// 勘误件
|
||||||
|
this.jdwjFileList=[]//相关文件
|
||||||
|
this.bpgFileList=[]//报批稿
|
||||||
|
this.zqyjgFileList=[]//征求意见稿
|
||||||
|
},
|
||||||
handleProcessStandardNext(status) {
|
handleProcessStandardNext(status) {
|
||||||
this.submitType = status
|
this.submitType = status
|
||||||
switch (status) {
|
switch (status) {
|
||||||
@@ -2475,7 +2498,9 @@
|
|||||||
this.standardCheckedList = []
|
this.standardCheckedList = []
|
||||||
this.standardDrawer = false
|
this.standardDrawer = false
|
||||||
this.verifySarStandard = true
|
this.verifySarStandard = true
|
||||||
this.clearFormData(this.form)
|
// this.clearFormData(this.form)
|
||||||
|
this.clearFormData()
|
||||||
|
this.clearFileListData()
|
||||||
break
|
break
|
||||||
// 带入(确认)
|
// 带入(确认)
|
||||||
case 2:
|
case 2:
|
||||||
|
|||||||
Reference in New Issue
Block a user