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
815b9289
Commit
815b9289
authored
Oct 18, 2023
by
s_guodong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改44E,44F的规则
parent
15184a62
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
14 deletions
+12
-14
TagRegMap.js
src/swift/TagRegMap.js
+2
-2
T44E.js
src/swift/Tags/T44E.js
+5
-6
T44F.js
src/swift/Tags/T44F.js
+5
-6
No files found.
src/swift/TagRegMap.js
View file @
815b9289
...
...
@@ -214,11 +214,11 @@ T44C:{"s1":{"reg":"\\d{6}","line":1,"length":5,"fixed":true,"type":"FUNC","conte
T32B
:{
"s1"
:{
"reg"
:
"[A-Z]{3}"
,
"line"
:
1
,
"length"
:
3
,
"fixed"
:
true
,
"type"
:
"FUNC"
,
"content"
:
"CUR"
,
"option"
:
"M"
},
"s2"
:{
"reg"
:
"[
\\
d,]{1,15}"
,
"line"
:
1
,
"length"
:
15
,
"fixed"
:
true
,
"type"
:
"FUNC"
,
"content"
:
"AMOUNT"
,
"option"
:
"M"
}},
T44D
:{
"s1"
:{
"reg"
:
"[
\\
w/
\\
-
\\
?:
\\
(
\\
)
\\
.,
\
u0027+
\\
{
\\
} ]{0,65}"
,
"line"
:
6
,
"length"
:
65
,
"fixed"
:
false
,
"type"
:
"x"
,
"option"
:
"M"
}},
T20C
:{
"s1"
:{
"reg"
:
"[A-Z0-9]{4}"
,
"line"
:
1
,
"length"
:
4
,
"fixed"
:
true
,
"type"
:
"c"
,
"option"
:
"M"
},
"s2"
:{
"reg"
:
"[
\\
w/
\\
-
\\
?:
\\
(
\\
)
\\
.,
\
u0027+
\\
{
\\
} ]{1,16}"
,
"line"
:
1
,
"length"
:
16
,
"fixed"
:
false
,
"type"
:
"x"
,
"option"
:
"M"
}},
T44E
:{
"s1"
:{
"reg"
:
"[
\\
w/
\\
-
\\
?:
\\
(
\\
)
\\
.,
\
u0027+
\\
{
\\
} ]{1,65}"
,
"line"
:
1
,
"length"
:
65
,
"fixed"
:
false
,
"type"
:
"x"
,
"option"
:
"M"
}},
T44E
:{
"s1"
:{
"reg"
:
"[
\\
w
\\
.,
\\
-
\\
(
\\
)/
\
u003d
\
u0027
\\
+:
\\
?!
\"
%
\
u0026
\\
*
\\\
u003c
\\\
u003e;
\\
{
\\
s@#]{0,140}"
,
"line"
:
1
,
"length"
:
140
,
"fixed"
:
false
,
"type"
:
"z"
,
"option"
:
"M"
}},
T44F
:{
"s1"
:{
"reg"
:
"[
\\
w
\\
.,
\\
-
\\
(
\\
)/
\
u003d
\
u0027
\\
+:
\\
?!
\"
%
\
u0026
\\
*
\\\
u003c
\\\
u003e;
\\
{
\\
s@#]{0,140}"
,
"line"
:
1
,
"length"
:
140
,
"fixed"
:
false
,
"type"
:
"z"
,
"option"
:
"M"
}},
T32C
:{
"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"
}},
T32D
:{
"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"
}},
T20D
:{
"s1"
:{
"reg"
:
"[A-Z0-9]{4}"
,
"line"
:
1
,
"length"
:
4
,
"fixed"
:
true
,
"type"
:
"c"
,
"option"
:
"M"
},
"s2"
:{
"reg"
:
"[
\\
w/
\\
-
\\
?:
\\
(
\\
)
\\
.,
\
u0027+
\\
{
\\
} ]{1,25}"
,
"line"
:
1
,
"length"
:
25
,
"fixed"
:
false
,
"type"
:
"x"
,
"option"
:
"M"
}},
T44F
:{
"s1"
:{
"reg"
:
"[
\\
w/
\\
-
\\
?:
\\
(
\\
)
\\
.,
\
u0027+
\\
{
\\
} ]{1,65}"
,
"line"
:
1
,
"length"
:
65
,
"fixed"
:
false
,
"type"
:
"x"
,
"option"
:
"M"
}},
T44H
:{
"s1"
:{
"reg"
:
"[A-Z]{2}"
,
"line"
:
1
,
"length"
:
2
,
"fixed"
:
true
,
"type"
:
"a"
,
"option"
:
"M"
},
"s2"
:{
"reg"
:
"[
\\
w/
\\
-
\\
?:
\\
(
\\
)
\\
.,
\
u0027+
\\
{
\\
} ]{1,65}"
,
"line"
:
1
,
"length"
:
65
,
"fixed"
:
false
,
"type"
:
"x"
,
"option"
:
"O"
}},
T32E
:{
"s1"
:{
"reg"
:
"[A-Z]{3}"
,
"line"
:
1
,
"length"
:
3
,
"fixed"
:
true
,
"type"
:
"FUNC"
,
"content"
:
"CUR"
,
"option"
:
"M"
}},
T32F
:{
"s1"
:{
"reg"
:
"[A-Z]{3}"
,
"line"
:
1
,
"length"
:
3
,
"fixed"
:
true
,
"type"
:
"a"
,
"option"
:
"M"
},
"s2"
:{
"reg"
:
"[
\\
d,]{1,15}"
,
"line"
:
1
,
"length"
:
15
,
"fixed"
:
true
,
"type"
:
"FUNC"
,
"content"
:
"NUMBER"
,
"option"
:
"M"
}},
...
...
src/swift/Tags/T44E.js
View file @
815b9289
...
...
@@ -10,7 +10,7 @@ export default class T44E extends Component
name
=
'44E'
desp
=
"Port of Loading/Airport of Departure"
pattern
=
""
tno
=
-
1
...
...
@@ -27,14 +27,14 @@ export default class T44E 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
}
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
}
src/swift/Tags/T44F.js
View file @
815b9289
...
...
@@ -10,7 +10,7 @@ export default class T44F extends Component
name
=
'44F'
desp
=
"Port of Discharge/Airport of Destination"
pattern
=
""
tno
=
-
1
...
...
@@ -27,14 +27,14 @@ export default class T44F 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
}
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