Browse Source

no message

linwenxin 3 tháng trước cách đây
mục cha
commit
f5def5ae9f
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      src/views/workOrder/qualityFeedback/index.vue

+ 2 - 1
src/views/workOrder/qualityFeedback/index.vue

@@ -487,7 +487,8 @@ export default {
               this.formData.smallName =
                 this.classifyListLv2
                   .filter(item => item.parentId === this.formData.mainId)
-                  .map((v, i) => ({ value: v.categoryId, label: v.name }))?.label || ''
+                  .map((v, i) => ({ value: v.categoryId, label: v.name }))
+                  .find(item => item.value === val)?.label || ''
             }
           }
         },