king
2020-11-03 37a134bd23ec4b227a0e010b08a1a89c2bbaaa0d
src/tabviews/zshare/actionList/excelInbutton/index.jsx
@@ -18,6 +18,7 @@
  static propTpyes = {
    show: PropTypes.any,              // 显示样式
    BID: PropTypes.string,            // 主表ID
    MenuName: PropTypes.any,          // 菜单名称
    selectedData: PropTypes.any,      // 子表中选择数据
    Tab: PropTypes.any,               // 如果当前元素为标签时,tab为标签信息
    btn: PropTypes.object,            // 按钮
@@ -188,7 +189,7 @@
   * @description Excel 导入
   */
  getexceldata = (data, errors, sheetName) => {
    const { btn } = this.props
    const { btn, MenuName } = this.props
    if (errors) {
      if (errors === 'notexit') {
@@ -275,6 +276,8 @@
        param.open_key = Utils.encryptOpenKey(param.secretkey, param.timestamp)
      }
      param.menuname = `${MenuName ? MenuName + '-' : ''}${btn.label}`
      Api.genericInterface(param).then((res) => {
        if (res.status) {
          this.execSuccess(res)