Commit ce747b90 by zhuzhequan

打印生产单bug修复

parent 66494cab
...@@ -4127,11 +4127,10 @@ const assignOrder = async () => { ...@@ -4127,11 +4127,10 @@ const assignOrder = async () => {
// loading.close() // loading.close()
// } // }
// } // }
const printProductionOrder = async (item?: PodUsOrderListData) => { const printProductionOrder = async (item?: PodUsOrderListData | null) => {
if (status.value !== 'WAIT_SHIPMENT' && cardSelection.value.length === 0) { if (status.value !== 'WAIT_SHIPMENT' && cardSelection.value.length === 0) {
return ElMessage.warning('请选择数据') return ElMessage.warning('请选择数据')
} }
debugger
const orderIds = item ? [item.id] : cardSelection.value.map((item) => item.id) const orderIds = item ? [item.id] : cardSelection.value.map((item) => item.id)
const loading = ElLoading.service({ const loading = ElLoading.service({
fullscreen: true, fullscreen: true,
......
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