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
c989632e
Commit
c989632e
authored
Feb 16, 2022
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dp
parent
e9c1d92c
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
781 additions
and
872 deletions
+781
-872
index.html
...l/src/main/resources/templates/views/kmes/gphy/index.html
+284
-226
index.html
...l/src/main/resources/templates/views/kmes/gpjy/index.html
+249
-219
index.html
...l/src/main/resources/templates/views/kmes/gpwx/index.html
+248
-215
index.html
...l/src/main/resources/templates/views/kmes/zpfk/index.html
+0
-161
zpfkdetails.html
...main/resources/templates/views/kmes/zpfk/zpfkdetails.html
+0
-51
No files found.
gavel/src/main/resources/templates/views/kmes/gphy/index.html
View file @
c989632e
This diff is collapsed.
Click to expand it.
gavel/src/main/resources/templates/views/kmes/gpjy/index.html
View file @
c989632e
This diff is collapsed.
Click to expand it.
gavel/src/main/resources/templates/views/kmes/gpwx/index.html
View file @
c989632e
This diff is collapsed.
Click to expand it.
gavel/src/main/resources/templates/views/kmes/zpfk/index.html
deleted
100644 → 0
View file @
e9c1d92c
<style>
#kmesZpfkList
.product-nav-list
{
top
:
0
}
</style>
<div
id=
"kmesWOZpfk"
class=
"gui-layout gui-div"
style=
"height: 100%;width:100%;position: relative;overflow: hidden"
>
<div
data-options=
"region:'north'"
style=
"height:80px;width:100%;"
>
<div
class=
"gui-toolbar"
style=
"display: block"
data-options=
"grid:{type:'datagrid',id:'kmesWOZpfkTable'}"
>
<div
class=
"navbar-toolbar"
>
<a
class=
"toolbar-print toolbar"
href=
"javascript:void(0)"
></a>
</div>
<div
class=
"form-sub"
>
<form
class=
"query-criteria"
>
<ul>
<li
class=
"gui-form-row"
>
<div
class=
"gui-col-sm3"
>
<label
class=
"gui-form-label"
>
项目:
</label>
<div
class=
"gui-input-block"
>
<input
type=
"text"
name=
"xminfo"
class=
"gui-textbox"
style=
"width: 100%"
>
</div>
</div>
<div
class=
"gui-col-sm3"
>
<label
class=
"gui-form-label"
>
生产单号:
</label>
<div
class=
"gui-input-block"
>
<input
type=
"text"
name=
"wodjid"
class=
"gui-textbox"
style=
"width: 100%"
>
</div>
</div>
<div
class=
"gui-col-sm3"
>
<label
class=
"gui-form-label"
>
客户:
</label>
<div
class=
"gui-input-block"
>
<input
type=
"text"
name=
"khinfo"
class=
"gui-textbox"
style=
"width: 100%"
>
</div>
</div>
</li>
</ul>
<span
class=
"toolbar-search-span"
><a
class=
"toolbar-search1"
href=
"javascript:void(0)"
style=
"color: white"
></a></span>
</form>
</div>
</div>
</div>
<div
data-options=
"region:'west',split:true"
style=
"width:54%;height:100%;position: relative"
>
<div
class=
"gui-div"
>
<table
class=
"toolbar-table"
data-options=
"id: 'kmesWOZpfkTable',herf:'kzzx/gridset/query',type:'datagrid'"
></table>
</div>
</div>
<div
data-options=
"region:'center'"
>
<div
class=
"gui-div"
id=
"kmesZpfkList"
>
<table
class=
"toolbar-table"
data-options=
"id: 'kmesZpfkListTable',herf:'kzzx/gridset/query'"
></table>
</div>
</div>
</div>
<!-- 表格工具栏结束 -->
<script>
$
(
function
()
{
/*js初始化*/
var
$div
=
$
(
'#kmesWOZpfk'
);
var
$jdfkDtlList
=
$
(
"#kmesZpfkList"
);
var
$datagrid
=
$div
.
find
(
'.toolbar-table:first'
);
var
$datagridWOJdfk
=
$jdfkDtlList
.
find
(
'.toolbar-table:first'
);
var
$searchBtn
=
$div
.
find
(
".toolbar-search1"
);
var
$xswwcCheckbox
=
$
(
"#xswwcChk"
);
function
paramInit
(
ops
){
}
function
pageInit
(
ops
)
{
$xswwcCheckbox
.
iCheckbox
({
label
:
"仅显示未完成"
,
});
var
options
=
{
url
:
"kmes/zpfk"
,
noRequest
:
true
,
columns
:
[[
{
title
:
"snid"
,
field
:
"id"
,
width
:
120
,
hidden
:
true
},
{
title
:
"条码"
,
field
:
"code"
,
width
:
220
},
{
title
:
"生产订单号"
,
field
:
"djid"
,
width
:
120
},
{
title
:
"项目编码"
,
field
:
"xmCode"
,
fieldType
:
"ftString"
,
width
:
192
},
{
title
:
"项目名称"
,
field
:
"xmName"
,
fieldType
:
"ftString"
,
width
:
192
},
{
title
:
"客户编码"
,
field
:
"khxxCode"
,
fieldType
:
"ftString"
,
width
:
192
},
{
title
:
"客户名称"
,
field
:
"khxxName"
,
fieldType
:
"ftString"
,
width
:
192
}
]],
onLoadSuccess
:
function
()
{
},
datagrid
:{
onSelect
:
function
(
rowIndex
,
rowData
)
{
if
(
rowData
){
loadList
(
rowData
.
code
)
}
}
},
dialog
:{
href
:
"kmes/zpfk/edit"
,
footerIn
:
true
,
}
};
$div
.
Holder
(
options
);
$jdfkDtlList
.
Container
({
columns
:[[
{
title
:
"装配计划编码"
,
field
:
"zpjhid"
,
width
:
180
,
hidden
:
true
},
{
title
:
"主机sn"
,
field
:
"wosnCode"
,
width
:
180
,
hidden
:
true
},
{
title
:
"物料ID"
,
field
:
"wlid"
,
width
:
180
,
hidden
:
true
},
{
title
:
"组件编码"
,
field
:
"zjCode"
,
width
:
180
},
{
title
:
"组件名称"
,
field
:
"zpjhName"
,
fieldType
:
"ftString"
},
{
title
:
"关键件条码"
,
field
:
"cz"
,
fieldType
:
"ftString"
,
width
:
140
,
align
:
"center"
,
formatter
:
function
(
value
,
row
,
index
)
{
return
'<a style="margin-right: 10px;color: dodgerblue" onclick="onReivewGjj(
\'
'
+
row
.
wlid
+
'
\'
,
\'
'
+
row
.
zpjhid
+
'
\'
)">详情</a>'
;
}
},
{
title
:
"物料编码"
,
field
:
"wlxxCode"
,
fieldType
:
"ftString"
},
{
title
:
"物料名称"
,
field
:
"wlxxName"
,
fieldType
:
"ftString"
},
{
title
:
"需求数量"
,
field
:
"xqsl"
,
fieldType
:
"int"
},
{
title
:
"已装配数量"
,
field
:
"yzpsl"
,
fieldType
:
"int"
}
]]
});
$searchBtn
.
iMenubutton
({
iconCls
:
'fa fa-search'
,
text
:
'搜索'
,
onClick
:
function
()
{
run
();
loadList
(
'1'
)
}
});
}
/*数据初始化*/
function
dataInit
(
ops
){
}
/*用户操作*/
function
run
(
ops
){
$datagrid
.
datagrid
(
"options"
).
url
=
"kmes/zpfk/query"
;
$datagrid
.
datagrid
(
"load"
,
DataBind
.
collectData
(
$div
));
}
function
loadList
(
snid
)
{
$datagridWOJdfk
.
datagrid
(
"loading"
);
HTTP
.
post
(
"kmes/zpfk/query/detail"
,{
snid
:
snid
},
function
(
res
)
{
if
(
res
.
success
){
$datagridWOJdfk
.
datagrid
(
"loaded"
);
$datagridWOJdfk
.
datagrid
(
'clientPaging'
,
{
data
:
res
.
data
.
records
||
[]});
}
})
}
gas
.
load
(
paramInit
,
pageInit
,
dataInit
,
run
);
})
function
onReivewGjj
(
wlid
,
jhid
)
{
gas
.
Dialog
({
title
:
"详情"
,
width
:
960
,
height
:
480
,
href
:
"kmes/zpfk/hyinfo/index"
,
footerIn
:
true
,
onBeforeLoad
:
function
()
{
$
(
this
).
dialog
(
"options"
).
queryParams
=
{
wlid
:
wlid
,
jhid
:
jhid
}
},
})
}
</script>
gavel/src/main/resources/templates/views/kmes/zpfk/zpfkdetails.html
deleted
100644 → 0
View file @
e9c1d92c
<div
id=
"zpfkdetails"
class=
"e-dialog-container"
data-options=
"width: 1020,height: 600"
>
<div
class=
"e-dialog-body"
style=
""
>
<div
style=
"width: 100%;height: 100%"
class=
"bznrList"
id =
"bznrList"
></div>
</div>
<div
class=
"e-dialog-footer"
>
<a
href=
"javascript:void(0);"
class=
"e-dialog-cancel"
></a>
</div>
</div>
<script>
$
(
function
()
{
var
$Container
=
$
(
"#zpfkdetails"
);
var
params
=
$Container
.
parent
().
dialog
(
"options"
).
queryParams
;
var
wlid
=
""
;
var
zpjhid
=
""
;
function
paramInit
(
ops
){
wlid
=
params
.
wlid
;
zpjhid
=
params
.
jhid
;
}
function
pageInit
(){
jglk
()
}
function
dataInit
(){
}
function
run
(){
}
function
jglk
()
{
var
$right
=
$Container
.
find
(
".bznrList"
);
var
$righColumns
=
[
{
title
:
"条码"
,
field
:
"wlsnid"
,
width
:
100
},
{
title
:
"装配人"
,
field
:
"cjr"
,
fieldType
:
"ftString"
,
width
:
140
},
{
title
:
"装配时间"
,
field
:
"cjsj"
,
fieldType
:
"ftDateTime"
},
];
$right
.
datagrid
({
title
:
"条码信息"
,
columns
:[
new
$
.
common
.
formatterCol
(
$righColumns
)],
pagination
:
false
});
HTTP
.
post
(
"kmes/zpfk/queryZpfkDetails"
,{
wlid
:
wlid
,
zpjhid
:
zpjhid
},
function
(
res
)
{
if
(
res
.
success
){
$right
.
datagrid
(
"loadData"
,
res
.
data
.
records
||
[])
}
})
}
gas
.
load
(
paramInit
,
pageInit
,
dataInit
,
run
);
})
</script>
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