fix(core-flows): confirm return request (#8242)
This commit is contained in:
committed by
GitHub
parent
47dde05517
commit
f38f6d53b4
@@ -81,12 +81,12 @@ export default class ClaimItemImage {
|
||||
@BeforeCreate()
|
||||
onCreate() {
|
||||
this.id = generateEntityId(this.id, "climg")
|
||||
this.claim_item_id = this.item?.id
|
||||
this.claim_item_id ??= this.item?.id
|
||||
}
|
||||
|
||||
@OnInit()
|
||||
onInit() {
|
||||
this.id = generateEntityId(this.id, "climg")
|
||||
this.claim_item_id = this.item?.id
|
||||
this.claim_item_id ??= this.item?.id
|
||||
}
|
||||
}
|
||||
|
||||
@@ -129,6 +129,6 @@ export default class OrderClaimItem {
|
||||
@OnInit()
|
||||
onInit() {
|
||||
this.id = generateEntityId(this.id, "claitem")
|
||||
this.claim_id = this.claim?.id
|
||||
this.claim_id ??= this.claim?.id
|
||||
}
|
||||
}
|
||||
|
||||
@@ -105,12 +105,12 @@ export default class OrderExchangeItem {
|
||||
@BeforeCreate()
|
||||
onCreate() {
|
||||
this.id = generateEntityId(this.id, "oexcitem")
|
||||
this.exchange_id = this.exchange?.id
|
||||
this.exchange_id ??= this.exchange?.id
|
||||
}
|
||||
|
||||
@OnInit()
|
||||
onInit() {
|
||||
this.id = generateEntityId(this.id, "oexcitem")
|
||||
this.exchange_id = this.exchange?.id
|
||||
this.exchange_id ??= this.exchange?.id
|
||||
}
|
||||
}
|
||||
|
||||
@@ -132,12 +132,12 @@ export default class ReturnItem {
|
||||
@BeforeCreate()
|
||||
onCreate() {
|
||||
this.id = generateEntityId(this.id, "retitem")
|
||||
this.return_id = this.return?.id
|
||||
this.return_id ??= this.return?.id
|
||||
}
|
||||
|
||||
@OnInit()
|
||||
onInit() {
|
||||
this.id = generateEntityId(this.id, "retitem")
|
||||
this.return_id = this.return?.id
|
||||
this.return_id ??= this.return?.id
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user