Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
quasar-web-base
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nguyễn Hải Sơn
quasar-web-base
Commits
72db8f84
Commit
72db8f84
authored
May 18, 2021
by
Tình Trương
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
96919e96
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
index.vue
...components/units-manager/add-update-unit-dialog/index.vue
+4
-3
index.ts
src/i18n/vi/index.ts
+1
-1
No files found.
src/components/units-manager/add-update-unit-dialog/index.vue
View file @
72db8f84
...
...
@@ -544,14 +544,15 @@ export default defineComponent({
(
val
?:
string
)
=>
(
val
&&
val
.
trim
().
length
)
||
i18n
.
global
.
t
(
'managingUnit.validateMessages.requireName'
),
(
val
?:
string
)
=>
(
val
&&
val
.
trim
().
length
<
30
)
||
i18n
.
global
.
t
(
'managingUnit.validateMessages.requireLengthName'
),
];
const
representativeRules
=
[
(
val
?:
string
)
=>
(
val
&&
val
.
trim
().
length
)
||
i18n
.
global
.
t
(
'managingUnit.validateMessages.requireRepresentative'
),
(
val
?:
string
)
=>
(
val
&&
val
.
trim
().
length
<
30
)
||
i18n
.
global
.
t
(
'managingUnit.validateMessages.requireLengthRepresentative'
),
];
const
fieldsRules
=
[
(
val
?:
number
)
=>
...
...
src/i18n/vi/index.ts
View file @
72db8f84
...
...
@@ -183,7 +183,7 @@ export default {
validateMessages
:
{
requireCode
:
'Vui lòng nhập Mã đơn vị'
,
requireLengthCode
:
'Mã đơn vị không vượt quá 20 ký tự'
,
requireLength
Name
:
'Tên đơn vị
không vượt quá 30 ký tự'
,
requireLength
Representative
:
'Tên người đại diện
không vượt quá 30 ký tự'
,
requireName
:
'Vui lòng nhập Tên đơn vị'
,
requireRepresentative
:
'Vui lòng nhập Người đại diện'
,
requireFields
:
'Vui lòng chọn Lĩnh vực'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment