refs #5648 create vn-confirm #1508
|
@ -193,18 +193,18 @@ class Controller extends Section {
|
|||
});
|
||||
}
|
||||
|
||||
sureClaim() {
|
||||
|
||||
}
|
||||
createClaim() {
|
||||
this.$.claimSure.show();
|
||||
|
||||
setTimeout(() => {
|
||||
const timeDifference = new Date().getTime() - new Date(this.ticket.shipped).getTime();
|
||||
const pastDays = Math.floor(timeDifference / 86400000);
|
||||
this.$.claimSure.show();
|
||||
|
||||
if (pastDays >= this.ticketConfig[0].daysForWarningClaim)
|
||||
this.$.claimConfirm.show();
|
||||
else
|
||||
this.onCreateClaimAccepted();
|
||||
}, 10000000);
|
||||
}
|
||||
|
||||
onCreateClaimAccepted() {
|
||||
|
|
Loading…
Reference in New Issue