扫码枪页面
This commit is contained in:
@@ -46,7 +46,7 @@ export default {
|
||||
// 拼接条码内容 stockIoId_warehouseId_materialId_quantity
|
||||
const barcodes = details.filter(el => el.recordType == 0).map(item => {
|
||||
return {
|
||||
code: encodeURIComponent(`${item.itemId || ''}`),
|
||||
code: encodeURIComponent(`${item.itemType}__${item.itemId || ''}`),
|
||||
count: Math.min(item.quantity, 10),
|
||||
textTpl: item.itemType == ITEM_TYPE.PRODUCT ?
|
||||
`${this.productMap[item.itemId]?.productName}[${this.productMap[item.itemId]?.productCode}](${item.quantity})`
|
||||
|
||||
Reference in New Issue
Block a user