refactor: edit i18n can't show

This commit is contained in:
Net 2024-08-09 10:47:35 +07:00
parent 9430c0649c
commit 46ce2e5296
3 changed files with 7 additions and 7 deletions

View file

@ -16,7 +16,7 @@ defineProps<{
metadata?: unknown;
badgeField?: string[];
fieldSelected?: (
| 'branchLabelNo'
| 'orderNumber'
| 'branchLabelName'
| 'branchLabelAddress'
| 'branchLabelTel'

View file

@ -44,7 +44,7 @@ const holdDialog = ref(false);
const isSubCreate = ref(false);
const columns = [
{
name: 'branchLabelNo',
name: 'orderNumber',
align: 'center',
label: 'orderNumber',
field: 'branchNo',
@ -222,10 +222,10 @@ const fieldDisplay = ref<
| 'branchLabelAddress'
| 'branchLabelTel'
| 'branchLabelType'
| 'branchLabelNo'
| 'orderNumber'
)[]
>([
'branchLabelNo',
'orderNumber',
'branchLabelName',
'branchLabelTel',
'branchLabelAddress',
@ -233,7 +233,7 @@ const fieldDisplay = ref<
]);
const fieldSelected = ref<
(
| 'branchLabelNo'
| 'orderNumber'
| 'branchLabelName'
| 'branchLabelAddress'
| 'branchLabelTel'
@ -1070,7 +1070,7 @@ watch(currentHq, () => {
>
<q-td
class="text-center"
v-if="fieldSelected.includes('branchLabelNo')"
v-if="fieldSelected.includes('orderNumber')"
>
{{ props.rowIndex + 1 }}
</q-td>

View file

@ -88,7 +88,7 @@ const modeView = ref(false);
const fieldSelectedOption = ref<{ label: string; value: string }[]>([
{
label: 'branchLabelNo',
label: 'orderNumber',
value: 'branchLabelNo',
},