You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
96 lines
2.6 KiB
96 lines
2.6 KiB
@{
|
|
Layout = "~/Views/Shared/_AMESLayout.cshtml";
|
|
}
|
|
|
|
<div class="layui-card">
|
|
<div class="layui-card-header">
|
|
<div class="layui-form">
|
|
<div class="layui-form-item ">
|
|
<div class="layui-inline"><i class="fa fa-file-text-o fa-fw"></i> @ViewBag.Title</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="layui-card-body">
|
|
<input id="wipNo" name="wipNo" value="@ViewBag.wipNo" type="hidden" />
|
|
<input id="extraBarcodeNo" name="extraBarcodeNo" value="@ViewBag.extraBarcodeNo" type="hidden" />
|
|
<input id="barcodeNo" name="barcodeNo" value="@ViewBag.barcodeNo" type="hidden" />
|
|
<div class="layui-form-item">
|
|
<div class="layui-inline">
|
|
<label class="layui-form-label" style="color: red;width:100px;">RunCard追蹤資料</label>
|
|
</div>
|
|
</div>
|
|
<div class="layui-form-item">
|
|
<div class="layui-inline" style="width:100%">
|
|
<table class="layui-hide" id="data1" lay-filter="data1"></table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
@section Scripts{
|
|
<script type="text/javascript">
|
|
//监听表单提交事件
|
|
hg.form.onsubmit('querysubmit', function (data) {
|
|
table && table.reload(data);
|
|
|
|
});
|
|
|
|
var tableCols1 = [[
|
|
{
|
|
field: 'wipNO',
|
|
title: '工單',
|
|
sort: true
|
|
},
|
|
{
|
|
field: 'itemNO',
|
|
title: '成品料號'
|
|
},
|
|
{
|
|
field: 'extraBarcodeNo',
|
|
title: '出貨序號',
|
|
sort: true
|
|
},
|
|
{
|
|
field: 'barcodeNo',
|
|
title: '生產序號',
|
|
sort: true
|
|
},
|
|
{
|
|
field: 'stationName',
|
|
title: '站別'
|
|
},
|
|
{
|
|
field: 'lineDesc',
|
|
title: '線別'
|
|
},
|
|
{
|
|
field: 'status1',
|
|
title: '規格描述'
|
|
},
|
|
{
|
|
field: 'status2',
|
|
title: '執行狀態'
|
|
},
|
|
{
|
|
field: 'inputDate',
|
|
title: '過站時間'
|
|
},
|
|
{
|
|
field: 'werksNO',
|
|
title: '廠別'
|
|
},
|
|
{
|
|
field: 'userNo',
|
|
title: '人員工號'
|
|
},
|
|
{
|
|
field: 'userName',
|
|
title: '人員名稱'
|
|
}]
|
|
];
|
|
|
|
//基本数据表格
|
|
var table = hg.table.datatable('data1', 'RunCard追蹤資料', '/QRS/GetQRS028A?wipNo=@ViewBag.wipNo&extraBarcodeNo=@ViewBag.extraBarcodeNo&barcodeNo=@ViewBag.barcodeNo', {}, tableCols1, toolbar, false, '360', ['filter', 'print', 'exports']);
|
|
|
|
</script>
|
|
}
|