|
|
@@ -79,17 +79,27 @@
|
|
|
<i></i>
|
|
|
</div>
|
|
|
<div class="row">
|
|
|
- <div class="col-xs-6">
|
|
|
+ <div class="col-xs-5">
|
|
|
<form class="form-inline">
|
|
|
<div class="form-group ">
|
|
|
<label>客 户:</label>
|
|
|
</div>
|
|
|
<div class="form-group form-group-sm">
|
|
|
- <input ng-model="suuorname" type="search" class="form-control input-sm" placeholder="可用企业名称和UU号筛选">
|
|
|
+ <input ng-model="suuorname" type="search" class="form-control input-sm" placeholder="可用企业名称筛选">
|
|
|
</div>
|
|
|
</form>
|
|
|
</div>
|
|
|
- <div class="col-xs-2 col-xs-offset-4">
|
|
|
+ <div class="col-xs-5">
|
|
|
+ <form class="form-inline">
|
|
|
+ <div class="form-group ">
|
|
|
+ <label>应付供应商:</label>
|
|
|
+ </div>
|
|
|
+ <div class="form-group form-group-sm">
|
|
|
+ <input ng-model="vuuorname" type="search" class="form-control input-sm" placeholder="可用企业名称筛选">
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+ <div class="col-xs-2">
|
|
|
<button ng-click="searchOrder()">筛选</button> <button ng-click="createApCheck(check.$selected)">生成对账</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -135,23 +145,24 @@
|
|
|
</div>
|
|
|
<table width="99%" class="tableMargin">
|
|
|
<tr>
|
|
|
- <table>
|
|
|
+ <table width="100%">
|
|
|
<tr class="thAlign">
|
|
|
<th width="40px;" class="checkboxSize"><input type="checkbox" name="checkbox" ng-model="checkboxes.checked" ng-click="checkAll()"></th>
|
|
|
<th width="80px;">本次对账数</th>
|
|
|
- <th width="110px;">单据编号</th>
|
|
|
+ <th width="105px;">客户名称</th>
|
|
|
+ <th width="95px;">单据编号</th>
|
|
|
<th width="30px;">序号</td>
|
|
|
- <th width="110px;">类型</th>
|
|
|
- <th width="100px;">日期</th>
|
|
|
- <th width="110px;">客户采购单号</th>
|
|
|
- <th width="80px;">客户料号</th>
|
|
|
+ <th width="95px;">类型</th>
|
|
|
+ <th width="80px;">日期</th>
|
|
|
+ <th width="95px;">供应商名称</th>
|
|
|
+ <th width="100px;">客户采购单号</th>
|
|
|
+ <th width="70px;">客户料号</th>
|
|
|
<th width="50px;">数量</th>
|
|
|
<th width="50px;">单价</th>
|
|
|
<th width="50px;">币别</th>
|
|
|
<th width="50px;">税率</th>
|
|
|
<th width="80px;">金额</th>
|
|
|
<th width="80px;">本次对帐金额</th>
|
|
|
- <th width="126px;">客户名称</th>
|
|
|
<th style="display:none;">客户UU</th>
|
|
|
<th style="display:none;">SOUR</br>CEID</th>
|
|
|
<th width="17px" style="border: none;"></th>
|
|
|
@@ -161,23 +172,24 @@
|
|
|
<tr>
|
|
|
<td>
|
|
|
<div style="overflow-y:scroll; width:100%;max-height:500px">
|
|
|
- <table>
|
|
|
- <tr ng-repeat="check in data | orderBy: 'piDate': reverse=true" ng-if="((condition.dateFrom == '') || ((condition.dateFrom !== '') && (condition.dateFrom < check.piDate))) && ((condition.dateTo == '') || ((condition.dateTo !== '') && (condition.dateTo > check.piDate))) && ((condition.uuorname == '') || ((condition.uuorname !== '') && (condition.uuorname == check.custUu) || (condition.uuorname == check.custName)))">
|
|
|
+ <table width="100%">
|
|
|
+ <tr ng-repeat="check in data | orderBy: 'piDate': reverse=true" ng-if="((condition.dateFrom == '') || ((condition.dateFrom !== '') && (condition.dateFrom < check.piDate))) && ((condition.dateTo == '') || ((condition.dateTo !== '') && (condition.dateTo > check.piDate))) && ((condition.uuorname == '') || ((condition.uuorname !== '') && (condition.uuorname == check.custUu) || (condition.uuorname == check.custName))) && ((condition.venduuorname == '') ||((condition.venduuorname !== '') && (condition.venduuorname == check.receiveName)))">
|
|
|
<td width="40px;" style="text-align: center" class="checkboxSize" n><input ng-model="check.$selected" name="checkbox" ng-click="checkOne(check)" ng-change="getTotalMoney()" type="checkbox"></td>
|
|
|
<td width="80px;"><input ng-model="check.thisCheckQty" type="number" max="data.maxThisCheckQty" min="data.minThisCheckQty" ng-change="getTotalMoney()" style="width:70px;" class=" input-sm"></td>
|
|
|
- <td width="110px;">{{check.inOutNo}}</td>
|
|
|
+ <td width="105px;">{{check.custName}}</td>
|
|
|
+ <td width="95px;">{{check.inOutNo}}</td>
|
|
|
<td width="30px;" align="center">{{check.detno}}</td>
|
|
|
- <td width="110px;">{{check.piClass}}</td>
|
|
|
- <td width="100px;">{{check.piDate|date:'yyyy-MM-dd'}}</td>
|
|
|
- <td width="110px;">{{check.orderCode}}</td>
|
|
|
- <td width="80px;">{{check.prodCode}}</td>
|
|
|
+ <td width="95px;">{{check.piClass}}</td>
|
|
|
+ <td width="80px;">{{check.piDate|date:'yyyy-MM-dd'}}</td>
|
|
|
+ <td width="95px;">{{check.receiveName}}</td>
|
|
|
+ <td width="100px;">{{check.orderCode}}</td>
|
|
|
+ <td width="70px;">{{check.prodCode}}</td>
|
|
|
<td width="50px;">{{check.qty}}</td>
|
|
|
<td width="50px;">{{check.orderPrice}}</td>
|
|
|
<td width="50px;">{{check.currency}}</td>
|
|
|
<td width="50px;" align="center">{{check.taxrate}}</td>
|
|
|
<td width="80px;">{{(check.qty || 0)*(check.orderPrice || 0) | number:2}}</td>
|
|
|
<td width="80px;">{{(check.orderPrice || 0)*(check.thisCheckQty || 0) | number:2}}</td>
|
|
|
- <td width="126px;">{{check.custName}}</td>
|
|
|
<td style="display:none;">{{check.custUu}}</td>
|
|
|
<td style="display:none;">{{check.sourceId}}</td>
|
|
|
</tr>
|