[update] 企标制修订流程发起节点判断必须在线编辑
This commit is contained in:
@@ -162,13 +162,17 @@ export default {
|
||||
async getDataValidate () {
|
||||
const formData = await this.$refs.baseInfoForm.getDataValidate()
|
||||
console.log(formData)
|
||||
if (formData) {
|
||||
if (formData && this.onEditFile) {
|
||||
// 有数据可以抛出
|
||||
const data = {}
|
||||
data.otherDraftUserVOS = this.dataSource || []
|
||||
data.formInline = formData.formInline
|
||||
data.onEditFile = this.onEditFile
|
||||
return data
|
||||
} else if (!this.onEditFile) {
|
||||
// 提示请编辑标准文本
|
||||
this.$message.warning(this.$t('workCenter.enStandardRevision.pleaseEditStandardText'))
|
||||
return false
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user