fix: work name fetch base only

This commit is contained in:
puriphatt 2024-06-24 02:52:28 +00:00
parent cae5bf6da0
commit 3f050adac5
2 changed files with 2 additions and 2 deletions

View file

@ -94,7 +94,7 @@ defineEmits<{
<span class="text-body2 q-pl-sm" style="color: var(--foreground)">
{{ $t('workNo') }} {{ index + 1 }} :
<span class="app-text-muted-2">
{{ $t('workName') + ' ' + workName }}
{{ workName ? workName : $t('workName') }}
</span>
</span>

View file

@ -676,7 +676,7 @@ const useProductServiceStore = defineStore('api-product-service', () => {
}
async function fetchListOfWork() {
const res = await fetchListWork();
const res = await fetchListWork({ baseOnly: true });
if (res) {
workNameItems.value = res.result.map((item) => {