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
export const exportProductputawayRecordMain = async (params) => {
params.type = 'assemble'
if (params.isSearch) {
const cmd = {
'column':'type',
'action':'==',
'value':'assemble'
'value':params.type
}
params.filters.push(cmd)
delete params.isSearch

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

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

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

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

Loading…
Cancel
Save