|
|
@ -42,7 +42,7 @@ |
|
|
|
<!-- 表单弹窗:添加/修改 --> |
|
|
|
<BasicForm |
|
|
|
ref="formRef" |
|
|
|
@success="getList" |
|
|
|
@success="submitForm" |
|
|
|
:rules="ItemareaRules" |
|
|
|
:isOpenSearchTable="true" |
|
|
|
fieldTableColumn="locationCode" |
|
|
@ -361,7 +361,7 @@ const tableSelectionDelete = (selection) => { |
|
|
|
} |
|
|
|
// 主子数据 提交 |
|
|
|
const submitForm = async (formType, data) => { |
|
|
|
data.subList = tableData.value // 拼接子表数据参数 |
|
|
|
// data.subList = tableData.value // 拼接子表数据参数 |
|
|
|
try { |
|
|
|
if (formType === 'create') { |
|
|
|
await ItemareaApi.createItemarea(data) |
|
|
|