@@ -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 (