[update] 修改bug87377
This commit is contained in:
@@ -70,7 +70,8 @@ module.exports = {
|
||||
masterControlDepartmentProfessionalModule: 'Master control department professional module',
|
||||
relatedDepartment: 'Related department',
|
||||
associateDepartmentSpecializedModules: 'Associate department specialized modules',
|
||||
requirementType: 'Requirement type'
|
||||
requirementType: 'Requirement type',
|
||||
noData: 'There is no data in the list. Please re-select the list and launch'
|
||||
|
||||
},
|
||||
// 标准解读流程
|
||||
|
||||
@@ -70,7 +70,8 @@ module.exports = {
|
||||
masterControlDepartmentProfessionalModule: '主控部门专业模块',
|
||||
relatedDepartment: '关联部门',
|
||||
associateDepartmentSpecializedModules: '关联部门专业模块',
|
||||
requirementType: '要求类型'
|
||||
requirementType: '要求类型',
|
||||
noData: '清单下没有数据,请重新选择清单后发起'
|
||||
|
||||
},
|
||||
// 标准解读流程
|
||||
|
||||
@@ -388,10 +388,13 @@ export default {
|
||||
if (this.currentNode === 1) {
|
||||
await this.$refs.ruleForm.validate(async valid => {
|
||||
await this.$refs.userRuleForm.validate(userValid => {
|
||||
if (valid && userValid) {
|
||||
if (valid && userValid && this.dataSource.length > 0) {
|
||||
data = Object.assign({}, this.formInline, this.userFormInline)
|
||||
data.country = data.country.map(item => item.value).join(',')
|
||||
data.list = JSON.parse(JSON.stringify(this.dataSource))
|
||||
} else if (this.dataSource.length <= 0) {
|
||||
this.$message.warning(this.$t('workCenter.marketListReleaseProcess.noData'))
|
||||
data = false
|
||||
} else {
|
||||
data = false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user