| | |
| | | spacing: 1.2 |
| | | }); |
| | | |
| | | printer.setUnwindPaperLen({ length: 60 }); |
| | | printer.setUnwindPaperLen({ |
| | | length: 60 |
| | | }); |
| | | printer.setFontSize({ |
| | | fontSize: 1 |
| | | }); |
| | |
| | | const formatDate =new Date().toISOString().split('T')[0]; |
| | | console.log(formatDate) |
| | | CommonUtils.showTips({ |
| | | message:'母标签\r\n'+'供应商名称:'+this.barCodeInfo['供应商']+'\r\n'+'物料代码:'+this.barCodeInfo['物料代码']+'\r\n'+'物料简称:'+this.barCodeInfo['物料简称']+'\r\n' |
| | | +'数量:'+this.barCodeInfo['剩余数量']+'\r\n'+'工号:'+this.barCodeInfo['工号']+'\r\n'+'生产日期:'+this.barCodeInfo['生产日期']+'\r\n'+'流水号:'+this.barCodeInfo['流水号']+'\r\n' |
| | | +'打印日期:'+formatDate+'\r\n'+this.barCodeInfo['条码编号']+'\r\n' |
| | | +'子标签\r\n'+'供应商名称:'+this.barCodeInfo['供应商']+'\r\n'+'物料代码:'+this.barCodeInfo['物料代码']+'\r\n'+'物料简称:'+this.barCodeInfo['物料简称']+'\r\n' |
| | | +'数量:'+this.barCodeSplitInfo[0]['HSplitNum']+'\r\n'+'工号:'+this.barCodeInfo['工号']+'\r\n'+'生产日期:'+this.barCodeInfo['生产日期']+'\r\n'+'流水号:'+this.barCodeInfo['流水号']+'\r\n' |
| | | +'打印日期:'+formatDate+'\r\n'+this.barCodeSplitInfo[0]['HBarCode']+'\r\n' |
| | | message: '母标签\r\n' + '供应商名称:' + this.barCodeInfo['供应商'] + '\r\n' + '物料代码:' + this.barCodeInfo[ |
| | | '物料代码'] + '\r\n' + '物料简称:' + this.barCodeInfo['物料简称'] + '\r\n' + |
| | | '数量:' + this.barCodeInfo['剩余数量'] + '\r\n' + '工号:' + this.barCodeInfo['工号'] + '\r\n' + |
| | | '生产日期:' + this.barCodeInfo['生产日期'] + '\r\n' + '流水号:' + this.barCodeInfo['流水号'] + '\r\n' + |
| | | '打印日期:' + formatDate + '\r\n' + this.barCodeInfo['条码编号'] + '\r\n' + |
| | | '子标签\r\n' + '供应商名称:' + this.barCodeInfo['供应商'] + '\r\n' + '物料代码:' + this.barCodeInfo[ |
| | | '物料代码'] + '\r\n' + '物料简称:' + this.barCodeInfo['物料简称'] + '\r\n' + |
| | | '数量:' + this.barCodeSplitInfo[0]['HSplitNum'] + '\r\n' + '工号:' + this.barCodeInfo['工号'] + |
| | | '\r\n' + '生产日期:' + this.barCodeInfo['生产日期'] + '\r\n' + '流水号:' + this.barCodeInfo['流水号'] + |
| | | '\r\n' + |
| | | '打印日期:' + formatDate + '\r\n' + this.barCodeSplitInfo[0]['HBarCode'] + '\r\n' |
| | | |
| | | , |
| | | }) |
| | |
| | | spacing: 1.2 |
| | | }); |
| | | |
| | | printer.setUnwindPaperLen({ length: 60 }); |
| | | printer.setUnwindPaperLen({ |
| | | length: 60 |
| | | }); |
| | | printer.setFontSize({ |
| | | fontSize: 1 |
| | | }); |
| | |
| | | }); |
| | | } |
| | | let msg = |
| | | `${this.barCodeInfoMeta["barCodeNo"]};${this.barCodeInfoMeta["splitNum"]};${JSON.stringify(this.barCodeSplitInfo)};${this.billMaker}` |
| | | `${this.barCodeInfoMeta["barCodeNo"]};${this.barCodeInfoMeta["splitNum"]};${JSON.stringify(this.barCodeSplitInfo)};${this.barCodeInfoMeta["billMaker"]}` |
| | | this.doRequest( |
| | | "/Sc_BarCode/SplitBarCode_Save", { |
| | | msg: msg |