outboundTotalRepoert.vm
12.2 KB
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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
##$page.setTitle("WMS出库包裹汇总")
<title>WMS出库包裹汇总</title>
<div class="xn-breadcrumb xn-width auto clearfix">
<ul class="breadcrumb">
<li><a class="icon icon-home_page" href="$customizationLink.setTarget("index")"></a></li>
<li><a href="$customizationLink.setTarget("report")">报表中心</a></li>
<li class="active">WMS出库包裹汇总</li>
</ul>
</div>
<div class="clearfix" ng-controller="OutboundTotalReportIndexController">
<div class="ware-content xn-width auto">
<form class="form-horizontal xn-form" name="searchForm" xn-form-validate novalidate role="form">
<div class="xn_search_box auto" >
<div class="ware-form clearfix" style="border-bottom: none;">
<div class="xn-input-line clearfix">
<label for="inpuName" class="xn-col-sm-5 l-h-34 xn-text-right">出库日期:</label>
<div class="xn-col-sm-10">
<div class="input-group" >
<input type="text" class="form-control " id="startDate" placeholder="开始日期" ng-model="vm.startDate" name="regularDate"
datepicker-popup="yyyy-MM-dd" is-open="startDate" min-date="minDate" datepicker-options="dateOptions"
date-disabled="disabled(date, mode)" disabled close-text="关闭" current-text="今天" clear-text="清除">
<span class="input-group-btn">
<button class="btn btn-default" type="button" ng-click="openStart($event)"><i class="glyphicon glyphicon-calendar"></i></button>
</span>
</div>
</div>
<label for="inpuName" class="xn-col-sm-5 l-h-34 xn-text-right">到:</label>
<div class="xn-col-sm-10">
<div class="input-group" >
<input type="text" class="form-control" id="endDate" placeholder="结束日期" ng-model="vm.endDate" name="regularDate"
datepicker-popup="yyyy-MM-dd" is-open="endDate" min-date="minDate" datepicker-options="dateOptions"
date-disabled="disabled(date, mode)" disabled close-text="关闭" current-text="今天" clear-text="清除">
<span class="input-group-btn">
<button class="btn btn-default" type="button" ng-click="openEnd($event)"><i class="glyphicon glyphicon-calendar"></i></button>
</span>
</div>
</div>
<div class="tip"></div>
<label for="storeroom" class="xn-col-sm-5 l-h-34 xn-text-right" >仓库名称:</label>
<div class="xn-col-sm-10">
<lookup options="optionsStorehouse" name="storehouseId" show-field="vm.storehouseName" ng-model="vm.storehouseId" place-holder=请输入库房名称>
<table>
<tbody>
<tr ng-repeat="storehouse in storehouseListForFind" ng-click="selectStorehouse(storehouse)">
<td>{{storehouse.name}}</td>
</tr>
</tbody>
</table>
</lookup>
</div>
</div>
<div class="xn-input-line clearfix">
<label for="inpuName" class="xn-col-sm-5 l-h-34 xn-text-right">物流公司:</label>
<div class="xn-col-sm-10">
<lookup options="optionsCarrier" name="carrierId" show-field="vm.carrierName" ng-model="vm.carrierId" place-holder=请输入货位名称>
<table>
<tbody>
<tr ng-repeat="carrier in carrierList" ng-click="selectCarrier(carrier)">
<td>{{carrier.name}}</td>
</tr>
</tbody>
</table>
</lookup>
</div>
<label for="inpuName" class="xn-col-sm-5 l-h-34 xn-text-right">客户:</label>
<div class="xn-col-sm-10">
<lookup options="optionsCustomer" name="customerId" show-field="vm.customerName" ng-model="vm.customerId" place-holder=请输入料号名称>
<table>
<tbody>
<tr ng-repeat="customer in customerList" ng-click="selectCustomer(customer)">
<td>{{customer.name}}</td>
</tr>
</tbody>
</table>
</lookup>
</div>
<div class="tip"></div>
<label for="storeroom" class="xn-col-sm-5 l-h-34 xn-text-right" >是否出库:</label>
<div class="xn-col-sm-10">
<select type="text" class="form-control" id="isShipped" ng-model="vm.isShipped">
<option value="">所有</option>
<option value="1">已出库</option>
<option value="false">未出库</option>
</select>
</div>
</div>
<div class="xn-imput-line clearfix">
<div class="f-right mr_30">
<button class="btn btn-success w_100" ng-click="doQuery()">查询</button>
<button class="btn btn-info w_100" ng-click="doReset()">重置</button>
</div>
</div>
</div>
</div>
<div class="ware-btn">
<a class="btn btn-primary w_100 mr_10 f-right " style="margin-top: 20px;margin-left: 5px;" ng-click="downloadOutboundTotalData()">导出</a>
</div>
<div class="ware-table ">
<ul class="ware-th-two" style="line-height: 50px;">
<li class="xn-col-sm-7 pl_30">出库日期</li>
<li class="xn-col-sm-6">仓库名称</li>
<li class="xn-col-sm-6">客户</li>
<li class="xn-col-sm-6">物流公司</li>
<li class="xn-col-sm-6">是否出库</li>
<li class="xn-col-sm-4 xn-text-center">商品数量</li>
<li class="xn-col-sm-4 xn-text-center">包裹数量</li>
<li class="xn-col-sm-4 xn-text-center">物流费运(元)</li>
<li class="xn-col-sm-4 xn-text-center">物流成本(元)</li>
</ul>
<ul class="ware-tr">
<li class="ware-circulation clearfix" ng-repeat="temp in list">
<div>
<div class=" ware-height xn-col-sm-7 pl_30">{{temp.shipUserTime | date:'yyyy-MM-dd'}}</div>
<div class=" ware-height xn-col-sm-6">{{temp.storehouseName}}</div>
<div class=" ware-height xn-col-sm-6">{{temp.customerName}}</div>
<div class=" ware-height xn-col-sm-6">{{temp.carrierName}}</div>
<div class=" ware-height xn-col-sm-6">{{temp.isShipped | isShipped}}</div>
<div class=" ware-height xn-col-sm-4 xn-text-center">{{temp.quantity}}</div>
<div class=" ware-height xn-col-sm-4 xn-text-center">{{temp.packageCount}}</div>
<div class=" ware-height xn-col-sm-4 xn-text-center">{{temp.freightFee | number:2}}</div>
<div class=" ware-height xn-col-sm-4 xn-text-center">{{temp.costAmout | number:2}}</div>
</div>
<div ng-show="show" class="xn-col-sm-48 ware-black"></div>
</li>
<li class="ware-circulation clearfix" style="text-align: center" ng-show="list.length == 0">
无法找到相应的记录
</li>
</ul>
<ul class="ware-tr" ng-show="list.length > 0">
<li class="ware-circulation clearfix">
<div>
<div class=" ware-height xn-col-sm-7 pl_30">合计</div>
<div class=" ware-height xn-col-sm-8"></div>
<div class=" ware-height xn-col-sm-8"></div>
<div class=" ware-height xn-col-sm-8"></div>
<div class=" ware-height xn-col-sm-4 xn-text-center">{{quantitySum}}</div>
<div class=" ware-height xn-col-sm-4 xn-text-center">{{packageCountSum}}</div>
<div class=" ware-height xn-col-sm-4 xn-text-center">{{freightFeeSum | number:2}}</div>
<div class=" ware-height xn-col-sm-4 xn-text-center">{{costAmoutSum | number:2}}</div>
</div>
<div ng-show="show" class="xn-col-sm-48 ware-black"></div>
</li>
</ul>
<div class="xn-text-center clearfix" >
<div class="f-left mt_20 mb_10">共{{vm.totalCount}}条</div>
<pagination ng-show="vm.totalCount>vm.pageSize" ng-change="changePageSize()" max-size="5" total-items="vm.totalCount"
ng-model="vm.pageNumber" items-per-page="vm.pageSize" class="pagination-sm" boundary-links="true"
previous-text="‹" next-text="›" first-text="«" last-text="»"></pagination>
</div>
## <ul class="ware-footer">
## <div class="f-left">
## <span class="f-left pl_30 pr_15">显示</span>
## <input type="text" class="form-control w_50 f-left text-center input-box"
## ng-model="vm.pageSize" ng-change ="changePageSize()">
## <span class="pl_15">条</span>
## </div>
## <div class="f-left">
## <span class="f-left pl_30 pr_15">共</span>
## {{list.totalCount}}
## <span class="pl_15">条</span>
## </div>
## <div class="f-right ware-right">
## <span class="f-left pr_15">
## <i class="xn-icon icon-First_page" ng-click="changePageNumber('first')"></i>
## </span>
## <span class="f-left pr_15 forward" >
## <i class="xn-icon icon-pack_up" ng-click="changePageNumber('previous')"></i>
## </span>
## <span class="f-left pr_15">第</span>
## <input type="text" class="form-control w_50 f-left text-center input-box"
## ng-model ="vm.pageNumber" ng-change="changePageNumber('current')">
## <span class="pl_15 f-left">页</span>
## <span class="pl_15 back f-left" >
## <i class="xn-icon icon-pack_up" ng-click="changePageNumber('next')"></i>
## </span>
## <span class="pl_15 pr_25 f-left" >
## <i class="xn-icon icon-last_page" ng-click="changePageNumber('last')"></i>
## </span>
## </div>
## </ul>
</div>
<div class="clearfix"></div>
</form>
</div>
</div>
<script type="text/javascript" src="$customizationContent.getURI('dist/scripts/report.js')"></script>