Browse Source
1.1.修改良率顏色(低於等於90紅色,高於等於98綠色,處於95~97黃色 1.2.增加過站PASS數量彈窗顯示條碼信息QRS009P 1.3.增加過站FAIL數量彈窗顯示條碼信息QRS009F 1.4.增加WIP數量彈窗顯示條碼信息QRS009WPTD
7 changed files with 396 additions and 5 deletions
@ -0,0 +1,53 @@ |
|||||
|
@{ |
||||
|
ViewData["Title"] = "在製分布圖-過站FAIL條碼資料"; |
||||
|
Layout = "~/Views/Shared/_AMESLayout.cshtml"; |
||||
|
} |
||||
|
|
||||
|
<div class="layui-card"> |
||||
|
<div class="layui-card-body"> |
||||
|
<input id="wip_id" name="wip_id" value="@ViewBag.WIP_ID" type="hidden" /> |
||||
|
<input id="rule_station_id" name="rule_station_id" value="@ViewBag.RULE_STATION_ID" type="hidden" /> |
||||
|
<table class="layui-hide" id="test" lay-filter="test"></table> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
@section Scripts{ |
||||
|
<script type="text/javascript"> |
||||
|
//监听表单提交事件 |
||||
|
hg.form.onsubmit('querysubmit', function (data) { |
||||
|
table && table.reload(data); |
||||
|
}); |
||||
|
var tableCols = [[ |
||||
|
{ |
||||
|
field: 'barcodeNo', |
||||
|
width: 200, |
||||
|
title: '條碼', |
||||
|
sort: true |
||||
|
}, |
||||
|
{ |
||||
|
field: 'lineDesc', |
||||
|
width: 80, |
||||
|
title: '線別名稱' |
||||
|
}, |
||||
|
{ |
||||
|
field: 'ruleStatus', |
||||
|
minWidth: 60, |
||||
|
title: '狀態' |
||||
|
}, |
||||
|
{ |
||||
|
field: 'inputDate', |
||||
|
title: '過站時間', |
||||
|
templet: '<div>{{ layui.util.toDateString(d.inputDate, "yyyy/MM/dd HH:mm:ss") }}</div>' |
||||
|
}, |
||||
|
{ |
||||
|
field: 'userName', |
||||
|
title: '作業員', |
||||
|
width: 100, |
||||
|
sort: true |
||||
|
}] |
||||
|
]; |
||||
|
|
||||
|
//基本数据表格 |
||||
|
var table = hg.table.datatable('test', '過站FAIL條碼資料', '/QRS/GetWipStationFailBarcode/' + wip_id.value + '_' + rule_station_id.value, {}, tableCols, toolbar, true, 'full-100', ['filter', 'print', 'exports']); |
||||
|
</script> |
||||
|
} |
@ -0,0 +1,53 @@ |
|||||
|
@{ |
||||
|
ViewData["Title"] = "在製分布圖-過站PASS條碼資料"; |
||||
|
Layout = "~/Views/Shared/_AMESLayout.cshtml"; |
||||
|
} |
||||
|
|
||||
|
<div class="layui-card"> |
||||
|
<div class="layui-card-body"> |
||||
|
<input id="wip_id" name="wip_id" value="@ViewBag.WIP_ID" type="hidden" /> |
||||
|
<input id="rule_station_id" name="rule_station_id" value="@ViewBag.RULE_STATION_ID" type="hidden" /> |
||||
|
<table class="layui-hide" id="test" lay-filter="test"></table> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
@section Scripts{ |
||||
|
<script type="text/javascript"> |
||||
|
//监听表单提交事件 |
||||
|
hg.form.onsubmit('querysubmit', function (data) { |
||||
|
table && table.reload(data); |
||||
|
}); |
||||
|
var tableCols = [[ |
||||
|
{ |
||||
|
field: 'barcodeNo', |
||||
|
width: 200, |
||||
|
title: '條碼', |
||||
|
sort: true |
||||
|
}, |
||||
|
{ |
||||
|
field: 'lineDesc', |
||||
|
width: 80, |
||||
|
title: '線別名稱' |
||||
|
}, |
||||
|
{ |
||||
|
field: 'ruleStatus', |
||||
|
minWidth: 60, |
||||
|
title: '狀態' |
||||
|
}, |
||||
|
{ |
||||
|
field: 'inputDate', |
||||
|
title: '過站時間', |
||||
|
templet: '<div>{{ layui.util.toDateString(d.inputDate, "yyyy/MM/dd HH:mm:ss") }}</div>' |
||||
|
}, |
||||
|
{ |
||||
|
field: 'userName', |
||||
|
title: '作業員', |
||||
|
width: 100, |
||||
|
sort: true |
||||
|
}] |
||||
|
]; |
||||
|
|
||||
|
//基本数据表格 |
||||
|
var table = hg.table.datatable('test', '過站PASS條碼資料', '/QRS/GetWipStationPassBarcode/' + wip_id.value + '_' + rule_station_id.value, {}, tableCols, toolbar, true, 'full-100', ['filter', 'print', 'exports']); |
||||
|
</script> |
||||
|
} |
@ -0,0 +1,53 @@ |
|||||
|
@{ |
||||
|
ViewData["Title"] = "在製分布圖-在製條碼資料"; |
||||
|
Layout = "~/Views/Shared/_AMESLayout.cshtml"; |
||||
|
} |
||||
|
|
||||
|
<div class="layui-card"> |
||||
|
<div class="layui-card-body"> |
||||
|
<input id="wip_id" name="wip_id" value="@ViewBag.WIP_ID" type="hidden" /> |
||||
|
<input id="rule_station_id" name="rule_station_id" value="@ViewBag.RULE_STATION_ID" type="hidden" /> |
||||
|
<table class="layui-hide" id="test" lay-filter="test"></table> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
@section Scripts{ |
||||
|
<script type="text/javascript"> |
||||
|
//监听表单提交事件 |
||||
|
hg.form.onsubmit('querysubmit', function (data) { |
||||
|
table && table.reload(data); |
||||
|
}); |
||||
|
var tableCols = [[ |
||||
|
{ |
||||
|
field: 'barcodeNo', |
||||
|
width: 200, |
||||
|
title: '條碼', |
||||
|
sort: true |
||||
|
}, |
||||
|
{ |
||||
|
field: 'lineDesc', |
||||
|
width: 80, |
||||
|
title: '線別名稱' |
||||
|
}, |
||||
|
{ |
||||
|
field: 'ruleStatus', |
||||
|
minWidth: 60, |
||||
|
title: '狀態' |
||||
|
}, |
||||
|
{ |
||||
|
field: 'createDate', |
||||
|
title: '過站時間', |
||||
|
templet: '<div>{{ layui.util.toDateString(d.createDate, "yyyy/MM/dd HH:mm:ss") }}</div>' |
||||
|
}, |
||||
|
{ |
||||
|
field: 'userName', |
||||
|
title: '作業員', |
||||
|
width: 100, |
||||
|
sort: true |
||||
|
}] |
||||
|
]; |
||||
|
|
||||
|
//基本数据表格 |
||||
|
var table = hg.table.datatable('test', '在製條碼資料', '/QRS/GetWipStationBarcode/' + wip_id.value + '_' + rule_station_id.value, {}, tableCols, toolbar, true, 'full-100', ['filter', 'print', 'exports']); |
||||
|
</script> |
||||
|
} |
Loading…
Reference in new issue