年审
This commit is contained in:
@ -33,7 +33,7 @@ import {
|
||||
updateTemplate,
|
||||
addTemplate
|
||||
} from '@/servers/api/supplierEvaluate';
|
||||
import './supplierTemplateManage.less';
|
||||
import styles from './supplierTemplateManage.less';
|
||||
|
||||
const { Option } = Select;
|
||||
|
||||
@ -239,7 +239,7 @@ const SupplierTemplateManageAdd: React.FC = () => {
|
||||
return (
|
||||
<div className="common-container">
|
||||
<Card bordered={false}>
|
||||
<div className="page-header">
|
||||
<div className={styles.pageHeader}>
|
||||
<Title level={4} style={{ margin: 0 }}>
|
||||
{isEdit ? '编辑评价模板' : '新增评价模板'}
|
||||
</Title>
|
||||
@ -261,7 +261,7 @@ const SupplierTemplateManageAdd: React.FC = () => {
|
||||
wrapperCol={{ span: 17 }}
|
||||
>
|
||||
<Spin spinning={loading}>
|
||||
<Card title="基础信息" bordered={false} className="inner-card">
|
||||
<Card title="基础信息" bordered={false} className={styles.innerCard}>
|
||||
<Row gutter={24}>
|
||||
<Col span={8}>
|
||||
<Form.Item
|
||||
@ -299,7 +299,7 @@ const SupplierTemplateManageAdd: React.FC = () => {
|
||||
name="categoryId"
|
||||
rules={[{ required: true, message: '请选择品类' }]}
|
||||
>
|
||||
<CategorySelector value={categoryLimitation} />
|
||||
<CategorySelector value={categoryLimitation} multiple={false} />
|
||||
</Form.Item>
|
||||
) : null;
|
||||
}}
|
||||
@ -375,7 +375,7 @@ const SupplierTemplateManageAdd: React.FC = () => {
|
||||
|
||||
<Divider />
|
||||
|
||||
<Card title="指标信息" bordered={false} className="inner-card">
|
||||
<Card title="指标信息" bordered={false} className={styles.innerCard}>
|
||||
<EvaluateTemplateTable
|
||||
onChange={handleTemplateDataChange}
|
||||
value={templateData}
|
||||
@ -383,7 +383,7 @@ const SupplierTemplateManageAdd: React.FC = () => {
|
||||
</Card>
|
||||
</Spin>
|
||||
|
||||
<div className="form-actions">
|
||||
<div className={styles.formActions}>
|
||||
<Space>
|
||||
<Button onClick={handleBack}>取消</Button>
|
||||
<Button type="primary" htmlType="submit" loading={loading} icon={<SaveOutlined />}>
|
||||
|
Reference in New Issue
Block a user