|
|
@ -44,45 +44,8 @@ export function initPrintPackingCodeData(propsData,options,name,url){ |
|
|
|
"printIndex":item[_options.printIndex] || Number(key)+1,//打印序列
|
|
|
|
} |
|
|
|
], |
|
|
|
// "asnNumber": propsData[_options.number] || propsData.number,
|
|
|
|
// "supplierCode": propsData[_options.supplierCode] || propsData.supplierCode,
|
|
|
|
// "supplierName": propsData[_options.supplierName] || propsData.supplierName,
|
|
|
|
// "timeWindow": propsData[_options.timeWindow] || propsData.timeWindow,
|
|
|
|
// "arriveTime": item[_options.arriveDate] || item.arriveDate,
|
|
|
|
// "details": [
|
|
|
|
// {
|
|
|
|
// "poNumber": item[_options.poNumber] || item.poNumber,
|
|
|
|
// "poLine":item[_options.poLine] || item.poLine,
|
|
|
|
// "qty": {
|
|
|
|
// "uom":item[_options.uom] || item.uom,//必填
|
|
|
|
// "qty": item[_options.qty] || item.qty,//必填
|
|
|
|
// },
|
|
|
|
// "packingCode": item[_options.packingCode] || item.packingCode,
|
|
|
|
// "containerCode": item[_options.containerCode] || item.containerCode,
|
|
|
|
// "lot": item[_options.lot] || item.lot,//必填
|
|
|
|
// "batch": {
|
|
|
|
// "supplierBatch": item[_options.supplierBatch] || item.supplierBatch,
|
|
|
|
// "produceDate": item[_options.produceDate] || item.produceDate,
|
|
|
|
// "expireDate": item[_options.expireDate] || item.expireDate,
|
|
|
|
// },
|
|
|
|
// "itemCode": item[_options.itemCode] || item.itemCode,//必填
|
|
|
|
// "item": {
|
|
|
|
// "id": item[_options.itemId] || item.itemId,
|
|
|
|
// "name": item[_options.itemName] || item.itemName,
|
|
|
|
// "desc1": item[_options.itemDesc1] || item.itemDesc1,
|
|
|
|
// "desc2": item[_options.itemDesc2] || item.itemDesc2,
|
|
|
|
// },
|
|
|
|
// "Elevel": null
|
|
|
|
// }
|
|
|
|
// ]
|
|
|
|
}) |
|
|
|
}); |
|
|
|
// let paramName = ''
|
|
|
|
// if (name) {
|
|
|
|
// paramName = localStorage.getItem('print') + '/' + name
|
|
|
|
// } else {
|
|
|
|
// paramName = localStorage.getItem('print') + '/' + 'xiangbq.rdlx'
|
|
|
|
// }
|
|
|
|
let data = { |
|
|
|
reportName: name || 'xiangbq.rdlx', |
|
|
|
dataUrl: url || 'ccc', |
|
|
@ -93,7 +56,7 @@ export function initPrintPackingCodeData(propsData,options,name,url){ |
|
|
|
|
|
|
|
// 打印【箱标签-单页4个】 (xiangbq_many.rdlx)
|
|
|
|
// 使用位置:半成品上架标签 (PartiallyPreparedProducts.vue) | 生产退库标签 (productionReturnLabel.vue)
|
|
|
|
// | 创建标签 (RecycledMaterialsLabel.vue) | 到货请求详情 (PurchaseReceiptRequest.vue)
|
|
|
|
// | 创建标签 (RecycledMaterialsLabel.vue) | 到货请求 (PurchaseReceiptRequest.vue)
|
|
|
|
/** |
|
|
|
* @param {*} propsData 必填 详情数据 示例:this.propsData |
|
|
|
* @param {*} options 自定义特殊配置值 示例:{'number':'poNumber'} (number值将传为poNumber) |
|
|
@ -153,12 +116,6 @@ export function initPrintPackingCodeData(propsData,options,name,url){ |
|
|
|
_printData.boxlabel[_index] = _label |
|
|
|
}) |
|
|
|
}) |
|
|
|
// let paramName = ''
|
|
|
|
// if (name) {
|
|
|
|
// paramName = localStorage.getItem('print') + '/' + name
|
|
|
|
// } else {
|
|
|
|
// paramName = localStorage.getItem('print') + '/' + 'xiangbq_many.rdlx'
|
|
|
|
// }
|
|
|
|
let data = { |
|
|
|
reportName: name || 'xiangbq_many.rdlx', |
|
|
|
dataUrl: url || 'ccc', |
|
|
@ -243,7 +200,7 @@ const printEnumOption = { |
|
|
|
// 物品代码:itemCode; 单位:uom; 预计调拨量:preQty; 调入储位:toLocationCode; 实际调拨量:qty; 调出储位:fromLocationCode;
|
|
|
|
|
|
|
|
// fscll.rdlx | fsctl.rdlx 使用参数
|
|
|
|
// 使用位置:非生产领料申请 (lineSideWarehouseAllocationNote.vue - fscll.rdlx)
|
|
|
|
// 使用位置:非生产领料申请 (pickingRequest.vue - fscll.rdlx)
|
|
|
|
// 使用位置:非生产退料申请 (materialReturnRequest.vue - fsctl.rdlx)
|
|
|
|
// 单号:number; 制表日:creationTime; 部门代码:deptCode; 部门名称:deptName
|
|
|
|
// 物品代码:itemCode; 物品名称:itemName; 预计量:preQty; 实际量:qty; 单位:uom; 储位:locationCode;
|
|
|
@ -270,14 +227,14 @@ const printEnumOption = { |
|
|
|
// 物品代码:itemCode; 物品名称:itemName; 储位:locationCode; 数量:adjustQty; 原因说明:reasonStr; 参考单据:requestNumber;
|
|
|
|
|
|
|
|
// xbcll.rdlx 使用参数
|
|
|
|
// 使用位置:自动发料任务 (automaticCallJob-msQuery.vue) | 自动发料记录 (automaticCallNote.vue)
|
|
|
|
// 使用位置:?自动发料任务 (automaticCallJob-msQuery.vue) | 自动发料记录 (automaticCallNote.vue)
|
|
|
|
// 使用位置:人工发料任务 (IssueJob.vue) | 人工发料记录 (IssueNote.vue)
|
|
|
|
// 单号:number; 制表日:creationTime; 部门名称:deptName;
|
|
|
|
// 物品代码:itemCode; 物品名称:itemName; 物品描述:itemDesc1; 零件号:itemCode; 来源库位:fromLocationCode;
|
|
|
|
// 实际数量:qty; 单位:uom; 批次:fromLot; 调入储位:toLocationErpCode; 调出储位:fromLocationErpCode;
|
|
|
|
|
|
|
|
// xbctl.rdlx 使用参数 xbctl.rdlx报表 和 xbcll.rdlx报表 目前字段相同,除了领/退字段
|
|
|
|
// 使用位置:生产退库记录 (productionReturn => returnNote.vue)
|
|
|
|
// 使用位置:生产退库记录 (productionReturn => returnNote.vue productionReturnNote)
|
|
|
|
|
|
|
|
// zjfl.rdlx 使用参数
|
|
|
|
// 使用位置:直接发料记录 (directIssueNote.vue)
|
|
|
@ -286,12 +243,12 @@ const printEnumOption = { |
|
|
|
// 实际数量:qty; 单位:uom; 批次:fromLot; 调入储位:toLocationErpCode; 调出储位:fromLocationErpCode;
|
|
|
|
|
|
|
|
// hslrkd.rdlx 使用参数
|
|
|
|
// 使用位置:回收料收货记录 (materialsReceipt.vue)
|
|
|
|
// 使用位置:回收料收货记录 (materialsReceipt.vue recycledMaterialsReceipt)
|
|
|
|
// 入库单号:number; 制表日:creationTime; 入库日期:activeDate; 部门代码:deptCode; 部门名称:deptName;
|
|
|
|
// 物品代码:itemCode; 物品名称:itemName; 物品描述1:itemDesc1; 物品描述2:itemDesc2; 数量:qty; 储位:locationErpCode;
|
|
|
|
|
|
|
|
// chdmxb.rdlx 使用参数
|
|
|
|
// 使用位置:原料直发记录 (materialDirectSendNote.vue)
|
|
|
|
// 使用位置:原料直发客户记录 (materialDirectSendNote.vue)
|
|
|
|
// 出货单号:number; 出货日期:deliverTime; 制表日:creationTime; 客户名称:customerCode; 客户地址:customerAddressCode;
|
|
|
|
// 序号:xh, 物品代码:itemCode; 物品名称:itemName; 单位:uom; 箱标签:packingCode, 出货数量:qty; 正厂编号:itemDesc2;
|
|
|
|
|
|
|
|