|
@ -44,45 +44,8 @@ export function initPrintPackingCodeData(propsData,options,name,url){ |
|
|
"printIndex":item[_options.printIndex] || Number(key)+1,//打印序列
|
|
|
"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 = { |
|
|
let data = { |
|
|
reportName: name || 'xiangbq.rdlx', |
|
|
reportName: name || 'xiangbq.rdlx', |
|
|
dataUrl: url || 'ccc', |
|
|
dataUrl: url || 'ccc', |
|
@ -153,12 +116,6 @@ export function initPrintPackingCodeData(propsData,options,name,url){ |
|
|
_printData.boxlabel[_index] = _label |
|
|
_printData.boxlabel[_index] = _label |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
// let paramName = ''
|
|
|
|
|
|
// if (name) {
|
|
|
|
|
|
// paramName = localStorage.getItem('print') + '/' + name
|
|
|
|
|
|
// } else {
|
|
|
|
|
|
// paramName = localStorage.getItem('print') + '/' + 'xiangbq_many.rdlx'
|
|
|
|
|
|
// }
|
|
|
|
|
|
let data = { |
|
|
let data = { |
|
|
reportName: name || 'xiangbq_many.rdlx', |
|
|
reportName: name || 'xiangbq_many.rdlx', |
|
|
dataUrl: url || 'ccc', |
|
|
dataUrl: url || 'ccc', |
|
|