Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
swifteditor
Overview
Overview
Details
Activity
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
fukai
swifteditor
Commits
4602b0b2
Commit
4602b0b2
authored
Jun 29, 2022
by
潘际乾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
界面文字改英文补充
parent
5b2cec32
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
+8
-8
TagHelpTxtMap.js
src/swift/TagHelpTxtMap.js
+1
-1
TagValidater.js
src/swift/TagValidater.js
+2
-2
T11R.js
src/swift/Tags/T11R.js
+2
-2
T11S.js
src/swift/Tags/T11S.js
+2
-2
T99A.js
src/swift/Tags/T99A.js
+1
-1
No files found.
src/swift/TagHelpTxtMap.js
View file @
4602b0b2
const
TagHelpTxtMap
=
{
T22C
:
"4位大写字母+2位大写字母或数字+4位数字+4位大写字母+2位大写字母或数字"
,
//
T22C:"4位大写字母+2位大写字母或数字+4位数字+4位大写字母+2位大写字母或数字",
T14S
:
"eg:EUR2/1000/GBLO"
}
...
...
src/swift/TagValidater.js
View file @
4602b0b2
...
...
@@ -324,10 +324,10 @@ function TestAdr(adr,reg,line,length)
let
msg
=
[]
if
(
a1
.
length
)
{
msg
.
push
(
`
第
${
a1
.
join
(
','
)}
行超过
${
length
}
个字符
`
)
msg
.
push
(
`
Line
${
a1
.
join
(
','
)}
exceeds
${
length
}
characters
`
)
}
if
(
a2
.
length
)
msg
.
push
(
`
第
${
a2
.
join
(
','
)}
行格式非法
`
)
msg
.
push
(
`
Illegal format on line
${
a2
.
join
(
','
)}
`
)
if
(
linemsg
)
msg
.
push
(
linemsg
)
return
msg
.
join
(
';'
)
...
...
src/swift/Tags/T11R.js
View file @
4602b0b2
...
...
@@ -77,7 +77,7 @@ export default class T11R extends Component
validateStatus
=
{
errmsg
.
s3
?
'error'
:
null
}
>
<
Input
type
=
"text"
value
=
{
value
.
s3
}
onChange
=
{
e
=>
this
.
onChange
(
3
,
e
.
target
.
value
)}
maxLength
=
{
4
}
style
=
{{
imeMode
:
'disabled'
}}
placeholder
=
"4
位固定长度数字
"
/>
<
Input
type
=
"text"
value
=
{
value
.
s3
}
onChange
=
{
e
=>
this
.
onChange
(
3
,
e
.
target
.
value
)}
maxLength
=
{
4
}
style
=
{{
imeMode
:
'disabled'
}}
placeholder
=
"4
-digit fixed-length number
"
/>
<
/FormItem
>
<
/Col
>
<
Col
span
=
{
9
}
>
...
...
@@ -88,7 +88,7 @@ export default class T11R extends Component
validateStatus
=
{
errmsg
.
s4
?
'error'
:
null
}
>
<
Input
type
=
"text"
value
=
{
value
.
s4
}
onChange
=
{
e
=>
this
.
onChange
(
4
,
e
.
target
.
value
)}
maxLength
=
{
6
}
style
=
{{
imeMode
:
'disabled'
}}
placeholder
=
"6
位固定长度数字
"
/>
<
Input
type
=
"text"
value
=
{
value
.
s4
}
onChange
=
{
e
=>
this
.
onChange
(
4
,
e
.
target
.
value
)}
maxLength
=
{
6
}
style
=
{{
imeMode
:
'disabled'
}}
placeholder
=
"6
-digit fixed-length number
"
/>
<
/FormItem
>
<
/Col
>
<
/Row>
)
...
...
src/swift/Tags/T11S.js
View file @
4602b0b2
...
...
@@ -77,7 +77,7 @@ export default class T11S extends Component
validateStatus
=
{
errmsg
.
s3
?
'error'
:
null
}
>
<
Input
type
=
"text"
value
=
{
value
.
s3
}
onChange
=
{
e
=>
this
.
onChange
(
3
,
e
.
target
.
value
)}
maxLength
=
{
4
}
style
=
{{
imeMode
:
'disabled'
}}
placeholder
=
"4
位固定长度数字
"
/>
<
Input
type
=
"text"
value
=
{
value
.
s3
}
onChange
=
{
e
=>
this
.
onChange
(
3
,
e
.
target
.
value
)}
maxLength
=
{
4
}
style
=
{{
imeMode
:
'disabled'
}}
placeholder
=
"4
-digit fixed-length number
"
/>
<
/FormItem
>
<
/Col
>
<
Col
span
=
{
9
}
>
...
...
@@ -88,7 +88,7 @@ export default class T11S extends Component
validateStatus
=
{
errmsg
.
s4
?
'error'
:
null
}
>
<
Input
type
=
"text"
value
=
{
value
.
s4
}
onChange
=
{
e
=>
this
.
onChange
(
4
,
e
.
target
.
value
)}
maxLength
=
{
6
}
style
=
{{
imeMode
:
'disabled'
}}
placeholder
=
"6
位固定长度数字
"
/>
<
Input
type
=
"text"
value
=
{
value
.
s4
}
onChange
=
{
e
=>
this
.
onChange
(
4
,
e
.
target
.
value
)}
maxLength
=
{
6
}
style
=
{{
imeMode
:
'disabled'
}}
placeholder
=
"6
-digit fixed-length number
"
/>
<
/FormItem
>
<
/Col
>
<
/Row>
)
...
...
src/swift/Tags/T99A.js
View file @
4602b0b2
...
...
@@ -57,7 +57,7 @@ export default class T99A extends Component
>
<
Input
type
=
"text"
value
=
{
value
.
s1
=
"DAAC"
}
onChange
=
{
e
=>
this
.
onChange
(
1
,
e
.
target
.
value
)}
maxLength
=
{
16
}
style
=
{{
imeMode
:
'disabled'
}}
placeholder
=
"4
位固定长度数字
"
readOnly
=
'true'
/>
<
Input
type
=
"text"
value
=
{
value
.
s1
=
"DAAC"
}
onChange
=
{
e
=>
this
.
onChange
(
1
,
e
.
target
.
value
)}
maxLength
=
{
16
}
style
=
{{
imeMode
:
'disabled'
}}
placeholder
=
"4
-digit fixed-length number
"
readOnly
=
'true'
/>
<
/FormItem
>
<
/Col
>
...
...
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