refactor: 07 => remove nameEN rule
This commit is contained in:
parent
3cad514e91
commit
6ec1bed7f6
2 changed files with 0 additions and 7 deletions
|
|
@ -74,11 +74,6 @@ type Options = { label: string; value: string };
|
|||
class="col"
|
||||
:label="'Agencies Name'"
|
||||
v-model="nameEn"
|
||||
:rules="[
|
||||
(val: string) => !!val || $t('form.error.required'),
|
||||
(val: string) =>
|
||||
/^[A-Za-z0-9.,' -]+$/.test(val) || $t('form.error.letterOnly'),
|
||||
]"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ import FloatingActionButton from 'src/components/FloatingActionButton.vue';
|
|||
import CreateButton from 'src/components/AddButton.vue';
|
||||
import NoData from 'src/components/NoData.vue';
|
||||
import AgenciesDialog from './AgenciesDialog.vue';
|
||||
import { computed } from 'vue';
|
||||
import { watch } from 'vue';
|
||||
|
||||
const { t } = useI18n();
|
||||
|
|
@ -28,7 +27,6 @@ const institutionStore = useInstitution();
|
|||
|
||||
const { data, page, pageMax, pageSize } = storeToRefs(institutionStore);
|
||||
|
||||
const statusFilter = ref<'all' | 'statusACTIVE' | 'statusINACTIVE'>('all');
|
||||
const fieldSelected = ref<('orderNumber' | 'name' | 'address')[]>([
|
||||
'orderNumber',
|
||||
'name',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue