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

fix: 招标采购类型修改

parent b634b7fe
......@@ -1913,8 +1913,8 @@ export const PAY_CHANNEL = {
/** 采购类型 */
export const PURCHASE_TYPE = {
1: '单次采购',
2: '协议采购',
1: '有固定采购金额',
2: '无固定采购金额',
}
/** 招标方式 */
......
......@@ -78,7 +78,7 @@ const basicInfo: ISchema = {
type: 'string',
required: true,
enum: Object.values(PURCHASE_TYPE).map((item, index) => ({ label: item, value: ++index })),
title: '{{help("采购类型", "单次采购:招标内容为单次采购内容,只允许下单采购一次;协议采购:招标内容为在协议期内可多次下单采购")}}',
title: '{{help("采购类型", "有固定采购金额:采购金额固定,合同期内不可超过采购金额,无固定采购金额:采购金额不固定,可在合同期内按需采购")}}',
"x-component-props": {
placeholder: "请选择采购类型",
}
......
......@@ -16,6 +16,7 @@ import { ExpertRectractStatus } from '@/constants';
import cx from 'classnames'
import { EditableCell, EditableRow } from '../remarkTableCell';
import { groupBy } from '@/pages/procurement/constants';
import { getAuth } from '@/utils/auth';
/**
* 评标报告
......@@ -29,6 +30,7 @@ export interface RemarkBidReportProps {
}
const RemarkBidReport: React.FC<RemarkBidReportProps> = ({cardTitle}) => {
const { token } = getAuth() || {}
const { data, submitData, submitCtl } = useContext(ReportDetailContext)
const currentRef = useRef<any>({})
const [transferRadio, setTransferRadio] = useState<number>(0)
......@@ -207,6 +209,9 @@ const RemarkBidReport: React.FC<RemarkBidReportProps> = ({cardTitle}) => {
fileType: 1,
prefix: '',
},
headers: {
token
},
onChange(info) {
if (info.file.status !== 'uploading') {
......
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