|
|
@@ -29,6 +29,9 @@ export function handleForm() {
|
|
|
customername: [{ required: true, message: '请输入企业名称', trigger: 'blur' }],
|
|
|
nickname: [{ required: true, message: '请输入企业简称', trigger: 'blur' }],
|
|
|
cardtype: [{ required: true, validator: v_cardtype, trigger: 'change' }],
|
|
|
+ areaid: [{ required: true, message: '请选择所属机构', }],
|
|
|
+ logincode: [{ required: true, message: '请选择登录账号', }],
|
|
|
+ loginpwd: [{ required: true, message: '请选择登录密码', }],
|
|
|
};
|
|
|
return { formRef, formState, rules }
|
|
|
}
|
|
|
@@ -39,6 +42,9 @@ export function handleForm() {
|
|
|
*/
|
|
|
export function initFormState(): FormState {
|
|
|
return {
|
|
|
+ areaid: undefined,
|
|
|
+ logincode: '',
|
|
|
+ loginpwd: '',
|
|
|
userinfotype: '2',
|
|
|
customername: '',
|
|
|
nickname: '',
|