|
|
@@ -509,6 +509,7 @@
|
|
|
<li class="down-purchase" style="margin-right: 0;min-width: 80px" ng-hide="active === 'all'">
|
|
|
<a href="#" style="min-width: 80px" ng-click="exportXls()" target="_self" title="导出Excel表格" class="blue f14"><i class="fa fa-file-text fa-fw"></i>导出</a>
|
|
|
</li>
|
|
|
+ <li style="float: right;font-size: 14px;cursor: pointer;" ng-hide="!showNotCheck" ng-click="hideshowNotCheck()"><img src="/static/img/vendor/images/backIcon.png" width="20"/>返回</li>
|
|
|
<!--<li class="down-purchase" style="margin-right: 0;min-width: 80px" ng-hide="showNotCheck">-->
|
|
|
<!--<a class="text-simple append" style="min-width: 80px" ui-sref="fa_apCheckList" title="新增对账单">-->
|
|
|
<!--<i class="fa fa-plus-square fa-fw"></i>新增对账单-->
|
|
|
@@ -517,16 +518,16 @@
|
|
|
|
|
|
</ul>
|
|
|
</div>
|
|
|
- <div class="com_tab tab_top" style="margin-bottom: 0px">
|
|
|
- <ul>
|
|
|
- <li ng-class="{'active': active=='all'}" ng-click="setActive('all')"><a> 未对账</a></li>
|
|
|
+ <!--<div class="com_tab tab_top" style="margin-bottom: 0px">-->
|
|
|
+ <!--<ul>-->
|
|
|
+ <!--<li ng-class="{'active': active=='all'}" ng-click="setActive('all')"><a> 未对账</a></li>-->
|
|
|
<!--<li ng-class="{'active': active=='todo'}" ng-click="setActive('todo')"><a>待确认(<em ng-class="{'color-black': !unread.replied }" ng-bind="unread.replied || 0"></em>)</a></li>-->
|
|
|
- <li ng-class="{'active': active=='done'}" ng-click="setActive('done')"><a>已对账</a></li>
|
|
|
+ <!--<li ng-class="{'active': active=='done'}" ng-click="setActive('done')"><a>已对账</a></li>-->
|
|
|
<!--(<em ng-class="{'color-black': !unread.cancelled }" ng-bind="unread.cancelled || 0"></em>)-->
|
|
|
- <li ng-class="{'active': active=='end'}" ng-click="setActive('end')"><a>已作废</a></li>
|
|
|
- <li style="float: right;font-size: 14px;cursor: pointer;" ng-hide="!showNotCheck" ng-click="hideshowNotCheck()"><img src="/static/img/vendor/images/backIcon.png" width="20"/>返回</li>
|
|
|
- </ul>
|
|
|
- </div>
|
|
|
+ <!--<li ng-class="{'active': active=='end'}" ng-click="setActive('end')"><a>已作废</a></li>-->
|
|
|
+ <!--<li style="float: right;font-size: 14px;cursor: pointer;" ng-hide="!showNotCheck" ng-click="hideshowNotCheck()"><img src="/static/img/vendor/images/backIcon.png" width="20"/>返回</li>-->
|
|
|
+ <!--</ul>-->
|
|
|
+ <!--</div>-->
|
|
|
<div class="screen check-filter" ng-show="!showNotCheck">
|
|
|
<div class="radio-block date-radio" ng-show="active !== 'all'" style="width: 33%">
|
|
|
时间:
|
|
|
@@ -711,14 +712,16 @@
|
|
|
|
|
|
<thead ng-show="active === 'all'">
|
|
|
<tr class="header">
|
|
|
- <th width="313">客户名称</th>
|
|
|
- <th width="250">本月应收</th>
|
|
|
- <th width="250">应收总额</th>
|
|
|
- <th width="160">操作</th>
|
|
|
+ <th width="200">客户名称</th>
|
|
|
+ <th width="170">本月应收</th>
|
|
|
+ <th width="170">本月未对</th>
|
|
|
+ <th width="170">本月已对</th>
|
|
|
+ <th width="170">应收总额</th>
|
|
|
+ <th width="80">操作</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody ng-show="active === 'all'" ng-repeat="check in ALLList">
|
|
|
- <tr >
|
|
|
+ <tr>
|
|
|
<td style="color: #3f84f6">{{::check.myEnterprise.enName}}</td>
|
|
|
<td ng-if="check.thisMonthCount.length > 0">
|
|
|
<div ng-repeat="count in check.thisMonthCount">
|
|
|
@@ -726,13 +729,28 @@
|
|
|
</div>
|
|
|
</td>
|
|
|
<td ng-if="check.thisMonthCount.length === 0">-</td>
|
|
|
+
|
|
|
+ <td ng-if="check.thisMonthTodoCount.length > 0">
|
|
|
+ <div ng-repeat="count in check.thisMonthTodoCount">
|
|
|
+ <span ng-if="count.amount > 0">{{count.currency}}:{{count.amount | number:2}}</span>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ <td ng-if="check.thisMonthTodoCount.length === 0">-</td>
|
|
|
+
|
|
|
+ <td ng-if="check.thisMonthDoneCount.length > 0">
|
|
|
+ <div ng-repeat="count in check.thisMonthDoneCount">
|
|
|
+ <span ng-if="count.amount > 0">{{count.currency}}:{{count.amount | number:2}}</span>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ <td ng-if="check.thisMonthDoneCount.length === 0">-</td>
|
|
|
+
|
|
|
<td ng-if="check.totalCount.length > 0">
|
|
|
<div ng-repeat="count in check.totalCount">
|
|
|
<span ng-if="count.amount > 0">{{count.currency}}:{{count.amount | number:2}}</span>
|
|
|
</div>
|
|
|
</td>
|
|
|
<td ng-if="check.totalCount.length === 0">-</td>
|
|
|
- <td style="color: #3f84f6;cursor: pointer" ng-click="goToMNs(check)">对账详情</td>
|
|
|
+ <td style="color: #3f84f6;cursor: pointer" ng-click="goToMNs(check)">明细</td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
|
|
|
@@ -755,7 +773,7 @@
|
|
|
</tbody>
|
|
|
<tbody ng-if="active === 'all' && (ALLList !== undefined && ALLList.length == 0)">
|
|
|
<tr>
|
|
|
- <td colspan="4">
|
|
|
+ <td colspan="6">
|
|
|
<div class="empty">
|
|
|
<div class="left_img">
|
|
|
<a><img src="static/img/all/empty-cart.png"></a>
|
|
|
@@ -795,6 +813,29 @@
|
|
|
</div>
|
|
|
</label>
|
|
|
</div>
|
|
|
+ <div style="text-align: left;margin-top: 20px">
|
|
|
+ <label>本期间已对总额:</label>
|
|
|
+ <label style="text-align:left;vertical-align: top;">
|
|
|
+ <div ng-if="dataInfo.thisMonthDoneCount.length > 0" ng-repeat="count in dataInfo.thisMonthDoneCount">
|
|
|
+ <span>{{count.currency}}:{{count.amount | number:2}}</span>
|
|
|
+ </div>
|
|
|
+ <div ng-if="dataInfo.thisMonthDoneCount.length === 0">
|
|
|
+ 0
|
|
|
+ </div>
|
|
|
+ </label>
|
|
|
+ </div>
|
|
|
+ <div style="text-align: left;margin-top: 20px">
|
|
|
+ <label>本期间未对总额:</label>
|
|
|
+ <label style="text-align:left;vertical-align: top;">
|
|
|
+ <div ng-if="dataInfo.thisMonthTodoCount.length > 0" ng-repeat="count in dataInfo.thisMonthTodoCount">
|
|
|
+ <span>{{count.currency}}:{{count.amount | number:2}}</span>
|
|
|
+ </div>
|
|
|
+ <div ng-if="dataInfo.thisMonthTodoCount.length === 0">
|
|
|
+ 0
|
|
|
+ </div>
|
|
|
+ </label>
|
|
|
+ </div>
|
|
|
+
|
|
|
<div style="text-align: left;margin-top: 20px">
|
|
|
<label>应收总额:</label>
|
|
|
<label style="text-align:left;vertical-align: top;">
|
|
|
@@ -945,72 +986,87 @@
|
|
|
<!-- 标签scroll-table用于表头滚动 -->
|
|
|
<div class="table-wrap" id="order-detail-list" scroll-table>
|
|
|
<div class="table-header-wrap">
|
|
|
- <table class="table table-bordered">
|
|
|
- <tr>
|
|
|
- <th width="36" style="vertical-align: middle;"><input type="checkbox" name="checkbox" ng-model="checkboxes.checked" ng-click="checkAll()"></th>
|
|
|
- <!--<th width="70">客户<br>名称</th>-->
|
|
|
- <th width="70">采购单</th>
|
|
|
- <th width="70">物料名称</th>
|
|
|
- <th width="70">规格型号</th>
|
|
|
- <th width="60">发货单</th>
|
|
|
- <th width="55">发货数量</th>
|
|
|
- <th width="60">验收单</th>
|
|
|
- <th width="100">验收数量</th>
|
|
|
- <th width="40">单价</th>
|
|
|
- <th width="40">税率</th>
|
|
|
- <th width="70">小计</th>
|
|
|
- <!--<th width="35">序号</th>-->
|
|
|
- <!--<th width="60">类型</th>-->
|
|
|
- <!--<th width="60">单据<br>日期</th>-->
|
|
|
- <!--<th width="90">应付<br>供应商</th>-->
|
|
|
- <!--<th width="65">客户<br>料号</th>-->
|
|
|
- <!--<th width="65">送货<br>工厂</th>-->
|
|
|
- <!--<th width="30">币别</th>-->
|
|
|
- <!--<th width="60">金额</th>-->
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
+ <table class="table table-bordered">
|
|
|
+ <tr>
|
|
|
+ <th width="55" style="vertical-align: middle;"><input type="checkbox" name="checkbox" ng-model="checkboxes.checked" ng-click="checkAll()"></th>
|
|
|
+ <!--<th width="70">客户<br>名称</th>-->
|
|
|
+ <th width="70">采购单</th>
|
|
|
+ <th width="60">发货单</th>
|
|
|
+ <th width="60">验收单</th>
|
|
|
+ <th width="70">物料名称</th>
|
|
|
+ <th width="70">规格型号</th>
|
|
|
+ <!--<th width="60">发货单</th>-->
|
|
|
+ <th width="55">发货数量</th>
|
|
|
+ <th width="80">验收数量</th>
|
|
|
+ <th width="40">单价</th>
|
|
|
+ <th width="40">税率</th>
|
|
|
+ <th width="70">小计</th>
|
|
|
+ <th width="110">
|
|
|
+ 对账人<br />/日期
|
|
|
+ </th>
|
|
|
+ <!--<th width="35">序号</th>-->
|
|
|
+ <!--<th width="60">类型</th>-->
|
|
|
+ <!--<th width="60">单据<br>日期</th>-->
|
|
|
+ <!--<th width="90">应付<br>供应商</th>-->
|
|
|
+ <!--<th width="65">客户<br>料号</th>-->
|
|
|
+ <!--<th width="65">送货<br>工厂</th>-->
|
|
|
+ <!--<th width="30">币别</th>-->
|
|
|
+ <!--<th width="60">金额</th>-->
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
</div>
|
|
|
<div class="table-body-wrap">
|
|
|
- <table class="table table-bordered">
|
|
|
- <tr ng-repeat="check in data" ng-click="checkOne(check);getTotalMoney()" class="thAlign" style="height: 40px;">
|
|
|
- <td width="36" style="text-align: center;vertical-align: middle;">
|
|
|
- <input ng-model="check.$selected" name="checkbox" type="checkbox" ng-checked="check.$selected" ng-click="stopPrevent($event)"></td>
|
|
|
- <td width="70">{{::check.ordercode}}</td>
|
|
|
- <td width="70" title="{{check.prodtitle}}">
|
|
|
- <div style="display: -webkit-box; text-overflow: ellipsis; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 3; -webkit-box-orient: vertical;">{{::check.prodtitle}}</div>
|
|
|
- </td>
|
|
|
- <td width="70" title="{{check.prodspec}}">
|
|
|
- <div style="display: -webkit-box; text-overflow: ellipsis; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 3; -webkit-box-orient: vertical;">{{::check.prodspec}}</div></td>
|
|
|
- <td width="60">{{::check.sendcode}}</td>
|
|
|
- <td width="55">{{::check.qty}}</td>
|
|
|
- <td width="60">{{::check.inoutno}}</td>
|
|
|
- <td width="100">{{::check.thischeckqty}}</td>
|
|
|
- <td width="40">{{::check.orderprice}}</td>
|
|
|
- <td width="40" align="center">{{::check.taxrate}}</td>
|
|
|
- <td width="70">{{::(check.orderprice || 0)*(check.thischeckqty || 0) | number:2}}</td>
|
|
|
- <!--<td width="70" title="{{check.custname}}"><div-->
|
|
|
- <!--style="display: -webkit-box; text-overflow: ellipsis; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 3; -webkit-box-orient: vertical;">{{::check.custname}}</div></td>-->
|
|
|
- <!--<td width="35" align="center">{{::check.detno}}</td>-->
|
|
|
- <!--<td width="60">{{::check.piclass}}</td>-->
|
|
|
- <!--<td width="60">{{::check.pidate | date:'yyyy-MM-dd' }}</td>-->
|
|
|
- <!--<td width="90" title="{{check.receivename}}">-->
|
|
|
- <!--<div style="display: -webkit-box; text-overflow: ellipsis; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 3; -webkit-box-orient: vertical;">{{::check.receivename}}</div>-->
|
|
|
- <!--</td>-->
|
|
|
- <!--<td width="65">{{::check.prodcode}}</td>-->
|
|
|
- <!--<td width="65">{{::check.factory}}</td>-->
|
|
|
- <!--<td width="30">{{::check.currency}}</td>-->
|
|
|
- <!--<td width="60">{{::(check.qty || 0)*(check.orderprice || 0) | number:2}}</td>-->
|
|
|
+ <table class="table table-bordered">
|
|
|
+ <tr ng-repeat="check in data" ng-click="checkOne(check);getTotalMoney()" class="thAlign" style="height: 40px;">
|
|
|
+ <td width="55" style="text-align: center;vertical-align: middle;">
|
|
|
+ <input ng-model="check.$selected" name="checkbox" type="checkbox" ng-checked="check.$selected" ng-click="stopPrevent($event)" ng-if="check.haveChecked !== 1">
|
|
|
+ <span ng-if="check.haveChecked === 1">已对账</span>
|
|
|
+ </td>
|
|
|
+ <td width="70">{{::check.ordercode}}</td>
|
|
|
+ <td width="60">{{::check.sendcode}}</td>
|
|
|
+ <td width="60">{{::check.inoutno}}</td>
|
|
|
+ <td width="70" title="{{check.prodtitle}}">
|
|
|
+ <div style="display: -webkit-box; text-overflow: ellipsis; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 3; -webkit-box-orient: vertical;">{{::check.prodtitle}}</div>
|
|
|
+ </td>
|
|
|
+ <td width="70" title="{{check.prodspec}}">
|
|
|
+ <div style="display: -webkit-box; text-overflow: ellipsis; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 3; -webkit-box-orient: vertical;">{{::check.prodspec}}</div></td>
|
|
|
|
|
|
- </tr>
|
|
|
- <tr ng-if="!data || data.length==0">
|
|
|
- <td colspan="11">
|
|
|
- <div class="empty-block">
|
|
|
- <i class="fa fa-exclamation-circle"></i>
|
|
|
- <p class="text-muted">没有对账数据,请先筛选</p>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
+ <td width="55">{{::check.qty}}</td>
|
|
|
+
|
|
|
+ <td width="80">{{::check.thischeckqty}}</td>
|
|
|
+ <td width="40">{{::check.orderprice}}</td>
|
|
|
+ <td width="40" align="center">{{::check.taxrate}}</td>
|
|
|
+ <td width="70">{{::(check.orderprice || 0)*(check.thischeckqty || 0) | number:2}}</td>
|
|
|
+ <td width="110" ng-if="check.haveChecked === 1">
|
|
|
+ <div>{{::check.recorder || '-'}}</div>
|
|
|
+ <div>{{::check.apCheckDate | date:'yyyy年MM月dd日' || '-'}}</div>
|
|
|
+ </td>
|
|
|
+ <td width="110" ng-if="check.haveChecked !== 1">
|
|
|
+ 未对账
|
|
|
+ </td>
|
|
|
+ <!--<td width="70" title="{{check.custname}}"><div-->
|
|
|
+ <!--style="display: -webkit-box; text-overflow: ellipsis; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 3; -webkit-box-orient: vertical;">{{::check.custname}}</div></td>-->
|
|
|
+ <!--<td width="35" align="center">{{::check.detno}}</td>-->
|
|
|
+ <!--<td width="60">{{::check.piclass}}</td>-->
|
|
|
+ <!--<td width="60">{{::check.pidate | date:'yyyy-MM-dd' }}</td>-->
|
|
|
+ <!--<td width="90" title="{{check.receivename}}">-->
|
|
|
+ <!--<div style="display: -webkit-box; text-overflow: ellipsis; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 3; -webkit-box-orient: vertical;">{{::check.receivename}}</div>-->
|
|
|
+ <!--</td>-->
|
|
|
+ <!--<td width="65">{{::check.prodcode}}</td>-->
|
|
|
+ <!--<td width="65">{{::check.factory}}</td>-->
|
|
|
+ <!--<td width="30">{{::check.currency}}</td>-->
|
|
|
+ <!--<td width="60">{{::(check.qty || 0)*(check.orderprice || 0) | number:2}}</td>-->
|
|
|
+
|
|
|
+ </tr>
|
|
|
+ <tr ng-if="!data || data.length==0">
|
|
|
+ <td colspan="11">
|
|
|
+ <div class="empty-block">
|
|
|
+ <i class="fa fa-exclamation-circle"></i>
|
|
|
+ <p class="text-muted">没有对账数据,请先筛选</p>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
</div>
|
|
|
<div style="padding: 10px 20px">本期间应收总额:{{totalMoney | number:2 || 0}}</div>
|
|
|
</div>
|