[update] 修改bug80156
This commit is contained in:
@@ -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 ||
|
||||
|
||||
Reference in New Issue
Block a user