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

🐞 fix(): 修改采购询价报价bug

parent b34983ce
......@@ -142,7 +142,7 @@ const MaterialLayout: React.FC<IPROPS> = (props: any) => {
}
MaterialLayout.defaultProps = {
layoutTitle : '采购料'
layoutTitle : '采购料'
}
export default MaterialLayout;
......@@ -30,7 +30,7 @@ const ICON_STYLE: any = {
const TABLINK = [
{ id: 'progressLayout', title: '流转进度' },
{ id: 'basicLayout', title: '基本流程' },
{ id: 'materialLayout', title: '采购料' },
{ id: 'materialLayout', title: '采购料' },
{ id: 'conditionLayout', title: '交易条件' },
{ id: 'demandLayout', title: '需求对接' },
{ id: 'recordLyout', title: '流转记录' },
......
......@@ -26,7 +26,7 @@ const ICON_STYLE: any = {
const TABLINK = [
{ id: 'progressLayout', title: '流转进度' },
{ id: 'basicLayout', title: '基本流程' },
{ id: 'materialLayout', title: '采购料' },
{ id: 'materialLayout', title: '采购料' },
{ id: 'conditionLayout', title: '交易条件' },
{ id: 'recordLyout', title: '流转记录' },
]
......
......@@ -73,8 +73,8 @@ const Offter = () => {
)
}, {
title: '是否中标',
key: 'iSprize',
dataIndex: 'iSprize',
key: 'isPrize',
dataIndex: 'isPrize',
render: (text: any) => (text ? <Text type='success'></Text> : <Text type='warning'></Text>)
}, {
title: '外部状态',
......
......@@ -90,4 +90,4 @@ const Search = () => {
/>
)
}
export default Search
\ No newline at end of file
export default Search
......@@ -173,7 +173,7 @@ const AddForm = () => {
/>
</TabPane>
{/* 添加采购物料 */}
<TabPane key='2' tab={<TabFormErrors dot={badge[1]}>添加商品</TabFormErrors>} forceRender>
<TabPane key='2' tab={<TabFormErrors dot={badge[1]}>添加采购物料</TabFormErrors>} forceRender>
<Material
currentRef={currentMaterial}
fetchdata={material}
......
......@@ -93,7 +93,7 @@ const Demand: React.FC<Iprops> = (props: any) => {
key: 'membershipOrNot',
dataIndex: 'membershipOrNot',
render: (_text: any, _record: any) => <>
{ value === 3 && <Typography.Text type='success'></Typography.Text>}
{ (value === 3 || (value === 2 && _record.isSubMember === 1)) && <Typography.Text type='success'></Typography.Text>}
</>
},
{
......@@ -153,7 +153,7 @@ const Demand: React.FC<Iprops> = (props: any) => {
/** 系统匹配 */
const fetchSystemMateData = (params: any) => {
return new Promise(resolve => {
PublicApi.postPurchasePurchaseInquirySystemMatchingMemberInitializeList({ categoryIds: [], areaRequestList: [], attributeList: [], ...params }).then(res => {
PublicApi.postPurchasePurchaseInquirySystemMatchingMemberInitializeList({ ...params }, { ctlType: 'none' }).then(res => {
if (res.code === 1000) {
resolve(res.data)
}
......
......@@ -238,7 +238,7 @@ const DrawerWrite: React.FC<Iprops> = (props: any) => {
return (
<>
<Drawer
title='选择货品'
title='选择货品生成'
visible={flag}
placement='right'
width="45%"
......
......@@ -29,7 +29,7 @@ const ICON_STYLE: any = {
const TABLINK = [
{ id: 'progressLayout', title: '流转进度' },
{ id: 'basicLayout', title: '基本信息' },
{ id: 'materialLayout', title: '采购料' },
{ id: 'materialLayout', title: '采购料' },
{ id: 'conditionLayout', title: '交易条件' },
{ id: 'demandLayout', title: '需求对接' },
{ id: 'recordLyout', title: '流转记录' },
......
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