[update] 企标制修订流程基本信息没有加载完成不可提交保存
This commit is contained in:
@@ -459,6 +459,9 @@ export default {
|
||||
}
|
||||
},
|
||||
getData () {
|
||||
if (this.isEditSetData) {
|
||||
return
|
||||
}
|
||||
const formInline = Object.assign({}, this.formInline)
|
||||
Object.keys(formInline).forEach(res => {
|
||||
if (formInline[res] instanceof Array) {
|
||||
@@ -475,6 +478,9 @@ export default {
|
||||
},
|
||||
// 外层获取数据要过校验,返回false表示没有通过校验
|
||||
async getDataValidate () {
|
||||
if (this.isEditSetData) {
|
||||
return
|
||||
}
|
||||
let data = {}
|
||||
await this.$refs.ruleForm.validate(valid => {
|
||||
console.log(valid)
|
||||
|
||||
Reference in New Issue
Block a user