修改bug 52600 企标计划-新增 输入完责任单位了 还有红色提示

This commit is contained in:
zhangyichen
2022-04-19 10:24:06 +08:00
parent de705119e5
commit 74366493c0
@@ -809,7 +809,7 @@
{required: true, message: '请选择起草人', trigger: 'change'},
],
rqbJson: [
{required: true, message: '请选择代替企标编号', trigger: 'change'},
{required: false, message: '请选择代替企标编号', trigger: ['change', 'blur']},
]
},
form: {
@@ -1038,6 +1038,7 @@
}
this.addForm.unit = list
this.addForm.unitName = listName
this.$refs.addForm.validateField('unitName')
this.modalshowflagZRBM = false
},
choiceZRBM(id) {
@@ -1161,7 +1162,32 @@
},
addData () {
this.addDrawerTitle = '新增'
this.addForm = {}
this.addForm = {
bussSort:'',
esMatingRelations: '',
technologic: '',
useLevel: '',
isRelate: '',
esStandRelations: '',
area: [],
tsJson: '',
tsJsonName: '',
rqbJson: '',
rqbName: '',
unit: '', // 单位
unitName: '',
esName: '', // 企标名称
planStatus: '', // 计划状态
reviseStatus: '', // 制修订状态
resPerson: '', // 评审责任人
resPersonName: '',
wgLeader: '', // 工作组组长
wgLeaderName: '',
draftTime: '', // 计划标准初稿完成时间
releaseTime: '', // 计划标准发布时间
drafter: '', // 起草人
drafterName: ''
}
this.DrawerType = 'add'
this.addForm.planStatus = '0'
this.addDrawer = true