yusijie
2026-02-05 0d473e2db6772ff8c1134781bf30c791386b5ffc
惠康拆码,提交保存物料条码时,递入创建人参数调整
1个文件已修改
27 ■■■■■ 已修改文件
pages/tiaomachaima/tiaomachaimaCopy_HK.vue 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/tiaomachaima/tiaomachaimaCopy_HK.vue
@@ -196,7 +196,9 @@
                    spacing: 1.2
                });
                
                printer.setUnwindPaperLen({ length: 60 });
                printer.setUnwindPaperLen({
                    length: 60
                });
                printer.setFontSize({
                    fontSize: 1
                });
@@ -340,12 +342,17 @@
                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'
                    
                    ,
                })
@@ -353,7 +360,9 @@
                    spacing: 1.2
                });
                
                printer.setUnwindPaperLen({ length: 60 });
                printer.setUnwindPaperLen({
                    length: 60
                });
                printer.setFontSize({
                    fontSize: 1
                });
@@ -605,7 +614,7 @@
                    });
                }
                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