5.24
This commit is contained in:
@ -41,7 +41,6 @@ const BiddingDocument: React.FC<BiddingDocumentProps> = (props) => {
|
|||||||
const [docSaveBtn, setDocSaveBtn] = useState<string>("compact");//保存按钮是否展示
|
const [docSaveBtn, setDocSaveBtn] = useState<string>("compact");//保存按钮是否展示
|
||||||
const [UploadList, setUploadList] = useState<any>(); //存upload列表
|
const [UploadList, setUploadList] = useState<any>(); //存upload列表
|
||||||
const [UploadID, setUploadID] = useState<any>("empty"); //upload 业务id
|
const [UploadID, setUploadID] = useState<any>("empty"); //upload 业务id
|
||||||
const [docName, setDocName] = useState<string>('');//文件名称格式化
|
|
||||||
|
|
||||||
const UploadProps: UploadProps = {
|
const UploadProps: UploadProps = {
|
||||||
name: "file",
|
name: "file",
|
||||||
@ -287,8 +286,9 @@ const BiddingDocument: React.FC<BiddingDocumentProps> = (props) => {
|
|||||||
message: '当前项不可为空',
|
message: '当前项不可为空',
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
|
normalize={(value) => trim(value)}
|
||||||
>
|
>
|
||||||
<Input maxLength={200} readOnly={editInformation} value={docName} onChange={e => setDocName(trim(e.target.value))} />
|
<Input maxLength={200} readOnly={editInformation} />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
|
|
||||||
{//单一来源简化流程
|
{//单一来源简化流程
|
||||||
|
@ -46,8 +46,6 @@ const PackageInformationChoose: React.FC<PackageInformationProps> = (props) => {
|
|||||||
const [spinningload, setSpinningload] = useState<boolean>(false);
|
const [spinningload, setSpinningload] = useState<boolean>(false);
|
||||||
//保存loading
|
//保存loading
|
||||||
const [saveLoading, setSaveLoading] = useState<boolean>(false);
|
const [saveLoading, setSaveLoading] = useState<boolean>(false);
|
||||||
//名称格式化
|
|
||||||
const [bidSectName, setBidSectName] = useState<string>('');
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (values.status == 0 || values.status == 1) {
|
if (values.status == 0 || values.status == 1) {
|
||||||
setStatus(false);
|
setStatus(false);
|
||||||
@ -258,8 +256,9 @@ const PackageInformationChoose: React.FC<PackageInformationProps> = (props) => {
|
|||||||
name="bidSectName"
|
name="bidSectName"
|
||||||
label="采购包名称"
|
label="采购包名称"
|
||||||
rules={[{ required: controlDisplay }, { max: 100, message: '最大不能超过100字' }]}
|
rules={[{ required: controlDisplay }, { max: 100, message: '最大不能超过100字' }]}
|
||||||
|
normalize={(value) => trim(value)}
|
||||||
>
|
>
|
||||||
<Input disabled={!controlDisplay} placeholder="请填写采购包名称" value={bidSectName} onChange={e => setBidSectName(trim(e.target.value))} />
|
<Input disabled={!controlDisplay} placeholder="请填写采购包名称" />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item name="bidSectContractPrice" label="标段预算">
|
<Form.Item name="bidSectContractPrice" label="标段预算">
|
||||||
<Input prefix="¥" suffix="元" disabled />
|
<Input prefix="¥" suffix="元" disabled />
|
||||||
|
@ -45,8 +45,6 @@ const PackageInformationEnquiry: React.FC<PackageInformationProps> = (props) =>
|
|||||||
const [spinningload, setSpinningload] = useState<boolean>(false);
|
const [spinningload, setSpinningload] = useState<boolean>(false);
|
||||||
//loading
|
//loading
|
||||||
const [saveLoading, setSaveLoading] = useState<boolean>(false);
|
const [saveLoading, setSaveLoading] = useState<boolean>(false);
|
||||||
//名称格式化
|
|
||||||
const [bidSectName, setBidSectName] = useState<string>('');
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (values.status == 1 || values.status == 0) {
|
if (values.status == 1 || values.status == 0) {
|
||||||
setStatus(false);
|
setStatus(false);
|
||||||
@ -159,8 +157,9 @@ const PackageInformationEnquiry: React.FC<PackageInformationProps> = (props) =>
|
|||||||
name="bidSectName"
|
name="bidSectName"
|
||||||
label="采购包名称"
|
label="采购包名称"
|
||||||
rules={[{ required: controlDisplay }, { max: 100, message: '最大不能超过100字' }]}
|
rules={[{ required: controlDisplay }, { max: 100, message: '最大不能超过100字' }]}
|
||||||
|
normalize={(value) => trim(value)}
|
||||||
>
|
>
|
||||||
<Input disabled={!controlDisplay} placeholder="请填写采购包名称" value={bidSectName} onChange={e => setBidSectName(trim(e.target.value))} />
|
<Input disabled={!controlDisplay} placeholder="请填写采购包名称" />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item
|
<Form.Item
|
||||||
name="evalMethodDict"
|
name="evalMethodDict"
|
||||||
|
@ -46,8 +46,6 @@ const PackageInformationInvite: React.FC<PackageInformationProps> = (props) => {
|
|||||||
const [spinningload, setSpinningload] = useState<boolean>(false);
|
const [spinningload, setSpinningload] = useState<boolean>(false);
|
||||||
//loading
|
//loading
|
||||||
const [saveLoading, setSaveLoading] = useState<boolean>(false);
|
const [saveLoading, setSaveLoading] = useState<boolean>(false);
|
||||||
//名称格式化
|
|
||||||
const [bidSectName, setBidSectName] = useState<string>('');
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (values.status == 0 || values.status == 1) {
|
if (values.status == 0 || values.status == 1) {
|
||||||
setStatus(false);
|
setStatus(false);
|
||||||
@ -187,8 +185,9 @@ const PackageInformationInvite: React.FC<PackageInformationProps> = (props) => {
|
|||||||
name="bidSectName"
|
name="bidSectName"
|
||||||
label="标段名称"
|
label="标段名称"
|
||||||
rules={[{ required: controlDisplay }, { max: 100, message: '最大不能超过100字' }]}
|
rules={[{ required: controlDisplay }, { max: 100, message: '最大不能超过100字' }]}
|
||||||
|
normalize={(value) => trim(value)}
|
||||||
>
|
>
|
||||||
<Input disabled={!controlDisplay} placeholder="请填写标段名称" value={bidSectName} onChange={e => setBidSectName(trim(e.target.value))} />
|
<Input disabled={!controlDisplay} placeholder="请填写标段名称" />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item name="bidSectContractPrice" label="标段预算">
|
<Form.Item name="bidSectContractPrice" label="标段预算">
|
||||||
<Input prefix="¥" suffix="元" disabled />
|
<Input prefix="¥" suffix="元" disabled />
|
||||||
|
@ -47,8 +47,6 @@ const PackageInformationInviteBid: React.FC<PackageInformationProps> = (props) =
|
|||||||
const [spinningload, setSpinningload] = useState<boolean>(false);
|
const [spinningload, setSpinningload] = useState<boolean>(false);
|
||||||
//loading
|
//loading
|
||||||
const [saveLoading, setSaveLoading] = useState<boolean>(false);
|
const [saveLoading, setSaveLoading] = useState<boolean>(false);
|
||||||
//名称格式化
|
|
||||||
const [bidSectName, setBidSectName] = useState<string>('');
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (values.status == 1 || values.status == 0) {
|
if (values.status == 1 || values.status == 0) {
|
||||||
setStatus(false);
|
setStatus(false);
|
||||||
@ -268,8 +266,9 @@ const PackageInformationInviteBid: React.FC<PackageInformationProps> = (props) =
|
|||||||
name="bidSectName"
|
name="bidSectName"
|
||||||
label="标段名称"
|
label="标段名称"
|
||||||
rules={[{ required: controlDisplay }, { max: 100, message: '最大不能超过100字' }]}
|
rules={[{ required: controlDisplay }, { max: 100, message: '最大不能超过100字' }]}
|
||||||
|
normalize={(value) => trim(value)}
|
||||||
>
|
>
|
||||||
<Input disabled={!controlDisplay} placeholder="请填写标段名称" value={bidSectName} onChange={e => setBidSectName(trim(e.target.value))} />
|
<Input disabled={!controlDisplay} placeholder="请填写标段名称" />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item name="bidSectContractPrice" label="标段预算">
|
<Form.Item name="bidSectContractPrice" label="标段预算">
|
||||||
<Input prefix="¥" suffix="元" disabled />
|
<Input prefix="¥" suffix="元" disabled />
|
||||||
|
@ -47,8 +47,6 @@ const PackageInformationNegotiate: React.FC<PackageInformationProps> = (props) =
|
|||||||
const [spinningload, setSpinningload] = useState<boolean>(false);
|
const [spinningload, setSpinningload] = useState<boolean>(false);
|
||||||
//保存loading
|
//保存loading
|
||||||
const [saveLoading, setSaveLoading] = useState<boolean>(false);
|
const [saveLoading, setSaveLoading] = useState<boolean>(false);
|
||||||
//名称格式化
|
|
||||||
const [bidSectName, setBidSectName] = useState<string>('');
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (values.status == 0 || values.status == 1) {
|
if (values.status == 0 || values.status == 1) {
|
||||||
setStatus(false);
|
setStatus(false);
|
||||||
@ -177,8 +175,9 @@ const PackageInformationNegotiate: React.FC<PackageInformationProps> = (props) =
|
|||||||
name="bidSectName"
|
name="bidSectName"
|
||||||
label="采购包名称"
|
label="采购包名称"
|
||||||
rules={[{ required: controlDisplay }, { max: 100, message: '最大不能超过100字' }]}
|
rules={[{ required: controlDisplay }, { max: 100, message: '最大不能超过100字' }]}
|
||||||
|
normalize={(value) => trim(value)}
|
||||||
>
|
>
|
||||||
<Input disabled={!controlDisplay} placeholder="请填写采购包名称" value={bidSectName} onChange={e => setBidSectName(trim(e.target.value))} />
|
<Input disabled={!controlDisplay} placeholder="请填写采购包名称" />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item name="bidSectContractPrice" label="采购包预算">
|
<Form.Item name="bidSectContractPrice" label="采购包预算">
|
||||||
<Input prefix="¥" suffix="元" disabled />
|
<Input prefix="¥" suffix="元" disabled />
|
||||||
|
@ -44,8 +44,6 @@ const PackageInformationOnly: React.FC<PackageInformationProps> = (props) => {
|
|||||||
const [spinningload, setSpinningload] = useState<boolean>(false);
|
const [spinningload, setSpinningload] = useState<boolean>(false);
|
||||||
//保存loading
|
//保存loading
|
||||||
const [saveLoading, setSaveLoading] = useState<boolean>(false);
|
const [saveLoading, setSaveLoading] = useState<boolean>(false);
|
||||||
//名称格式化
|
|
||||||
const [bidSectName, setBidSectName] = useState<string>('');
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (values.status == 0 || values.status == 1) {
|
if (values.status == 0 || values.status == 1) {
|
||||||
setStatus(false);
|
setStatus(false);
|
||||||
@ -145,8 +143,8 @@ const PackageInformationOnly: React.FC<PackageInformationProps> = (props) => {
|
|||||||
<Form.Item name="bidSectBizNum" label="采购包编号">
|
<Form.Item name="bidSectBizNum" label="采购包编号">
|
||||||
<Input disabled />
|
<Input disabled />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item name="bidSectName" label="采购包名称" rules={[{ required: controlDisplay }, { max: 100, message: "最大不能超过100字" }]}>
|
<Form.Item name="bidSectName" label="采购包名称" rules={[{ required: controlDisplay }, { max: 100, message: "最大不能超过100字" }]} normalize={(value) => trim(value)}>
|
||||||
<Input disabled={!controlDisplay} placeholder="请填写采购包名称" value={bidSectName} onChange={e => setBidSectName(trim(e.target.value))} />
|
<Input disabled={!controlDisplay} placeholder="请填写采购包名称" />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item name="bidSectContractPrice" label="采购包预算">
|
<Form.Item name="bidSectContractPrice" label="采购包预算">
|
||||||
<Input prefix="¥" suffix="元" disabled />
|
<Input prefix="¥" suffix="元" disabled />
|
||||||
|
@ -46,8 +46,6 @@ const PackageInformationRecruit: React.FC<PackageInformationProps> = (props) =>
|
|||||||
const [spinningload, setSpinningload] = useState<boolean>(false);
|
const [spinningload, setSpinningload] = useState<boolean>(false);
|
||||||
//保存loading
|
//保存loading
|
||||||
const [saveLoading, setSaveLoading] = useState<boolean>(false);
|
const [saveLoading, setSaveLoading] = useState<boolean>(false);
|
||||||
//名称格式化
|
|
||||||
const [bidSectName, setBidSectName] = useState<string>('');
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (values.status == 0 || values.status == 1) {
|
if (values.status == 0 || values.status == 1) {
|
||||||
setStatus(false);
|
setStatus(false);
|
||||||
@ -189,8 +187,9 @@ const PackageInformationRecruit: React.FC<PackageInformationProps> = (props) =>
|
|||||||
name="bidSectName"
|
name="bidSectName"
|
||||||
label="包件名称"
|
label="包件名称"
|
||||||
rules={[{ required: controlDisplay }, { max: 100, message: '最大不能超过100字' }]}
|
rules={[{ required: controlDisplay }, { max: 100, message: '最大不能超过100字' }]}
|
||||||
|
normalize={(value) => trim(value)}
|
||||||
>
|
>
|
||||||
<Input disabled={!controlDisplay} placeholder="请填写包件名称" value={bidSectName} onChange={e => setBidSectName(trim(e.target.value))} />
|
<Input disabled={!controlDisplay} placeholder="请填写包件名称" />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item
|
<Form.Item
|
||||||
name="reviewRules"
|
name="reviewRules"
|
||||||
|
@ -76,8 +76,6 @@ const ProjectDocumentation: React.FC<ProcurementMethodItem> = (props) => {
|
|||||||
const openTenderFormSelect = createSelect(dictData['open_tender_form=record']);
|
const openTenderFormSelect = createSelect(dictData['open_tender_form=record']);
|
||||||
//是否需要供应商ipass解密显隐
|
//是否需要供应商ipass解密显隐
|
||||||
const [isIPassDecode, isIPassDecodeSet] = useState<boolean>(false);
|
const [isIPassDecode, isIPassDecodeSet] = useState<boolean>(false);
|
||||||
//项目名称格式化
|
|
||||||
const [projectName, setProjectName] = useState<string>('');
|
|
||||||
function onChangeIpass(e: any) {//是否使用ipass制作
|
function onChangeIpass(e: any) {//是否使用ipass制作
|
||||||
isIPassDecodeSet(e.target.value === '0');
|
isIPassDecodeSet(e.target.value === '0');
|
||||||
}
|
}
|
||||||
@ -306,8 +304,9 @@ const ProjectDocumentation: React.FC<ProcurementMethodItem> = (props) => {
|
|||||||
label="项目名称"
|
label="项目名称"
|
||||||
name="projectName"
|
name="projectName"
|
||||||
rules={[{ required: true }]}
|
rules={[{ required: true }]}
|
||||||
|
normalize={(value) => trim(value)}
|
||||||
>
|
>
|
||||||
<Input disabled={whetherReadonly} readOnly={whetherReadonly} maxLength={150} value={projectName} onChange={e => setProjectName(trim(e.target.value))} />
|
<Input disabled={whetherReadonly} readOnly={whetherReadonly} maxLength={150} />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
</Col>
|
</Col>
|
||||||
<Col span={12}>
|
<Col span={12}>
|
||||||
|
@ -71,8 +71,6 @@ const ProjectDocumentation: React.FC<ProcurementMethodItem> = (props) => {
|
|||||||
const bidMethodSubDictSelect = createSelect(dictData['bid_method_sub=record']);
|
const bidMethodSubDictSelect = createSelect(dictData['bid_method_sub=record']);
|
||||||
//适用法律
|
//适用法律
|
||||||
const openTenderFormSelect = createSelect(dictData['open_tender_form=record']);
|
const openTenderFormSelect = createSelect(dictData['open_tender_form=record']);
|
||||||
//项目名称格式化
|
|
||||||
const [projectName, setProjectName] = useState<string>('');
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
/**
|
/**
|
||||||
* 根据id获取数据
|
* 根据id获取数据
|
||||||
@ -296,8 +294,9 @@ const ProjectDocumentation: React.FC<ProcurementMethodItem> = (props) => {
|
|||||||
label="项目名称"
|
label="项目名称"
|
||||||
name="projectName"
|
name="projectName"
|
||||||
rules={[{ required: true }]}
|
rules={[{ required: true }]}
|
||||||
|
normalize={(value) => trim(value)}
|
||||||
>
|
>
|
||||||
<Input disabled={whetherReadonly} readOnly={whetherReadonly} maxLength={150} value={projectName} onChange={e => setProjectName(trim(e.target.value))} />
|
<Input disabled={whetherReadonly} readOnly={whetherReadonly} maxLength={150} />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
</Col>
|
</Col>
|
||||||
<Col span={12}>
|
<Col span={12}>
|
||||||
|
@ -77,8 +77,6 @@ const ProjectDocumentation: React.FC<ProcurementMethodItem> = (props) => {
|
|||||||
const [noInformationFlag, setNoInformationFlag] = useState<boolean>(String(status) === '0');
|
const [noInformationFlag, setNoInformationFlag] = useState<boolean>(String(status) === '0');
|
||||||
//是否需要供应商ipass解密显隐
|
//是否需要供应商ipass解密显隐
|
||||||
const [isIPassDecode, isIPassDecodeSet] = useState<boolean>(false);
|
const [isIPassDecode, isIPassDecodeSet] = useState<boolean>(false);
|
||||||
//项目名称格式化
|
|
||||||
const [projectName, setProjectName] = useState<string>('');
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
/**
|
/**
|
||||||
* 根据id获取数据
|
* 根据id获取数据
|
||||||
@ -309,8 +307,9 @@ const ProjectDocumentation: React.FC<ProcurementMethodItem> = (props) => {
|
|||||||
label="项目名称"
|
label="项目名称"
|
||||||
name="projectName"
|
name="projectName"
|
||||||
rules={[{ required: true }]}
|
rules={[{ required: true }]}
|
||||||
|
normalize={(value) => trim(value)}
|
||||||
>
|
>
|
||||||
<Input disabled={whetherReadonly} readOnly={whetherReadonly} maxLength={100} value={projectName} onChange={e => setProjectName(trim(e.target.value))} />
|
<Input disabled={whetherReadonly} readOnly={whetherReadonly} maxLength={100} />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
</Col>
|
</Col>
|
||||||
<Col span={12}>
|
<Col span={12}>
|
||||||
|
@ -74,8 +74,6 @@ const ProjectDocumentation: React.FC<ProcurementMethodItem> = (props) => {
|
|||||||
const [noInformationFlag, setNoInformationFlag] = useState<boolean>(String(status) === '0');
|
const [noInformationFlag, setNoInformationFlag] = useState<boolean>(String(status) === '0');
|
||||||
//是否需要供应商ipass解密显隐
|
//是否需要供应商ipass解密显隐
|
||||||
const [isIPassDecode, isIPassDecodeSet] = useState<boolean>(false);
|
const [isIPassDecode, isIPassDecodeSet] = useState<boolean>(false);
|
||||||
//项目名称格式化
|
|
||||||
const [projectName, setProjectName] = useState<string>('');
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
/**
|
/**
|
||||||
* 根据id获取数据
|
* 根据id获取数据
|
||||||
@ -282,8 +280,9 @@ const ProjectDocumentation: React.FC<ProcurementMethodItem> = (props) => {
|
|||||||
label="项目名称"
|
label="项目名称"
|
||||||
name="projectName"
|
name="projectName"
|
||||||
rules={[{ required: true }]}
|
rules={[{ required: true }]}
|
||||||
|
normalize={(value) => trim(value)}
|
||||||
>
|
>
|
||||||
<Input disabled={whetherReadonly} readOnly={whetherReadonly} maxLength={100} value={projectName} onChange={e => setProjectName(trim(e.target.value))} />
|
<Input disabled={whetherReadonly} readOnly={whetherReadonly} maxLength={100} />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
</Col>
|
</Col>
|
||||||
<Col span={12}>
|
<Col span={12}>
|
||||||
|
@ -73,8 +73,6 @@ const ProjectDocumentation: React.FC<ProcurementMethodItem> = (props) => {
|
|||||||
const [noInformationFlag, setNoInformationFlag] = useState<boolean>(String(status) === '0');
|
const [noInformationFlag, setNoInformationFlag] = useState<boolean>(String(status) === '0');
|
||||||
//是否需要供应商ipass解密显隐
|
//是否需要供应商ipass解密显隐
|
||||||
const [isIPassDecode, isIPassDecodeSet] = useState<boolean>(false);
|
const [isIPassDecode, isIPassDecodeSet] = useState<boolean>(false);
|
||||||
//项目名称格式化
|
|
||||||
const [projectName, setProjectName] = useState<string>('');
|
|
||||||
function onChangeIpass(e: any) {//是否使用ipass制作
|
function onChangeIpass(e: any) {//是否使用ipass制作
|
||||||
isIPassDecodeSet(e.target.value === '0');
|
isIPassDecodeSet(e.target.value === '0');
|
||||||
}
|
}
|
||||||
@ -307,8 +305,9 @@ const ProjectDocumentation: React.FC<ProcurementMethodItem> = (props) => {
|
|||||||
label="项目名称"
|
label="项目名称"
|
||||||
name="projectName"
|
name="projectName"
|
||||||
rules={[{ required: true }]}
|
rules={[{ required: true }]}
|
||||||
|
normalize={(value) => trim(value)}
|
||||||
>
|
>
|
||||||
<Input disabled={whetherReadonly} readOnly={whetherReadonly} maxLength={150} value={projectName} onChange={e => setProjectName(trim(e.target.value))} />
|
<Input disabled={whetherReadonly} readOnly={whetherReadonly} maxLength={150} />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
</Col>
|
</Col>
|
||||||
<Col span={12}>
|
<Col span={12}>
|
||||||
|
@ -71,8 +71,6 @@ const ProjectDocumentation: React.FC<ProcurementMethodItem> = (props) => {
|
|||||||
const [noInformationFlag, setNoInformationFlag] = useState<boolean>(String(status) === '0');
|
const [noInformationFlag, setNoInformationFlag] = useState<boolean>(String(status) === '0');
|
||||||
//是否需要供应商ipass解密显隐
|
//是否需要供应商ipass解密显隐
|
||||||
const [isIPassDecode, isIPassDecodeSet] = useState<boolean>(false);
|
const [isIPassDecode, isIPassDecodeSet] = useState<boolean>(false);
|
||||||
//项目名称格式化
|
|
||||||
const [projectName, setProjectName] = useState<string>('');
|
|
||||||
function onChangeIpass(e: any) {//是否使用ipass制作
|
function onChangeIpass(e: any) {//是否使用ipass制作
|
||||||
isIPassDecodeSet(e.target.value === '0');
|
isIPassDecodeSet(e.target.value === '0');
|
||||||
}
|
}
|
||||||
@ -306,8 +304,9 @@ const ProjectDocumentation: React.FC<ProcurementMethodItem> = (props) => {
|
|||||||
label="项目名称"
|
label="项目名称"
|
||||||
name="projectName"
|
name="projectName"
|
||||||
rules={[{ required: true }]}
|
rules={[{ required: true }]}
|
||||||
|
normalize={(value) => trim(value)}
|
||||||
>
|
>
|
||||||
<Input disabled={whetherReadonly} readOnly={whetherReadonly} maxLength={150} value={projectName} onChange={e => setProjectName(trim(e.target.value))} />
|
<Input disabled={whetherReadonly} readOnly={whetherReadonly} maxLength={150} />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
</Col>
|
</Col>
|
||||||
<Col span={12}>
|
<Col span={12}>
|
||||||
|
@ -71,8 +71,6 @@ const ProjectDocumentation: React.FC<ProcurementMethodItem> = (props) => {
|
|||||||
const [noInformationFlag, setNoInformationFlag] = useState<boolean>(String(status) === '0');
|
const [noInformationFlag, setNoInformationFlag] = useState<boolean>(String(status) === '0');
|
||||||
//是否需要供应商ipass解密显隐
|
//是否需要供应商ipass解密显隐
|
||||||
const [isIPassDecode, isIPassDecodeSet] = useState<boolean>(false);
|
const [isIPassDecode, isIPassDecodeSet] = useState<boolean>(false);
|
||||||
//项目名称格式化
|
|
||||||
const [projectName, setProjectName] = useState<string>('');
|
|
||||||
function onChangeIpass(e: any) {//是否使用ipass制作
|
function onChangeIpass(e: any) {//是否使用ipass制作
|
||||||
isIPassDecodeSet(e.target.value === '0');
|
isIPassDecodeSet(e.target.value === '0');
|
||||||
}
|
}
|
||||||
@ -306,8 +304,9 @@ const ProjectDocumentation: React.FC<ProcurementMethodItem> = (props) => {
|
|||||||
label="项目名称"
|
label="项目名称"
|
||||||
name="projectName"
|
name="projectName"
|
||||||
rules={[{ required: true }]}
|
rules={[{ required: true }]}
|
||||||
|
normalize={(value) => trim(value)}
|
||||||
>
|
>
|
||||||
<Input disabled={whetherReadonly} readOnly={whetherReadonly} maxLength={150} value={projectName} onChange={e => setProjectName(trim(e.target.value))} />
|
<Input disabled={whetherReadonly} readOnly={whetherReadonly} maxLength={150} />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
</Col>
|
</Col>
|
||||||
<Col span={12}>
|
<Col span={12}>
|
||||||
|
@ -38,7 +38,6 @@ const BiddingDocument: React.FC<BiddingDocumentProps> = (props) => {
|
|||||||
const [docSaveBtn, setDocSaveBtn] = useState<string>("compact");//保存按钮是否展示
|
const [docSaveBtn, setDocSaveBtn] = useState<string>("compact");//保存按钮是否展示
|
||||||
const [UploadList, setUploadList] = useState<any>(); //存upload列表
|
const [UploadList, setUploadList] = useState<any>(); //存upload列表
|
||||||
const [UploadID, setUploadID] = useState<any>("empty"); //upload 业务id
|
const [UploadID, setUploadID] = useState<any>("empty"); //upload 业务id
|
||||||
const [docName, setDocName] = useState<string>('');//文件名称格式化
|
|
||||||
const UploadProps: UploadProps = {
|
const UploadProps: UploadProps = {
|
||||||
name: "file",
|
name: "file",
|
||||||
disabled: editInformation
|
disabled: editInformation
|
||||||
@ -244,8 +243,9 @@ const BiddingDocument: React.FC<BiddingDocumentProps> = (props) => {
|
|||||||
message: '当前项不可为空',
|
message: '当前项不可为空',
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
|
normalize={(value) => trim(value)}
|
||||||
>
|
>
|
||||||
<Input maxLength={200} readOnly={editInformation} value={docName} onChange={e => setDocName(trim(e.target.value))} />
|
<Input maxLength={200} readOnly={editInformation} />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item
|
<Form.Item
|
||||||
label="关联标段"
|
label="关联标段"
|
||||||
|
Reference in New Issue
Block a user