Merge branch '20220510-委托推送的标段名称包含特殊字符导致weboffice文件创建失败' into 'master-20220527'
5.27 委托推送的标段名称包含特殊字符导致weboffice文件创建失败 See merge request eshop/fe_service_ebtp_frontend!85
This commit is contained in:
@ -12,6 +12,7 @@ import { getProMethod } from "@/utils/session";
|
||||
import WebOffice0609, { WebOfficeRefProps } from "@/pages/webOffice/weboffice0609";
|
||||
import moment from "moment";
|
||||
import { AnnouncementGetMsg1, AnnouncementGetMsg2, AnnouncementGetMsg3, AnnouncementGetMsg4 } from "@/utils/AboutAnnouncementHelp";
|
||||
import { trim } from "@/utils/CommonUtils";
|
||||
|
||||
interface BiddingDocumentProps {
|
||||
modalVisible: boolean;
|
||||
@ -213,7 +214,7 @@ const BiddingDocument: React.FC<BiddingDocumentProps> = (props) => {
|
||||
|
||||
let fromData = {
|
||||
"tpId": tpId,
|
||||
"documentName": form.getFieldValue("documentName"),
|
||||
"documentName": trim(form.getFieldValue("documentName")),
|
||||
"documentSetId": form.getFieldValue("documentSetId"),
|
||||
"sections": packageMsg,
|
||||
"contentFileId": ref.current?.DocFileCode,
|
||||
@ -285,6 +286,7 @@ const BiddingDocument: React.FC<BiddingDocumentProps> = (props) => {
|
||||
message: '当前项不可为空',
|
||||
},
|
||||
]}
|
||||
normalize={(value) => trim(value)}
|
||||
>
|
||||
<Input maxLength={200} readOnly={editInformation} />
|
||||
</Form.Item>
|
||||
|
Reference in New Issue
Block a user