Browse Source

修改组织管理

zhaoke 2 years ago
parent
commit
cd17caf91e

+ 2 - 1
src/views/organizationManagement/components/organizationAdd.vue

@@ -28,7 +28,7 @@
             </el-select>
           </el-form-item>
           <el-form-item prop="desc" label="描述">
-            <el-input style="width: 1050px" placeholder="请输入描述" v-model.trim="form.desc"></el-input>
+            <el-input style="width: 1060px" placeholder="请输入描述" v-model.trim="form.desc"></el-input>
           </el-form-item>
           <div class="top24 codeMores">
             <el-form-item class="oneCode" prop="oneCode" label="1级编码">
@@ -116,6 +116,7 @@ export default {
         fourCode: [{ validator: lengthValidator, max: 2, message: '长度在 1 到 2 个字符', trigger: ['change', 'blur'] }],
         fiveCode: [{ validator: lengthValidator, max: 2, message: '长度在 1 到 2 个字符', trigger: ['change', 'blur'] }],
         bmCode: [
+          { required: true, message: "请输入编码类型", trigger: ['change', 'blur'] },
           { validator: lengthValidator, max: 1, message: '长度在 1 个字符', trigger: ['change', 'blur'] },
           { validator: checkDx, trigger: ['change', 'blur'] }
         ],

+ 2 - 1
src/views/organizationManagement/components/organizationEdit.vue

@@ -28,7 +28,7 @@
             </el-select>
           </el-form-item>
           <el-form-item prop="desc" label="描述">
-            <el-input style="width: 1050px" placeholder="请输入描述" v-model.trim="form.desc"></el-input>
+            <el-input style="width: 1060px" placeholder="请输入描述" v-model.trim="form.desc"></el-input>
           </el-form-item>
           <div class="top24">
             <el-form-item class="oneCode" prop="oneCode" label="1级编码">
@@ -116,6 +116,7 @@ export default {
         fourCode: [{ validator: lengthValidator, max: 2, message: '长度在 1 到 2 个字符', trigger: ['change', 'blur'] }],
         fiveCode: [{ validator: lengthValidator, max: 2, message: '长度在 1 到 2 个字符', trigger: ['change', 'blur'] }],
         bmCode: [
+          { required: true, message: "请输入编码类型", trigger: ['change', 'blur'] },
           { validator: lengthValidator, max: 1, message: '长度在 1 个字符', trigger: ['change', 'blur'] },
           { validator: checkDx, trigger: ['change', 'blur'] }
         ],