admin
2024-09-20 9f1c50994f0972d595862087ffa977f3701e971b
jcdm-ui/src/views/main/kb/stationTerminal/index.vue
@@ -107,7 +107,7 @@
                     <span>相数:</span><span>3</span><br>
                   </div>
                   <div style="margin-top: 4px">
                     <span>零件号:</span><span>9900200461</span><br>
                     <span>零件号:</span><span>{{printMaterialCode}}</span><br>
                   </div>
                 </div>
@@ -157,7 +157,7 @@
                 </div>
                 <div style="margin-top: 4px">
                   <span style="font-size: 22px">9900200461</span><br>
                   <span style="font-size: 22px">{{printMaterialCode}}</span><br>
                 </div>
                 <div style="margin-top: 4px">
@@ -171,13 +171,43 @@
                   <VueQr :size='80' :margin='0' :text='this.text'></VueQr>
                 </div>
                 <div style="width: 70%;flex: 1;margin-top: 18px;margin-right: 29px">
                        <span style="margin-left: -80px;font-size: 19px;font-family: FZYaoti;letter-spacing: -0.8px;font-weight: 100">
                          P9900200461#T{{headContent.sfcCode}}
                        </span><br>
                   <span style="margin-left: -80px;font-size: 19px;font-family: FZYaoti;letter-spacing: -0.8px;font-weight: 100">
                          #V993983#SSW002.005#HHW001.001#NMCU
                        </span>
                   <!--                      <span style="font-size: 10px;word-break: break-all;display: flex;justify-content: center;width: 155px;margin-left: 9px">P9900166410#T{{text1}}#V993983#SSW002.005#HHW001.001#NBMS#</span>-->
                  <span style="margin-left: -122px;font-size: 16px;font-family: FZYaoti;letter-spacing: -0.7px">
                     P{{printMaterialCode}}
                   </span>
                   <span style="margin-left: -5px;font-size: 19px;font-family: FangSong;letter-spacing: -0.7px">
                     #
                   </span>
                   <span style="margin-left: -9px;font-size: 16px;font-family: FZYaoti;letter-spacing: -0.7px">
                     T{{headContent.sfcCode}}
                   </span><br>
                   <span style="margin-left: -122px;font-size: 19px;font-family: FangSong;letter-spacing: -0.7px">
                     #
                   </span>
                   <span style="margin-left: -9px;font-size: 16px;font-family: FZYaoti;letter-spacing: -0.7px">
                     V993983
                   </span>
                   <span style="margin-left: -4px;font-size: 19px;font-family: FangSong;letter-spacing: -0.7px">
                     #
                   </span>
                   <span style="margin-left: -10px;font-size: 16px;font-family: FZYaoti;letter-spacing: -0.7px">
                     SSW002.005
                   </span>
                   <span style="margin-left: -4px;font-size: 19px;font-family: FangSong;letter-spacing: -0.7px">
                     #
                   </span>
                   <span style="margin-left: -9px;font-size: 16px;font-family: FZYaoti;letter-spacing: -0.7px">
                     HHW001.001
                   </span>
                   <span style="margin-left: -6px;font-size: 19px;font-family: FangSong;letter-spacing: -0.7px">
                     #
                   </span>
                   <span style="margin-left: -9px;font-size: 16px;font-family: FZYaoti;letter-spacing: -0.7px">
                     NMCU
                   </span>
<!--                   <span style="margin-left: -80px;font-size: 19px;font-family: FZYaoti;letter-spacing: -0.8px;font-weight: 100">-->
<!--                     #V993983#SSW002.005#HHW001.001#NMCU-->
<!--                   </span>-->
                 </div>
               </div>
@@ -186,19 +216,52 @@
                   <VueQr :size='80' :margin='0' :text='this.text'></VueQr>
                 </div>
                 <div style="width: 70%;flex: 1;margin-top: 18px;margin-right: 29px">
                        <span style="margin-left: -80px;font-size: 19px;font-family: FZYaoti;letter-spacing: -0.8px;font-weight: 100">
                          P9900200461#T{{headContent.sfcCode}}
                        </span><br>
                   <span style="margin-left: -80px;font-size: 19px;font-family: FZYaoti ;letter-spacing: -0.8px;font-weight: 100">
                          #V993983#SSW002.005#HHW001.001#NMCU
                        </span>
                   <!--                      <span style="font-size: 10px;word-break: break-all;display: flex;justify-content: center;width: 155px;margin-left: 9px">P9900166410#T{{text1}}#V993983#SSW002.005#HHW001.001#NBMS#</span>-->
<!--                        <span style="margin-left: -80px;font-size: 19px;font-family: FZYaoti;letter-spacing: -0.8px;font-weight: 100">-->
<!--                          P9900200461#T{{headContent.sfcCode}}-->
<!--                        </span><br>-->
<!--                   <span style="margin-left: -80px;font-size: 19px;font-family: FZYaoti ;letter-spacing: -0.8px;font-weight: 100">-->
<!--                          #V993983#SSW002.005#HHW001.001#NMCU-->
<!--                        </span>-->
                   <span style="margin-left: -122px;font-size: 16px;font-family: FZYaoti;letter-spacing: -0.7px">
                     P{{printMaterialCode}}
                   </span>
                   <span style="margin-left: -5px;font-size: 19px;font-family: FangSong;letter-spacing: -0.7px">
                     #
                   </span>
                   <span style="margin-left: -9px;font-size: 16px;font-family: FZYaoti;letter-spacing: -0.7px">
                     T{{headContent.sfcCode}}
                   </span><br>
                   <span style="margin-left: -122px;font-size: 19px;font-family: FangSong;letter-spacing: -0.7px">
                     #
                   </span>
                   <span style="margin-left: -9px;font-size: 16px;font-family: FZYaoti;letter-spacing: -0.7px">
                     V993983
                   </span>
                   <span style="margin-left: -4px;font-size: 19px;font-family: FangSong;letter-spacing: -0.7px">
                     #
                   </span>
                   <span style="margin-left: -10px;font-size: 16px;font-family: FZYaoti;letter-spacing: -0.7px">
                     SSW002.005
                   </span>
                   <span style="margin-left: -4px;font-size: 19px;font-family: FangSong;letter-spacing: -0.7px">
                     #
                   </span>
                   <span style="margin-left: -9px;font-size: 16px;font-family: FZYaoti;letter-spacing: -0.7px">
                     HHW001.001
                   </span>
                   <span style="margin-left: -6px;font-size: 19px;font-family: FangSong;letter-spacing: -0.7px">
                     #
                   </span>
                   <span style="margin-left: -9px;font-size: 16px;font-family: FZYaoti;letter-spacing: -0.7px">
                     NMCU
                   </span>
                 </div>
               </div>
               <div style="text-align: center;margin-left: -190px;margin-top: 35px">
                 <div style="margin-top: 4px">
                   <span>9900200461</span><br>
                   <span>{{printMaterialCode}}</span><br>
                 </div>
                 <div style="margin-top: 8px">
                   <span>MCU</span><br>
@@ -352,6 +415,7 @@
      orderFlag: true,
      printFlag: false,
      activeName: 'first',
      printMaterialCode : '',
    }
  },
@@ -538,6 +602,8 @@
          this.headContent.cardCode = rowsData.trolleyYard;
          this.getListFormulaChild()
          this.workpieceInformation.inboundTime = this.getCurrentTime()
          this.printMaterialCode = rowsData.productCode
          this.text = 'P'+this.printMaterialCode+'#T'+this.headContent.sfcCode+'#V993983#SSW001.001#HHW001.001#NMCU'
        }else {
          this.$message.error('系统没有此工单,请重新扫码!');
        }
@@ -550,15 +616,17 @@
      }
      initializedData(param).then(response => {
        if(response.msg !== ''){
          this.headContent.sfcCode = response.msg;
          this.queryParams.productNum = response.msg;
          if(this.headContent.processesCode === 'OP165'){
            this.headContent.sfcCode = response.msg.substring(13,26)
          }else {
            this.headContent.sfcCode = response.msg;
            this.queryParams.productNum = response.msg;
          }
          this.getList()
          this.cakeLamp.scanFinish = 1
          this.cakeLamp.startWork = 1
          this.cakeLamp.InPlace = 1
          // this.test1()
          // this.test2()
          this.text = 'P9900200461#T'+this.headContent.sfcCode+'#V993983#SSW001.001#HHW001.001#NMCU'
          // this.text = 'P9900200461#T'+this.headContent.sfcCode+'#V993983#SSW001.001#HHW001.001#NMCU'
        }
      });
    },