10 changed files with 420 additions and 248 deletions
@ -1,53 +0,0 @@ |
|||
@{ |
|||
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> |
|||
} |
@ -1,53 +0,0 @@ |
|||
@{ |
|||
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> |
|||
} |
@ -1,53 +0,0 @@ |
|||
@{ |
|||
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