[update] 联调企标立项、变更计划
This commit is contained in:
@@ -626,14 +626,9 @@ export default {
|
||||
default: false
|
||||
}
|
||||
},
|
||||
// computed: {
|
||||
// yearNumberDefaultValue () {
|
||||
// return new Date().getFullYear() + ''
|
||||
// }
|
||||
// },
|
||||
watch: {
|
||||
projectType () {
|
||||
console.log('projectType改变了————————————————————————---')
|
||||
this.$refs.ruleForm.resetFields()
|
||||
this.formInline.decadeCode = new Date().getFullYear() + ''
|
||||
},
|
||||
// 企业标准代号
|
||||
@@ -874,9 +869,12 @@ export default {
|
||||
}
|
||||
})
|
||||
} else {
|
||||
const standardNo = this.formInline.originEnStandardNo.split('-')[0] + '-' + this.formInline.decadeCode
|
||||
this.$set(this.formInline, 'newEnStandardNo', standardNo)
|
||||
this.$forceUpdate()
|
||||
// 是修订,通过选中的企标编号和年代号拼接新企标编号
|
||||
if (this.formInline.originEnStandardNo && this.formInline.decadeCode) {
|
||||
const standardNo = this.formInline.originEnStandardNo.split('-')[0] + '-' + this.formInline.decadeCode
|
||||
this.$set(this.formInline, 'newEnStandardNo', standardNo)
|
||||
this.$forceUpdate()
|
||||
}
|
||||
}
|
||||
},
|
||||
// 获取零部件名称下拉框数据
|
||||
|
||||
Reference in New Issue
Block a user