This commit is contained in:
houjishuang
2025-07-10 16:37:04 +08:00
parent 3630d5377c
commit 847b22e2cb
2 changed files with 10 additions and 8 deletions

View File

@ -45,17 +45,19 @@ const SelectProvider: React.FC<SelectProviderProps> = ({ onSelect, visible = fal
const columns: ProColumns<any>[] = [
{ title: '序号', valueType: 'index', width: 50, search: false, },
{ title: '供应商名称', dataIndex: 'name', },//, ellipsis: true
{ title: '供应商分类code', dataIndex: 'kindCode', hideInTable:true,
valueEnum: { 'EBTP': { text: '招标采购中心', status: 'EBTP' }, },
{ title: '供应商分类', dataIndex: 'kindCode',
valueEnum: { 'dvs': { text: '境内企业/机构', status: 'dvs' }, 'ovs': { text: '境外企业', status: 'ovs' },'pe': { text: '个人/机构', status: 'pe' },},
},
{ title: '供应商分类', dataIndex: 'kindName',
{ title: '供应商分类', dataIndex: 'kindName',
hideInTable:true,
},//, ellipsis: true//, ellipsis: true
{ title: '品类', dataIndex: 'goodsTypeName', },
{ title: '准入时间', dataIndex: 'accessTime', },//, ellipsis: true
{ title: '准入人', dataIndex: 'accessUser', search: false, hideInTable:true,},//, ellipsis: true
{ title: '状态', dataIndex: 'agent', },//, ellipsis: true
{ title: '状态', dataIndex: 'agent',
valueEnum: { 0: { text: '未合作', status: 0 }, 1: { text: '已合作', status: 1 },2: { text: '失效', status: 2 },},
},//, ellipsis: true
{ title: 'id', dataIndex: 'id', search: false,hideInTable:true,},//, ellipsis: true
// { title: '创建时间', dataIndex: 'createDate', width: '10%', valueType: 'dateTime', search: false },

View File

@ -319,7 +319,7 @@ const [currentProviderId, setCurrentProviderId] = useState<string>('');
</div>
<div className="info-item" style={{ flex: '0 0 48%', margin: '0 1% 1rem', display: 'flex' }}>
<span className="info-label" style={{ flex: '0 0 30%', textAlign: 'right', marginRight: '2%' }}></span>
<span className="info-content" style={{ flex: '1' }}>{userData?.fullName || '-'}</span>
<span className="info-content" style={{ flex: '1' }}>{userData?.employeeNumber || '-'}</span>
</div>
<div className="info-item" style={{ flex: '0 0 48%', margin: '0 1% 1rem', display: 'flex' }}>
<span className="info-label" style={{ flex: '0 0 30%', textAlign: 'right', marginRight: '2%' }}></span>
@ -327,11 +327,11 @@ const [currentProviderId, setCurrentProviderId] = useState<string>('');
</div>
<div className="info-item" style={{ flex: '0 0 48%', margin: '0 1% 1rem', display: 'flex' }}>
<span className="info-label" style={{ flex: '0 0 30%', textAlign: 'right', marginRight: '2%' }}></span>
<span className="info-content" style={{ flex: '1' }}>{userData?.fullName || '-'}</span>
<span className="info-content" style={{ flex: '1' }}>{userData?.organizationName || '-'}</span>
</div>
<div className="info-item" style={{ flex: '0 0 48%', margin: '0 1% 1rem', display: 'flex' }}>
<span className="info-label" style={{ flex: '0 0 30%', textAlign: 'right', marginRight: '2%' }}></span>
<span className="info-content" style={{ flex: '1' }}>{userData?.fullName || '-'}</span>
<span className="info-content" style={{ flex: '1' }}>{userData?.deptName || '-'}</span>
</div>
</div>