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

🐞 fix: 修复采购询价BUG

parent 756e4467
......@@ -74,8 +74,8 @@ interface Iprops {
effects?: string,
selectedRow?: boolean,
reload?: any,
externalStatusFetch?: Promise<unknown>,
interiorStatusFetch?: Promise<unknown>,
externalStatusFetch?: () => Promise<unknown>,
interiorStatusFetch?: () => Promise<unknown>,
}
const formActions = createFormActions();
const Table: React.FC<Iprops> = (props: any) => {
......
......@@ -55,8 +55,8 @@ const SubmitOffter = () => {
render: (text: any, record: any) => format(text)
}, {
title: '报价轮次',
key: 'count',
dataIndex: 'count',
key: 'turn',
dataIndex: 'turn',
render: (text: any, record: any) => (
<>
<Rate
......@@ -78,12 +78,12 @@ const SubmitOffter = () => {
title: '外部状态',
key: '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: '内部状态',
key: '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: '操作',
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