|
|
@ -127,6 +127,7 @@ import { |
|
|
|
import { getJmreportBaseUrl } from '@/utils/systemParam' |
|
|
|
import { formatDate } from '@/utils/formatTime' |
|
|
|
import { usePageLoading } from '@/hooks/web/usePageLoading' |
|
|
|
import {getLabelDetailPage} from "@/api/wms/package"; |
|
|
|
const { loadStart, loadDone } = usePageLoading() |
|
|
|
// 装配收货记录主 |
|
|
|
defineOptions({ name: 'ProductreceiptRecordMainA' }) |
|
|
@ -318,17 +319,17 @@ const labelPrint = async (row) => { |
|
|
|
} |
|
|
|
} |
|
|
|
const defaultParams = { |
|
|
|
moduleName: 'productreceipt_assemble', |
|
|
|
tableName: 'record_productreceipt_main', |
|
|
|
recordNumber: row.number, |
|
|
|
number: row.number == null ? row.number : row.packingNumber, |
|
|
|
itemCode: row.itemCode, |
|
|
|
batch: row.batch |
|
|
|
} |
|
|
|
moduleName: 'productreceipt_assemble', |
|
|
|
// tableName: 'record_productreceipt_main', |
|
|
|
recordNumber: row.requestNumber, |
|
|
|
// number: row.number == null ? row.number : row.packingNumber, |
|
|
|
// itemCode: row.itemCode, |
|
|
|
// batch: row.batch |
|
|
|
} |
|
|
|
const {tableObject:tableObjectPrint ,tableMethods} = useTable({ |
|
|
|
defaultParams, |
|
|
|
// getListApi: PackageApi.getProductreceiptLabelDetailPage // 分页接口 |
|
|
|
getListApi: PackageApi.getLabelDetailPageByRecordId // 分页接口 |
|
|
|
getListApi: PackageApi.getLabelDetailPage // 分页接口 |
|
|
|
}) |
|
|
|
|
|
|
|
// 获得表格的各种操作 |
|
|
|