rev:组盘
This commit is contained in:
@@ -209,15 +209,18 @@ export default {
|
||||
this.crud.notify('同步类型不能为空!!', CRUD.NOTIFICATION_TYPE.INFO)
|
||||
return false
|
||||
}
|
||||
|
||||
const isInvalidRow = this.tableData.some(row => !row.mapping_field)
|
||||
if (isInvalidRow) {
|
||||
this.crud.notify('外部字段名称不能为空!!', CRUD.NOTIFICATION_TYPE.INFO)
|
||||
return false
|
||||
}
|
||||
const isdtlRow = this.tableDtlData.some(row => !row.mapping_field)
|
||||
if (isdtlRow) {
|
||||
this.crud.notify('外部字段名称不能为空!!', CRUD.NOTIFICATION_TYPE.INFO)
|
||||
return false
|
||||
if (this.form.has_child){
|
||||
const isdtlRow = this.tableDtlData.some(row => !row.mapping_field)
|
||||
if (isdtlRow) {
|
||||
this.crud.notify('外部字段名称不能为空!!', CRUD.NOTIFICATION_TYPE.INFO)
|
||||
return false
|
||||
}
|
||||
}
|
||||
const requestData = {
|
||||
'mst': this.form,
|
||||
|
||||
Reference in New Issue
Block a user