Commit 7e7d7b4a authored by 前端-钟卫鹏's avatar 前端-钟卫鹏

处理资格不选择资格预审时间传参问题

parent 0664eec9
......@@ -100,6 +100,11 @@ const AddNewBid:React.FC<AddNewBidProps> = (props) => {
console.log(params, '91')
if(!params.isQualificationCheck) {
delete params.preCheckStartTime
delete params.preCheckEndTime
}
if(!(params.inviteTenderStartTime > params.registerEndTime)) {
setBtnLoading(false)
return message.error('投标开始时间必须大于报名截止时间')
......@@ -209,9 +214,8 @@ const AddNewBid:React.FC<AddNewBidProps> = (props) => {
})
$('onFieldValueChange', 'isQualificationCheck').subscribe(state => {
if(state.value) {
if(!state.value) {
ctx.setFieldValue('preCheckStartTime', null)
} else {
ctx.setFieldValue('preCheckEndTime', null)
}
})
......
......@@ -61,7 +61,7 @@ const BidMethod: React.FC<BidMethodProps> = ({cardTitle}) => {
title: '操作',
dataIndex: 'ctl',
key: 'ctl',
render: (text, record) => <Button type="link" target="blank" href={`/shop?shopId=${btoa(JSON.stringify({ roleId: record.roleId, memberId: record.memberId }))}`}>进入店铺</Button>
render: (text, record) => <Button type="link" target="blank" href={`/shop?shopId=${btoa(JSON.stringify({ roleId: record.memberRoleId, memberId: record.memberId }))}`}>进入店铺</Button>
}
];
......
......@@ -116,7 +116,7 @@ const DescriptionsInfo: React.FC<BasicInfoProps> = ({cardTitle, type}) => {
name: 'inviteTenderFile',
render: (t, r) => (<div>
{
data['inviteTenderFile'].map((_item, _i) => <p><a key={`inviteTenderFile${_i}`}><FileFilled /> {_item.name}</a></p>)
data['inviteTenderFile'].map((_item, _i) => <p><a key={`inviteTenderFile${_i}`} target="_blank" href={_item.url}><FileFilled /> {_item.name}</a></p>)
}
</div>)
},
......
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