king
2024-08-25 326aa6b3effaccc71cfe0775d47b0f29eb3695a6
src/tabviews/zshare/actionList/printbutton/index.jsx
@@ -150,7 +150,7 @@
    this.setState({autoMatic: type === 'autoMatic'})
    let _this = this
    let that = this
    let data = record || selectedData || []
    if (btn.Ot !== 'notRequired' && data.length === 0) {
@@ -194,10 +194,10 @@
        okText: dict['ok'] || '确定',
        cancelText: dict['cancel'] || '取消',
        onOk() {
          _this.triggerPrint(data)
          that.triggerPrint(data)
        },
        onCancel() {
          _this.setState({ loading: false })
          that.setState({ loading: false })
        }
      })
    } else {
@@ -2113,7 +2113,7 @@
  modelconfirm = () => {
    const { btnconfig, selines, dict } = this.state
    let _this = this
    let that = this
    let result = []
    let _data = {}
    let BData = {}
@@ -2259,10 +2259,10 @@
        okText: dict['ok'] || '确定',
        cancelText: dict['cancel'] || '取消',
        onOk() {
          _this.triggerPrint(selines, result)
          that.triggerPrint(selines, result)
        },
        onCancel() {
          _this.setState({ loading: false })
          that.setState({ loading: false })
        }
      })
    }