refactor: credit note role check
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s
This commit is contained in:
parent
9dcec6b4c6
commit
f646b3c9ba
4 changed files with 24 additions and 11 deletions
|
|
@ -4,6 +4,7 @@ import {
|
|||
useRequestList,
|
||||
RequestWork,
|
||||
RequestWorkStatus,
|
||||
RequestDataStatus,
|
||||
} from 'src/stores/request-list';
|
||||
import DialogHeader from 'src/components/dialog/DialogHeader.vue';
|
||||
import CancelButton from 'src/components/button/CancelButton.vue';
|
||||
|
|
@ -192,7 +193,8 @@ function submit() {
|
|||
s.workStatus ===
|
||||
(props.creditNote
|
||||
? RequestWorkStatus.Canceled
|
||||
: RequestWorkStatus.InProgress),
|
||||
: RequestWorkStatus.InProgress) ||
|
||||
v.request.requestDataStatus === RequestDataStatus.Canceled,
|
||||
);
|
||||
if (curr) {
|
||||
const task: Task = {
|
||||
|
|
@ -387,8 +389,8 @@ function assignTempGroup() {
|
|||
}
|
||||
|
||||
:deep(
|
||||
i.q-icon.mdi.mdi-chevron-down-circle.q-expansion-item__toggle-icon.q-expansion-item__toggle-icon--rotated
|
||||
) {
|
||||
i.q-icon.mdi.mdi-chevron-down-circle.q-expansion-item__toggle-icon.q-expansion-item__toggle-icon--rotated
|
||||
) {
|
||||
color: var(--brand-1);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue