Commit 66494cab by zhuzhequan

打印生产单bug修复

parent 58eef8fd
...@@ -382,7 +382,7 @@ ...@@ -382,7 +382,7 @@
</ElButton> </ElButton>
</span> --> </span> -->
<span class="item"> <span class="item">
<ElButton type="primary" @click="printProductionOrder"> <ElButton type="primary" @click="printProductionOrder(null)">
打印生产单 打印生产单
</ElButton> </ElButton>
</span> </span>
...@@ -4131,6 +4131,7 @@ const printProductionOrder = async (item?: PodUsOrderListData) => { ...@@ -4131,6 +4131,7 @@ const printProductionOrder = async (item?: PodUsOrderListData) => {
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