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
7ddc2564
Commit
7ddc2564
authored
Jul 30, 2021
by
1377875331@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
面函请求
parent
3419edff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
27 deletions
+12
-27
Event.js
src/model/Ditopn/Event.js
+12
-27
No files found.
src/model/Ditopn/Event.js
View file @
7ddc2564
...
...
@@ -325,7 +325,7 @@ export default {
const
params
=
{
index
:
index
}
rtnmsg
=
await
Api
.
post
(
"ditopn/executeDocpan
/trnmod.trndoc.doccur.butshw
"
,
{
...
Utils
.
flatObject
(
this
.
model
),
params
})
rtnmsg
=
await
Api
.
post
(
"ditopn/executeDocpan"
,
{
...
Utils
.
flatObject
(
this
.
model
),
params
})
}
if
(
rtnmsg
.
respCode
==
"AAAAAA"
)
{
if
(
cortyp
==
'SWT'
||
cortyp
==
'FMT'
||
cortyp
==
'CMT'
)
{
...
...
@@ -346,31 +346,16 @@ export default {
this
.
title
=
"面函"
let
viewurl
=
"/#/docpan/show"
;
let
XMLdata
;
if
(
row
.
pandsc
==
"国内信用证"
){
window
.
sessionStorage
.
docTXT
=
''
window
.
sessionStorage
.
docXML
=
rtnmsg
.
data
.
litbenl1blk
;
}
else
if
(
row
.
pandsc
==
"开立国内信用证备查表"
){
window
.
sessionStorage
.
docTXT
=
''
window
.
sessionStorage
.
docXML
=
rtnmsg
.
data
.
litapll1blk
}
else
if
(
row
.
pandsc
==
"elcs.101.001.01"
){
console
.
log
(
rtnmsg
.
data
.
trnmod_trndoc_doceot
[
index
].
doctxt
);
window
.
sessionStorage
.
docXML
=
''
window
.
sessionStorage
.
docTXT
=
''
rtnmsg
.
data
.
trnmod_trndoc_doceot
[
index
].
doctxt
.
rows
.
forEach
(
element
=>
{
window
.
sessionStorage
.
docTXT
+=
element
+
"
\
r
\
n"
});
console
.
log
(
window
.
sessionStorage
.
docTXT
);
}
else
if
(
row
.
pandsc
==
"MT799"
){
window
.
sessionStorage
.
docTXT
=
''
XMLdata
=
rtnmsg
.
data
.
litbenl1blk
}
if
(
row
.
pandsc
==
"国内信用证"
)
XMLdata
=
rtnmsg
.
data
.
litbenl1blk
else
if
(
row
.
pandsc
==
"开立国内信用证备查表"
)
XMLdata
=
rtnmsg
.
data
.
litapll1blk
else
if
(
row
.
pandsc
==
""
)
XMLdata
=
rtnmsg
.
data
.
litbenl1blk
else
XMLdata
=
rtnmsg
.
data
.
litbenl1blk
var
newXml
=
Utils
.
showXml
(
XMLdata
)
window
.
sessionStorage
.
docXML
=
newXml
;
window
.
open
(
viewurl
,
'newwindow'
,
'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no'
);
}
this
.
dialogOpen
=
true
...
...
@@ -383,7 +368,7 @@ export default {
const
params
=
{
index
:
index
}
let
rtnmsg
=
await
Api
.
post
(
"ditopn/executeDocpanDetail
/trnmod.trndoc.doccur.butadd
"
,
{
...
Utils
.
flatObject
(
this
.
model
),
params
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/executeDocpanDetail"
,
{
...
Utils
.
flatObject
(
this
.
model
),
params
})
if
(
rtnmsg
.
respCode
==
"AAAAAA"
)
{
//TODO 处理数据逻辑
let
viewurl
=
"/#/docpan/detail"
;
...
...
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