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
aad39b27
Commit
aad39b27
authored
Feb 17, 2022
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
改良
parent
082f3e8a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
134 additions
and
35 deletions
+134
-35
index.html
...l/src/main/resources/templates/views/kmes/gphy/index.html
+122
-31
index.html
...l/src/main/resources/templates/views/kmes/gpjy/index.html
+6
-2
index.html
...l/src/main/resources/templates/views/kmes/gpwx/index.html
+6
-2
No files found.
gavel/src/main/resources/templates/views/kmes/gphy/index.html
View file @
aad39b27
...
...
@@ -108,7 +108,7 @@
.maintab
{
height
:
100%
;
width
:
100%
;
overflow
:
auto
;
overflow
:
hidden
;
border
:
0.5px
solid
#EEEEEE
;
}
...
...
@@ -144,7 +144,7 @@
<div
class=
"cpif"
>
<!-- top -->
<div
class=
"cpiftop"
style=
"display: flex;align-items: center;"
>
<span>
序列号
</span>
:
<input
style=
"width: 84%;"
class=
"easyuitext"
name=
"xlh"
@
keydown=
"scanxlh()"
v-model=
"xlh
"
/>
<span>
序列号
</span>
:
<input
style=
"width: 84%;"
class=
"easyuitext"
name=
"xlh"
@
keydown=
"scanxlh()"
v-model=
"xlh"
placeholder=
"请扫码条码
"
/>
</div>
<!-- bot -->
<div
class=
"cpifbot"
style=
"display: flex;flex-wrap: wrap;"
>
...
...
@@ -202,6 +202,7 @@
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,
zpsl
:
12
},
{
ph
:
10
,
pm
:
"GT-RBZ6"
,
ggxh
:
"RBG-AK"
,
sl
:
13
,
zpsl
:
12
},
{
ph
:
10
,
pm
:
"GT-RBZ6"
,
...
...
@@ -239,6 +345,10 @@
}
},
methods
:
{
isFocus
(){
let
$xlh
=
$
(
"#kwrkb01"
).
find
(
'input[name="xlh"]'
)
$xlh
.
focus
()
},
// 扫码事件
scanxlh
(
e
){
var
evt
=
window
.
event
||
e
;
...
...
@@ -257,57 +367,38 @@
this
.
$tab
=
$tab
this
.
taboptions
=
{
height
:
'100%'
,
fitColumns
:
true
,
width
:
"100%"
,
fitColumns
:
false
,
rowStyler
:
function
(
index
,
row
){
if
(
index
<
2
){
return
'background-color:#6293BB;color:#fff;'
;
}
},
columns
:
[
[{
field
:
'ph'
,
title
:
'品号'
,
width
:
'21%'
,
styler
:
function
(
value
,
row
,
index
)
{
if
(
index
<
3
)
{
return
'background-color:mediumturquoise;color:#fff;'
;
}
},
width
:
'20%'
,
},
{
field
:
'pm'
,
title
:
'品名'
,
width
:
'21%'
,
styler
:
function
(
value
,
row
,
index
)
{
if
(
index
<
3
)
{
return
'background-color:mediumturquoise;color:#fff;'
;
}
},
width
:
'23%'
,
},
{
field
:
'ggxh'
,
title
:
'规格型号'
,
width
:
'21.5%'
,
styler
:
function
(
value
,
row
,
index
)
{
if
(
index
<
3
)
{
return
'background-color:mediumturquoise;color:#fff;'
;
}
},
width
:
'20%'
,
},
{
field
:
'sl'
,
title
:
'数量'
,
width
:
'20%'
,
styler
:
function
(
value
,
row
,
index
)
{
if
(
index
<
3
)
{
return
'background-color:mediumturquoise;color:#fff;'
;
}
},
},
{
field
:
'zpsl'
,
title
:
'装配数量'
,
width
:
'20%'
,
styler
:
function
(
value
,
row
,
index
)
{
if
(
index
<
3
)
{
return
'background-color:mediumturquoise;color:#fff;'
;
}
},
},
]
],
...
...
gavel/src/main/resources/templates/views/kmes/gpjy/index.html
View file @
aad39b27
...
...
@@ -128,7 +128,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"
/>
<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;"
>
...
...
@@ -186,7 +186,7 @@
let
Vgpjykb
=
new
Vue
({
el
:
"#gpjykb"
,
mounted
()
{
dbenlarge
(
'gpjykb'
,
1
)
dbenlarge
(
'gpjykb'
,
1
,
this
.
isFocus
()
)
pdfshow
(
"pdf/dcAcess.pdf"
,
"gpjypdf"
,
5000
).
then
(
e
=>
{
this
.
sivpdf
=
e
})
...
...
@@ -218,6 +218,10 @@
}
},
methods
:{
isFocus
(){
let
$xlh
=
$
(
"#gpjykb"
).
find
(
'input[name="xlh"]'
)
$xlh
.
focus
()
},
// 扫码事件
scanxlh
(
e
){
var
evt
=
window
.
event
||
e
;
...
...
gavel/src/main/resources/templates/views/kmes/gpwx/index.html
View file @
aad39b27
...
...
@@ -128,7 +128,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"
/>
<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;"
>
...
...
@@ -186,7 +186,7 @@
let
Vgpwxkb
=
new
Vue
({
el
:
"#gpwxkb"
,
mounted
()
{
dbenlarge
(
'gpwxkb'
,
1
)
dbenlarge
(
'gpwxkb'
,
1
,
this
.
isFocus
)
pdfshow
(
"pdf/dcAcess.pdf"
,
"gpwxpdf"
,
5000
).
then
(
e
=>
{
this
.
sivpdf
=
e
})
...
...
@@ -218,6 +218,10 @@
}
},
methods
:{
isFocus
(){
let
$xlh
=
$
(
"#gpwxkb"
).
find
(
'input[name="xlh"]'
)
$xlh
.
focus
()
},
// 扫码事件
scanxlh
(
e
){
var
evt
=
window
.
event
||
e
;
...
...
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