|
|
@ -80,7 +80,7 @@ |
|
|
|
/> |
|
|
|
|
|
|
|
<!-- 导入 --> |
|
|
|
<ImportForm ref="importFormRef" url="/wms/unplannedissue-request-main/importSpare" :importTemplateData="importTemplateData" |
|
|
|
<ImportForm ref="importFormRef" url="/wms/unplannedissue-request-main/importSpare" :importTemplateData="importTemplateData" |
|
|
|
@success="importSuccess" :updateIsDisable="true" :coverIsDisable="true" :mode="2" /> |
|
|
|
</template> |
|
|
|
|
|
|
@ -343,7 +343,7 @@ const openForm =async (type: string, row?: number) => { |
|
|
|
item.componentProps.isSearchList = false |
|
|
|
item.componentProps.disabled = true |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
}else{ |
|
|
|
if (item.field == 'costCenterCode') { |
|
|
|
//成本中心代码 |
|
|
@ -393,6 +393,7 @@ const handleExport = async () => { |
|
|
|
await message.exportConfirm() |
|
|
|
// 发起导出 |
|
|
|
exportLoading.value = true |
|
|
|
tableObject.params.detailDataType = 2 |
|
|
|
const data = await UnplannedissueRequestMainApi.exportUnplannedissueRequestMain(tableObject.params) |
|
|
|
download.excel(data, '备件领用申请.xlsx') |
|
|
|
} catch { |
|
|
@ -426,7 +427,7 @@ const tableSelectionDelete = (selection) => { |
|
|
|
} |
|
|
|
// 主子数据 提交 |
|
|
|
const submitForm = async (formType, submitData) => { |
|
|
|
|
|
|
|
|
|
|
|
let data = {...submitData} |
|
|
|
if(data.masterId){ |
|
|
|
data.id = data.masterId |
|
|
|