|
|
@ -42,8 +42,10 @@ |
|
|
|
<!-- 表单弹窗:添加/修改 --> |
|
|
|
<BasicForm |
|
|
|
ref="formRef" |
|
|
|
:isOpenSearchTable="true" |
|
|
|
:isOpenSearchTable="true" |
|
|
|
fieldTableColumn="workStationCode" |
|
|
|
:isShowReduceButtonSelection="true" |
|
|
|
@tableSelectionDelete="tableSelectionDelete" |
|
|
|
@success="getList" |
|
|
|
:rules="ProductionreturnRequestMainRules" |
|
|
|
:formAllSchemas="ProductionreturnRequestMain.allSchemas" |
|
|
@ -567,6 +569,9 @@ const handleAddTable = () => { |
|
|
|
const handleDeleteTable = (item, index) => { |
|
|
|
tableData.value.splice(index, 1) |
|
|
|
} |
|
|
|
const tableSelectionDelete = (selection) => { |
|
|
|
tableData.value = tableData.value.filter(item => !selection.includes(item)) |
|
|
|
} |
|
|
|
|
|
|
|
// 主子数据 提交 |
|
|
|
const submitForm = async (formType, submitData) => { |
|
|
|