linwenxin hai 2 meses
pai
achega
648f3f3928
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 (