<div ms-controller="PurchaseReturned">
    <table border="0" align="center" cellpadding="0" cellspacing="0" id="mian">
        <tbody>
            <tr>
                <!--leftNav-->
                <td width="198" height="450" valign="top" id="tdleft" style="border-bottom: #d2d2d2 1px solid;">
                    <div id="left" ms-widget="leftMenu,productStorageMenu">
                    </div>
                    <!--End leftNav-->
                </td>
                <td width="10">&nbsp;</td>
                <td valign="top" bgcolor="#FFFFFF" height="1" style="vertical-align: top; width: 198px;">
                    <table cellpadding="0" cellspacing="0" height="100%" class="bordergrag top10">
                        <tr>
                            <td style="vertical-align: top;">
                                <div class="boxTitlenoneb">
                                    <h2>
                                        仓库列表
                                    </h2>
                                    <ul id="storageTypeTree" class='ztree' ms-widget="productCategoryTree,storageTypeTree,storageTypeTreeOpts" style="width: 198px; overflow: auto;"></ul>
                                    <br>
                                </div>
                            </td> 
                        </tr>
                    </table>
                </td>
                <td width="10">&nbsp;</td>
                <td valign="top" style="padding-right:5px;">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="seacrhTable top10" id="seacrhTable">
                        <tbody>
                            <tr>
                                <td width="440" class="searchico">
                                    <div class="input-append" style="margin-bottom: 0px;">
                                        <input class="input" type="text" ms-duplex="queryData.keyword.val" placeholder="请输入出库编号、订单编号" ms-keyup="onEnter">
                                        <button class="add-on ibtsearch" style="height: 28px; font-size: 12px; padding: 3px 12px;" ms-click="doSearch">搜索</button>
                                        <button class="add-on ibtsearch" style="height: 28px; font-size: 12px; padding: 3px 12px;" ms-click="clear">显示全部</button>
                                    </div>
                                </td>
                                <td class="fgray"></td>
                            </tr>
                        </tbody>
                    </table>
                    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="seacrhField">
                        <tbody>
                            <tr class="quickword">
                                <td>
                                    <span>时间范围</span>
                                    <div style="display: inline;margin-left:10px;">
                                        <input type="text"  ms-duplex="queryData.starttime.val" ms-widget='date,StartDate,dateOpts1' readonly="true" style="width: 80px;" />
                                        <strong style="margin-left:-10px;">- </strong>
                                        <input type="text"  ms-duplex="queryData.endtime.val" ms-widget='date,EndDate,dateOpts2' readonly="true"  style="width: 80px;" />
                                    </div>
                                </td>
                            </tr>
                            <tr class="quickword" ms-repeat="queryData" ms-if-loop="$val.items">
                                <td>
                                    <span>{{$val.label}}</span>
                                    <div style="display: inline;">
                                        <a ms-repeat-r='$val.items' href="javascript:void(0)" ms-click='addQuery($key, r.val, r.label)' ms-class-selected="r.curr" ms-html='r.label'></a>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td class="seabox">
                                    <span class="first" ms-html='lang.CurrSearchCondition'></span>
                                    <div style="display: inline;float:left;" ms-repeat="queryData">
                                        <span class="searchItem" ms-if-loop='$val.valLabel'>{{$val.valLabel}}
                                        <i><a href="javascript:void(0)" ms-click='removeQuery($key)'></a></i>
                                        </span>
                                    </div>
                                    <span class="last" ms-visible='hasQuery' ms-click='clearQuery'><a href="javascript:void(0)" ms-html='lang.ClearAll'></a></span>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                    <div class="boxTitlenob top10">
                        <h2>采购退货</h2>
                    </div>
                    <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tableList bottom10" id="tableList" style="margin-bottom: 1px;">
                        <thead>
                            <tr class="dobtn" style="background-color: rgba(0, 0, 0, 0);">
                                <td colspan="9">
                                    <a ms-if="ADD" class="doadd" href="javascript:void(0)"  ms-click="doadd">{{lang.AddBtn}}</a>
                                    <a ms-if="DELETE" data-permission="DELETE" href="javascript:void(0)" class="doalldel" ms-click="grid1.removeAll" ms-attr-title="{{lang.BtachDelBtn}}">{{lang.BtachDelBtn}}</a>
                                </td>
                            </tr>
                            <tr class="head" style="background-color: rgba(0, 0, 0, 0);">
                                <td align="center"><input type="checkbox" ms-duplex-radio="grid1.checkall" /></td>
                                <td align="center">出库编号</td>
                                <td align="center">订单编号</td>
                                <td align="center">订单标题</td>
                                <td align="center">出库金额</td>
                                <td align="center">出库时间</td>
                                <td align="center">经办人</td>
                                <td align="center">部门</td>
                                <td align="center">{{lang.Operate}}
                                </td>
                            </tr>
                        </thead>
                        <tbody>
                            <tr align="center" ms-repeat-item="grid1.list">
                                <td align="center"><input type="checkbox" ms-duplex-radio="item.checked" /></td>
                                <td>
                                    <a href="javascript:void(0)" ms-click="doview(item.Id)">{{item.BillNo}}</a>
                                </td>
                                <td>{{item.FromNo}}</td>
                                <td>{{item.OrderTitle}}</td>
                                <td>{{item.TotalMoney}}</td>
                                <td>{{item.ActionTime}}</td>
                                <td>{{item.ActionBy.FullName}}</td>
                                <td>{{item.ActionBy.Group}}</td>
                                <td>
                                    <a ms-attr-title="lang.ViewBtn" href="javascript:void(0)" ms-click="doview(item.Id)" class="doview"></a>
                                    <!--<a ms-if="item.EDIT" ms-attr-title="lang.EditBtn" href="javascript:void(0)" ms-click="doedit(item.Id)" class="doedit"></a>
                                    <a ms-if="!item.EDIT" ms-attr-title="lang.EditBtn" href="javascript:void(0)" class="noedit"></a>-->
                                    <a ms-if="item.DELETE" ms-attr-title="lang.DelBtn" href="javascript:void(0)" ms-click="grid1.remove(item)" class="dodel"></a>
                                    <a ms-if="!item.DELETE" ms-attr-title="lang.DelBtn" href="javascript:void(0)" class="nodel"></a>
                                </td>
                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="9" ms-widget='paging' data-gridid="grid1"></td>
                            </tr>
                        </tfoot>
                    </table>

                </td>
            </tr>
        </tbody>
    </table>

    <!--查看采购退货单-->
    <noscript id="viewTemplate">
        <div ms-css-width="rWidth" class="tabContent2">
            <table width="98%" cellspacing="1" cellpadding="2" border="0" class="tablecInfo">
                <tbody>
                    <tr>
                        <td style="width:80px;">采购单号：</td>
                        <td style="width: 150px;">
                            {{entity.FromNo}}
                        </td>
                        <td style="width:100px;">经办人：</td>
                        <td style="width:150px;">
                            {{entity.ActionBy.FullName}}
                        </td>
                        <td style="width:100px;">部门：</td>
                        <td>
                            {{entity.ActionByGroup}}
                        </td>
                    </tr>
                    <tr>
                        <td>出库单号：</td>
                        <td>
                            {{entity.BillNo}}
                        </td>
                        <td>出库时间：</td>
                        <td>
                            {{entity.ActionTime|truncate(10,"")}}
                        </td>
                        <td>备注：</td>
                        <td>
                            {{entity.Summary}}
                        </td>
                    </tr>
                </tbody>
            </table>
            <div ms-css-width="rWidth-2" style="height: auto; overflow: auto;border:1px #d2d2d2 solid;border-width:0px 1px;">
                            <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tableList" id="table1" style="margin-bottom: 1px;">
                                <tr class="head">
                                    <td width="5%" align="center" bgcolor="#FFFFFF">产品编号
                                    </td>
                                    <td width="10%" align="center" bgcolor="#FFFFFF">名称
                                    </td>
                                    <td width="10%" align="center" bgcolor="#FFFFFF">型号
                                    </td>
                                    <td width="5%" align="center" bgcolor="#FFFFFF">单位
                                    </td>
                                    <td width="5%" align="center" bgcolor="#FFFFFF">数量
                                    </td>
                                    <td width="5%" align="center" bgcolor="#FFFFFF">单价
                                    </td>
                                    <td width="5%" align="center" bgcolor="#FFFFFF">折扣
                                    </td>
                                    <td width="10%" align="center" bgcolor="#FFFFFF">金额
                                    </td>
                                    <td width="10%" align="center" bgcolor="#FFFFFF">税额
                                    </td>
                                    <td width="10%" align="center" bgcolor="#FFFFFF">价税合计
                                    </td>
                                    <td width="10%" align="center" bgcolor="#FFFFFF">批号
                                    </td>
                                    <td width="10%" align="center" bgcolor="#FFFFFF">仓库
                                    </td>
                                    <td width="10%" align="center" bgcolor="#FFFFFF">仓位
                                    </td>
                                    <td width="10%" align="center" bgcolor="#FFFFFF">操作
                                    </td>
                                </tr>
                                <tbody ms-each-r="outlist">
                                    <tr>
                                        <td width="5%" align="center" bgcolor="#FFFFFF">
                                            {{r.ProductNo}}
                                        </td>
                                        <td width="15%" align="center" bgcolor="#FFFFFF">
                                            {{r.ProductName}}
                                        </td>
                                        <td align="center" bgcolor="#FFFFFF">
                                            {{r.Standard}}
                                        </td>
                                        <td align="center" bgcolor="#FFFFFF">
                                            {{r.Units}}
                                        </td>
                                        <td align="center" bgcolor="#FFFFFF">
                                            {{r.Number}}
                                        </td>
                                        <td align="center" bgcolor="#FFFFFF">

                                            {{r.Price}}
                                        </td>
                                        <td align="center" bgcolor="#FFFFFF">
                                            {{r.DiscountMoney}}
                                        </td>
                                        <td align="center" bgcolor="#FFFFFF">
                                            {{r.Money}}
                                        </td>
                                        <td align="center" bgcolor="#FFFFFF">
                                            {{r.TaxMoney}}
                                        </td>
                                        <td align="center" bgcolor="#FFFFFF">
                                            {{r.TotalMony}}
                                        </td>
                                        <td align="center" bgcolor="#FFFFFF">
                                            {{r.BatchNumber}}
                                        </td>
                                        <td align="center" bgcolor="#FFFFFF">
                                            {{r.StorageName}}
                                        </td>
                                        <td align="center" bgcolor="#FFFFFF">
                                            {{r.SpaceName}}
                                        </td>
                                        <td bgcolor="#FFFFFF" style="text-align: center;">
                                            <a ms-if="showindex == $index" href="javascript:void(0);" class="notexpand" title="展开更多信息"  ms-click="showmore($index)" style="margin-left:2px;">&nbsp;</a>
                                            <a ms-if="showindex != $index" href="javascript:void(0);" class="expand" title="展开更多信息"  ms-click="showmore($index)" style="margin-left:2px;">&nbsp;</a>
                                        </td>
                                    </tr>
                                    <tr style="height:35px;" ms-if-loop="showindex==$index">
                                        <td colspan="14">
                                            <span ms-if="r.HasServiceTimeLimit">
                                                有效期：{{r.ProductionTime|truncate(10,"...")}}-{{r.ValidDate|truncate(10,"...")}}
                                            </span>
                                            <span ms-if="r.HasSN">
                                               序列号 :{{r.SN}}
                                            </span>
                                            <span ms-if="r.HasAccountPwd">
                                                账号：{{r.UserName}}，
                                                密码：{{r.PassWord}}
                                            </span>
                                            <span ms-if="r.IsUseLimit">
                                               序列号 :{{r.UseLimitOfNum}}
                                            </span>
                                        </td>
                                    </tr>
                                </tbody>
                                <tr>
                                        <td align="center" bgcolor="#FFFFFF">
                                            合计：
                                        </td>
                                    <td align="center" bgcolor="#FFFFFF">
                                            &nbsp;
                                        </td>
                                        <td align="center" bgcolor="#FFFFFF">
                                            &nbsp;
                                        </td>
                                        <td align="center" bgcolor="#FFFFFF">
                                            &nbsp;
                                        </td>
                                        <td align="center" bgcolor="#FFFFFF">
                                            <span style="color:#ff0000">{{entity.Total}}</span>
                                        </td>
                                        <td align="center" bgcolor="#FFFFFF">
                                            &nbsp;
                                        </td>
                                        <td align="center" bgcolor="#FFFFFF">
                                            &nbsp;
                                        </td>
                                        <td align="center" bgcolor="#FFFFFF">
                                            &nbsp;
                                        </td>
                                        <td align="center" bgcolor="#FFFFFF">
                                            &nbsp;
                                        </td>
                                        <td align="center" bgcolor="#FFFFFF">
                                            <span style="color:#0000ff">{{entity.TotalMoney}}</span>
                                        </td>
                                        <td align="center" bgcolor="#FFFFFF">
                                            &nbsp;
                                        </td>
                                        <td align="center" bgcolor="#FFFFFF">
                                            &nbsp;
                                        </td>
                                        <td align="center" bgcolor="#FFFFFF">
                                            &nbsp;
                                        </td>
                                        <td bgcolor="#FFFFFF" style="text-align: center;">
                                            &nbsp;
                                        </td>
                                    </tr>
                            </table>
                        </div>
                    </div>
    </noscript>
    <!--采购退货表单-->
    <noscript id="formTemplate">
        <div  class="tabContent2">
            <table width="98%" cellspacing="2" cellpadding="0" border="0" class="commontable">
                <tbody>
                    <tr>
                        <th style="width: 80px;">采购单号：</th>
                        <td style="width: 150px;">
                            <input type="text" ms-duplex="entity.FromNo" style="width: 100px;" ms-keyup="fromNoEnter">
                            <button type="button" class="myfbt" ms-click="selectContract">
                                <i class="customer"></i>
                            </button>
                        </td>
                        <th style="width: 100px;">经办人：</th>
                        <td style="width: 150px;">
                            <input type="text" ms-duplex="entity.ActionBy.FullName" style="width: 100px;" readonly="true">
                            <button type="button" class="myfbt" ms-click="selectActionBy()"><i class="iadduser"></i></button>
                        </td>
                        <th style="width: 100px;">部门：</th>
                        <td>
                            <input type="text" ms-duplex="entity.ActionByGroup" style="width: 100px;" readonly="true">
                        </td>
                    </tr>
                    <tr>
                        <th>出库时间：</th>
                        <td>
                            <input type="text" ms-duplex="entity.ActionTime" style="width: 100px;" ms-widget="date" data-format='%Y-%m-%d'>
                        </td>
                        <th>备注：</th>
                        <td colspan="3">
                            <input type="text" ms-duplex="entity.Summary" style="width: 354px;">
                        </td>
                    </tr>
                </tbody>
            </table>
            <div style="height: auto; overflow: auto; border: 1px #d2d2d2 solid; border-width: 0px 1px;">
                <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tableList tinput" id="table1" style="margin-bottom: 1px;">
                    <tr class="head">
                        <td width="5%" align="center" bgcolor="#FFFFFF">产品编号
                        </td>
                        <td width="10%" align="center" bgcolor="#FFFFFF">名称
                        </td>
                        <td width="10%" align="center" bgcolor="#FFFFFF">型号
                        </td>
                        <td width="5%" align="center" bgcolor="#FFFFFF">单位
                        </td>
                        <td width="5%" align="center" bgcolor="#FFFFFF">数量
                        </td>
                        <td width="5%" align="center" bgcolor="#FFFFFF">单价
                        </td>
                        <td width="5%" align="center" bgcolor="#FFFFFF">折扣
                        </td>
                        <td width="10%" align="center" bgcolor="#FFFFFF">金额
                        </td>
                        <td width="10%" align="center" bgcolor="#FFFFFF">税额
                        </td>
                        <td width="10%" align="center" bgcolor="#FFFFFF">价税合计
                        </td>
                        <td width="10%" align="center" bgcolor="#FFFFFF">批号
                        </td>
                        <td width="10%" align="center" bgcolor="#FFFFFF">仓库
                        </td>
                        <td width="10%" align="center" bgcolor="#FFFFFF">仓位
                        </td>
                        <td width="10%" align="center" bgcolor="#FFFFFF">操作
                        </td>
                    </tr>
                    <tbody ms-each-r="outlist">
                        <tr>
                            <td width="5%" align="center" bgcolor="#FFFFFF">{{r.ProductNo}}
                            </td>
                            <td width="15%" align="center" bgcolor="#FFFFFF">{{r.ProductName}}
                            </td>
                            <td align="center" bgcolor="#FFFFFF">{{r.Standard}}
                            </td>
                            <td align="center" bgcolor="#FFFFFF">{{r.Units}}
                            </td>
                            <td align="center" bgcolor="#FFFFFF">
                                <input type="text" ms-duplex="r.Number" />
                            </td>
                            <td align="center" bgcolor="#FFFFFF">{{r.Price}}
                            </td>
                            <td align="center" bgcolor="#FFFFFF">{{r.DiscountMoney}}
                            </td>
                            <td align="center" bgcolor="#FFFFFF">{{r.Money}}
                            </td>
                            <td align="center" bgcolor="#FFFFFF">{{r.TaxMoney}}
                            </td>
                            <td align="center" bgcolor="#FFFFFF">{{r.TotalMony}}
                            </td>
                            <td align="center" bgcolor="#FFFFFF">
                                <input type="text" ms-duplex="r.BatchNumber" />
                            </td>
                            <td align="center" bgcolor="#FFFFFF">{{r.StorageName}}
                            </td>
                            <td align="center" bgcolor="#FFFFFF">{{r.SpaceName}}
                            </td>
                            <td bgcolor="#FFFFFF" style="text-align: center;">
                                <a title="删除" href="javascript:void(0)" ms-click="removeOutList($index)" class="dodel"></a>
                            </td>
                        </tr>
                        <tr style="height: 35px;">
                            <td colspan="14">
                                <label>
                                    <input type="checkbox" ms-duplex-radio="r.HasServiceTimeLimit" style="width: 15px; height: 15px;" />有效期</label>
                                <span ms-if="r.HasServiceTimeLimit">
                                    <input type="text" ms-duplex="r.ProductionTime" ms-widget="date" data-format='%Y-%m-%d' style="width: 100px; height: 22px;" />-
                                            <input type="text" ms-duplex="r.ValidDate" ms-widget="date" data-format='%Y-%m-%d' style="width: 100px; height: 22px;" />
                                </span>
                                <label>
                                    <input type="checkbox" ms-duplex-radio="r.HasSN" style="width: 15px; height: 15px;" />有序列号</label>
                                <input ms-if="r.HasSN" type="text" ms-duplex="r.SN" style="width: 100px; height: 22px;" />
                                <label>
                                    <input type="checkbox" ms-duplex-radio="r.HasAccountPwd" style="width: 15px; height: 15px;" />有账号密码</label>
                                <span ms-if="r.HasAccountPwd">账号：<input type="text" ms-duplex="r.UserName" style="width: 100px; height: 22px;">
                                    密码：<input type="text" ms-duplex="r.PassWord" style="width: 100px; height: 22px;" />
                                </span>
                                <label>
                                    <input type="checkbox" ms-duplex-radio="r.IsUseLimit" style="width: 15px; height: 15px;" />有用户数限制</label>
                                <input ms-if="r.IsUseLimit" type="text" ms-duplex="r.UseLimitOfNum" style="width: 100px; height: 22px;" />
                            </td>
                        </tr>
                    </tbody>
                    <tr>
                        <td width="5%" align="center" bgcolor="#FFFFFF">合计：
                        </td>
                        <td width="15%" align="center" bgcolor="#FFFFFF">&nbsp;
                        </td>
                        <td align="center" bgcolor="#FFFFFF">&nbsp;
                        </td>
                        <td align="center" bgcolor="#FFFFFF">&nbsp;
                        </td>
                        <td align="center" bgcolor="#FFFFFF">
                            <span style="color: #ff0000">{{entity.Total}}</span>
                        </td>
                        <td align="center" bgcolor="#FFFFFF">&nbsp;
                        </td>
                        <td align="center" bgcolor="#FFFFFF">&nbsp;
                        </td>
                        <td align="center" bgcolor="#FFFFFF">&nbsp;
                        </td>
                        <td align="center" bgcolor="#FFFFFF">&nbsp;
                        </td>
                        <td align="center" bgcolor="#FFFFFF">
                            <span style="color: #0000ff">{{entity.TotalMoney}}</span>
                        </td>
                        <td align="center" bgcolor="#FFFFFF">&nbsp;
                        </td>
                        <td align="center" bgcolor="#FFFFFF">&nbsp;
                        </td>
                        <td align="center" bgcolor="#FFFFFF">&nbsp;
                        </td>
                        <td bgcolor="#FFFFFF" style="text-align: center;">&nbsp;
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </noscript>
    <!---选择采购订单--->
    <noscript id="ContractListTemplate">
        <table border="0" cellspacing="0" cellpadding="0" style="width: 100%;">
            <tr>
                <td style="width: 300px; vertical-align: top;">
                    <div class="boxTitlenob">
                        <h2>采购订单
                                <span class="rseachbox">
                                    <input ms-duplex="contractKey" placeholder="输入采购标题/订单编号快速检索" type="text" style="margin-bottom: 3px; font-size: 9px; color: #989898; width: 180px;" ms-keyup="keyEnter" />
                                    <button class="inputbt" type="button" ms-click="searchContract">
                                    </button>
                                </span>
                        </h2>
                    </div>
                    <table border="0" cellspacing="1" cellpadding="0" class="tableList productlist" style="width: 100%;">
                        <tr class="minhead" align="center">
                            <td width="3%">选择</td>
                            <td width="10%" align="center">采购编号/名称</td>
                            <td width="8%" align="center">金额</td>
                            <td width="8%" align="center">采购日期</td>
                            <!--<td width="15%" align="center">合同期限范围</td>-->
                        </tr>
                        <tr ms-repeat-item="cgrid.list" ms-dblclick="cgrid.onDblClick($index,item)">
                            <td align="center">
                                <input type="radio" ms-duplex="item.checked"></td>
                            <td align="center">({{item.BillNo}})<br />
                                {{item.PurchaseOrderTag|truncate(18,'...')}}</td>
                            <td align="center">{{item.PayMoney}}</td>
                            <td align="center">{{item.ActionTime|truncate(10,'')}}</td>
                            <!--<td align="center">{{item.StartDate|truncate(10,'')}} 至 {{item.EndDate|truncate(10,'')}}</td>-->
                        </tr>
                        <tr style="background: #F5F5F7;" ms-if="cgrid.total==0">
                            <td colspan="6">抱歉！暂无订单信息</td>
                        </tr>
                    </table>
                </td>
                <td style="width: 10px;">&nbsp;</td>
                <td style="vertical-align: top;">
                    <div class="boxTitlenob" ms-css-width="rWidth-330">
                        <h2>入库明细</h2>
                    </div>
                    <div style="overflow: auto;" ms-css-width="rWidth-330">
                        <table style="width: 100%; margin: 0 auto;" border="0" cellspacing="1" cellpadding="0" class="tableList hasOfferPanel">
                            <tr class="minhead" align="center">
                                <td width="15%">入库单号
                                </td>
                                <td width="30%">产品名称
                                </td>
                                <td width="25%">规格/型号/摘要
                                </td>
                                <td width="8%">价格
                                </td>
                                <td width="6%">数量
                                </td>
                                <td width="10%">总价
                                </td>
                                <td width="6%">库存
                                </td>
                            </tr>
                            <tbody>
                                <tr ms-repeat-item="contractdetailslist" align="center" style="background-color: rgb(255, 255, 255);">
                                    <td>{{item.BillNo}}</td>
                                    <td>{{item.ProductName|truncate(20,"...")}}
                                    </td>
                                    <td>{{item.Standard|truncate(20,"...")}}
                                    </td>
                                    <td>{{item.Price}}
                                    </td>
                                    <td>{{item.Number}}
                                    </td>
                                    <td align="left">{{item.TotalMony}}
                                    </td>
                                    <td>{{item.InventoryNumber}}
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </td>
            </tr>
        </table>
    </noscript>
    <style type="text/css">
        .tinput input{width:90%;height:85%;margin:0px; padding:0px;}
        .tinput td input{width:90%;height:85%;margin:2px auto;margin-bottom:3px; padding:1px;box-shadow: inset 0 0px 0px;}
        .tinput td input:focus{border:#2A9BC9 1px solid;padding:0px;}
    </style>
</div>
