Commit cfef3919 authored by 陈智峰's avatar 陈智峰

Merge branch 'feng-jinfa-20221102' into 'jinfa-20221102'

fix: 金发bug. 框架合同去掉询价数量 See merge request project/jinfa-platform!465
parents 31f2ddc8 baf5a39f
......@@ -71,11 +71,11 @@ const supplierSchema: ISchema = {
},
};
// 过滤积分订单,渠道积分订单
// 只要请购单合同订单,框架合同订单,询价合同订单,物料订单 让后端处理base.config
const orderTypeArr = GlobalConfig.web.orderType.map((item) => ({
label: item.platformWayName,
value: item.id,
})).filter((item) => (item.value !== ORDER_TYPE_POINTS && item.value !== ORDER_TYPE_CHANNEL_POINTS));
}))
export const addSchema = (orderType: number): ISchema => {
const isMateriel = isMaterialOrder(orderType);
......
......@@ -3,6 +3,7 @@ import { useRef, useState, useEffect, forwardRef } from 'react';
import StandardTable from '@/components/StandardTable';
import { useRowSelectionTable } from '@/hooks/useRowSelectionTable';
import { getMemberAbilityMaintenanceMemberBankInfo } from '@/services/MemberV2Api';
import { values } from 'lodash';
const BankInfo = (props: any) => {
......@@ -42,7 +43,10 @@ const BankInfo = (props: any) => {
get: () => new Promise((resolve: any) => {
resolve(contractBankInfoVO[0])
}),
setSelectedRowKeys:RowCtl.setSelectedRowKeys
setSelectedRowKeys:(values)=>{
setContractBankInfoVO([values])
RowCtl.setSelectedRowKeys([values.bankAccount])
}
}
}
})
......
......@@ -436,7 +436,7 @@ const FormList = (props: any) => {
key: 'purchaseCount' + refresh,
align: 'center',
render: (text, record, index) =>
sourceType == 4
sourceType == 4 || sourceType == 5
? <Text>-</Text>
:
<Form.Item
......
......@@ -83,7 +83,7 @@ const FormList = (props: any) => {
key: 'purchaseCount',
align: 'center',
render: (text, record, index) =>
sourceType == 4 ?
sourceType == 4 || sourceType == 5 ?
<>-</>
:
<Form.Item
......
......@@ -84,7 +84,7 @@ const Editing: React.FC<{}> = (props: any) => {
setPayPlanList(payPlanList)
setContractText(contractText)
setContractVersionVO(res.data?.contractVersionVO)
currentBank.current.setSelectedRowKeys([contractBankInfoVO.bankAccount])
currentBank.current.setSelectedRowKeys(contractBankInfoVO)
}
}).catch((err) => {
......
......@@ -67,7 +67,6 @@ const fetchOrderMode = async () => {
const { data } = await getOrderBuyerCreatePageItems()
const { orderModes } = data
return orderModes.filter(item => !([
OrderModalType.FRAME_CONTRACT_ORDER,
OrderModalType.INQUIRY_QUOTATION_ORDER,
OrderModalType.PURCHASE_BIDDING_CONTRACT_ORDER,
OrderModalType.PURCHASE_TENDER_CONTRACT_ORDER,
......
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