chore: clean unused

This commit is contained in:
Methapon2001 2025-01-24 10:47:37 +07:00
parent 77176ece15
commit bab06c9bb4

View file

@ -258,27 +258,6 @@ const responsiblePersonList = computed(() => {
return temp || {};
});
const successAll = computed(() => {
return !!flow.value?.step.every((_, i) => {
return workList.value
?.filter((v) => {
return v.productService.work?.attributes.workflowStep?.[
i
]?.productsId.includes(v.productService.productId);
})
.every((v) => {
const status = v.stepStatus.find(
({ step }) => step === i + 1,
)?.workStatus;
return (
status === RequestWorkStatus.Completed ||
status === RequestWorkStatus.Ended
);
});
});
});
function getInstallmentInfo() {
if (
data.value?.quotation.payCondition === 'Full' ||