console
<form class="ui form" asp-action="SearchMaterial" asp-controller="Trace" >
<div class="flu ui visible message" style="width:100%;">
<div class="fluItem">
<label>FSN/MAC:</label>
<input type="text" placeholder="扫描FSN/MAC" name="SN" />
</div>
<div class="fluItem">
<label>PCBSN:</label>
</div>
<div class="fluItem">
<input type="text" placeholder="扫描PCBSN" name="PCBSN" />
</div>
<div class="fluItem">
<label>物料编码:</label>
</div>
<div class="fluItem">
<input type="text" placeholder="扫描物料编码" name="MaterialCode" />
</div>
<div class="fluItem">
<label>DateCode:</label>
</div>
<div class="fluItem">
<input type="text" placeholder="DateCode" name="MaterialDateCode" />
</div>
<div class="three wide column" id="add_column">
<div class="ui floating labeled icon button dropdown" style="margin:9px">
<input type="hidden" id="add_dropdown" onchange="addchanged()">
<i class="icon plus"></i>
<span class="text" id="optiontext">添加条件</span>
<div class="menu" id="optionMenu">
<div class="item" data-value="0">组装单号</div>
<div class="item" data-value="1">IMEI号</div>
<div class="item" data-value="2">临时标</div>
</div>
</div>
</div>
</div>
<div class="ui eight column centered grid">
<div class="column">
<button class="ui blue huge icon button" type="button" onclick="searchInfo()" style="margin-bottom:20px"><i class="icon search"></i>查找</button>
</div>
</div>
</div>
</form>
<table style="width:100%">
<tr>
<td style="vertical-align: top">
<div class="ui padded grid" style="margin-left:8px">
<div class="two wide column list" style="padding: 0px;">
<h2 class="ui aligned center header" style="margin:8px 0 0 0"><i class="ui small list icon"></i>订单列表</h2>
<div class="ui icon input">
<i class="search icon"></i>
<input type="text" placeholder="查找订单..." id="searchOrder" style="width:100%">
</div>
<div class="ui vertical pointing menu" id="orderMenu" style="height:800px;width:100%;overflow: auto; visibility:hidden">
</div>
</div>
<div class="two wide column list" style=" padding: 0px;" id="pcbdiv">
<h2 class="ui aligned center header" style="margin:8px 0 0 0"><i class="ui small list icon"></i>PCB列表</h2>
<div class="ui vertical pointing menu" id="pcbMenu" style="height:854px;width:100%;overflow: auto; visibility:hidden">
</div>
</div>
<div class="twelve wide column">
<div class="ui eight column grid" style="border: 1px solid #cfcfcf;border-radius: 4px;margin: 0 2px 0 2px;">
<div class="row">
<div class="column"><h4 class="ui header" style="height:100%;margin:16px 0 0 0;text-align:right">PCBSN:</h4></div>
<div class="column"><h4 class="ui header blue" style="height:100%;margin:16px 0 0 0" id="PCBSN_h4"></h4></div>
<div class="column"><h4 class="ui header" style="height:100%;margin:16px 0 0 0;text-align:right">临时标:</h4></div>
<div class="column"><h4 class="ui header blue" style="height:100%;margin:16px 0 0 0" id="TempSN_h4"></h4></div>
<div class="column"><h4 class="ui header" style="height:100%;margin:16px 0 0 0;text-align:right">方位SN:</h4></div>
<div class="column"><h4 class="ui header blue" style="height:100%;margin:16px 0 0 0" id="FSN_h4"></h4></div>
<div class="column"><h4 class="ui header" style="height:100%;margin:16px 0 0 0;text-align:right">MAC:</h4></div>
<div class="column"><h4 class="ui header blue" style="height:100%;margin:16px 0 0 0" id="MAC_h4"></h4></div>
</div>
<div class="row">
<div class="column"><h4 class="ui header" style="height:100%;margin:16px 0 0 0;text-align:right">PCBSN:</h4></div>
<div class="column"><h4 class="ui header blue" style="height:100%;margin:16px 0 0 0">PCBSN</h4></div>
<div class="column"><h4 class="ui header" style="height:100%;margin:16px 0 0 0;text-align:right">PCBSN:</h4></div>
<div class="column"><h4 class="ui header blue" style="height:100%;margin:16px 0 0 0">PCBSN</h4></div>
<div class="column"><h4 class="ui header" style="height:100%;margin:16px 0 0 0;text-align:right">PCBSN:</h4></div>
<div class="column"><h4 class="ui header blue" style="height:100%;margin:16px 0 0 0">PCBSN</h4></div>
<div class="column"><h4 class="ui header" style="height:100%;margin:16px 0 0 0;text-align:right">PCBSN:</h4></div>
<div class="column"><h4 class="ui header blue" style="height:100%;margin:16px 0 0 0">PCBSN</h4></div>
</div>
</div>
<table class="ui fluid selectable striped table">
<thead id="tablehead">
<tr>
<td class='hover' valign='middle' style="width:10%;"><a onclick='sort("MaterialCode")'>物料编码<i id="MaterialCode"></i></a></td>
<td class='hover' valign='middle' style="width:10%;"><a onclick='sort("MaterialDateCode")'>DateCode<i id="MaterialDateCode"></i></a></td>
<td class='hover' valign='middle' style="width:10%;"><a onclick='sort("MaterialModel")'>物料型号<i id="MaterialModel"></i></a></td>
<td class='hover' valign='middle' style="width:10%;"><a onclick='sort("MaterialName")'>物料名称<i id="MaterialName"></i></a></td>
<td class='hover' valign='middle' style="width:5%;">操作</td>
</tr>
</thead>
<tbody id="showTable">
</tbody>
</table>
</div>
</div>
</td>
</tr>
</table>
.ui.vertical.sidebar {
background-color: #444;
font-size: 12px;
}
.ui.accordion {
background-color: #444;
font-size: 12px;
padding: 0px;
}
.ui.accordion p, div {
margin-top: 0px;
margin-bottom: 0px;
}
.ui.accordion div {
margin-top: -6px;
margin-bottom: -11px;
}
.ui.accordion .transition.item {
background-color: #252525;
font-size: 12px;
}
.ui.inverted.borderless.attached.labeled.icon.top.menu {
background-color: #444;
height: 60px;
}
.ui.visible.left.sidebar ~ .fixed, .ui.visible.left.sidebar ~ .pusher {
-webkit-transform: translate3d(154px,0,0);
transform: translate3d(154px,0,0);
}
.ui.visible.right.sidebar ~ .fixed, .ui.visible.right.sidebar ~ .pusher {
-webkit-transform: translate3d(-154px,0,0);
transform: translate3d(-154px,0,0);
}
.ui.segment.pushable {
position: fixed;
top: 60px;
}
.pusher{
width:100%;
height:100%;
}
#puserBody {
height: 100%;
width: 100%;
margin:0px;
padding:0px;
border:0px;
}
.PageTittle {
height: 100%;
width: 100%;
align-content: center;
}
.PageTittle h1 {
color: #ccc;
margin-top: 20px;
}
.right.menu {
width: 180px;
align-content: center;
}
.logo {
margin-left:30px;
width: 120px;
height: 35px;
margin-top: 13px;
}
.fluItem {
margin: 3px;
float: left;
}
.flu label, input {
margin: 3px;
float: left;
margin-top:8px;
}
.flu input{
border-bottom:0px;
}
.flu {
float: left;
}
thead{
background-color:#cee;
}
table a {
cursor: pointer;
}
.ListTable {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
table-layout: fixed;
word-wrap: break-word;
word-break: break-all;
white-space: nowrap;
}
.ListTable td {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
text-align: center;
}
#mainTable {
height: 100%;
width: 100%;
background-color: #fafafa;
padding: 0px;
margin: 0px;
}
#mainLeftTopDiv {
height: 100%;
width: 100%;
margin: 0px;
}
#mainLeftTable {
height: 100%;
width: 100%;
}
#mainLeftTopTable {
width: 100%;
height: 100%;
}
#mainLeftTopTable td:first-child {
width: 400px;
}
#mainLeftBottomDiv {
height: 100%;
width: 100%;
padding: 0px;
margin:0px;
}
#mainRightTable {
height: 100%;
width: 100%;
color:#777;
}
#mainRightTopDiv{
height: 100%;
width: 100%;
margin-left:-5px;
border:0px;
padding:0px;
}
#mainRightTopDiv h1 {
color:#88dddd;
}
#mainRightButtomDiv {
height: 100%;
width: 100%;
margin-left: -5px;
border: 0px;
padding: 0px;
float:right;
}
#barChartType {
position: relative;
float: right;
z-index: 9999;
top: 10px;
color: red;
margin: 0px;
padding: 0px;
border: 0px;
}
#barChartType label{
color:#666;
}
#barChart {
margin: 0px;
}
#pieChart {
border: 0px;
margin: 0px;
padding: 0px;
width:400px;
height:250px;
}
#orderInfoTable {
width: 100%;
height:100%;
}
#orderInfoTable tr{
height:50px;
}
#mainLeftTopTable {
width: 100%;
height: 100%;
}
#orderInfoTable td {
font-size: 20px;
color: blue;
height: auto;
}
#orderInfoTable td:first-child{
width:auto;
}
.cards {
height: 165px;
width: 160px;
vertical-align: middle;
display: table-cell;
text-align: center;
padding: 0px;
}
#divScroll {
overflow-x: scroll;
overflow-y: auto;
position: relative;
height: 100%;
background-color: #333
}
#MaterialInfoDiv {
position: absolute;
}
#MaterialShow {
text-align: center;
vertical-align: top;
}
#warningDiv {
position: fixed;
bottom: 55px;
width: 100%;
color: red;
background-color: yellow;
font-size: 12px;
}
#BindButton {
position: fixed;
bottom: 15px;
width: 100px;
height: 40px;
color: red;
background-color: #cfc;
font-size: 16px;
}
#full {
position: fixed;
bottom: 55px;
width: 100px;
height: 40px;
color: red;
background-color: #cfc;
font-size: 16px;
}
#MaterInput {
position: fixed;
bottom: 15px;
width: 100%;
height: 40px;
background-color: #cfc;
font-size: 16px;
}
.SearchTd {
height: 45px;
width:100%;
vertical-align: top;
margin-top:0px;
}
.SearchTd .ui.grid {
height: 45px;
padding: 0px;
margin-top: 0px;
border: 0px;
}
.SearchTd .eight.wide.column {
padding-top: 3px;
}
.ui.visible.message {
margin-bottom: 0px;
}
#PCBBindTable{
width:100%;
height:100%;
}
#PCBBindTable td {
width: 100%;
}
#PCBBindTable tr:nth-child(2) {
height: 100%;
}
#PCBBindTable .flu.ui.visible.message {
width: 100%;
}
#PCBBindMaterListTable {
height: 100%;
width: 100%;
}
#PCBBindMaterListTable tr{
height: 100%;
}
#PCBBindMaterListTable td:nth-child(1) {
width: 100%;
height: 100%;
}
#PCBBindMaterListTable td:nth-child(2) {
height: 100%;
vertical-align: top;
background-color:#333;
}
#PCBBindMaterListTable td:nth-child(2) .focus {
width: 200px;
}
#resultDiv {
height: 100px;
background-color: gray;
}
#resultDiv h1{
line-height: 100px;
color:blue;
}
#infoDiv {
font-size: 16px;
color: white;
background-color:red;
height:auto;
width:200px;
margin-top:10px;
}
#PCBBindMaterListTable table {
text-align: center;
vertical-align: top;
}
#divScroll {
overflow-x: scroll;
overflow-y: scroll;
position: relative;
height: 100%;
height:100%;
background-color: #333;
}
#MaterialShow {
margin: 0px;
padding: 0px;
border: 0px solid salmon;
text-align: left;
}
#MaterialShow td {
height: 45px;
padding: 0px;
margin: 0px;
border:0px;
}
#MaterialShow tr {
height: 40px;
padding: 0px;
margin: 0px;
border: 0px;
}
#MaterialShow td:first-child {
background-color: #aaf;
width: 100px;
}
.rootMaterialDiv {
height: 100%;
float: left;
white-space: nowrap;
padding: 0px;
margin: 0px;
}
.rootMaterialDiv label {
color: white;
}
.childrenMaterialDiv {
padding: 0px;
margin: 0px;
height: 100%;
position: relative;
display: inline-block;
}
.childrenMaterialDiv div {
padding: 0px;
margin: 0px;
height: 100%;
}
.ui.small.fade.reveal {
width: 100%;
height: 45px;
text-align: center;
border: 1px solid red;
}
#errShowModal {
width: 500px;
margin-left: -250px;
top: 20px;
float: left;
position: absolute;
left: 50%;
font-size: 20px;
}
#infoShowModal {
width: 500px;
margin-left: -250px;
top: 20px;
float: left;
position: absolute;
left: 50%;
font-size: 20px;
}
.onelineDiv {
width:100%;
}
.onelineDiv .ui.floating.message {
margin-left: 10px;
margin-right: 10px;
margin-top: 5px;
}
#MaterInputOrderChoose{
width:100%;
}
#MaterInputPart #scanBox {
font-size: 20px;
margin-left: 10px;
margin-right: 10px;
}
#MaterInputPart .ui.grid {
margin-top: 10px;
}
#MaterInputPart table {
width: 100%;
}
#MaterInputPart .input {
width: 100%;
margin-top:10px;
}
#MaterInputPart #InputButton {
width: 100%;
margin-top: 20px
}
.contextmenu {
display: none;
position: absolute;
width: 200px;
margin: 0;
padding: 0;
background: #FFFFFF;
border-radius: 5px;
list-style: none;
box-shadow: 0 15px 35px rgba(50,50,90,0.1), 0 5px 15px rgba(0,0,0,0.07);
overflow: hidden;
z-index: 999999;
}
.contextmenu li {
border-left: 3px solid transparent;
transition: ease .2s;
}
.contextmenu li a {
display: block;
padding: 10px;
color: #B0BEC5;
text-decoration: none;
transition: ease .2s;
}
.contextmenu li:hover {
background: #CE93D8;
border-left: 3px solid #9C27B0;
}
.contextmenu li:hover a {
color: #FFFFFF;
}
.ui.MaterListTable{
width:300px;
}
.ui.MaterListTable input{
width:280px;
}
.ui.MaterListTable thead {
background-color:#fff;
}
#FixRebindPart {
height: 100%;
}
#FixRebindPart #FixRebindTable {
width:100%;
padding:0px;
}
#FixRebindTable tr td:first-child {
width: 300px;
}
#FixRebindTable tr:nth-child(2) td:nth-child(1){
align-items:
}
#RepairRight {
vertical-align: top;
height: 100%;
}
#RepairRight .segment{
width:100%;
height:100%;
}
.waitReplaceTable tbody {
height: 100px;
}
.insteadReplaceTable tbody {
height: 100px;
}
#repairOprationTable{
width:100%;
margin-bottom:10px;
}
#repairOprationTable td{
padding:10px;
}
#repairOprationTable tr td:nth-child(1) {
width: 140px;
}
#repairOprationTable div {
width: 100%;
}
#repairOprationTable form, textarea {
width: 100%;
}
#settingDiv {
margin-left: 10px;
margin-right: 10px;
height: 100%;
margin-bottom: 10px;
margin-top: 10px;
}
#settingDiv label {
margin-top: 7px;
margin-right: 50px;
}
#settingDiv .fluid {
margin-top: 10px;
}
.two.wide.column.list {
margin-top: 8px;
border: 1px solid #cfcfcf;
border-radius: 4px;
}
.ui.icon.input{
margin:8px;
}
.ui.form {
padding-left: 8px;
}