[update] 修改bug80156

This commit is contained in:
lideqin
2024-01-05 18:09:19 +08:00
parent c0da47c5a3
commit a01793b9ea
3 changed files with 28 additions and 1 deletions
@@ -619,6 +619,12 @@ export default {
type: Boolean,
required: false,
default: false
},
// 是否正在初始化数据,是的话不获取企标编号
isInitData: {
type: Boolean,
required: false,
default: false
}
},
watch: {
@@ -874,6 +880,10 @@ export default {
},
// 根据三个代号和一个年代号获取企标编号
getEnStandardNo () {
// 正在初始化数据,不获取新企标编号
if (this.isInitData) {
return
}
// 如果是制定根据填的三个代号和一个年代号获取
if (this.projectType === ProjectType.ENACT.value) {
if (!this.formInline.enStandardCode || !this.formInline.enNameCode ||