king
2024-10-28 da63017221445802b312f463c3c122b1a88745dc
src/tabviews/custom/components/table/edit-table/normalTable/index.jsx
@@ -877,6 +877,9 @@
        }
        if (col.format === 'percent') {
          content = content * 100
          if (!col.round) {
            content = +content.toFixed(2)
          }
        } else if (col.format === 'abs') {
          content = Math.abs(content)
        }
@@ -1207,6 +1210,9 @@
          }
          if (col.format === 'percent') {
            content = content * 100
            if (!col.round) {
              content = +content.toFixed(2)
            }
          } else if (col.format === 'abs') {
            content = Math.abs(content)
          }
@@ -1962,7 +1968,7 @@
      deffers.push(
        new Promise(resolve => {
          Api.getSystemCacheConfig(param, false).then(res => {
            if (!res.status) {
            if (!res.status && res.ErrCode !== '-2') {
              notification.warning({
                top: 92,
                message: res.message,
@@ -2001,7 +2007,7 @@
      deffers.push(
        new Promise(resolve => {
          Api.getSystemCacheConfig(mainparam, false).then(res => {
            if (!res.status) {
            if (!res.status && res.ErrCode !== '-2') {
              notification.warning({
                top: 92,
                message: res.message,
@@ -2062,8 +2068,8 @@
      let cell = {
        id: ex.id,
        exps: exps,
        menuname: item.label + '(表单)',
        exps: exps,
        md5_id: ''
      }
@@ -2077,6 +2083,7 @@
    if (localItems.length) {
      deffers.push({
        $backend: true,
        $type: 's_Get_SelectedList',
        data: localItems
      })
    }
@@ -2084,6 +2091,7 @@
    if (mainItems.length) {
      deffers.push({
        $backend: true,
        $type: 's_Get_SelectedList',
        data: mainItems,
        rduri: window.GLOB.mainSystemApi
      })
@@ -2094,7 +2102,7 @@
    deffers = deffers.map(item => {
      return new Promise(resolve => {
        Api.getSystemCacheConfig(item, false).then(res => {
          if (!res.status) {
          if (!res.status && res.ErrCode !== '-2') {
            notification.warning({
              top: 92,
              message: res.message,
@@ -2632,10 +2640,11 @@
    return {
      $backend: true,
      $type: 's_TableData_InUpDe',
      data: [{
        id: ex.id,
        exps: exps,
        menuname: btn.logLabel || '',
        exps: exps,
        md5_id: md5_id
      }]
    }