2025-06-27 10:04:22 +08:00

72 lines
2.7 KiB
HTML

<style>
</style>
<div class="container">
<div class="row Top">
<i></i>
<h2>单位换算管理</h2>
<i style="float:right"></i>
</div>
<div class="row text-center SortTop">
<label for="YJLDW">原计量单位:</label>
<input type="text" value=" " class="form-control input-sm w-sm inline m-r" ng-model="wherestr.yjldw" />
<label for="MBJLDW">目标计量单位:</label>
<input type="text" value=" " class="form-control input-sm w-sm inline m-r" ng-model="wherestr.mbjldw" />
<button class="btn btn-default" ng-click="Cha()">查询</button>
<span>共有数据:{{myttt}} 条</span>
<button class="btn btn-default" ng-click="add(0)">新增</button>
<button class="btn btn-default" ng-click="delete()">删除</button>
</div>
<div class="row">
<table st-table="displayed" st-pipe="getService" class="table table-hover table-bordered text-center " id="myTable">
<thead>
<tr>
<th>
全选
<st-checkbox-all select-list="selectList" current-ids="ids" check-init="checkinit" style="vertical-align:middle"></st-checkbox-all>
</th>
<th st-ratio="10" st-sort="YJLDW">原计量单位</th>
<th st-ratio="10" st-sort="MBJLDW">目标计量单位</th>
<th st-ratio="10" st-sort="HSGX">换算关系</th>
<!-- <th st-ratio="10" st-sort="BZ">备注</th>-->
<th>操作</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="item in displayed">
<td>
<st-checkbox select-list="selectList" id="{{item.id}}" ng-click="dianji()"></st-checkbox>
<!--<span>{{item.id}}</span>-->
</td>
<td st-ratio="10">{{item.yjldw}}</td>
<td st-ratio="10">{{item.mbjldw}}</td>
<td st-ratio="10">{{item.hsgx}}</td>
<!-- <td st-ratio="10">{{item.bz}}</td>-->
<td>
<a ng-click="add(item.id)">查看/修改</a>
</td>
</tr>
</tbody>
<st-loading is-show="isShow" tip-show="正在加载请稍后!!"></st-loading>
<tfoot>
<tr>
<td colspan="15" class="text-center">
<div st-items-by-page="curpageNumber" st-pagination="" st-template="app/pagination.custom.html"></div>
</td>
</tr>
</tfoot>
</table>
</div>
</div>