fix: work name fetch base only
This commit is contained in:
parent
cae5bf6da0
commit
3f050adac5
2 changed files with 2 additions and 2 deletions
|
|
@ -94,7 +94,7 @@ defineEmits<{
|
||||||
<span class="text-body2 q-pl-sm" style="color: var(--foreground)">
|
<span class="text-body2 q-pl-sm" style="color: var(--foreground)">
|
||||||
{{ $t('workNo') }} {{ index + 1 }} :
|
{{ $t('workNo') }} {{ index + 1 }} :
|
||||||
<span class="app-text-muted-2">
|
<span class="app-text-muted-2">
|
||||||
{{ $t('workName') + ' ' + workName }}
|
{{ workName ? workName : $t('workName') }}
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -676,7 +676,7 @@ const useProductServiceStore = defineStore('api-product-service', () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
async function fetchListOfWork() {
|
async function fetchListOfWork() {
|
||||||
const res = await fetchListWork();
|
const res = await fetchListWork({ baseOnly: true });
|
||||||
|
|
||||||
if (res) {
|
if (res) {
|
||||||
workNameItems.value = res.result.map((item) => {
|
workNameItems.value = res.result.map((item) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue