diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue index f7d328feb..481eca842 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue @@ -1859,6 +1859,9 @@ }else if(this.fileType === 'ca'){ this.form.ca = response.data.id; this.form.caName = response.data.name; + }else if(this.fileType === 'zbjbd'){ + this.form.zbjbd = response.data.id; + this.form.zbjbdName = response.data.name; } this.$message({ showClose: true, diff --git a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue index 72c7cc762..d8283d799 100644 --- a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue @@ -1745,22 +1745,26 @@ export default { }, methods: { popoverHideBusVs (checkedIds, checkedData) { - this.sarStandardsInfoEO.CYCVPPSBM = checkedData.code - this.sarStandardsInfoEO.CYCVPPSCN = checkedData.chineseName - console.log(checkedData) - console.log(this.sarStandardsInfoEO.CYCVPPSBM) - console.log(this.sarStandardsInfoEO.CYCVPPSCN) - this.$forceUpdate() + if(checkedData){ + this.sarStandardsInfoEO.CYCVPPSBM = checkedData.code + this.sarStandardsInfoEO.CYCVPPSCN = checkedData.chineseName + this.$forceUpdate() + } }, popoverHideCarVs (checkedIds, checkedData) { - this.sarStandardsInfoEO.KCCVPPSBM = checkedData.code - this.sarStandardsInfoEO.KCCVPPSCN = checkedData.chineseName - this.$forceUpdate() + if(checkedData){ + this.sarStandardsInfoEO.KCCVPPSBM = checkedData.code + this.sarStandardsInfoEO.KCCVPPSCN = checkedData.chineseName + this.$forceUpdate() + } + }, popoverHideModel (checkedIds, checkedData) { - this.sarStandardsInfoEO.DYBXH = checkedData.model - this.sarStandardsInfoEO.DYMC = checkedData.name - this.$forceUpdate() + if(checkedData){ + this.sarStandardsInfoEO.DYBXH = checkedData.model + this.sarStandardsInfoEO.DYMC = checkedData.name + this.$forceUpdate() + } }, busVsFunc(){ this.$http.get('sarVppsTree/list', '', { @@ -1777,7 +1781,9 @@ export default { }) }, popoverHide (checkedIds, checkedData) { - this.sarStandardsInfoEO.standSystem = checkedData.id + if(checkedData){ + this.sarStandardsInfoEO.standSystem = checkedData.id + } }, closeModal () { this.productModal = false @@ -2013,7 +2019,8 @@ export default { Promise.all([this.queryDisplayLocation()]).then((values) => { const [displayLocation] = values const formFieldList = this.formFieldList - this.sarStandardsInfoEO = JSON.parse(JSON.stringify(item)) + console.log(formFieldList) + this.sarStandardsInfoEO = JSON.parse(JSON.stringify(item)) if(this.sarStandardsInfoEO.standSystem){ this.defaultCheckedKeys = [this.sarStandardsInfoEO.standSystem]; } @@ -2783,6 +2790,7 @@ export default { // 验证标准号是否唯一 this.validateStandNumber(this.sarStandardsInfoEO).then((flag) => { if (flag) { + debugger // 时间格式修改 let nowstandinfo = JSON.parse(JSON.stringify(this.sarStandardsInfoEO)) console.log(nowstandinfo) diff --git a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue index eea98e0e4..135a7ce75 100644 --- a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue @@ -425,14 +425,14 @@ - + > + + + + + +