<div collapse="isCollapsed" ng-style="table_width" style="background-color:#fff;margin-left:1px;margin-top:5px;border:1px solid #dddddd;">
|
<form class="form-inline" style="margin-top:20px;">
|
<table class="table table-condensed table-query" ng-style="table_width" style="margin-left:10px;font-size:15px;">
|
<tr>
|
<td style="border:none !important">
|
流转卡
|
</td>
|
<td style="border:none !important">
|
<input type="text" ng-model="queryParam.ProcessCardNumber">
|
</td>
|
<td style="border:none !important">
|
库位名称
|
</td>
|
<td style="border:none !important">
|
<input type="text" ng-model="queryParam.Name">
|
</td>
|
|
<td style="border:none !important">
|
<button type="button" class="btn btn-primary btn-sm btn-inline" data-ng-click="query()">查询</button>
|
</td>
|
</tr>
|
<tr>
|
<td colspan="2" style="border:none !important">
|
<span style="font-weight:bold;">当前盘点任务:</span> 流转卡号:<span>{{currentTask.ProcessCardNumber}}</span>
|
</td>
|
<td style="border:none !important">
|
任务类型:<span ng-bind="show(currentTask,'LogisticalTaskType',eLogisticalTaskType)"></span>
|
</td>
|
</tr>
|
</table>
|
</form>
|
</div>
|
<div contenteditable="true" style="background-color:#fff;margin-left:1px;margin-top:5px;border:1px solid #dddddd;width:{{table_w}}px;height:{{table_h}}px; ">
|
<div contenteditable="true" style="overflow-y:auto;overflow-x:hidden;width:{{table_div_w}}px;height:{{table_div_h}}px;">
|
<table class="table table-striped" style="margin-left:10px;font-size:15px;" ng-table="tableParams" show-filter="isFilter" ng-init="init()">
|
<tr ng-repeat="d in $data" ng-click="chooseRow(d)">
|
<td data-title="'流转卡号'" filter="{ 'ProcessCardNumber': 'text' }">
|
<span ng-bind="d.ProcessCardNumber"></span>
|
</td>
|
|
<td data-title="'物料代码'" filter="{ 'MaterialCode': 'text' }">
|
<span ng-bind="d.MaterialCode"></span>
|
</td>
|
|
<td data-title="'物料数量'" filter="{ 'Quantity': 'text' }">
|
<span ng-bind="d.Quantity"></span>
|
</td>
|
<td data-title="'核对数量'" filter="{ 'CheckQuantity': 'text' }">
|
<span ng-if="!d.$edit" ng-bind="d.CheckQuantity"></span>
|
<input ng-if="d.$edit" class="form-control" ng-model="d.CheckQuantity" />
|
</td>
|
|
<td data-title="'箱号'" filter="{ 'PackageNo': 'text' }">
|
<span ng-bind="d.PackageNo"></span>
|
</td>
|
<td data-title="'库位名称'" filter="{ 'Name': 'text' }">
|
<span ng-bind="d.Name"></span>
|
</td>
|
|
<td data-title="'库位代码'" filter="{ 'Code': 'text' }">
|
<span ng-bind="d.Code"></span>
|
</td>
|
|
<td data-title="'库位类型'" filter="{ 'Type': 'text' }">
|
<span ng-bind="show(d,'Type',ePlaceType)"></span>
|
</td>
|
|
<td data-title="'库位状态'" filter="{ 'IsHaveMaterial': 'text' }">
|
<span ng-bind="show(d,'IsHaveMaterial',eIsHaveMaterial)"></span>
|
</td>
|
|
<td data-title="'锁定状态'" filter="{ 'LockLabel': 'text' }">
|
<span ng-bind="show(d,'LockLabel',eIsLocked)"></span>
|
</td>
|
<td data-title="'操作'">
|
<span ng-if="!d.$edit&&d.LockLabel!=1">
|
<a href="" ng-really-click="checkOutStorage(d)" ng-really-message="确认盘点?">
|
<span class="glyphicon glyphicon-play-circle" aria-hidden="true" />
|
开始盘点
|
</a>
|
</span>
|
<span ng-if="!d.$edit&&d.LockLabel!=1">
|
<a href="" ng-click="edit(d)">
|
<span class="glyphicon glyphicon-edit" aria-hidden="true" />
|
修改数量
|
</a>
|
</span>
|
<span ng-if="d.$edit">
|
<a href="" ng-click="save(d)">
|
<span class="glyphicon glyphicon-floppy-disk" aria-hidden="true" />
|
保存修改
|
</a>
|
</span>
|
|
<span ng-if="d.$edit">
|
<a href="" ng-click="cancel(d)">
|
<span class="glyphicon glyphicon-share-alt" aria-hidden="true" />
|
取消修改
|
</a>
|
</span>
|
|
<span ng-if="!d.$edit&&d.LockLabel!=1">
|
<a href="" ng-really-click="completeCheck(d)" ng-really-message="确认盘点完成?">
|
<span class="glyphicon glyphicon-log-in" aria-hidden="true" />
|
盘点完成
|
</a>
|
</span>
|
</td>
|
</tr>
|
<tr ng-show="isLoading">
|
<td colspan="8"><img src="./modules/core/images/isLoading.gif" />数据加载中,请稍后...</td>
|
</tr>
|
</table>
|
</div>
|
|
|
|
</div>
|
<div ng-style="table_width" style="height:50px;background-color:#fff;margin-left:1px;border:1px solid #dddddd;">
|
<nav style="height:35px !important;margin-top:6px;">
|
<div style="width:100%;height:100%;margin-left:10px;">
|
<div style="float:left;" class="paging">
|
<ul>
|
<li>
|
<button type="button" data-ng-click="toPage(1)">«</button>
|
</li>
|
<li>
|
<button type="button" data-ng-click="toPage(pageNum-1)">‹</button>
|
</li>
|
<li><div><span style="font-size:13px;">第 <input type="text" style="width:25px;height:25px;border:1px solid #2780E3;text-align:center;font-size:15px;" ng-model="pageNum"> 页, 共{{totalPage}}页</span></div></li>
|
<li>
|
<button type="button" data-ng-click="toPage(pageNum+1)">›</button>
|
</li>
|
<li>
|
<button type="button" data-ng-click="toPage(totalPage)">»</button>
|
</li>
|
</ul>
|
</div>
|
<div style="float:left;height:35px;">
|
<div style="float:left;height:35px;color:#2780E7;margin-top:10px;"> 每页记录数: </div>
|
<div style="float:left;height:35px;">
|
<select style="height:28px;width:80px;margin-top:3px; border:1px solid #DDDDDD !important;color:#2780E7;" ng-options="p.value as p.name for p in pageSizes"
|
ng-model="pageSize" ng-change="changePageSize()"></select>
|
</div>
|
|
</div>
|
</div>
|
|
|
|
|
</nav>
|
</div>
|