king
2022-10-10 5354b648a9765d8c9ca3f8c7ce065b58c3d55716
src/views/billprint/index.jsx
@@ -426,7 +426,6 @@
      foreign_key: '',
      sql: _dataresource,
      script: _customScript,
      transaction: setting.transaction === 'true'
    }
  }
@@ -435,7 +434,6 @@
    if (!params || params.length === 0) return ''
    let LText_field = []
    let transaction = false
    let userName = sessionStorage.getItem('User_Name') || ''
    let fullName = sessionStorage.getItem('Full_Name') || ''
@@ -464,9 +462,6 @@
          ${_script}
        `
      }
      if (item.transaction) {
        transaction = true
      }
      item.columns.forEach(cell => {
        LText_field.push(`Select '${item.name}' as tablename,'${cell.field}' as fieldname,'${cell.datatype}' as field_type`)
@@ -479,10 +474,6 @@
      LText: LText.join(' union all '),
      LText_field: LText_field.join(' union all '),
      BID: BID || ''
    }
    if (transaction) {
      param.func = 'sPC_Get_structured_data_try'
    }
    param.LText = Utils.formatOptions(param.LText)