瀏覽代碼

收货-批次信息设置判断调整

zhaohuanhuan 3 周之前
父節點
當前提交
7cd297a32b
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/views/inbound/takeDelivery/task/index.vue

+ 2 - 1
src/views/inbound/takeDelivery/task/index.vue

@@ -507,9 +507,10 @@ const lotDateRef = ref(null)
 const lotQualityTrueFalseBy=ref(false)
 const lotQualityMap=ref({})
 const onLot = (item) => {
+  console.log(item,"item")
   lotField.value = item.field
   if (item.field == 'lotAtt05' ) return
-  if ( item.field == 'lotAtt08'){
+  if (item.type == 'Enum' ){
     lotQualityMap.value=JSON.parse(item.format)
     lotQualityTrueFalseBy.value = true
     return