schangxiang@126.com
2024-08-11 0bbeeaf8cc151c2b31ca81c3989a6c6b1c6e4163
iwara-scada-web/src/views/main/WorkPieceProcess/modules/qualityDetail.vue
@@ -83,6 +83,14 @@
      dataIndex: 'qualityOP10To1'
    }
  ],
  EOP40: [
    {
      title: '连杆厚度',
      align: 'center',
      sorter: true,
      dataIndex: 'qualityOP40To1'
    }
  ],
  EOP20: [
    {
      title: '小头孔直径',
@@ -181,7 +189,7 @@
      dataIndex: 'qualityOP60To1'
    },
    {
      title: '校验码结果',
      title: '小头孔直径',
      align: 'center',
      sorter: true,
      dataIndex: 'qualityOP60To2'
@@ -208,6 +216,48 @@
    }
  ],
  EOP80: [
    {
      title: '厚度',
      align: 'center',
      sorter: true,
      dataIndex: 'qualityOP80_Houdu'
    },
    {
      title: '中心距',
      align: 'center',
      sorter: true,
      dataIndex: 'qualityOP80_ZXJ'
    },
    {
      title: '大头孔圆柱度',
      align: 'center',
      sorter: true,
      dataIndex: 'qualityOP80_DTKYZD'
    },
    {
      title: '小头上面圆度',
      align: 'center',
      sorter: true,
      dataIndex: 'qualityOP80_XTSMYD'
    },
    {
      title: '小头下面圆度',
      align: 'center',
      sorter: true,
      dataIndex: 'qualityOP80_XTXMYD'
    },
    {
      title: '大头孔直径',
      align: 'center',
      sorter: true,
      dataIndex: 'qualityOP80_D_TKZJ'
    },
    {
      title: '小头孔直径',
      align: 'center',
      sorter: true,
      dataIndex: 'qualityOP80_X_TKZJ'
    },
    {
      title: '大头重量',
      align: 'center',
@@ -509,7 +559,7 @@
          title: '20同轴度_0.15_2.Z',
          align: 'center',
          sorter: true,
          dataIndex: 'szB_OP20_m31_TZD'
          dataIndex: 'szB_OP20_M31_TZD'
        },
        {
          title: 'X-值_35',
@@ -594,59 +644,72 @@
          sorter: true,
          dataIndex: 'rgT_OP20_M10_YLW'
        },
        {
          title: 'OP20螺纹左底孔直径7.51-7.59(手持量规P90)有螺纹跳过',
          align: 'center',
          sorter: true,
          dataIndex: 'rgT_OP20_M11_ZWT'
        },
        {
          title: 'OP20螺纹右底孔直径7.51-7.59(手持量规P90)有螺纹跳过',
          align: 'center',
          sorter: true,
          dataIndex: 'rgT_OP20_M12_YWT'
        },
        //暂时废弃参数 [Editby shaocx,2024-08-11]
        // {
        //   title: 'OP20螺纹左底孔直径7.51-7.59(手持量规P90)有螺纹跳过',
        //   align: 'center',
        //   sorter: true,
        //   dataIndex: 'rgT_OP20_M11_ZWT'
        // },
        // {
        //   title: 'OP20螺纹右底孔直径7.51-7.59(手持量规P90)有螺纹跳过',
        //   align: 'center',
        //   sorter: true,
        //   dataIndex: 'rgT_OP20_M12_YWT'
        // },
        {
          title: 'OP20螺栓孔左深度26±0.2(手持量规P91)',
          align: 'center',
          sorter: true,
          dataIndex: 'rgT_OP20_M13_LZS'
          //dataIndex: 'rgT_OP20_M13_LZS'
             //变更 【Editby shaocx,2024-08-09】
             dataIndex: 'rgT_OP20_M11_LZS'
        },
        {
          title: 'OP20螺栓孔右深度26±0.2(手持量规P91)',
          align: 'center',
          sorter: true,
          dataIndex: 'rgT_OP20_M14_LYS'
          //dataIndex: 'rgT_OP20_M14_LYS'
          //变更 【Editby shaocx,2024-08-09】
          dataIndex: 'rgT_OP20_M12_LZS'
        },
        {
          title: 'OP20螺纹左底孔深度42Max(手持量规P92)',
          align: 'center',
          sorter: true,
          dataIndex: 'rgT_OP20_M15_LZD'
          dataIndex: 'rgT_OP20_M13_LZD'
        },
        {
          title: 'OP20螺纹右底孔深度42Max(手持量规P92)',
          align: 'center',
          sorter: true,
          dataIndex: 'rgT_OP20_M16_LYD'
          //dataIndex: 'rgT_OP20_M16_LYD'
           //变更 【Editby shaocx,2024-08-09】
           dataIndex: 'rgT_OP20_M14_LYD'
        },
        {
          title: 'OP20螺纹左深度38.3(+1/0)(电子螺纹深度规)',
          align: 'center',
          sorter: true,
          dataIndex: 'rgT_OP20_M17_LZS'
          //dataIndex: 'rgT_OP20_M17_LZS'
            //变更 【Editby shaocx,2024-08-09】
            dataIndex: 'rgT_OP20_M15_LZS'
        },
        {
          title: 'OP20螺纹右深度38.3(+1/0)(电子螺纹深度规)',
          align: 'center',
          sorter: true,
          dataIndex: 'rgT_OP20_M18_LYS'
          //dataIndex: 'rgT_OP20_M18_LYS'
          //变更 【Editby shaocx,2024-08-09】
          dataIndex: 'rgT_OP20_M16_LYS'
        },
        {
          title: 'OP20大头孔毛坯外圆轮廓相对于大头孔同轴度φ1',
          align: 'center',
          sorter: true,
          dataIndex: 'rgT_OP20_M19_DLK'
          //dataIndex: 'rgT_OP20_M19_DLK'
          //变更 【Editby shaocx,2024-08-09】
          dataIndex: 'rgT_OP20_M17_DLK'
        }
      ]
    },
@@ -695,18 +758,19 @@
          sorter: true,
          dataIndex: 'spC_OP20_M10_BYJ'
        },
        {
          title: 'OP20标记面左螺栓孔左倒角深度0.6(+0.4/0)',
          align: 'center',
          sorter: true,
          dataIndex: 'spC_OP20_M11_BZS'
        },
        {
          title: 'OP20标记面左螺栓孔左倒角角度30°',
          align: 'center',
          sorter: true,
          dataIndex: 'spC_OP20_M12_BZJ'
        },
        //暂时废弃参数 [Editby shaocx,2024-08-11]
        // {
        //   title: 'OP20标记面左螺栓孔左倒角深度0.6(+0.4/0)',
        //   align: 'center',
        //   sorter: true,
        //   dataIndex: 'spC_OP20_M11_BZS'
        // },
        // {
        //   title: 'OP20标记面左螺栓孔左倒角角度30°',
        //   align: 'center',
        //   sorter: true,
        //   dataIndex: 'spC_OP20_M12_BZJ'
        // },
        {
          title: 'OP20非标记面大头孔倒角深度2.1±0.15',
          align: 'center',
@@ -743,18 +807,19 @@
          sorter: true,
          dataIndex: 'spC_OP20_M18_FZJ'
        },
        {
          title: 'OP20非标记面右螺栓孔左倒角深度0.6(+0.4/0)',
          align: 'center',
          sorter: true,
          dataIndex: 'spC_OP20_M19_FYS'
        },
        {
          title: 'OP20非标记面右螺栓孔左倒角角度30°',
          align: 'center',
          sorter: true,
          dataIndex: 'spC_OP20_M20_FYJ'
        }
        //暂时废弃参数 [Editby shaocx,2024-08-11]
        // {
        //   title: 'OP20非标记面右螺栓孔左倒角深度0.6(+0.4/0)',
        //   align: 'center',
        //   sorter: true,
        //   dataIndex: 'spC_OP20_M19_FYS'
        // },
        // {
        //   title: 'OP20非标记面右螺栓孔左倒角角度30°',
        //   align: 'center',
        //   sorter: true,
        //   dataIndex: 'spC_OP20_M20_FYJ'
        // }
      ]
    }
  },
@@ -1092,114 +1157,134 @@
    SZB: {
      name: '三坐标',
      data: [
        {
          title: '直径_22_圆B',
        //新增参数 [Editby shaocx,2024-08-11]
         {
          title: '键槽深度(1.5 +0.5/0)',
          align: 'center',
          sorter: true,
          dataIndex: 'szB_OP60_M1_ZJB'
          dataIndex: 'szB_OP60_M1_CSD'
        },
        {
          title: '圆度_0.003_B',
          title: '键槽宽度_3.2_Z(+0.1/0)',
          align: 'center',
          sorter: true,
          dataIndex: 'szB_OP60_M2_YDB'
          dataIndex: 'szB_OP60_M2_CKD'
        },
        {
          title: '平行度_0.2_A',
          title: '距离——2.3±0.1',
          align: 'center',
          sorter: true,
          dataIndex: 'szB_OP60_M3_PXD'
          dataIndex: 'szB_OP60_M3_CJL'
        },
        {
          title: '平行度_0.2_A.Y',
          align: 'center',
          sorter: true,
          dataIndex: 'szB_OP60_M4_PXD'
        },
        {
          title: '平行度_0.075_A',
          align: 'center',
          sorter: true,
          dataIndex: 'szB_OP60_M5_PXD'
        },
        {
          title: '平行度_0.075_A.X',
          align: 'center',
          sorter: true,
          dataIndex: 'szB_OP60_M6_PXD'
        },
        {
          title: '直径_53_圆A',
          align: 'center',
          sorter: true,
          dataIndex: 'szB_OP60_M7_ZJA'
        },
        {
          title: '圆柱度_0.005',
          align: 'center',
          sorter: true,
          dataIndex: 'szB_OP60_M8_YZD'
        },
        {
          title: 'X_144.5_圆B',
          align: 'center',
          sorter: true,
          dataIndex: 'szB_OP60_M9_144X'
        },
        {
          title: '结果元素1',
          align: 'center',
          sorter: true,
          dataIndex: 'szB_OP60_M10_YS1'
        },
        {
          title: '距离_3.2_Z',
          align: 'center',
          sorter: true,
          dataIndex: 'szB_OP60_M11_JLZ'
        },
        {
          title: '垂线长度_2.3',
          align: 'center',
          sorter: true,
          dataIndex: 'szB_OP60_M12_CXC'
        },
        {
          title: '垂直度_0.04_A-C',
          align: 'center',
          sorter: true,
          dataIndex: 'szB_OP60_M13_CZD'
        },
        {
          title: '垂直度_0.04_A-C.X',
          align: 'center',
          sorter: true,
          dataIndex: 'szB_OP60_M14_CZD'
        },
        {
          title: '垂直度_0.04_A-C.Y',
          align: 'center',
          sorter: true,
          dataIndex: 'szB_OP60_M15_CZD'
        },
        {
          title: '垂直度_0.04_B-C',
          align: 'center',
          sorter: true,
          dataIndex: 'szB_OP60_M16_CZD'
        },
        {
          title: '垂直度_0.04_B-C.X',
          align: 'center',
          sorter: true,
          dataIndex: 'szB_OP60_M17_CZD'
        },
        {
          title: '垂直度_0.04_B-C.Y',
          align: 'center',
          sorter: true,
          dataIndex: 'szB_OP60_M18_CZD'
        }
        //暂时废弃参数 [Editby shaocx,2024-08-11]
        // {
        //   title: '直径_22_圆B',
        //   align: 'center',
        //   sorter: true,
        //   dataIndex: 'szB_OP60_M1_ZJB'
        // },
        // {
        //   title: '圆度_0.003_B',
        //   align: 'center',
        //   sorter: true,
        //   dataIndex: 'szB_OP60_M2_YDB'
        // },
        // {
        //   title: '平行度_0.2_A',
        //   align: 'center',
        //   sorter: true,
        //   dataIndex: 'szB_OP60_M3_PXD'
        // },
        // {
        //   title: '平行度_0.2_A.Y',
        //   align: 'center',
        //   sorter: true,
        //   dataIndex: 'szB_OP60_M4_PXD'
        // },
        // {
        //   title: '平行度_0.075_A',
        //   align: 'center',
        //   sorter: true,
        //   dataIndex: 'szB_OP60_M5_PXD'
        // },
        // {
        //   title: '平行度_0.075_A.X',
        //   align: 'center',
        //   sorter: true,
        //   dataIndex: 'szB_OP60_M6_PXD'
        // },
        // {
        //   title: '直径_53_圆A',
        //   align: 'center',
        //   sorter: true,
        //   dataIndex: 'szB_OP60_M7_ZJA'
        // },
        // {
        //   title: '圆柱度_0.005',
        //   align: 'center',
        //   sorter: true,
        //   dataIndex: 'szB_OP60_M8_YZD'
        // },
        // {
        //   title: 'X_144.5_圆B',
        //   align: 'center',
        //   sorter: true,
        //   dataIndex: 'szB_OP60_M9_144X'
        // },
        // {
        //   title: '结果元素1',
        //   align: 'center',
        //   sorter: true,
        //   dataIndex: 'szB_OP60_M10_YS1'
        // },
        // {
        //   title: '距离_3.2_Z',
        //   align: 'center',
        //   sorter: true,
        //   dataIndex: 'szB_OP60_M11_JLZ'
        // },
        // {
        //   title: '垂线长度_2.3',
        //   align: 'center',
        //   sorter: true,
        //   dataIndex: 'szB_OP60_M12_CXC'
        // },
        // {
        //   title: '垂直度_0.04_A-C',
        //   align: 'center',
        //   sorter: true,
        //   dataIndex: 'szB_OP60_M13_CZD'
        // },
        // {
        //   title: '垂直度_0.04_A-C.X',
        //   align: 'center',
        //   sorter: true,
        //   dataIndex: 'szB_OP60_M14_CZD'
        // },
        // {
        //   title: '垂直度_0.04_A-C.Y',
        //   align: 'center',
        //   sorter: true,
        //   dataIndex: 'szB_OP60_M15_CZD'
        // },
        // {
        //   title: '垂直度_0.04_B-C',
        //   align: 'center',
        //   sorter: true,
        //   dataIndex: 'szB_OP60_M16_CZD'
        // },
        // {
        //   title: '垂直度_0.04_B-C.X',
        //   align: 'center',
        //   sorter: true,
        //   dataIndex: 'szB_OP60_M17_CZD'
        // },
        // {
        //   title: '垂直度_0.04_B-C.Y',
        //   align: 'center',
        //   sorter: true,
        //   dataIndex: 'szB_OP60_M18_CZD'
        // }
      ]
    },
   RGT: {
@@ -1408,11 +1493,35 @@
          dataIndex: 'm31_OP60_M14_BTA'
        },
        {
          title: 'Squareness',
          title: 'Big_End_C_Squareness',
          align: 'center',
          sorter: true,
          dataIndex: 'm31_OP60_M14_SQE'
        }
          dataIndex: 'm31_OP60_M15_SQE'
        },
        {
          title: 'Sma_eND_c_Squareness',
          align: 'center',
          sorter: true,
          dataIndex: 'm31_OP60_M16_SQE'
        },
        {
          title: '大孔垂直度X向0.04',
          align: 'center',
          sorter: true,
          dataIndex: 'm31_OP60_M17_SQE'
        },
        {
          title: '大孔垂直度Y向0.04',
          align: 'center',
          sorter: true,
          dataIndex: 'm31_OP60_M18_SQE'
        },
        {
          title: '厚度21.825±0.025',
          align: 'center',
          sorter: true,
          dataIndex: 'm31_OP60_M19_SQE'
        },
      ]
    }
  }
@@ -1443,8 +1552,9 @@
        } else {
          this.getQualityInfoForID()
          for (var key in this.qualityDataAll) {
            if (record.equipmentID == 'EOP40') {
              this.qualityDataCurrent = this.qualityDataAll.EOP10
            if (record.equipmentID == 'EOP10' && record.workingProcedureCurrent=='OP40') {
              debugger
              this.qualityDataCurrent = this.qualityDataAll.EOP40
              break
            } else {
              if (key == record.equipmentID) {