浏览代码

no message

linwenxin 2 月之前
父节点
当前提交
648f3f3928
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 (