Browse Source

打印标签

hella_online_20240829
wangyufei 4 months ago
parent
commit
173bcf9631
  1. 2
      src/api/wms/package/index.ts
  2. 2
      src/views/wms/productionManage/productreceipt/productreceiptRecordMain/index.vue

2
src/api/wms/package/index.ts

@ -109,7 +109,7 @@ export const getLabel = async (id: number) => {
// 打印标签获取包装列表
export const getLabelDetailPage = async (params) => {
return await request.get({ url: `/wms/package/getLabelDetailPage`,params})
return await request.get({ url: `/wms/package/getLabelDetailPageByRecordId`,params})
}
// 打印标签获取包装列表(装配报工专用)

2
src/views/wms/productionManage/productreceipt/productreceiptRecordMain/index.vue

@ -225,7 +225,7 @@ const labelPrint = async (row) => {
labelType.value = 'cg'
}
}
const defaultParams = {'moduleName':'productreceipt_predict','recordNumber':row.requestNumber}
const defaultParams = {'moduleName':'productreceipt_predict','tableName':'record_productreceipt_main','recordNumber':row.number}
const {tableObject:tableObjectPrint ,tableMethods} = useTable({
defaultParams,
getListApi: PackageApi.getLabelDetailPage //

Loading…
Cancel
Save