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