清单详情 清单新增页面bug

This commit is contained in:
宋伟佳
2022-02-25 11:10:45 +08:00
parent 61d442a0ca
commit 1bb5377ef1
5 changed files with 15 additions and 2 deletions
@@ -514,6 +514,7 @@ export default {
this.$refs.qblx_pageData.validateField('wgLeaderName') this.$refs.qblx_pageData.validateField('wgLeaderName')
} }
this.workModel = false this.workModel = false
this.$refs.workGroup.clearSelection()
} }
}, },
getWorkData() { getWorkData() {
@@ -1170,10 +1170,14 @@ export default {
// 国内标准法规可查字段 // 国内标准法规可查字段
if (val === 'INLAND_STAND') { if (val === 'INLAND_STAND') {
this.sarAccessInfo.dataSource = 'INLAND_STAND' this.sarAccessInfo.dataSource = 'INLAND_STAND'
this.standLabelNum = '标准号'
this.standLabelName = '标准名称'
this.selectLawsStands() this.selectLawsStands()
// 海外标准法规可查字段 // 海外标准法规可查字段
} else if (val === 'FOREIGN_STAND') { } else if (val === 'FOREIGN_STAND') {
this.sarAccessInfo.dataSource = 'FOREIGN_STAND' this.sarAccessInfo.dataSource = 'FOREIGN_STAND'
this.standLabelNum = '标准号'
this.standLabelName = '英文名称'
this.selectLawsStands() this.selectLawsStands()
// 国内外政策可查字段 // 国内外政策可查字段
} else if (val === 'FOREIGN_LAWS') { } else if (val === 'FOREIGN_LAWS') {
@@ -767,12 +767,12 @@ export default {
if (item.xcxssrqgj === "undefined") { if (item.xcxssrqgj === "undefined") {
item.xcxssrqgj = '' item.xcxssrqgj = ''
} }
if (item.ssrq === "undefined" || item.ssrq === 'null' || item.ssrq) { if (item.ssrq === "undefined" || item.ssrq === 'null' || !item.ssrq) {
item.ssrq = '' item.ssrq = ''
} }
}); });
this.standinfoList = res.data.records; this.standinfoList = res.data.records;
this.standardFormTotal = res.data.total; this.total = res.data.total;
this.standinfoList.forEach(item => { this.standinfoList.forEach(item => {
if (item.standYear === null) { if (item.standYear === null) {
item.standNumber = item.standSortShow + " " + item.standNumber; item.standNumber = item.standSortShow + " " + item.standNumber;
@@ -1172,10 +1172,14 @@ export default {
// 国内标准法规可查字段 // 国内标准法规可查字段
if (val === 'INLAND_STAND') { if (val === 'INLAND_STAND') {
this.sarAccessInfo.dataSource = 'INLAND_STAND' this.sarAccessInfo.dataSource = 'INLAND_STAND'
this.standLabelNum = '标准号'
this.standLabelName = '标准名称'
this.selectLawsStands() this.selectLawsStands()
// 海外标准法规可查字段 // 海外标准法规可查字段
} else if (val === 'FOREIGN_STAND') { } else if (val === 'FOREIGN_STAND') {
this.sarAccessInfo.dataSource = 'FOREIGN_STAND' this.sarAccessInfo.dataSource = 'FOREIGN_STAND'
this.standLabelNum = '标准号'
this.standLabelName = '英文名称'
this.selectLawsStands() this.selectLawsStands()
// 国内外政策可查字段 // 国内外政策可查字段
} else if (val === 'FOREIGN_LAWS') { } else if (val === 'FOREIGN_LAWS') {
@@ -1103,10 +1103,14 @@ export default {
// 国内标准法规可查字段 // 国内标准法规可查字段
if (val === 'INLAND_STAND') { if (val === 'INLAND_STAND') {
this.sarAccessInfo.dataSource = 'INLAND_STAND' this.sarAccessInfo.dataSource = 'INLAND_STAND'
this.standLabelNum = '标准号'
this.standLabelName = '标准名称'
this.selectLawsStands() this.selectLawsStands()
// 海外标准法规可查字段 // 海外标准法规可查字段
} else if (val === 'FOREIGN_STAND') { } else if (val === 'FOREIGN_STAND') {
this.sarAccessInfo.dataSource = 'FOREIGN_STAND' this.sarAccessInfo.dataSource = 'FOREIGN_STAND'
this.standLabelNum = '标准号'
this.standLabelName = '英文名称'
this.selectLawsStands() this.selectLawsStands()
// 国内外政策可查字段 // 国内外政策可查字段
} else if (val === 'FOREIGN_LAWS') { } else if (val === 'FOREIGN_LAWS') {