rev:组盘

This commit is contained in:
zhangzq
2024-05-15 16:10:57 +08:00
parent 36fb8ca2da
commit c00e046612
44 changed files with 666 additions and 1065 deletions

View File

@@ -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,