Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
kwell-mes
Project
Project
Details
Activity
Releases
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
gavelinfo
kwell-mes
Commits
10870f56
Commit
10870f56
authored
Feb 28, 2022
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整顺序
parent
6be06daf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
7 deletions
+24
-7
index.html
...l/src/main/resources/templates/views/kmes/gpjy/index.html
+24
-7
No files found.
gavel/src/main/resources/templates/views/kmes/gpjy/index.html
View file @
10870f56
...
...
@@ -109,8 +109,8 @@
that
.
cpsn
=
res
.
data
.
records
.
wosnid
;
that
.
ph
=
res
.
data
.
records
.
wlxxCode
;
let
woid
=
res
.
data
.
records
.
woDjid
;
let
fkid
=
res
.
data
.
records
.
id
;
y
(
fk
id
)
that
.
fkid
=
res
.
data
.
records
.
id
;
y
(
wo
id
)
/** wobom查询 **/
/* 日志操作 */
...
...
@@ -125,8 +125,8 @@
})
}
/* jyfk */
function
jyfk_secjyfk
(
that
,
s
){
gas
.
post
(
'kmes/gpfk/jyfk'
,{
"fkid"
:
s
,
"hgsn"
:
that
.
xlh
},
function
(
res
){
function
jyfk_secjyfk
(
that
){
gas
.
post
(
'kmes/gpfk/jyfk'
,{
"fkid"
:
that
.
fkid
,
"hgsn"
:
that
.
xlh
},
function
(
res
){
if
(
res
.
data
&&
res
.
data
.
records
){
}
...
...
@@ -135,6 +135,21 @@
}
});
}
/* pdfshow gxid登录页传进来 */
function
jyfk_pdfshow
(
e
,
woid
){
console
.
log
(
"pdf"
)
let
that
=
e
let
newPdfurl
=
that
.
pdfurl
+
"?woid="
+
woid
+
"&&"
+
"gxid="
+
window
.
gxid
||
"nogxid"
if
(
newPdfurl
!=
that
.
pdfurl
){
that
.
pdfurl
=
newPdfurl
if
(
that
.
sivpdf
){
clearInterval
(
that
.
sivpdf
)
}
pdfshow
(
that
.
pdfurl
,
that
.
pdfdom
,
20000
).
then
(
e
=>
{
that
.
sivpdf
=
e
})
}
}
/* 总体扫描封装 */
function
jyfk_jyfk
(
t
){
let
that
=
t
...
...
@@ -144,11 +159,10 @@
let
msg
=
"正在查询WOSNID:"
+
that
.
xlh
jyfk_wrz
(
that
,
msg
)
jyfk_queryKwellWoinfo
(
that
).
then
(
function
(
s
){
console
.
log
(
s
)
jyfk_secjyfk
(
that
,
s
)
jyfk_pdfshow
(
that
,
s
)
})
}
else
if
(
e
==
"OKBZ"
){
jyfk_secjyfk
(
that
)
}
else
if
(
e
==
"NGBZ"
){
}
else
if
(
e
==
"WLID"
){
let
msg
=
"正在查询WLID:"
+
that
.
xlh
...
...
@@ -189,7 +203,7 @@
<div
class=
"cpif"
>
<!-- top -->
<div
class=
"cpiftop"
style=
"display: flex;align-items: center;"
>
<span>
序列号
</span>
:
<input
class=
"easyuitext "
style=
"width: 84%;"
v-model=
"xlh"
@
keydown=
"scanxlh()"
name=
"xlh"
placeholder=
"请扫码条码"
/>
<span>
序列号
</span>
<input
class=
"easyuitext "
style=
"width: 84%;"
v-model=
"xlh"
@
keydown=
"scanxlh()"
name=
"xlh"
placeholder=
"请扫码条码"
/>
</div>
<!-- bot -->
<div
class=
"cpifbot"
style=
"display: flex;flex-wrap: wrap;"
>
...
...
@@ -421,6 +435,7 @@
},
data
:
function
(){
return
{
pm
:
""
,
ng
:
0
,
hg
:
0
,
pdfdom
:
"kwrkb04pdf"
,
...
...
@@ -497,6 +512,7 @@
},
data
:
function
(){
return
{
pm
:
""
,
ng
:
0
,
hg
:
0
,
pdfdom
:
"kwrkb05pdf"
,
...
...
@@ -568,6 +584,7 @@
},
data
:
function
(){
return
{
pm
:
""
,
ng
:
0
,
hg
:
0
,
pdfdom
:
"kwrkb06pdf"
,
...
...
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