中性化库存凭据类型
This commit is contained in:
@@ -46,7 +46,7 @@ const INVENTORY_ITEM_SELECT = `
|
||||
|
||||
export async function findFirstAvailableInventoryItemBySkuCode(
|
||||
skuCode: string,
|
||||
credentialType = 'tencent_code',
|
||||
credentialType = 'claim_code',
|
||||
inventoryGroupCodes: InventoryGroupCodesInput = null,
|
||||
): Promise<InventoryItemRow | null> {
|
||||
const normalizedInventoryGroupCodes = normalizeInventoryGroupCodes(inventoryGroupCodes)
|
||||
@@ -360,7 +360,7 @@ export async function createInventoryItems(rows: InventoryCreateItemInput[]): Pr
|
||||
[
|
||||
row.batchNo || '',
|
||||
row.skuCode,
|
||||
row.credentialType || 'tencent_code',
|
||||
row.credentialType || 'claim_code',
|
||||
inventoryGroupCode,
|
||||
displayValue,
|
||||
payloadJson,
|
||||
|
||||
Reference in New Issue
Block a user