Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
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
vue-gjjs
Commits
68ddbf94
Commit
68ddbf94
authored
Nov 15, 2022
by
潘际乾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pty 静态交易中model内字段空串赋值为空格
parent
ef1e6c31
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
2 deletions
+29
-2
Adr.js
src/views/Statics/Dbipty/Adr.js
+21
-2
AdrList.vue
src/views/Statics/Dbipty/AdrList.vue
+8
-0
No files found.
src/views/Statics/Dbipty/Adr.js
View file @
68ddbf94
...
@@ -48,8 +48,27 @@ export default class Pty {
...
@@ -48,8 +48,27 @@ export default class Pty {
adrelc
:
""
,
adrelc
:
""
,
dtgcid
:
""
,
dtgcid
:
""
,
// pat
// pat
usgpat
:
''
,
inrpat
:
""
,
adrstapat
:
''
ptyinrpat
:
""
,
nampat
:
""
,
pripat
:
""
,
enopat
:
""
,
objtyppat
:
""
,
objinrpat
:
""
,
objkeypat
:
""
,
usgpat
:
""
,
verpat
:
""
,
bicpat
:
""
,
adrstapat
:
""
,
ptytyppat
:
""
,
ptyextkeypat
:
""
,
tidpat
:
""
,
etgextkeypat
:
""
,
branchinrpat
:
""
,
bchkeyinrpat
:
""
,
nam1pat
:
""
,
issbchinfpat
:
""
,
opnflgpat
:
""
,
}
}
}
}
}
}
...
...
src/views/Statics/Dbipty/AdrList.vue
View file @
68ddbf94
...
@@ -186,6 +186,14 @@ export default {
...
@@ -186,6 +186,14 @@ export default {
* 2. pty的修改界面下,可直接新增 ;
* 2. pty的修改界面下,可直接新增 ;
*/
*/
saveAdr
()
{
saveAdr
()
{
for
(
const
key
in
this
.
adr
)
{
if
(
Object
.
hasOwnProperty
.
call
(
this
.
adr
,
key
))
{
const
v
=
this
.
adr
[
key
];
if
(
typeof
v
===
'string'
&&
v
===
''
)
{
this
.
adr
[
key
]
=
" "
}
}
}
if
(
this
.
root
.
type
===
"add"
)
{
if
(
this
.
root
.
type
===
"add"
)
{
this
.
model
.
ptaList
.
push
(
this
.
adr
);
this
.
model
.
ptaList
.
push
(
this
.
adr
);
this
.
handleClose
();
this
.
handleClose
();
...
...
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