From 2e5fe5427d6db393e0495598ff43d90a052f4791 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 28 四月 2024 14:06:42 +0800 Subject: [PATCH] 2024-04-28 --- src/templates/sharecomponent/actioncomponent/verifyexcelout/index.jsx | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/src/templates/sharecomponent/actioncomponent/verifyexcelout/index.jsx b/src/templates/sharecomponent/actioncomponent/verifyexcelout/index.jsx index b754c1e..7b23dda 100644 --- a/src/templates/sharecomponent/actioncomponent/verifyexcelout/index.jsx +++ b/src/templates/sharecomponent/actioncomponent/verifyexcelout/index.jsx @@ -198,6 +198,12 @@ val += '鏍煎紡鍖栵細鐧惧垎姣旓紱' } } + if (record.prefix) { + val += `鍓嶇紑锛�${record.prefix}锛沗 + } + if (record.postfix) { + val += `鍚庣紑锛�${record.postfix}锛沗 + } return <div>{val}<EditOutlined className="edit-other" onClick={() => {this.setState({visible: true, line: fromJS(record).toJS()})}} /></div> } else if (record.type === 'text') { @@ -215,6 +221,12 @@ } else if (record.textFormat === 'YYYY-MM-DD HH:mm:ss') { val += '鏍煎紡鍖栵細YYYY-MM-DD HH:mm:ss锛�' } + } + if (record.prefix) { + val += `鍓嶇紑锛�${record.prefix}锛沗 + } + if (record.postfix) { + val += `鍚庣紑锛�${record.postfix}锛沗 } return <div>{val}<EditOutlined className="edit-other" onClick={() => {this.setState({visible: true, line: fromJS(record).toJS()})}} /></div> @@ -1205,7 +1217,7 @@ onCancel={() => {this.setState({visible: false, line: null})}} destroyOnClose > - <OtherForm line={line} onChange={(values) => this.setState({line: values})}/> + <OtherForm line={line} submit={this.lineSubmit} onChange={(values) => this.setState({line: values})}/> </Modal> </div> ) -- Gitblit v1.8.0