hfxc226 преди 2 години
родител
ревизия
46443360dc
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/views/sb/position/modules/BaseForm.vue

+ 1 - 1
src/views/sb/position/modules/BaseForm.vue

@@ -64,7 +64,7 @@
         :wrapperCol="BaseTool.Constant.wrapperCol"
       >
         <a-input
-          v-decorator="['code', {rules: [{required: false, message: '父子关联编码不能为空'}]}]" />
+          v-decorator="['code', {rules: [{required: true, message: '父子关联编码不能为空'}]}]" />
       </a-form-item>
       <a-form-item
         label="区域维修负责人"