修改样式
This commit is contained in:
@ -194,11 +194,11 @@ const DomesticForm: React.FC<DomesticFormProps> = ({
|
||||
<Col span={8}>
|
||||
<Form.Item
|
||||
name={['coscoSupplierBase', 'enterpriseType']}
|
||||
label="企业类别"
|
||||
rules={[{ required: true, message: '请选择企业类别' }]}
|
||||
label="企业类型"
|
||||
rules={[{ required: true, message: '请选择企业类型' }]}
|
||||
>
|
||||
<Select
|
||||
placeholder="请选择企业类别"
|
||||
placeholder="请选择企业类型"
|
||||
options={companyTypeOptions.map((item) => ({
|
||||
label: item.dicName,
|
||||
value: item.code,
|
||||
|
@ -199,11 +199,11 @@ const ForeignForm: React.FC<ForeignFormProps> = ({
|
||||
<Col span={8}>
|
||||
<Form.Item
|
||||
name={['coscoSupplierBase', 'enterpriseType']}
|
||||
label="企业类别"
|
||||
rules={[{ required: true, message: '请选择企业类别' }]}
|
||||
label="企业类型"
|
||||
rules={[{ required: true, message: '请选择企业类型' }]}
|
||||
>
|
||||
<Select
|
||||
placeholder="请选择企业类别"
|
||||
placeholder="请选择企业类型"
|
||||
options={companyTypeOptions.map(item => ({
|
||||
label: item.dicName,
|
||||
value: item.code,
|
||||
|
@ -11,6 +11,9 @@
|
||||
:global(.ant-card-head) {
|
||||
background-color: #fafafa;
|
||||
}
|
||||
:global(.ant-card-body) {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.formActions {
|
||||
@ -48,13 +51,15 @@
|
||||
|
||||
.detail-card {
|
||||
margin-bottom: 16px;
|
||||
:global(.ant-card-body) {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.indicator-table {
|
||||
margin-top: 16px;
|
||||
// margin-top: 16px;
|
||||
}
|
||||
|
||||
.status-tag {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
@ -446,7 +446,6 @@ const SupplierAnnualTemplateManageAdd: React.FC<PageProps> = ({ breadcrumb, disp
|
||||
<Card
|
||||
title={intl.formatMessage({ id: 'supplierAnnualTemplateManage.add.basicInfo' })}
|
||||
bordered={false}
|
||||
className={styles.innerCard}
|
||||
>
|
||||
<Row gutter={24}>
|
||||
<Col span={8}>
|
||||
|
@ -133,7 +133,7 @@ const SupplierAnnualTemplateManageDetail: React.FC = () => {
|
||||
{templateDetail ? (
|
||||
<>
|
||||
<Card title={intl.formatMessage({ id: 'supplierAnnualTemplateManage.add.basicInfo' })} bordered={false} className={styles['detail-card']}>
|
||||
<Descriptions column={2} bordered>
|
||||
<Descriptions column={2} bordered style={{marginTop: 16}}>
|
||||
<Descriptions.Item label={intl.formatMessage({ id: 'supplierAnnualTemplateManage.list.templateName' })}>
|
||||
{templateDetail.templateName}
|
||||
</Descriptions.Item>
|
||||
|
@ -12,6 +12,9 @@
|
||||
:global(.ant-card-head) {
|
||||
background-color: #fafafa;
|
||||
}
|
||||
:global(.ant-card-body) {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.template-indicator-card {
|
||||
|
@ -427,7 +427,7 @@ const SupplierTemplateManageAdd: React.FC<PageProps> = ({ breadcrumb, dispatch }
|
||||
<Card
|
||||
title={intl.formatMessage({ id: 'supplierTemplateManage.card.basicInfo' })}
|
||||
bordered={false}
|
||||
className={styles.innerCard}
|
||||
// className={styles.innerCard}
|
||||
>
|
||||
<Row gutter={24}>
|
||||
<Col span={8}>
|
||||
|
@ -5,6 +5,7 @@ import { ArrowLeftOutlined } from '@ant-design/icons';
|
||||
import { getTemplateDetail } from '@/servers/api/supplierEvaluate';
|
||||
import { TemplateStatusText, CategoryLimitationTypeText } from '@/dicts/supplierTemplateDict';
|
||||
import EvaluateTemplateTable from '@/components/EvaluateTemplateTable';
|
||||
import styles from './supplierTemplateManage.less';
|
||||
|
||||
const { Title } = Typography;
|
||||
|
||||
@ -84,8 +85,9 @@ const SupplierTemplateManageDetail: React.FC = () => {
|
||||
<Card
|
||||
title={intl.formatMessage({ id: 'supplierTemplateManage.detail.card.basicInfo' })}
|
||||
bordered={false}
|
||||
className={styles.innerCard}
|
||||
>
|
||||
<Descriptions column={2} bordered>
|
||||
<Descriptions column={2} bordered style={{marginTop: 16}}>
|
||||
<Descriptions.Item
|
||||
label={intl.formatMessage({
|
||||
id: 'supplierTemplateManage.detail.label.templateName',
|
||||
@ -139,6 +141,7 @@ const SupplierTemplateManageDetail: React.FC = () => {
|
||||
<Card
|
||||
title={intl.formatMessage({ id: 'supplierTemplateManage.detail.card.indicators' })}
|
||||
bordered={false}
|
||||
className={styles.innerCard}
|
||||
>
|
||||
{templateData.length > 0 ? (
|
||||
<EvaluateTemplateTable value={templateData} isDetail={true} />
|
||||
|
Reference in New Issue
Block a user