test: include relabel charge amount
This commit is contained in:
@@ -29,6 +29,7 @@ test('module never borrows historical order or inventory candidates', () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
test('relabel transfer and discard cover create replay conflict list detail and legal initial states', () => {
|
test('relabel transfer and discard cover create replay conflict list detail and legal initial states', () => {
|
||||||
|
assert.match(source, /chargeAmount: 0\.01/)
|
||||||
for (const token of [
|
for (const token of [
|
||||||
'客户创建贴标申请', '客户贴标申请幂等重放', '贴标同幂等键异载荷返回A0409',
|
'客户创建贴标申请', '客户贴标申请幂等重放', '贴标同幂等键异载荷返回A0409',
|
||||||
'客户查询自身贴标申请列表', '客户查询自身贴标申请详情', 'PENDING_PROCESSING',
|
'客户查询自身贴标申请列表', '客户查询自身贴标申请详情', 'PENDING_PROCESSING',
|
||||||
|
|||||||
@@ -93,6 +93,7 @@ async function verifyRelabel(context, token, order) {
|
|||||||
customerOrderNo: order.row.orderNo,
|
customerOrderNo: order.row.orderNo,
|
||||||
overseasWarehouseId: order.row.overseasWarehouseId,
|
overseasWarehouseId: order.row.overseasWarehouseId,
|
||||||
labelDeadline: future(7), contactName: '客户贴标验收联系人', contactPhone: '13800000006',
|
labelDeadline: future(7), contactName: '客户贴标验收联系人', contactPhone: '13800000006',
|
||||||
|
chargeAmount: 0.01,
|
||||||
remark: context.marker, idempotencyKey: `${context.marker}-CLIENT-RELABEL`.slice(0, 255),
|
remark: context.marker, idempotencyKey: `${context.marker}-CLIENT-RELABEL`.slice(0, 255),
|
||||||
items: [{
|
items: [{
|
||||||
skuCode: cargo.skuCode, productImageFileId: null, productImageFileName: null, productImageUrl: null,
|
skuCode: cargo.skuCode, productImageFileId: null, productImageFileName: null, productImageUrl: null,
|
||||||
|
|||||||
Reference in New Issue
Block a user