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