Commit 2df412aa by qinjianhui

fix: 打印sku标签报错修改

parent f5bb4f4e
...@@ -571,7 +571,7 @@ export function statusPushApi(ids: (string | number)[]) { ...@@ -571,7 +571,7 @@ export function statusPushApi(ids: (string | number)[]) {
export function batchCheckPrintPodOrder(ids: string) { export function batchCheckPrintPodOrder(ids: string) {
return axios.get<never, BaseRespData<PrintData[]>>( return axios.get<never, BaseRespData<PrintData[]>>(
`/factory/podOrder/batchCheckPrintPodOrder?ids=${ids}`, `/factory/podOrder/batchCheckPrintPodOrder?podProductIds=${ids}`,
) )
} }
......
...@@ -2081,7 +2081,7 @@ const handleSinglePrint = () => { ...@@ -2081,7 +2081,7 @@ const handleSinglePrint = () => {
} }
const handlePrintWarehouseSkuTag = async () => { const handlePrintWarehouseSkuTag = async () => {
if (!ensureSelection()) return if (!ensureSelection()) return
const ids = getSelectedIds().join(',') const ids = cardSelectList.value.map((item) => item.podOrderProductId).join(',')
await printWarehouseSkuDialogRef.value?.open(3, ids) await printWarehouseSkuDialogRef.value?.open(3, ids)
} }
const handleGetTrackingNumber = async () => { const handleGetTrackingNumber = async () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment