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

fix:

parent cdcd0bda
......@@ -84,7 +84,7 @@ const AddRemarkBidExpert:React.FC<AddRemarkBidExpertProps> = (props) => {
const fetchData = (params: any) => {
return new Promise((resolve, reject) => {
PublicApi.getMemberUserPage({ ...params, status: 1 }).then(res => {
PublicApi.getMemberManageUsersPage({ ...params, status: 1 }).then(res => {
resolve(res.data)
})
})
......@@ -114,8 +114,8 @@ const AddRemarkBidExpert:React.FC<AddRemarkBidExpertProps> = (props) => {
},
{
title: '职位',
dataIndex: 'roleName',
key: 'roleName',
dataIndex: 'jobTitle',
key: 'jobTitle',
},
]
......
......@@ -202,6 +202,7 @@ export const RelevanceTenderProduct: React.FC<RelateProductDrawerProps> = ({
item.file = v['file']
item.commodityId = selectRow[0]['id']
item.productId = selectRow[0]['commodityId']
// item.commodityId = selectRow[0]['commodityId']
}
return item
})
......
......@@ -111,6 +111,7 @@ const AddTender:React.FC<AddTenderProps> = (props) => {
}
// 校验是否关联商品
if(!params.submitTenderMateriel.some(v => v.productId && v.commodityId)) {
// if(!params.submitTenderMateriel.some(v => v.commodityId)) {
setBtnLoading(false)
return message.error('请先关联投标商品')
}
......
......@@ -123,7 +123,7 @@ export const useProductTable = (ctx: ISchemaFormActions | ISchemaFormAsyncAction
<div className={style.childrenContent}>
<p><span>规格型号:</span>
{
spec.data.length && spec.data.map(item => item.customerAttributeValueList[0].value).join('/')
spec.data.length ? spec.data.map(item => item.customerAttributeValueList[0].value).join('/') : null
}
</p>
<p><span>品类:</span>{data.customerCategory.fullName}</p>
......
......@@ -89,18 +89,23 @@ const OrderMergeInfo: React.FC<OrderMergeInfoProps> = (props) => {
</Col>
<Col span={6}>
<MellowCard title='电子合同' fullHeight>
<ContractList
dataSource={
data.electronicContractUrl ?
[
{
electronicContractUrl: data.electronicContractUrl,
electronicContractName: data.electronicContractName,
},
] :
null
}
/>
{
data.externalStateName !== '不接受订单' ?
<ContractList
dataSource={
data.electronicContractUrl ?
[
{
electronicContractUrl: data.electronicContractUrl,
electronicContractName: data.electronicContractName,
},
] :
null
}
/>
:
null
}
</MellowCard>
</Col>
</Row>
......
......@@ -325,10 +325,17 @@ const OrderProductTable:React.FC<OrderProductTableProps> = ({editable}) => {
},
{
title: '含税',
dataIndex: 'none',
dataIndex: 'taxInclusive',
align: 'center',
key: 'none',
render: () => '是'
key: 'taxInclusive',
render: (t, r) => t ? '是' : '否'
},
{
title: '税率',
dataIndex: 'taxRate',
align: 'center',
key: 'taxRate',
render: (t, r) => `${t}%`
},
{
title: creditsCommodity ? '所需积分小计' : '金额',
......@@ -424,6 +431,7 @@ const OrderProductTable:React.FC<OrderProductTableProps> = ({editable}) => {
dataIndex: 'taxRate',
align: 'center',
key: 'taxRate',
render: (t, r) => `${t}%`
},
{
title: '金额',
......
......@@ -537,6 +537,7 @@ const SaleOrderProductTable:React.FC<OrderProductTableProps> = (props) => {
dataIndex: 'taxRate',
align: 'center',
key: 'taxRate',
render: (t, r) => `${t}%`
},
{
title: '金额',
......
......@@ -440,10 +440,17 @@ export const productInfoColumns: any[] = [
},
{
title: '含税',
dataIndex: 'none',
dataIndex: 'taxInclusive',
align: 'center',
key: 'none',
render: () => '是'
key: 'taxInclusive',
render: (t, r) => r.taxRate ? '是' : '否'
},
{
title: '税率',
dataIndex: 'taxRate',
align: 'center',
key: 'taxRate',
render: (t, r) => `${t}%`
},
{
title: '金额',
......@@ -554,6 +561,7 @@ export const materialInfoColumns: any[] = [
dataIndex: 'taxRate',
align: 'center',
key: 'taxRate',
render: (t, r) => `${t}%`
},
{
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