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 -->
|
<!-- product -->
|
||||||
|
|
||||||
<template
|
<template
|
||||||
v-for="(value, index) in workList?.filter((v) =>
|
v-for="(value, index) in workList
|
||||||
v.productService.work?.attributes.workflowStep?.[
|
?.filter((v) =>
|
||||||
pageState.currentStep - 1
|
v.productService.work?.attributes.workflowStep?.[
|
||||||
]?.productsId.includes(v.productService.productId),
|
pageState.currentStep - 1
|
||||||
)"
|
]?.productsId.includes(v.productService.productId),
|
||||||
|
)
|
||||||
|
.sort(
|
||||||
|
(lhs, rhs) =>
|
||||||
|
lhs.productService.installmentNo -
|
||||||
|
rhs.productService.installmentNo,
|
||||||
|
)"
|
||||||
:key="value"
|
:key="value"
|
||||||
>
|
>
|
||||||
<ProductExpansion
|
<ProductExpansion
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue