Commit 66494cab by zhuzhequan

打印生产单bug修复

parent 58eef8fd
......@@ -382,7 +382,7 @@
</ElButton>
</span> -->
<span class="item">
<ElButton type="primary" @click="printProductionOrder">
<ElButton type="primary" @click="printProductionOrder(null)">
打印生产单
</ElButton>
</span>
......@@ -4131,6 +4131,7 @@ const printProductionOrder = async (item?: PodUsOrderListData) => {
if (status.value !== 'WAIT_SHIPMENT' && cardSelection.value.length === 0) {
return ElMessage.warning('请选择数据')
}
debugger
const orderIds = item ? [item.id] : cardSelection.value.map((item) => item.id)
const loading = ElLoading.service({
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