Commit f8630c3e by linjinhong Committed by wusiyi

fix:【工厂端】【订单-PODCN】:CB类商品订单在待发货状态无法使用【普货拣货】按钮打印拣货单#1000558

parent 177ffb01
...@@ -3120,13 +3120,15 @@ const changeExceptionOrder = async () => { ...@@ -3120,13 +3120,15 @@ const changeExceptionOrder = async () => {
} }
const showPrintSku = async () => { const showPrintSku = async () => {
if(!selection.value.length) { if (!selection.value.length) {
return ElMessage.warning('请选择数据') return ElMessage.warning('请选择数据')
} }
await printWarehouseSkuDialogRef.value?.open(1,selection.value.map((item) => item.id).join(',')) await printWarehouseSkuDialogRef.value?.open(
1,
selection.value.map((item) => item.id).join(','),
)
} }
const handleExceptionConfirm = async () => { const handleExceptionConfirm = async () => {
try { try {
await exceptionFormRef.value.validate() await exceptionFormRef.value.validate()
...@@ -3173,7 +3175,10 @@ const printNormal = async () => { ...@@ -3173,7 +3175,10 @@ const printNormal = async () => {
} }
selection.value.forEach((s) => { selection.value.forEach((s) => {
const f = const f =
s.productList && s.productList.find((p) => p.productMark === 'normal') s.productList &&
s.productList.find(
(p) => p.productMark === 'normal' || p.productMark === 'custom_normal',
)
if (f) arr.push(s.id) if (f) arr.push(s.id)
}) })
if (!arr.length) { if (!arr.length) {
......
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