Browse Source

24-05-16 标签记录

master
zelian_wu 2 years ago
parent
commit
af38712779
  1. 2
      src/views/modules/print/print_package_label-NOOREVIEW.js
  2. 2
      src/views/modules/production/bagLabels.vue
  3. 3
      src/views/modules/production/scanForm.vue

2
src/views/modules/print/print_package_label-NOOREVIEW.js

@ -13,7 +13,7 @@ export function printPackageLabelNoPreview(printList) {
LODOP.NewPage(); LODOP.NewPage();
LODOP.SET_PRINT_PAGESIZE(0,1000,700,""); LODOP.SET_PRINT_PAGESIZE(0,1000,700,"");
// LODOP.ADD_PRINT_BARCODE(133,286,130,88,"QRCode",printData.partSpec); // LODOP.ADD_PRINT_BARCODE(133,286,130,88,"QRCode",printData.partSpec);
LODOP.ADD_PRINT_BARCODE(133,286,130,88,"QRCode",`${printData.site};${printData.partNo};${printData.unitQty};${printData.seqNo}` );
LODOP.ADD_PRINT_BARCODE(133,286,130,88,"QRCode",`${printData.site};${printData.partNo};${printData.unitQty};${printData.seqNo};${printData.printId}`);
LODOP.ADD_PRINT_TEXT(93,18,123,25,"Product No:"); LODOP.ADD_PRINT_TEXT(93,18,123,25,"Product No:");
LODOP.SET_PRINT_STYLEA(0,"FontName","Arial"); LODOP.SET_PRINT_STYLEA(0,"FontName","Arial");
LODOP.SET_PRINT_STYLEA(0,"FontSize",12); LODOP.SET_PRINT_STYLEA(0,"FontSize",12);

2
src/views/modules/production/bagLabels.vue

@ -403,7 +403,9 @@ export default {
</el-card> </el-card>
</div> </div>
<el-dialog title="提示" :visible.sync="flag" @open="()=>{ <el-dialog title="提示" :visible.sync="flag" @open="()=>{
this.$nextTick(()=>{
this.$refs.dialogInput.focus(); this.$refs.dialogInput.focus();
})
}" @close="()=>{ }" @close="()=>{
this.number = 1 this.number = 1
}" width="15vw" top="30vh"> }" width="15vw" top="30vh">

3
src/views/modules/production/scanForm.vue

@ -136,7 +136,7 @@ export default {
return; return;
} }
let arr = this.model.label.split(";"); let arr = this.model.label.split(";");
if (arr.length < 4){
if (arr.length < 5){
if (!arr[3]){ if (!arr[3]){
this.$message.warning("标签jobNo为空") this.$message.warning("标签jobNo为空")
return; return;
@ -179,6 +179,7 @@ export default {
scanQty:arr[2], scanQty:arr[2],
scanType:parseInt(arr[2]) !== this.partValue?'零散数量':'标准数量', scanType:parseInt(arr[2]) !== this.partValue?'零散数量':'标准数量',
seqNo:arr[3], seqNo:arr[3],
printId:arr[4]?arr[4]:'',
createBy:this.$store.state.user.name, createBy:this.$store.state.user.name,
createData:dayjs().format("YYYY-MM-DD") createData:dayjs().format("YYYY-MM-DD")
} }

Loading…
Cancel
Save