[update] 修改bug87377
This commit is contained in:
@@ -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