9.28 修改procurementTypeDict
This commit is contained in:
@ -4,7 +4,7 @@ import { getPayandreply, getDetail } from './service';
|
||||
import '@/assets/ld_style.less';
|
||||
import { getProId, getProMethod, getDicData } from '@/utils/session';
|
||||
import FileDown from '@/utils/Download';
|
||||
import { getURLInformation, proTableValueEnum } from '@/utils/CommonUtils';
|
||||
import { getURLInformation, multipleTypeTransform, proTableValueEnum } from '@/utils/CommonUtils';
|
||||
import { btnAuthority } from '@/utils/authority';
|
||||
import ProTable from '@ant-design/pro-table';
|
||||
|
||||
@ -235,7 +235,7 @@ const Index: React.FC<{}> = () => {
|
||||
{
|
||||
title: bidSectTypeDict,
|
||||
dataIndex: 'procurementTypeDict',
|
||||
valueEnum: proTableValueEnum(dictData['procurement_type=entrust']),
|
||||
render: (_: any, record: any) => multipleTypeTransform(record.procurementTypeDict, proTableValueEnum(dictData['procurement_type=entrust'])),
|
||||
},
|
||||
{
|
||||
title: bidcontactName,
|
||||
|
@ -193,7 +193,7 @@ const Index: React.FC<{}> = () => {
|
||||
dataIndex: 'procurementTypeDict',
|
||||
search: false,
|
||||
width: '5%',
|
||||
valueEnum: proTableValueEnum(dictData['procurement_type=entrust'])
|
||||
render: (_: any, record: any) => multipleTypeTransform(record.procurementTypeDict, proTableValueEnum(dictData['procurement_type=entrust'])),
|
||||
},
|
||||
{
|
||||
title: '采购方式',
|
||||
|
@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react';
|
||||
import { Button, Table, Space, Modal, Collapse, Pagination } from 'antd';
|
||||
import FileDown from '@/utils/Download';
|
||||
import { getDicData } from '@/utils/session';
|
||||
import { getURLInformation, proTableValueEnum } from '@/utils/CommonUtils';
|
||||
import { getURLInformation, multipleTypeTransform, proTableValueEnum } from '@/utils/CommonUtils';
|
||||
import { getDetail, getOpen } from './service';
|
||||
import { btnAuthority } from '@/utils/authority';
|
||||
import ProTable from '@ant-design/pro-table';
|
||||
@ -114,7 +114,7 @@ const Index: React.FC<IndexProps> = (props) => {
|
||||
{
|
||||
title: '包件分类',
|
||||
dataIndex: 'procurementTypeDict',
|
||||
valueEnum: proTableValueEnum(dictData['procurement_type=entrust']),
|
||||
render: (_: any, record: any) => multipleTypeTransform(record.procurementTypeDict, proTableValueEnum(dictData['procurement_type=entrust'])),
|
||||
},
|
||||
{
|
||||
title: '包件联系人',
|
||||
@ -190,7 +190,7 @@ const Index: React.FC<IndexProps> = (props) => {
|
||||
getOpen(messProp.id).then((res) => {
|
||||
if (res.code == 200) {
|
||||
// if (res.data.length > 0) {
|
||||
setDateList(res?.data[0])
|
||||
setDateList(res?.data[0])
|
||||
// }
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user