linwenxin 2 mēneši atpakaļ
vecāks
revīzija
648f3f3928
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/views/workOrder/qualityFeedback/index.vue

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

@@ -790,7 +790,7 @@ export default {
           formItemAttributes: {
             label: '外机条码',
             prop: 'waijitiaoma',
-            rules: []
+            rules: [101, 103, '101', '103'].includes(this.formData.mainId) ? [...required] : []
           },
           render: (h, { props, onInput }) => {
             return (