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 { 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 //
})
//

Loading…
Cancel
Save