xiaojiao
2 天以前 b532ba8806996246ab7a0896bf34b884c47dee7e
ÏîÄ¿´úÂë/WMS/WIDESEA_WMSClient/src/views/services/record/dt_selectionRecord.vue
@@ -272,6 +272,20 @@
        sort: true,
        width: 110,
        align: 'left',
        formatter: (row) => {
          try {
            // è§£æžJSON字符串为对象
            var dict1 = {
              "2号压装位":"3线库压装台",
              "1号压装位":"2线库压装台"
              };
            row.record_outstation = dict1[row.record_outstation] ?? row.record_outstation;
            return `${row.record_outstation || '-'}`;
          } catch (e) {
            // è§£æžå¤±è´¥æ—¶è¿”回友好提示
            return '数据格式异常';
          }
        },
      },
      {
        field: 'record_direction',
@@ -280,6 +294,28 @@
        sort: true,
        width: 110,
        align: 'left',
        formatter: (row) => {
          try {
            // è§£æžJSON字符串为对象
            var dict1 = {
              "左侧":"轴端",
              "右侧":"非轴端"
              };
            row.record_direction = dict1[row.record_direction] ?? row.record_direction;
            return `${row.record_direction || '-'}`;
          } catch (e) {
            // è§£æžå¤±è´¥æ—¶è¿”回友好提示
            return '数据格式异常';
          }
        },
      },
      {
        field: 'Standard_value',
        title: '合格证重量',
        type: 'string', // æŠŠ string æ”¹æˆ text(很多封装组件认 text è€Œéž string)
        align: 'left',
        sort: true,
        width: 140, // æ˜¾å¼è®¾ç½®å®½åº¦ï¼Œé¿å…å®½åº¦ä¸º0
      },
      {
        field: 'record_inboundTime',