king
2024-04-28 2e5fe5427d6db393e0495598ff43d90a052f4791
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>
    )