整理代码
This commit is contained in:
@@ -102,26 +102,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="detail-section">
|
||||
<div class="detail-section-title">税务信息</div>
|
||||
<div class="detail-grid">
|
||||
<div v-for="item in taxDetailItems" :key="item.label" class="detail-item">
|
||||
<span>{{ item.label }}</span>
|
||||
<strong>{{ item.value }}</strong>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="detail-section">
|
||||
<div class="detail-section-title">银行与预设信息</div>
|
||||
<div class="detail-grid">
|
||||
<div v-for="item in presetDetailItems" :key="item.label" class="detail-item">
|
||||
<span>{{ item.label }}</span>
|
||||
<strong>{{ item.value }}</strong>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="detail-section">
|
||||
<div class="detail-section-title">系统信息</div>
|
||||
<div class="detail-grid">
|
||||
@@ -342,36 +322,6 @@ const baseDetailItems = computed(() => {
|
||||
]
|
||||
})
|
||||
|
||||
const taxDetailItems = computed(() => {
|
||||
const user = detailUser.value
|
||||
if (!user) return []
|
||||
return [
|
||||
{ label: '纳税人识别号', value: displayValue(user.taxpayerNum) },
|
||||
{ label: '数电账号', value: displayValue(user.account) },
|
||||
{ label: '身份类型', value: displayValue(user.taxIdentityType) },
|
||||
{ label: '联系人', value: displayValue(user.taxContactName) },
|
||||
{ label: '联系人电话', value: displayValue(user.taxContactPhone) },
|
||||
{ label: '联系人邮箱', value: displayValue(user.taxContactEmail) },
|
||||
{ label: '法定代表人', value: displayValue(user.taxLegalPersonName) },
|
||||
{ label: '企业名称', value: displayValue(user.taxEnterpriseName) },
|
||||
{ label: '地区编码', value: displayValue(user.taxRegionCode) },
|
||||
{ label: '城市', value: displayValue(user.taxCityName) },
|
||||
{ label: '企业地址', value: displayValue(user.taxEnterpriseAddress) },
|
||||
{ label: '税务登记证', value: displayValue(user.taxRegistrationCertificate) }
|
||||
]
|
||||
})
|
||||
|
||||
const presetDetailItems = computed(() => {
|
||||
const user = detailUser.value
|
||||
if (!user) return []
|
||||
return [
|
||||
{ label: '开户行', value: displayValue(user.bankName) },
|
||||
{ label: '银行账号', value: displayValue(user.bankAccount) },
|
||||
{ label: '预设地址', value: displayValue(user.presetAddress) },
|
||||
{ label: '预设电话', value: displayValue(user.presetPhone) }
|
||||
]
|
||||
})
|
||||
|
||||
const systemDetailItems = computed(() => {
|
||||
const user = detailUser.value
|
||||
if (!user) return []
|
||||
|
||||
Reference in New Issue
Block a user