king
2024-06-29 a6cfaea4cfac187f24cbd56ec07a7cc766a6c9a7
src/tabviews/zshare/actionList/funcbutton/index.jsx
@@ -215,21 +215,6 @@
      }
    }
    let appId = window.GLOB.WXAppID || window.GLOB.WXminiAppID || ''
    if (btn.wxApp && window.GLOB.WXApps && window.GLOB.WXApps.findIndex(item => item.appId === btn.wxApp) > -1) {
      appId = btn.wxApp
    }
    if (!appId) {
      notification.warning({
        top: 10,
        message: '未获取到应用ID!',
        duration: 5
      })
      return
    }
    this.setState({loading: true})
    if (param) {
@@ -240,7 +225,7 @@
            id = res.mk_b_id || res[btn.output] || orderId
          }
          Api.setRefund({out_biz_no: id, app_id: appId}).then(res => {
          Api.setRefund({out_biz_no: id}).then(res => {
            if (!res.status) {
              this.execError({ErrCode: 'E', message: res.message || window.GLOB.dict['exc_fail'] || '执行失败!', ...res})
            } else {
@@ -252,7 +237,7 @@
        }
      })
    } else {
      Api.setRefund({out_biz_no: orderId, app_id: appId}).then(res => {
      Api.setRefund({out_biz_no: orderId}).then(res => {
        if (!res.status) {
          this.execError({ErrCode: 'E', message: res.message || window.GLOB.dict['exc_fail'] || '执行失败!', ...res})
        } else {