|
@ -964,22 +964,24 @@ const handlePoint = async (row) => { |
|
|
const searchTableRef = ref() |
|
|
const searchTableRef = ref() |
|
|
// |
|
|
// |
|
|
const labelPrint = async (row) => { |
|
|
const labelPrint = async (row) => { |
|
|
tableObject.loading = true |
|
|
// tableObject.loading = true |
|
|
const defaultParams = { moduleName: 'productreceipt_predict', recordNumber: row.number } |
|
|
const defaultParams = { moduleName: 'productreceipt_predict', recordNumber: row.number } |
|
|
const { tableObject: tableObjectPrint, tableMethods } = useTable({ |
|
|
// const { tableObject: tableObjectPrint, tableMethods } = useTable({ |
|
|
defaultParams, |
|
|
// defaultParams, |
|
|
getListApi: PackageApi.getLabelDetailPage // 分页接口 |
|
|
// getListApi: PackageApi.getLabelDetailPage // 分页接口 |
|
|
}) |
|
|
// }) |
|
|
|
|
|
|
|
|
// 获得表格的各种操作 |
|
|
// // 获得表格的各种操作 |
|
|
const { getList: getListPrint } = tableMethods |
|
|
// const { getList: getListPrint } = tableMethods |
|
|
await getListPrint() |
|
|
// await getListPrint() |
|
|
tableObject.loading = false |
|
|
// tableObject.loading = false |
|
|
const tableColumns = SupplierdeliverRequestPackage2.allSchemas.tableFormColumns |
|
|
// const tableColumns = SupplierdeliverRequestPackage2.allSchemas.tableFormColumns |
|
|
tableColumns.forEach((item) => { |
|
|
// tableColumns.forEach((item) => { |
|
|
item.width = item.table?.width || 150 |
|
|
// item.width = item.table?.width || 150 |
|
|
}) |
|
|
// }) |
|
|
searchTableRef.value.openData('标签信息', tableObjectPrint, { tableColumns }, true) |
|
|
// searchTableRef.value.openData('标签信息', tableObjectPrint, { tableColumns }, true) |
|
|
|
|
|
|
|
|
|
|
|
searchTableRef.value.open('标签信息', SupplierdeliverRequestPackage2.allSchemas, PackageApi.getLabelDetailPage , null, null,true, null,row,defaultParams) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// 批量打印--预生产收货 |
|
|
// 批量打印--预生产收货 |
|
|