|
@@ -52,6 +52,9 @@ const ContentAreaLarge = () => {
|
|
|
const currentExposureMode = useSelector(
|
|
|
(state: RootState) => state.apr.currentExposureMode
|
|
|
);
|
|
|
+ const productName = useSelector(
|
|
|
+ (state: RootState) => state.product.productName
|
|
|
+ );
|
|
|
|
|
|
const handleBodysizeChange = (value: string) => {
|
|
|
dispatch(setBodysize(value));
|
|
@@ -100,7 +103,7 @@ const ContentAreaLarge = () => {
|
|
|
</Col>
|
|
|
<Col span={4}>
|
|
|
<Row gutter={16} align="middle">
|
|
|
- <Col span={9}>
|
|
|
+ <Col span={productName === 'DROS' ? 9 : 24}>
|
|
|
<Select
|
|
|
placeholder="选择体型"
|
|
|
style={{ width: '100%', marginBottom: 8 }}
|
|
@@ -116,22 +119,26 @@ const ContentAreaLarge = () => {
|
|
|
)}
|
|
|
</Select>
|
|
|
</Col>
|
|
|
- <Col span={15}>
|
|
|
- <Select
|
|
|
- placeholder="选择工作位"
|
|
|
- style={{ width: '100%', marginBottom: 8 }}
|
|
|
- value={workstation}
|
|
|
- onChange={handleWorkstationChange}
|
|
|
- >
|
|
|
- {Object.entries(WorkstationTypeLabels).map(
|
|
|
- ([key, value]: [string, string]) => (
|
|
|
- <Select.Option key={key} value={value}>
|
|
|
- <FormattedMessage id={`workstation.${key.toLowerCase()}`} />
|
|
|
- </Select.Option>
|
|
|
- )
|
|
|
- )}
|
|
|
- </Select>
|
|
|
- </Col>
|
|
|
+ {productName === 'DROS' && (
|
|
|
+ <Col span={15}>
|
|
|
+ <Select
|
|
|
+ placeholder="选择工作位"
|
|
|
+ style={{ width: '100%', marginBottom: 8 }}
|
|
|
+ value={workstation}
|
|
|
+ onChange={handleWorkstationChange}
|
|
|
+ >
|
|
|
+ {Object.entries(WorkstationTypeLabels).map(
|
|
|
+ ([key, value]: [string, string]) => (
|
|
|
+ <Select.Option key={key} value={value}>
|
|
|
+ <FormattedMessage
|
|
|
+ id={`workstation.${key.toLowerCase()}`}
|
|
|
+ />
|
|
|
+ </Select.Option>
|
|
|
+ )
|
|
|
+ )}
|
|
|
+ </Select>
|
|
|
+ </Col>
|
|
|
+ )}
|
|
|
</Row>
|
|
|
<div>
|
|
|
<InputNumber
|