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

🐞fix: 修改报价轮次问题

parent f60b8ef0
...@@ -107,7 +107,7 @@ const ToComparePrices = () => { ...@@ -107,7 +107,7 @@ const ToComparePrices = () => {
record.confirmInteriorState === OFFTER_CONFIRMINTERNALSTATE_TYPE.AUDITNOPASS2_TYPE record.confirmInteriorState === OFFTER_CONFIRMINTERNALSTATE_TYPE.AUDITNOPASS2_TYPE
) && <Button type='link'>修改授标结果</Button> ) && <Button type='link'>修改授标结果</Button>
} }
<Button type='link' onClick={() => history.push(`/memberCenter/procurementAbility/confirmOffer/preview?id=${record.id}&turn=${record.turn}`)}>查看</Button> <Button type='link' onClick={() => history.push(`/memberCenter/procurementAbility/confirmOffer/toComparePrices/preview?id=${record.id}&turn=${record.turn}`)}>查看</Button>
</> </>
}]; }];
......
...@@ -208,16 +208,20 @@ const OfferInfo: React.FC<IProps> = (props: any) => { ...@@ -208,16 +208,20 @@ const OfferInfo: React.FC<IProps> = (props: any) => {
current: '1', current: '1',
pageSize: '100', pageSize: '100',
} }
PublicApi.getPurchaseQuotedPriceMaterielDetailed({ ...params }).then((res: any) => { const param = { ...data };
if (res.code !== 1000) { if (name === 'quote') {
return param[index] = fetchdata.materiels;
}
const param = { ...data };
param[index] = [...res.data.data];
console.log(param, 10086)
setData({ ...param }); setData({ ...param });
setDataSource(res.data.data) } else {
}) PublicApi.getPurchaseQuotedPriceMaterielDetailed({ ...params }).then((res: any) => {
if (res.code !== 1000) {
return
}
param[index] = [...res.data.data];
setData({ ...param });
})
}
} }
useEffect(() => { useEffect(() => {
...@@ -259,7 +263,7 @@ const OfferInfo: React.FC<IProps> = (props: any) => { ...@@ -259,7 +263,7 @@ const OfferInfo: React.FC<IProps> = (props: any) => {
productId: item.productId, productId: item.productId,
goodsId: item.goodsId, goodsId: item.goodsId,
productBrand: item.productBrand, productBrand: item.productBrand,
productAttributeJson: item.productAttributeJson, productAttributeJson: `${item.productAttributeJson}-${item.customerCategoryName}`,
}) })
}) })
resolve({ resolve({
......
...@@ -114,6 +114,8 @@ const CrossSellProducts: React.FC<IProps> = (props: any) => { ...@@ -114,6 +114,8 @@ const CrossSellProducts: React.FC<IProps> = (props: any) => {
setFiles(arr); setFiles(arr);
} }
console.log(record, 10086)
return ( return (
<> <>
<Drawer <Drawer
......
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