公司认证表格

This commit is contained in:
chenbo 2023-09-15 14:49:49 +08:00
parent fb21725734
commit bf42ae3ee1
2 changed files with 298 additions and 293 deletions
src/views/company_form

@ -9,30 +9,27 @@
@close="handleClose"
>
<el-form ref="formRef" :model="formData" label-width="90px" :rules="formRules">
<el-form-item label="" prop="company_name">
<el-input v-model="formData.company_name" clearable placeholder="请输入" />
<el-form-item label="商户名称" prop="company_name">
<el-input v-model="formData.company_name" clearable placeholder="请输入商户名称" />
</el-form-item>
<el-form-item label="" prop="organization_code">
<el-input v-model="formData.organization_code" clearable placeholder="请输入" />
<el-form-item label="社会信用统一代码" prop="organization_code">
<el-input v-model="formData.organization_code" clearable placeholder="请输入社会信用统一代码" />
</el-form-item>
<el-form-item label="" prop="address">
<el-input v-model="formData.address" clearable placeholder="请输入" />
<el-form-item label="详细地址" prop="address">
<el-input v-model="formData.address" clearable placeholder="请输入详细地址" />
</el-form-item>
<el-form-item label="" prop="master_name">
<el-input v-model="formData.master_name" clearable placeholder="请输入" />
<el-form-item label="法人名称" prop="master_name">
<el-input v-model="formData.master_name" clearable placeholder="请输入法人名称" />
</el-form-item>
<el-form-item label="" prop="type">
<el-input v-model="formData.type" clearable placeholder="请输入" />
</el-form-item>
<el-form-item label="" prop="master_email">
<el-input v-model="formData.master_email" clearable placeholder="请输入" />
<el-form-item label="法人邮箱" prop="master_email">
<el-input v-model="formData.master_email" clearable placeholder="请输入法人邮箱" />
</el-form-item>
<el-form-item label="" prop="notes">
<el-input v-model="formData.notes" clearable placeholder="请输入" />
</el-form-item>
<el-form-item label="" prop="type_two">
<el-input v-model="formData.type_two" clearable placeholder="请输入" />
</el-form-item>
</el-form>
</popup>
</div>
@ -71,13 +68,26 @@ const formData = reactive({
type: '',
master_email: '',
notes: '',
type_two: '',
})
//
const formRules = reactive<any>({
company_name: [{
required: true,
message: '请输入商户名称',
trigger: ['blur']
}],
organization_code: [{
required: true,
message: '请输入社会信用统一代码',
trigger: ['blur']
}],
master_name: [{
required: true,
message: '请输入法人名称',
trigger: ['blur']
}],
})

@ -6,30 +6,27 @@
:model="queryParams"
inline
>
<el-form-item label="" prop="company_name">
<el-input class="w-[280px]" v-model="queryParams.company_name" clearable placeholder="请输入" />
<el-form-item label="商户名称" prop="company_name">
<el-input class="w-[280px]" v-model="queryParams.company_name" clearable placeholder="请输入商户名称" />
</el-form-item>
<el-form-item label="" prop="organization_code">
<el-input class="w-[280px]" v-model="queryParams.organization_code" clearable placeholder="请输入" />
<el-form-item label="社会信用统一代码" prop="organization_code">
<el-input class="w-[280px]" v-model="queryParams.organization_code" clearable placeholder="请输入社会信用统一代码" />
</el-form-item>
<el-form-item label="" prop="address">
<el-input class="w-[280px]" v-model="queryParams.address" clearable placeholder="请输入" />
<el-form-item label="详细地址" prop="address">
<el-input class="w-[280px]" v-model="queryParams.address" clearable placeholder="请输入详细地址" />
</el-form-item>
<el-form-item label="" prop="master_name">
<el-input class="w-[280px]" v-model="queryParams.master_name" clearable placeholder="请输入" />
<el-form-item label="法人名称" prop="master_name">
<el-input class="w-[280px]" v-model="queryParams.master_name" clearable placeholder="请输入法人名称" />
</el-form-item>
<el-form-item label="" prop="type">
<el-input class="w-[280px]" v-model="queryParams.type" clearable placeholder="请输入" />
</el-form-item>
<el-form-item label="" prop="master_email">
<el-input class="w-[280px]" v-model="queryParams.master_email" clearable placeholder="请输入" />
<el-form-item label="法人邮箱" prop="master_email">
<el-input class="w-[280px]" v-model="queryParams.master_email" clearable placeholder="请输入法人邮箱" />
</el-form-item>
<el-form-item label="" prop="notes">
<el-input class="w-[280px]" v-model="queryParams.notes" clearable placeholder="请输入" />
</el-form-item>
<el-form-item label="" prop="type_two">
<el-input class="w-[280px]" v-model="queryParams.type_two" clearable placeholder="请输入" />
</el-form-item>
<el-form-item>
<el-button type="primary" @click="resetPage">查询</el-button>
<el-button @click="resetParams">重置</el-button>
@ -53,14 +50,13 @@
<div class="mt-4">
<el-table :data="pager.lists" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" />
<el-table-column label="" prop="company_name" show-overflow-tooltip />
<el-table-column label="" prop="organization_code" show-overflow-tooltip />
<el-table-column label="" prop="address" show-overflow-tooltip />
<el-table-column label="" prop="master_name" show-overflow-tooltip />
<el-table-column label="商户名称" prop="company_name" show-overflow-tooltip />
<el-table-column label="社会信用统一代码" prop="organization_code" show-overflow-tooltip />
<el-table-column label="详细地址" prop="address" show-overflow-tooltip />
<el-table-column label="法人名称" prop="master_name" show-overflow-tooltip />
<el-table-column label="" prop="type" show-overflow-tooltip />
<el-table-column label="" prop="master_email" show-overflow-tooltip />
<el-table-column label="法人邮箱" prop="master_email" show-overflow-tooltip />
<el-table-column label="" prop="notes" show-overflow-tooltip />
<el-table-column label="" prop="type_two" show-overflow-tooltip />
<el-table-column label="操作" width="120" fixed="right">
<template #default="{ row }">
<el-button
@ -113,7 +109,6 @@ const queryParams = reactive({
type: '',
master_email: '',
notes: '',
type_two: ''
})
//