|
|
@@ -151,7 +151,7 @@ onMounted(() => {
|
|
|
})
|
|
|
const warehouse = store.warehouse
|
|
|
//SOZ25070900018
|
|
|
-const orderNo = ref('SOZ25070900018')
|
|
|
+const orderNo = ref('')
|
|
|
// 错误提示
|
|
|
const tips = ref('')
|
|
|
//强制返回
|
|
|
@@ -398,7 +398,8 @@ const setPacking=(type)=>{
|
|
|
if (type === 'single') { // 普通装箱
|
|
|
checkPackingRef.value?.show(currPackingList.value, orderDetail.value)
|
|
|
} else { // 批量装箱
|
|
|
- if (currPackingList.value.length > 1) {
|
|
|
+ const list =orderList.value.filter(item => item.isPacking && item.status=='60')
|
|
|
+ if (list.length > 1) {
|
|
|
scanError()
|
|
|
showNotify({ type: 'warning', duration: 3000, message: '不支持多个商品装箱' })
|
|
|
return
|