Browse Source

YT-1241号口品收货记录,打印标签,是空,应有标签

intex
zhaoyiran 1 week ago
parent
commit
8cffe54ea7
  1. 17
      src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRecordMain/index.vue

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

@ -127,6 +127,7 @@ import {
import { getJmreportBaseUrl } from '@/utils/systemParam' import { getJmreportBaseUrl } from '@/utils/systemParam'
import { formatDate } from '@/utils/formatTime' import { formatDate } from '@/utils/formatTime'
import { usePageLoading } from '@/hooks/web/usePageLoading' import { usePageLoading } from '@/hooks/web/usePageLoading'
import {getLabelDetailPage} from "@/api/wms/package";
const { loadStart, loadDone } = usePageLoading() const { loadStart, loadDone } = usePageLoading()
// //
defineOptions({ name: 'ProductreceiptRecordMainA' }) defineOptions({ name: 'ProductreceiptRecordMainA' })
@ -318,17 +319,17 @@ const labelPrint = async (row) => {
} }
} }
const defaultParams = { const defaultParams = {
    moduleName: 'productreceipt_assemble', moduleName: 'productreceipt_assemble',
    tableName: 'record_productreceipt_main', // tableName: 'record_productreceipt_main',
    recordNumber: row.number, recordNumber: row.requestNumber,
    number: row.number == null ? row.number : row.packingNumber, //     number: row.number == null ? row.number : row.packingNumber,
    itemCode: row.itemCode, //     itemCode: row.itemCode,
    batch: row.batch //     batch: row.batch
  } }
const {tableObject:tableObjectPrint ,tableMethods} = useTable({ const {tableObject:tableObjectPrint ,tableMethods} = useTable({
defaultParams, defaultParams,
// getListApi: PackageApi.getProductreceiptLabelDetailPage // // getListApi: PackageApi.getProductreceiptLabelDetailPage //
getListApi: PackageApi.getLabelDetailPageByRecordId // getListApi: PackageApi.getLabelDetailPage //
}) })
// //

Loading…
Cancel
Save