Browse Source

roll label

dev
qiezi 1 year ago
parent
commit
86d7c3e5c4
  1. 2
      src/printFormat/RF_RFID.js
  2. 2
      src/printFormat/alphaHardTagPrintFormat.js
  3. 2
      src/printFormat/antenna.js
  4. 4
      src/views/modules/label/printer.vue
  5. 4
      src/views/modules/part/external.vue
  6. 6
      src/views/modules/part/picture/picture.vue

2
src/printFormat/RF_RFID.js

@ -52,7 +52,7 @@ export const printRF_RFIDLabel = (printList, icons, printerName) => {
LODOP.ADD_PRINT_TEXT(104,202,100,20,row.rollCount);
LODOP.SET_PRINT_STYLEA(0,"FontName","Arial");
if(rightIndex === 'Y'){
LODOP.ADD_PRINT_TEXT(152,255,115,20,`${row.freeInfo2}`);
LODOP.ADD_PRINT_TEXT(152,255,115,20,row.freeInfo2);
LODOP.SET_PRINT_STYLEA(0,"FontName","Arial");
}
for(let i = 0; i < icons.length; i++){

2
src/printFormat/alphaHardTagPrintFormat.js

@ -78,7 +78,7 @@ export function printAlphaHardTagLabel (printList, icons, printerName) {
LODOP.SET_PRINT_STYLEA(0,"FontName","Arial");
LODOP.SET_PRINT_STYLEA(0,"FontSize",8);
if(rightIndex === 'Y'){
LODOP.ADD_PRINT_TEXT(152,255,115,20,`${row.freeInfo2}`);
LODOP.ADD_PRINT_TEXT(152,255,115,20,row.freeInfo2);
LODOP.SET_PRINT_STYLEA(0,"FontName","Arial");
}
for(let i = 0; i < icons.length; i++){

2
src/printFormat/antenna.js

@ -56,7 +56,7 @@ export const printAntennaLabel = (printList, icons, printerName) => {
LODOP.ADD_PRINT_TEXT(128, 176, 180, 20, row.sn)
LODOP.SET_PRINT_STYLEA(0, 'FontName', 'Arial')
if (rightIndex === 'Y') {
LODOP.ADD_PRINT_TEXT(152, 255, 115, 20, `${row.freeInfo2}`)
LODOP.ADD_PRINT_TEXT(152, 255, 115, 20, row.freeInfo2)
LODOP.SET_PRINT_STYLEA(0, 'FontName', 'Arial')
}
for (let i = 0; i < icons.length; i++) {

4
src/views/modules/label/printer.vue

@ -271,10 +271,10 @@ export default {
serialNumber: '30004Table2PictureNo',
tableId: "30004Table2",
tableName: "外部料号图片信息表",
columnProp: "pictureNo",
columnProp: "certificationNo",
headerAlign: "center",
align: "left",
columnLabel: "Certification No",
columnLabel: "Certification Code",
columnHidden: false,
columnImage: false,
columnSortable: false,

4
src/views/modules/part/external.vue

@ -380,10 +380,10 @@ export default {
serialNumber: '10002Table22PictureNo',
tableId: "10002Table2",
tableName: "外部料号图片信息表",
columnProp: "pictureNo",
columnProp: "certificationNo",
headerAlign: "center",
align: "left",
columnLabel: "Certification No",
columnLabel: "Certification Code",
columnHidden: false,
columnImage: false,
columnSortable: false,

6
src/views/modules/part/picture/picture.vue

@ -323,7 +323,7 @@ export default {
<el-form :model="basePicture" label-position="top">
<el-row :gutter="20">
<el-col :span="4">
<el-form-item label="Picture Description">
<el-form-item label="Certification Code Description">
<el-input v-model="basePicture.pictureDesc"></el-input>
</el-form-item>
</el-col>
@ -342,7 +342,7 @@ export default {
<div style="display: flex" v-loading="basePictureLoading">
<el-table :data="basePictureList" border :height="400" @selection-change="handleBaseSelectionChange" :style="`width: 100%;margin-top: 5px`">
<el-table-column type="selection" width="55" align="center"></el-table-column>
<el-table-column prop="certificationNo" label="Certification No" min-width="80"/>
<el-table-column prop="certificationNo" label="Certification Code" min-width="80"/>
<el-table-column prop="pictureDesc" label="Certification Description" min-width="120"/>
<el-table-column label="Actions" width="60" align="center">
<template slot-scope="scope">
@ -356,7 +356,7 @@ export default {
</div>
<el-table :data="dataList" border :height="400" @selection-change="handleSelectionChange" :style="`width: 100%;margin-top: 5px`">
<el-table-column type="selection" width="55" align="center"></el-table-column>
<el-table-column prop="certificationNo" label="Certification No" min-width="80"/>
<el-table-column prop="certificationNo" label="Certification Code" min-width="80"/>
<el-table-column prop="pictureDesc" label="Certification Description" min-width="120"/>
<el-table-column label="Actions" width="60" align="center">
<template slot-scope="scope">

Loading…
Cancel
Save