Browse Source

Merge remote-tracking branch 'origin/master_hella' into master_hella

hella_online_20240829
gaojs 4 months ago
parent
commit
81cfd7dab1
  1. 3
      src/api/wms/package/index.ts
  2. 2
      src/views/wms/productionManage/productreceipt/productreceiptRecordMain/index.vue
  3. 2
      src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRecordMain/index.vue

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

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

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

@ -228,7 +228,7 @@ const labelPrint = async (row) => {
const defaultParams = {'moduleName':'productreceipt_predict','tableName':'record_productreceipt_main','recordNumber':row.number}
const {tableObject:tableObjectPrint ,tableMethods} = useTable({
defaultParams,
getListApi: PackageApi.getLabelDetailPage //
getListApi: PackageApi.getLabelDetailPageByRecordId //
})
//
const { getList:getListPrint } = tableMethods

2
src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRecordMain/index.vue

@ -295,7 +295,7 @@ const labelPrint = async (row) => {
const {tableObject:tableObjectPrint ,tableMethods} = useTable({
defaultParams,
// getListApi: PackageApi.getProductreceiptLabelDetailPage //
getListApi: PackageApi.getLabelDetailPage //
getListApi: PackageApi.getLabelDetailPageByRecordId //
})
//

Loading…
Cancel
Save