Browse Source

HL-5354:装配制品上架type类型调整

hella_online_20240828
tengxiaofei 3 months ago
parent
commit
9944250470
  1. 4
      src/api/wms/productputawayRecordMain/index.ts
  2. 1
      src/views/wms/productionManage/productputaway/productputawayRecordMain/index.vue
  3. 1
      src/views/wms/productionManage/productputawayAssemble/productputawayAssembleRecordMain/index.vue

4
src/api/wms/productputawayRecordMain/index.ts

@ -74,12 +74,12 @@ export const deleteProductputawayRecordMain = async (id: number) => {
// 导出制品上架记录主 Excel // 导出制品上架记录主 Excel
export const exportProductputawayRecordMain = async (params) => { export const exportProductputawayRecordMain = async (params) => {
params.type = 'assemble'
if (params.isSearch) { if (params.isSearch) {
const cmd = { const cmd = {
'column':'type', 'column':'type',
'action':'==', 'action':'==',
'value':'assemble' 'value':params.type
} }
params.filters.push(cmd) params.filters.push(cmd)
delete params.isSearch delete params.isSearch

1
src/views/wms/productionManage/productputaway/productputawayRecordMain/index.vue

@ -158,6 +158,7 @@ const handleExport = async () => {
// //
loadStart() loadStart()
const excelTitle = ref(route.meta.title) const excelTitle = ref(route.meta.title)
tableObject.params.type = 'predict'
const data = await ProductputawayRecordMainApi.exportProductputawayRecordMain(tableObject.params) const data = await ProductputawayRecordMainApi.exportProductputawayRecordMain(tableObject.params)
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`) download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch { } catch {

1
src/views/wms/productionManage/productputawayAssemble/productputawayAssembleRecordMain/index.vue

@ -158,6 +158,7 @@ const handleExport = async () => {
// //
loadStart() loadStart()
const excelTitle = ref(route.meta.title) const excelTitle = ref(route.meta.title)
tableObject.params.type = 'assemble'
const data = await ProductputawayRecordMainApi.exportProductputawayRecordMain(tableObject.params) const data = await ProductputawayRecordMainApi.exportProductputawayRecordMain(tableObject.params)
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`) download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch { } catch {

Loading…
Cancel
Save