Browse Source

隔离退料任务代码退回

hella_online_20240823
wangyufei 3 months ago
parent
commit
5afbc4e389
  1. 25
      src/views/wms/issueManage/productionreturn/productionreturnJobMain/index.vue

25
src/views/wms/issueManage/productionreturn/productionreturnJobMain/index.vue

@ -117,7 +117,9 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
}
const { tableObject, tableMethods } = useTable({
getListApi: 'ProductionreturnJobMain'==routeName.value?ProductionreturnJobDetailApi.getProductionreturnJobDetailPageStore:ProductionreturnJobDetailApi.getProductionreturnJobDetailPageHold //
// getListApi: 'ProductionreturnJobMain'==routeName.value?ProductionreturnJobDetailApi.getProductionreturnJobDetailPageStore:ProductionreturnJobDetailApi.getProductionreturnJobDetailPageHold //
getListApi: ProductionreturnJobDetailApi.getProductionreturnJobDetailPage //
})
@ -275,16 +277,17 @@ const handleExport = async () => {
//
loadStart()
const excelTitle = ref(route.meta.title)
if('ProductionreturnJobMain'==routeName.value){
//退
const data = await ProductionreturnJobMainApi.exportProductionreturnJobMainStore(tableObject.params)
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
}else{
// 退
const data = await ProductionreturnJobMainApi.exportProductionreturnJobMainHold(tableObject.params)
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
}
// if('ProductionreturnJobMain'==routeName.value){
// //退
// const data = await ProductionreturnJobMainApi.exportProductionreturnJobMainStore(tableObject.params)
// download.excel(data, `${excelTitle.value}${formatDate(new Date())}.xlsx`)
// }else{
// // 退
// const data = await ProductionreturnJobMainApi.exportProductionreturnJobMainHold(tableObject.params)
// download.excel(data, `${excelTitle.value}${formatDate(new Date())}.xlsx`)
// }
const data = await ProductionreturnJobMainApi.exportProductionreturnJobMain(tableObject.params)
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {

Loading…
Cancel
Save