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
c98c7c33
Commit
c98c7c33
authored
Mar 11, 2022
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查询信息问题
parent
e91f9ebb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
25 deletions
+10
-25
index.html
...l/src/main/resources/templates/views/kmes/gphy/index.html
+8
-23
index.html
...l/src/main/resources/templates/views/kmes/gpjy/index.html
+1
-1
index.html
...l/src/main/resources/templates/views/kmes/gpwx/index.html
+1
-1
No files found.
gavel/src/main/resources/templates/views/kmes/gphy/index.html
View file @
c98c7c33
...
...
@@ -123,27 +123,12 @@
}
gas
.
post
(
'kmes/gphy/zpwl'
,{
"snid"
:
that
.
xlh
,
"mid"
:
that
.
fkid
,
"fkid"
:
that
.
fkid
},
function
(
res
){
if
(
res
.
data
&&
res
.
data
.
records
){
if
(
res
.
data
.
records
==
100
){
let
msg
=
"序列号:"
+
that
.
xlh
+
"已经扫描过"
zpfk_wrz
(
that
,
msg
,
"error"
)
}
else
if
(
res
.
data
.
records
==
230
){
let
msg
=
"该物料已经装配完成"
zpfk_wrz
(
that
,
msg
,
"error"
)
}
else
if
(
res
.
data
.
records
==
200
){
/* 表格加1 ok标志改变 日志 */
zpfk_queryKwellWoinfo2
(
that
).
then
(
function
(
s
){
zpfk_queryWoBomByWoid
(
that
,
s
)
})
}
else
{
let
msg
=
"查询装配物料:"
+
that
.
xlh
+
"失败"
that
.
xlh
=
""
zpfk_wrz
(
that
,
msg
,
"error"
)
}
let
msg
=
"装配物料:"
+
that
.
xlh
+
"成功"
zpfk_queryKwellWoinfo2
(
that
).
then
(
function
(
s
){
zpfk_queryWoBomByWoid
(
that
,
s
)
})
}
else
{
let
msg
=
"查询装配物料:"
+
that
.
xlh
+
"失败"
let
msg
=
res
.
message
||
"查询装配物料:"
+
that
.
xlh
+
"失败"
that
.
xlh
=
""
zpfk_wrz
(
that
,
msg
,
"error"
)
}
...
...
@@ -167,7 +152,7 @@
/* 日志操作 */
/* pdf地址 */
}
else
{
let
msg
=
"查询最新工单信息:"
+
that
.
cpsn
+
"失败"
let
msg
=
res
.
message
||
"查询最新工单信息:"
+
that
.
cpsn
+
"失败"
that
.
xlh
=
""
zpfk_wrz
(
that
,
msg
,
'error'
)
screenAlert
(
that
.
el
,
msg
,
2000
)
...
...
@@ -195,7 +180,7 @@
/* 日志操作 */
/* pdf地址 */
}
else
{
let
msg
=
"查询工单信息:"
+
that
.
xlh
+
"失败"
let
msg
=
res
.
message
||
"查询工单信息:"
+
that
.
xlh
+
"失败"
that
.
xlh
=
""
zpfk_wrz
(
that
,
msg
,
'error'
)
screenAlert
(
that
.
el
,
msg
,
2000
)
...
...
@@ -214,7 +199,7 @@
that
.
tabdata
=
res
.
data
.
records
;
that
.
initpage
()
}
else
{
let
msg
=
"查询装配表格:"
+
woid
+
"失败"
let
msg
=
res
.
message
||
"查询装配表格:"
+
woid
+
"失败"
zpfk_wrz
(
that
,
msg
,
'error'
)
screenAlert
(
that
.
el
,
msg
,
2000
)
}
...
...
gavel/src/main/resources/templates/views/kmes/gpjy/index.html
View file @
c98c7c33
...
...
@@ -119,7 +119,7 @@
/* 日志操作 */
/* pdf地址 */
}
else
{
let
msg
=
"查询工单信息:"
+
that
.
xlh
+
"失败"
let
msg
=
res
.
message
||
"查询工单信息:"
+
that
.
xlh
+
"失败"
that
.
xlh
=
""
jyfk_wrz
(
that
,
msg
,
'error'
)
screenAlert
(
that
.
el
,
msg
,
2000
)
...
...
gavel/src/main/resources/templates/views/kmes/gpwx/index.html
View file @
c98c7c33
...
...
@@ -119,7 +119,7 @@
/* 日志操作 */
/* pdf地址 */
}
else
{
let
msg
=
"查询工单信息:"
+
that
.
xlh
+
"失败"
let
msg
=
res
.
message
||
"查询工单信息:"
+
that
.
xlh
+
"失败"
that
.
xlh
=
""
wxfk_wrz
(
that
,
msg
,
'error'
)
screenAlert
(
that
.
el
,
msg
,
2000
)
...
...
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