| | |
| | | }, |
| | | ], |
| | | form: [ |
| | | { label: '合伙人名称:', id: 'name', type: 'input' }, |
| | | { label: '合伙人名称:', id: 'name', type: 'input', |
| | | rules: { required: true, message: '请输入合伙人名称:' }, |
| | | }, |
| | | { |
| | | label: '联系方式:',id: 'contactTel',type: 'input', |
| | | rules: [{ required: true, message: '请输入有效的联系方式' ,pattern: /^1[3-9]\d{9}$/}, |
| | | ], |
| | | }, |
| | | { label: '城市仓名称', id: 'cityWarehouse', type: 'input' , |
| | | rules: { required: true, message: '请输入城市仓名称' }, |
| | | }, |
| | | { |
| | | label: '服务地区:', |
| | | id: 'district', |
| | | type: 'bus-cascader', |
| | | el: { |
| | | otherInterfaceUri: 'flower/api/pub/china/area/json', |
| | | otherInterfaceUri: 'flower/api/pub/china/web/area/json', |
| | | props: { |
| | | label: 'name', |
| | | value: 'code', |
| | |
| | | str: true, |
| | | rules: { required: true, message: '请选择服务地区' }, |
| | | }, |
| | | { |
| | | label: '联系方式:', |
| | | id: 'contactTel', |
| | | type: 'input', |
| | | { label: '地址', id: 'address', type: 'input' , |
| | | rules: { required: true, message: '请输入地址' }, |
| | | }, |
| | | { |
| | | label: '身份证正反面:', |
| | |
| | | }, |
| | | commonFormat: true, |
| | | forceDisabled: true, |
| | | readonly: true, |
| | | readonly: false, |
| | | rules:[ |
| | | { required: true, message: '请上传身份证正反面' }, |
| | | { |
| | | validator: (rule, value, callback) => { |
| | | if (!value || value.length < 2) { |
| | | callback(new Error('请至少上传两张图片')); |
| | | } else { |
| | | callback(); |
| | | } |
| | | }, |
| | | trigger: 'change', |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | label: '状态:', |
| | |
| | | { |
| | | text: '注册手机号修改', |
| | | atClick: (row) => { |
| | | this.smsForm={} |
| | | this.smsForm.id=row.id |
| | | this.getSmsCapacha() |
| | | this.dialogVisible = true |