king
2025-04-23 c8dec113736cc78c47cd63377d756d364b42a94e
src/templates/sharecomponent/actioncomponent/verifyexcelout/index.jsx
@@ -41,6 +41,7 @@
        inputType: 'input',
        editable: true,
        unique: true,
        strict: true,
        searchable: true,
        copy: true,
        width: '16%'
@@ -51,7 +52,6 @@
        inputType: 'input',
        editable: true,
        searchable: true,
        unique: true,
        width: '16%'
      },
      {
@@ -494,8 +494,8 @@
  columnChange = (values, callback) => {
    let verify = JSON.parse(JSON.stringify(this.state.verify))
    let fields = verify.columns.map(item => item.Column)
    if (fields.includes(values.Column)) {
    let fields = verify.columns.map(item => item.Column.toLowerCase())
    if (fields.includes(values.Column.toLowerCase())) {
      notification.warning({
        top: 92,
        message: values.Column + '字段已存在!',
@@ -604,7 +604,12 @@
        return
      }
      if (card.intertype === 'system' && verify.dataType !== 'custom' && verify.columns.length > 0 && config.$c_ds && config.setting.interType === 'system' && config.columns && config.columns.length > 0) {
      let ds = true
      if (config.wrap && config.wrap.datatype && ['static', 'public'].includes(config.wrap.datatype)) {
        ds = false
      }
      if (card.intertype === 'system' && verify.dataType !== 'custom' && verify.columns.length > 0 && ds && config.setting.interType === 'system' && config.columns && config.columns.length > 0) {
        let cols = []
        let columns = config.columns.map(c => c.field)
@@ -810,12 +815,12 @@
  clearField = () => {
    const { verify } = this.state
    const _this = this
    const that = this
    confirm({
      content: `确定清空Excel列吗?`,
      onOk() {
        _this.setState({
        that.setState({
          verify: {
            ...verify,
            columns: []