Przeglądaj źródła

复核-bug修复

zhaohuanhuan 9 miesięcy temu
rodzic
commit
4813199e89
1 zmienionych plików z 3 dodań i 2 usunięć
  1. 3 2
      src/views/outbound/check/large/index.vue

+ 3 - 2
src/views/outbound/check/large/index.vue

@@ -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