|
|
|
@ -309,79 +309,7 @@ const Main = () => {
|
|
|
|
|
{ title: '钢板利用率', dataIndex: 'SUB_RATE', key: 'SUB_RATE', width: 100, ellipsis: true },
|
|
|
|
|
{ title: '替代时间', dataIndex: 'DATA_TIME', key: 'DATA_TIME', width: 102, ellipsis: true },
|
|
|
|
|
{ title: '替代类型', dataIndex: 'IS_FULL', key: 'IS_FULL', width: 83, ellipsis: true },
|
|
|
|
|
{
|
|
|
|
|
title: '替代前物料信息',
|
|
|
|
|
ellipsis: true,
|
|
|
|
|
className: 'replaceColor',
|
|
|
|
|
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
title: '标准号',
|
|
|
|
|
dataIndex: 'GP_APLY_STDSPEC',
|
|
|
|
|
key: 'GP_APLY_STDSPEC',
|
|
|
|
|
width: 160,
|
|
|
|
|
ellipsis: true,
|
|
|
|
|
className: 'replaceColor',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '厚度',
|
|
|
|
|
dataIndex: 'GP_THK',
|
|
|
|
|
key: 'GP_THK',
|
|
|
|
|
width: 60,
|
|
|
|
|
ellipsis: true,
|
|
|
|
|
className: 'replaceColor',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '宽度',
|
|
|
|
|
dataIndex: 'GP_WID',
|
|
|
|
|
key: 'GP_WID',
|
|
|
|
|
width: 60,
|
|
|
|
|
ellipsis: true,
|
|
|
|
|
className: 'replaceColor',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '长度',
|
|
|
|
|
dataIndex: 'GP_LEN',
|
|
|
|
|
key: 'GP_LEN',
|
|
|
|
|
width: 60,
|
|
|
|
|
ellipsis: true,
|
|
|
|
|
className: 'replaceColor',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '重量',
|
|
|
|
|
dataIndex: 'GP_WGT',
|
|
|
|
|
key: 'GP_WGT',
|
|
|
|
|
width: 60,
|
|
|
|
|
ellipsis: true,
|
|
|
|
|
className: 'replaceColor',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '状态',
|
|
|
|
|
dataIndex: 'PROC_STATE',
|
|
|
|
|
key: 'PROC_STATE',
|
|
|
|
|
width: 60,
|
|
|
|
|
ellipsis: true,
|
|
|
|
|
className: 'replaceColor',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '替代时仓库',
|
|
|
|
|
dataIndex: 'GP_CUR_INV',
|
|
|
|
|
key: 'GP_CUR_INV',
|
|
|
|
|
width: 100,
|
|
|
|
|
ellipsis: true,
|
|
|
|
|
className: 'replaceColor',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '货位',
|
|
|
|
|
dataIndex: 'LOC',
|
|
|
|
|
key: 'LOC',
|
|
|
|
|
width: 100,
|
|
|
|
|
ellipsis: true,
|
|
|
|
|
className: 'replaceColor',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
{
|
|
|
|
|
title: '替代后订单',
|
|
|
|
|
ellipsis: true,
|
|
|
|
|
className: 'endColor',
|
|
|
|
@ -402,14 +330,14 @@ const Main = () => {
|
|
|
|
|
ellipsis: true,
|
|
|
|
|
className: 'endColor',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '订单交货期',
|
|
|
|
|
dataIndex: 'BOI_DEL_TO_DATE',
|
|
|
|
|
key: 'BOI_DEL_TO_DATE',
|
|
|
|
|
width: 100,
|
|
|
|
|
ellipsis: true,
|
|
|
|
|
className: 'endColor',
|
|
|
|
|
},
|
|
|
|
|
// {
|
|
|
|
|
// title: '订单交货期',
|
|
|
|
|
// dataIndex: 'BOI_DEL_TO_DATE',
|
|
|
|
|
// key: 'BOI_DEL_TO_DATE',
|
|
|
|
|
// width: 100,
|
|
|
|
|
// ellipsis: true,
|
|
|
|
|
// className: 'endColor',
|
|
|
|
|
// },
|
|
|
|
|
{
|
|
|
|
|
title: '标准',
|
|
|
|
|
dataIndex: 'BOI_STDSPEC',
|
|
|
|
@ -500,11 +428,84 @@ const Main = () => {
|
|
|
|
|
className: 'endColor',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '替代前物料信息',
|
|
|
|
|
ellipsis: true,
|
|
|
|
|
className: 'replaceColor',
|
|
|
|
|
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
title: '标准号',
|
|
|
|
|
dataIndex: 'GP_APLY_STDSPEC',
|
|
|
|
|
key: 'GP_APLY_STDSPEC',
|
|
|
|
|
width: 160,
|
|
|
|
|
ellipsis: true,
|
|
|
|
|
className: 'replaceColor',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '厚度',
|
|
|
|
|
dataIndex: 'GP_THK',
|
|
|
|
|
key: 'GP_THK',
|
|
|
|
|
width: 60,
|
|
|
|
|
ellipsis: true,
|
|
|
|
|
className: 'replaceColor',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '宽度',
|
|
|
|
|
dataIndex: 'GP_WID',
|
|
|
|
|
key: 'GP_WID',
|
|
|
|
|
width: 60,
|
|
|
|
|
ellipsis: true,
|
|
|
|
|
className: 'replaceColor',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '长度',
|
|
|
|
|
dataIndex: 'GP_LEN',
|
|
|
|
|
key: 'GP_LEN',
|
|
|
|
|
width: 60,
|
|
|
|
|
ellipsis: true,
|
|
|
|
|
className: 'replaceColor',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '重量',
|
|
|
|
|
dataIndex: 'GP_WGT',
|
|
|
|
|
key: 'GP_WGT',
|
|
|
|
|
width: 60,
|
|
|
|
|
ellipsis: true,
|
|
|
|
|
className: 'replaceColor',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '状态',
|
|
|
|
|
dataIndex: 'PROC_STATE',
|
|
|
|
|
key: 'PROC_STATE',
|
|
|
|
|
width: 60,
|
|
|
|
|
ellipsis: true,
|
|
|
|
|
className: 'replaceColor',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '替代时仓库',
|
|
|
|
|
dataIndex: 'GP_CUR_INV',
|
|
|
|
|
key: 'GP_CUR_INV',
|
|
|
|
|
width: 100,
|
|
|
|
|
ellipsis: true,
|
|
|
|
|
className: 'replaceColor',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '货位',
|
|
|
|
|
dataIndex: 'LOC',
|
|
|
|
|
key: 'LOC',
|
|
|
|
|
width: 100,
|
|
|
|
|
ellipsis: true,
|
|
|
|
|
className: 'replaceColor',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
title: '用户交货期',
|
|
|
|
|
dataIndex: 'BOI_DEL_TO_DATE',
|
|
|
|
|
key: 'BOI_DEL_TO_DATE',
|
|
|
|
|
dataIndex: 'BOI_DEL_FR_DATE',
|
|
|
|
|
key: 'BOI_DEL_FR_DATE',
|
|
|
|
|
width: 100,
|
|
|
|
|
ellipsis: true,
|
|
|
|
|
},
|
|
|
|
@ -885,32 +886,7 @@ const Main = () => {
|
|
|
|
|
/>
|
|
|
|
|
</Item>
|
|
|
|
|
</Col>
|
|
|
|
|
<Col span={3} style={{ marginLeft: '-100px' }}>
|
|
|
|
|
<Item label="状态" name="PROC_CD" style={{ width: 211 }}>
|
|
|
|
|
<Select
|
|
|
|
|
mode="multiple"
|
|
|
|
|
showArrow={true}
|
|
|
|
|
placeholder="请选择"
|
|
|
|
|
value={selectedItems}
|
|
|
|
|
allowClear
|
|
|
|
|
onChange={setSelectedItems}
|
|
|
|
|
style={{ width: '100%' }}
|
|
|
|
|
>
|
|
|
|
|
{filteredOptions.map((item) => (
|
|
|
|
|
<Select.Option key={item} value={item}>
|
|
|
|
|
{item}
|
|
|
|
|
</Select.Option>
|
|
|
|
|
))}
|
|
|
|
|
</Select>
|
|
|
|
|
{/* <Dictionary
|
|
|
|
|
placeholder="请选择"
|
|
|
|
|
dict="TDZT"
|
|
|
|
|
form={form}
|
|
|
|
|
valueName="PROC_CD"
|
|
|
|
|
labelName="PROC_CD"
|
|
|
|
|
/> */}
|
|
|
|
|
</Item>
|
|
|
|
|
</Col>
|
|
|
|
|
|
|
|
|
|
</Row>
|
|
|
|
|
<Row gutter={[16, 8]} style={{ marginBottom: '-25px' }}>
|
|
|
|
|
{/* <Col span={4}>
|
|
|
|
@ -960,6 +936,43 @@ const Main = () => {
|
|
|
|
|
/> */}
|
|
|
|
|
</Item>
|
|
|
|
|
</Col>
|
|
|
|
|
<Col span={4} style={{ marginLeft: '-40px' }}>
|
|
|
|
|
<Item label="工厂" style={{ width: 170 }}>
|
|
|
|
|
<Dictionary
|
|
|
|
|
placeholder="请选择"
|
|
|
|
|
dict="B0033"
|
|
|
|
|
form={form}
|
|
|
|
|
valueName="PLT"
|
|
|
|
|
labelName="PLT"
|
|
|
|
|
/>
|
|
|
|
|
</Item>
|
|
|
|
|
</Col>
|
|
|
|
|
<Col span={3} style={{ marginLeft: '-40px' }}>
|
|
|
|
|
<Item label="状态" name="PROC_CD" style={{ width: 211 }}>
|
|
|
|
|
<Select
|
|
|
|
|
mode="multiple"
|
|
|
|
|
showArrow={true}
|
|
|
|
|
placeholder="请选择"
|
|
|
|
|
value={selectedItems}
|
|
|
|
|
allowClear
|
|
|
|
|
onChange={setSelectedItems}
|
|
|
|
|
style={{ width: '100%' }}
|
|
|
|
|
>
|
|
|
|
|
{filteredOptions.map((item) => (
|
|
|
|
|
<Select.Option key={item} value={item}>
|
|
|
|
|
{item}
|
|
|
|
|
</Select.Option>
|
|
|
|
|
))}
|
|
|
|
|
</Select>
|
|
|
|
|
{/* <Dictionary
|
|
|
|
|
placeholder="请选择"
|
|
|
|
|
dict="TDZT"
|
|
|
|
|
form={form}
|
|
|
|
|
valueName="PROC_CD"
|
|
|
|
|
labelName="PROC_CD"
|
|
|
|
|
/> */}
|
|
|
|
|
</Item>
|
|
|
|
|
</Col>
|
|
|
|
|
|
|
|
|
|
<Space style={{ position: 'absolute', right: 25 }} size={8}>
|
|
|
|
|
<Item style={{ textAlign: 'center' }}>
|
|
|
|
|