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

+ 2 - 8
src/views/sb/info/modules/BaseForm.vue

@@ -345,14 +345,8 @@
             :labelCol="BaseTool.Constant.labelCol"
             :wrapperCol="BaseTool.Constant.wrapperCol"
           >
-            <a-select v-decorator="['saveUser']" placeholder="请选择">
-              <a-select-option
-                v-for="({userId, realName}) in userList"
-                :key="userId"
-                :label="realName"
-                :value="userId">{{ realName }}
-              </a-select-option>
-            </a-select>
+            <a-input
+              v-decorator="['saveUser', {rules: [{required: false, message: '使用人员不能为空'}]}]" />
           </a-form-item>
         </a-col>
       </a-row>