schangxiang@126.com
2025-09-17 60dd1afc3e8f94aa1b23211b6738d35b47294382
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<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)">&laquo;</button>
                    </li>
                    <li>
                        <button type="button" data-ng-click="toPage(pageNum-1)">&lsaquo;</button>
                    </li>
                    <li><div><span style="font-size:13px;">第&nbsp;<input type="text" style="width:25px;height:25px;border:1px solid #2780E3;text-align:center;font-size:15px;" ng-model="pageNum">&nbsp;页,&nbsp;共{{totalPage}}页</span></div></li>
                    <li>
                        <button type="button" data-ng-click="toPage(pageNum+1)">&rsaquo;</button>
                    </li>
                    <li>
                        <button type="button" data-ng-click="toPage(totalPage)">&raquo;</button>
                    </li>
                </ul>
            </div>
            <div style="float:left;height:35px;">
                <div style="float:left;height:35px;color:#2780E7;margin-top:10px;">&nbsp;&nbsp;&nbsp;&nbsp;每页记录数: </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>