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
5b3a0a00
Commit
5b3a0a00
authored
Oct 18, 2023
by
s_guodong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改44A的规则
parent
a892aca2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
TagRegMap.js
src/swift/TagRegMap.js
+1
-1
T44A.js
src/swift/Tags/T44A.js
+4
-5
No files found.
src/swift/TagRegMap.js
View file @
5b3a0a00
...
...
@@ -205,7 +205,7 @@ T31X:{"s3":{"reg":"[A-Z]{7}","line":1,"length":7,"fixed":true,"type":"a","option
T68A
:{
"s3"
:{
"reg"
:
"
\\
d{1,6}"
,
"line"
:
1
,
"length"
:
6
,
"fixed"
:
false
,
"type"
:
"n"
,
"option"
:
"M"
},
"s4"
:{
"reg"
:
"
\\
d{1,2}"
,
"line"
:
1
,
"length"
:
2
,
"fixed"
:
false
,
"type"
:
"n"
,
"option"
:
"M"
},
"s5"
:{
"reg"
:
"[
\\
d,]{1,15}"
,
"line"
:
1
,
"length"
:
15
,
"fixed"
:
true
,
"type"
:
"FUNC"
,
"content"
:
"AMOUNT"
,
"option"
:
"O"
},
"s6"
:{
"reg"
:
"[
\\
w/
\\
-
\\
?:
\\
(
\\
)
\\
.,
\
u0027+
\\
{
\\
} ]{1,10}"
,
"line"
:
1
,
"length"
:
10
,
"fixed"
:
false
,
"type"
:
"x"
,
"option"
:
"O"
},
"s1"
:{
"reg"
:
"
\\
d{1,6}"
,
"line"
:
1
,
"length"
:
6
,
"fixed"
:
false
,
"type"
:
"n"
,
"option"
:
"M"
},
"s2"
:{
"reg"
:
"[A-Z]{3}"
,
"line"
:
1
,
"length"
:
3
,
"fixed"
:
true
,
"type"
:
"FUNC"
,
"content"
:
"CUR"
,
"option"
:
"M"
}},
T56A
:{
"s3"
:{
"reg"
:
"[A-Z]{4}[A-Z]{2}[A-Z0-9]{2}([A-Z0-9]{3})?"
,
"line"
:
1
,
"length"
:
8
,
"fixed"
:
true
,
"type"
:
"FUNC"
,
"content"
:
"SWIFTBIC"
,
"option"
:
"M"
},
"s1"
:{
"reg"
:
"C|D|RC|RD"
,
"line"
:
1
,
"length"
:
2
,
"fixed"
:
true
,
"type"
:
"FUNC"
,
"content"
:
"DC"
,
"option"
:
"O"
},
"s2"
:{
"reg"
:
"[
\\
w/
\\
-
\\
?:
\\
(
\\
)
\\
.,
\
u0027+
\\
{
\\
} ]{1,34}"
,
"line"
:
1
,
"length"
:
34
,
"fixed"
:
false
,
"type"
:
"x"
,
"option"
:
"O"
}},
T56B
:{
"s3"
:{
"reg"
:
"[
\\
w/
\\
-
\\
?:
\\
(
\\
)
\\
.,
\
u0027+
\\
{
\\
} ]{1,35}"
,
"line"
:
1
,
"length"
:
35
,
"fixed"
:
false
,
"type"
:
"x"
,
"option"
:
"O"
},
"s1"
:{
"reg"
:
"C|D|RC|RD"
,
"line"
:
1
,
"length"
:
2
,
"fixed"
:
true
,
"type"
:
"FUNC"
,
"content"
:
"DC"
,
"option"
:
"O"
},
"s2"
:{
"reg"
:
"[
\\
w/
\\
-
\\
?:
\\
(
\\
)
\\
.,
\
u0027+
\\
{
\\
} ]{1,34}"
,
"line"
:
1
,
"length"
:
34
,
"fixed"
:
false
,
"type"
:
"x"
,
"option"
:
"O"
}},
T44A
:{
"s1"
:{
"reg"
:
"[
\\
w
/
\\
-
\\
?:
\\
(
\\
)
\\
.,
\
u0027+
\\
{
\\
} ]{1,65}"
,
"line"
:
1
,
"length"
:
65
,
"fixed"
:
false
,
"type"
:
"x
"
,
"option"
:
"M"
}},
T44A
:{
"s1"
:{
"reg"
:
"[
\\
w
\\
.,
\\
-
\\
(
\\
)/
\
u003d
\
u0027
\\
+:
\\
?!
\"
%
\
u0026
\\
*
\\\
u003c
\\\
u003e;
\\
{
\\
s@#]{0,140}"
,
"line"
:
1
,
"length"
:
140
,
"fixed"
:
false
,
"type"
:
"z
"
,
"option"
:
"M"
}},
T56C
:{
"s1"
:{
"reg"
:
"[
\\
w/
\\
-
\\
?:
\\
(
\\
)
\\
.,
\
u0027+
\\
{
\\
} ]{1,34}"
,
"line"
:
1
,
"length"
:
34
,
"fixed"
:
false
,
"type"
:
"x"
,
"option"
:
"M"
}},
T44B
:{
"s1"
:{
"reg"
:
"[
\\
w/
\\
-
\\
?:
\\
(
\\
)
\\
.,
\
u0027+
\\
{
\\
} ]{1,65}"
,
"line"
:
1
,
"length"
:
65
,
"fixed"
:
false
,
"type"
:
"x"
,
"option"
:
"M"
}},
T32A
:{
"s3"
:{
"reg"
:
"[
\\
d,]{1,15}"
,
"line"
:
1
,
"length"
:
15
,
"fixed"
:
true
,
"type"
:
"FUNC"
,
"content"
:
"AMOUNT"
,
"option"
:
"M"
},
"s1"
:{
"reg"
:
"
\\
d{6}"
,
"line"
:
1
,
"length"
:
5
,
"fixed"
:
true
,
"type"
:
"FUNC"
,
"content"
:
"DATE2"
,
"option"
:
"M"
},
"s2"
:{
"reg"
:
"[A-Z]{3}"
,
"line"
:
1
,
"length"
:
3
,
"fixed"
:
true
,
"type"
:
"FUNC"
,
"content"
:
"CUR"
,
"option"
:
"M"
}},
...
...
src/swift/Tags/T44A.js
View file @
5b3a0a00
...
...
@@ -10,7 +10,7 @@ export default class T44A extends Component
name
=
'44A'
desp
=
"Place of Taking in Charge/Dispatch from .../Place of Receipt"
pattern
=
""
tno
=
-
1
...
...
@@ -28,14 +28,14 @@ export default class T44A extends Component
value
=
value
&&
value
.
length
?
value
[
0
]
:
{}
return
(
<
Row
>
<
Col
span
=
{
24
}
>
<
Col
span
=
{
24
}
>
<
FormItem
help
=
{
errmsg
.
s1
}
validateStatus
=
{
errmsg
.
s1
?
'error'
:
null
}
>
<
Input
maxLength
=
{
65
}
value
=
{
value
.
s1
}
placeholder
=
"Narrative"
style
=
{{
'imeMode'
:
'disabled'
}}
onChange
=
{
e
=>
this
.
onChange
(
e
.
target
.
value
)}
/
>
<
Input
maxLength
=
{
140
}
value
=
{
value
.
s1
}
placeholder
=
"Narrative"
style
=
{{
'imeMode'
:
'disabled'
}}
onChange
=
{
e
=>
this
.
onChange
(
e
.
target
.
value
)}
/
>
<
/FormItem
>
<
/Col
>
<
/Row>
)
}
}
\ No newline at end of file
}
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