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

fix:

parent be70f622
......@@ -258,6 +258,7 @@ const bidRequestInfo: ISchema = {
title: '投标要求时间',
required: true,
"x-component-props": {
placeholder: ['开始时间', '结束时间'],
disabledDate: current => {
return current && current < moment().startOf('second')
},
......@@ -271,6 +272,7 @@ const bidRequestInfo: ISchema = {
title: '开标时间',
required: true,
"x-component-props": {
placeholder: '开标时间',
disabledDate: current => {
return current && current < moment().startOf('second')
},
......@@ -284,6 +286,7 @@ const bidRequestInfo: ISchema = {
title: '交付日期',
required: true,
"x-component-props": {
placeholder: '交付日期',
disabledDate: current => {
return current && current < moment().startOf('second')
},
......
......@@ -90,7 +90,8 @@ const AddRemarkBidCommittee:React.FC<AddRemarkBidCommitteeProps> = (props) => {
initRender.code = data['code']
initRender.projectName = data['projectName']
initRender.openTenderTime = formatTimeString(data['openTenderTime'])
initRender.status = data.status ? '待发送' : '已发送'
// initRender.status = data.status ? '待发送' : '已发送'
initRender.status = '待发送'
initRender.expertExtractQueryList = initConditionData
initRender.inviteTender = { id: code}
setInitFormValue(initRender)
......@@ -140,14 +141,13 @@ const AddRemarkBidCommittee:React.FC<AddRemarkBidCommitteeProps> = (props) => {
const inviteTenderId = value['inviteTender']['id']
let _value = omit(value, ['code', 'createTime', 'openTenderTime', 'projectName', 'remarkTime', 'status', 'inviteTender'])
_value.inviteTender = { id: inviteTenderId }
_value.expertExtractRecordList = value?.expertExtractRecordListvalue?.length ? value.expertExtractRecordList.map(item => ({
_value.expertExtractRecordList = value?.expertExtractRecordList?.length ? value.expertExtractRecordList.map(item => ({
id: item.id,
expert: { id: item.expert.id },
source: item.source,
status: item.status
})) : []
_value.expertExtractQueryList = value.expertExtractQueryList.map(item => omit(item, ['excludeArea', 'needArea']))
if(_value.expertExtractRecordList?.length) {
PublicApi.postPurchaseExpertExtractSaveOrUpdateExpertExtract(_value).then(res => {
setBtnLoading(false)
......
......@@ -36,6 +36,11 @@ const TenderSearchDetail: React.FC = () => {
anchorTitleList.splice(1, 2)
}
// 未中标隐藏中标明细
if(data?.isWin === false) {
anchorTitleList.splice(2, 1)
}
return (
<div>
<BidDetailContext.Provider value={formContext}>
......
......@@ -123,7 +123,7 @@ const DescriptionsInfo: React.FC<BasicInfoProps> = ({cardTitle, type}) => {
{
span: 8,
fieldList: [
{ title: '招标编号:', name: 'code' },
{ title: '招标编号:', name: 'code', render: (t) => <a href={`/memberCenter/procurementAbility/callForBids/callForBidsSearch/detail?id=${_data.inviteTender.id}`} target="_blank">{t}</a> },
{ title: '招标会员:', name: 'memberName' },
{
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