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

🐞fix: 修改采购询价单新增 需求对接的问题

parent 5e7d1481
......@@ -130,7 +130,7 @@ const QuoteDetails = () => {
<ProgressLayout />
<BasicLayout effect={basicEffect} />
<BidInfoLayout
fetch={PublicApi.getPurchaseConfirmQuotedPriceMaterielDetailed}
fetch={PublicApi.getPurchaseQuotedPriceMaterielDetailed}
effect={{turn: dataSource.count, id }}
/>
<OtherLayout effect={otherEffect} />
......
......@@ -213,6 +213,14 @@ const Demand: React.FC<Iprops> = (props: any) => {
}
}, [fetchdata])
const handleCancel = () => {
setValue(3)
setVisible(false);
form.setFieldsValue({
'type': 3
})
}
return (
<>
<Form
......@@ -278,7 +286,7 @@ const Demand: React.FC<Iprops> = (props: any) => {
<Store
visible={visible}
storeList={storeList}
onCancel={() => { setVisible(false); setValue(2) }}
onCancel={() => handleCancel() }
getStroeList={handleStoreIds}
/>
<SelectMenber
......
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