king
2025-05-13 1779677cece5864b62a65df4b01a4a69496e149a
src/tabviews/custom/components/module/voucher/index.jsx
@@ -492,11 +492,11 @@
    }
    if (tip) {
      const _this = this
      const that = this
      confirm({
        content: tip + '确认要保存吗?',
        onOk() {
          _this.voucherSave(list, t)
          that.voucherSave(list, t)
        },
        onCancel() {}
      })
@@ -567,7 +567,7 @@
    let sup_data = []
    let voucherMap = new Map()
    let supMap = new Map()
    let extract = localStorage.getItem(window.GLOB.host + '_voucher_extract')
    let extract = localStorage.getItem(window.GLOB.sysSign + '_voucher_extract')
    extract = extract ? JSON.parse(extract) : []
    data.forEach(item => {
@@ -621,7 +621,7 @@
      if (extract.length > 20) {
        extract.length = 20
      }
      localStorage.setItem(window.GLOB.host + '_voucher_extract', JSON.stringify(extract))
      localStorage.setItem(window.GLOB.sysSign + '_voucher_extract', JSON.stringify(extract))
    }
    voucherMap.forEach(item => {
@@ -700,7 +700,7 @@
      }
      if (tabId) {
        MKEmitter.emit('reloadMenuView', tabId, 'table')
        MKEmitter.emit('reloadMenuView', tabId)
      }
    })
  }
@@ -953,7 +953,7 @@
      }
      if (tabId) {
        MKEmitter.emit('reloadMenuView', tabId, 'table')
        MKEmitter.emit('reloadMenuView', tabId)
      }
    })
  }