diff --git a/src/views/wms/inventoryManage/package/index.vue b/src/views/wms/inventoryManage/package/index.vue index e1d8a88f4..aee66956f 100644 --- a/src/views/wms/inventoryManage/package/index.vue +++ b/src/views/wms/inventoryManage/package/index.vue @@ -71,7 +71,7 @@ import * as defaultButtons from '@/utils/disposition/defaultButtons' import { getJmreportBaseUrl } from '@/utils/systemParam' import * as EquipmentInspectionRecordMainApi from "@/api/eam/equipmentInspectionRecordMain"; import { formatDate } from '@/utils/formatTime' - +// 包装信息 defineOptions({ name: 'package' }) const message = useMessage() // 消息弹窗 @@ -193,7 +193,7 @@ const handleSelectionPoint = async ()=>{ text: 'loading...', background: 'rgba(0, 0, 0, 0.7)' }) - PackageApi.batchPrintingLable(rows.join(",")).then(res => { + PackageApi.batchPrintingLable(rows).then(res => { console.log('批量打印res',res); getLoading?.close() if(res.zzLabel){ @@ -359,7 +359,7 @@ const formsSuccess = async (formType,data) => { const labelType = ref('') // 标签类别 采购还是制造等 const handlePoint = async (row) => { console.log(row.packingNumber,445555555555555); - PackageApi.batchPrintingLable(row.number).then(res => { + PackageApi.batchPrintingLable([row.number]).then(res => { console.log('批量打印res',res); if(res.zzLabel){ //制造标签