refactor: sort installment no
This commit is contained in:
parent
3a63d2622c
commit
b24380fae0
1 changed files with 11 additions and 5 deletions
|
|
@ -608,11 +608,17 @@ function isInstallmentPaySuccess(installmentNo: number) {
|
|||
<!-- product -->
|
||||
|
||||
<template
|
||||
v-for="(value, index) in workList?.filter((v) =>
|
||||
v.productService.work?.attributes.workflowStep?.[
|
||||
pageState.currentStep - 1
|
||||
]?.productsId.includes(v.productService.productId),
|
||||
)"
|
||||
v-for="(value, index) in workList
|
||||
?.filter((v) =>
|
||||
v.productService.work?.attributes.workflowStep?.[
|
||||
pageState.currentStep - 1
|
||||
]?.productsId.includes(v.productService.productId),
|
||||
)
|
||||
.sort(
|
||||
(lhs, rhs) =>
|
||||
lhs.productService.installmentNo -
|
||||
rhs.productService.installmentNo,
|
||||
)"
|
||||
:key="value"
|
||||
>
|
||||
<ProductExpansion
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue