Commit 8cfdcfa2 authored by 前端-黄佳鑫's avatar 前端-黄佳鑫

🐞 fix: 修复采购询价BUG

parent 756e4467
...@@ -74,8 +74,8 @@ interface Iprops { ...@@ -74,8 +74,8 @@ interface Iprops {
effects?: string, effects?: string,
selectedRow?: boolean, selectedRow?: boolean,
reload?: any, reload?: any,
externalStatusFetch?: Promise<unknown>, externalStatusFetch?: () => Promise<unknown>,
interiorStatusFetch?: Promise<unknown>, interiorStatusFetch?: () => Promise<unknown>,
} }
const formActions = createFormActions(); const formActions = createFormActions();
const Table: React.FC<Iprops> = (props: any) => { const Table: React.FC<Iprops> = (props: any) => {
......
...@@ -55,8 +55,8 @@ const SubmitOffter = () => { ...@@ -55,8 +55,8 @@ const SubmitOffter = () => {
render: (text: any, record: any) => format(text) render: (text: any, record: any) => format(text)
}, { }, {
title: '报价轮次', title: '报价轮次',
key: 'count', key: 'turn',
dataIndex: 'count', dataIndex: 'turn',
render: (text: any, record: any) => ( render: (text: any, record: any) => (
<> <>
<Rate <Rate
...@@ -78,12 +78,12 @@ const SubmitOffter = () => { ...@@ -78,12 +78,12 @@ const SubmitOffter = () => {
title: '外部状态', title: '外部状态',
key: 'externalState', key: 'externalState',
dataIndex: 'externalState', dataIndex: 'externalState',
render: (text: any, record: any) => <Tag color={OFFTER_EXTERNALSTATE_COLOR[text]}>{OFFTER_EXTERNALSTATE[text]}</Tag> render: (text: any, record: any) => <Tag color={OFFTER_EXTERNALSTATE_COLOR[text]}>{record.externalStateName}</Tag>
}, { }, {
title: '内部状态', title: '内部状态',
key: 'interiorState', key: 'interiorState',
dataIndex: 'interiorState', dataIndex: 'interiorState',
render: (text: any, record: any) => <Badge status={OFFTER_INTERNALSTATE_COLOR[text]} text={OFFTER_INTERNALSTATE[text]} /> render: (text: any, record: any) => <Badge status={OFFTER_INTERNALSTATE_COLOR[text]} text={record.interiorStateName} />
}, { }, {
title: '操作', title: '操作',
key: 'operate', key: 'operate',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment