|
|
@@ -530,17 +530,17 @@
|
|
|
<div class="radio-block date-radio" ng-show="active !== 'all'" style="width: 33%">
|
|
|
时间:
|
|
|
<label class="com-check-radio">
|
|
|
- <input type="radio" id="oneMonth" name="date" ng-click="changeDateZone(1);condition.$open=false" checked>
|
|
|
+ <input type="radio" id="oneMonth" name="date" ng-click="changeDateZone(1);condition.$open=false" ng-checked="condition.dateZone == '1'" ng-model="condition.dateZone">
|
|
|
<label for="oneMonth"></label>
|
|
|
30天
|
|
|
</label>
|
|
|
<label class="com-check-radio">
|
|
|
- <input type="radio" id="threeMonth" name="date" ng-click="changeDateZone(3);condition.$open=false">
|
|
|
+ <input type="radio" id="threeMonth" name="date" ng-click="changeDateZone(3);condition.$open=false" ng-checked="condition.dateZone == '3'" ng-model="condition.dateZone">
|
|
|
<label for="threeMonth"></label>
|
|
|
90天
|
|
|
</label>
|
|
|
<label class="com-check-radio">
|
|
|
- <input type="radio" id="sixMonth" name="date" ng-click="changeDateZone(6);condition.$open=false">
|
|
|
+ <input type="radio" id="sixMonth" name="date" ng-click="changeDateZone(6);condition.$open=false" ng-checked="condition.dateZone == '6'" ng-model="condition.dateZone">
|
|
|
<label for="sixMonth"></label>
|
|
|
180天
|
|
|
</label>
|
|
|
@@ -553,16 +553,16 @@
|
|
|
<div class="fl" ng-show="active === 'all'" >
|
|
|
<label class="control-label">请选择月份:</label>
|
|
|
<span ng-click="addMouthOut(-1)" style=" display: inline-block;
|
|
|
- width: 30px;
|
|
|
- height: 30px;
|
|
|
+ width: 32px;
|
|
|
+ height: 32px;
|
|
|
border: 1px solid #ddd;
|
|
|
text-align: center;
|
|
|
- line-height: 30px;
|
|
|
+ line-height: 32px;
|
|
|
cursor: pointer;
|
|
|
vertical-align: middle;">
|
|
|
<img src="/static/img/vendor/images/arrow-left-d-l.png" width="24"/>
|
|
|
</span>
|
|
|
- <span class="inputsIcon control-label" style="padding-right: 5px;display: inline-block">
|
|
|
+ <span class="inputsIcon control-label" style="padding-right: 0px;display: inline-block">
|
|
|
<wui-date
|
|
|
format="yyyy-mm"
|
|
|
placeholder="请选择或输入日期"
|
|
|
@@ -572,12 +572,12 @@
|
|
|
>
|
|
|
</wui-date>
|
|
|
</span>
|
|
|
- <span ng-click="addMouthOut(1)" style="display: inline-block;
|
|
|
- width: 30px;
|
|
|
- height: 30px;
|
|
|
+ <span ng-click="addMouthOut(1)" ng-show="MouthOutShow" style="display: inline-block;
|
|
|
+ width: 32px;
|
|
|
+ height: 32px;
|
|
|
border: 1px solid #ddd;
|
|
|
text-align: center;
|
|
|
- line-height: 30px;
|
|
|
+ line-height: 32px;
|
|
|
cursor: pointer;
|
|
|
vertical-align: middle;"><img src="/static/img/vendor/images/arrow-right-d-l.png" width="24"/></span>
|
|
|
</div>
|
|
|
@@ -611,10 +611,14 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="sreach-input fr">
|
|
|
- <input type="search" placeholder="单据编号/客户名称/物料名称" class="form-control" ng-model="keyword" ng-search="onSearch(keyword)" ng-show="active !== 'all'"/>
|
|
|
- <a class="seek" href="javascript:void(0)" ng-click="onSearch(keyword)" ng-show="active !== 'all'">搜索</a>
|
|
|
- <input type="search" placeholder="客户名称" class="form-control" ng-model="keyword" ng-search="onSearch(keyword)" ng-show="active === 'all' && !showNotCheck"/>
|
|
|
- <a class="seek" href="javascript:void(0)" ng-click="onSearch(keyword)" ng-show="active === 'all' && !showNotCheck">搜索</a>
|
|
|
+ <span ng-show="active !== 'all'">
|
|
|
+ <input type="search" placeholder="单据编号/客户名称/物料名称" class="form-control" ng-model="keyword" ng-search="onSearch(keyword)"/>
|
|
|
+ <a class="seek" href="javascript:void(0)" ng-click="onSearch(keyword)" >搜索</a>
|
|
|
+ </span>
|
|
|
+ <span ng-show="active === 'all' && !showNotCheck">
|
|
|
+ <input type="search" placeholder="客户名称" class="form-control" ng-model="keyword" ng-search="onSearch(keyword)"/>
|
|
|
+ <a class="seek" href="javascript:void(0)" ng-click="onSearch(keyword)">搜索</a>
|
|
|
+ </span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -626,15 +630,15 @@
|
|
|
<tr class="header">
|
|
|
<th width="230">对账期间</th>
|
|
|
<th width="180">对账总额</th>
|
|
|
- <th width="180">明细条目</th>
|
|
|
- <th width="100">商品总数</th>
|
|
|
+ <th width="180">对账人</th>
|
|
|
+ <!--<th width="100">商品总数</th>-->
|
|
|
<th width="100">对账结果</th>
|
|
|
<th width="100">操作</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody ng-show="active !== 'all'" ng-repeat="check in $data">
|
|
|
<tr class="order-bd order-hdt">
|
|
|
- <td colspan="6" style="text-align: left">
|
|
|
+ <td colspan="5" style="text-align: left">
|
|
|
<a href="javascript:void(0)" ng-if="!isUnread(check.id)" class="circle-icon">
|
|
|
已读
|
|
|
</a>
|
|
|
@@ -662,18 +666,21 @@
|
|
|
<span ng-if="!isUser" class="text-number">{{::check.currency}}</span>
|
|
|
</p>
|
|
|
</td>
|
|
|
- <td>
|
|
|
- <p>
|
|
|
- <strong class="text-num">{{::check.items.length}}</strong> 条<br>
|
|
|
- </p>
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <p>
|
|
|
- <strong class="text-num">{{getTotalProd(check) | number}}</strong> <i class="fa fa-cubes"></i>
|
|
|
- </p>
|
|
|
+ <td style="text-align: center">
|
|
|
+ 对账人:{{::check.recorder}}
|
|
|
</td>
|
|
|
+ <!--<td>-->
|
|
|
+ <!--<p>-->
|
|
|
+ <!--<strong class="text-num">{{::check.items.length}}</strong> 条<br>-->
|
|
|
+ <!--</p>-->
|
|
|
+ <!--</td>-->
|
|
|
+ <!--<td>-->
|
|
|
+ <!--<p>-->
|
|
|
+ <!--<strong class="text-num">{{getTotalProd(check) | number}}</strong> <i class="fa fa-cubes"></i>-->
|
|
|
+ <!--</p>-->
|
|
|
+ <!--</td>-->
|
|
|
<td class="status">
|
|
|
- <div ng-if="check.checkStatus == '未对账'" class="text-center text-muted f14"><br>未对账!</div>
|
|
|
+ <!--<div ng-if="check.checkStatus == '未对账'" class="text-center text-muted f14"><br>未对账!</div>-->
|
|
|
<div></div>
|
|
|
<div ng-if="check.checkStatus == '已确认'" class="text-center text-muted f14">
|
|
|
<br> <i class="fa fa-check-square-o"></i> 已确认
|
|
|
@@ -712,26 +719,25 @@
|
|
|
<tbody ng-show="active === 'all'" ng-repeat="check in ALLList">
|
|
|
<tr >
|
|
|
<td style="color: #3f84f6">{{::check.myEnterprise.enName}}</td>
|
|
|
- <td ng-if="check.thisMonthCount && check.thisMonthCount.length > 0">
|
|
|
- <div ng-repeat="count in check.thisMonthCount">
|
|
|
- <span>{{count.currency}}:{{count.amount | number:2}}</span>
|
|
|
- </div>
|
|
|
-
|
|
|
- </td>
|
|
|
- <td ng-if="!check.thisMonthCount">-</td>
|
|
|
- <td ng-if="check.totalCount && check.totalCount.length > 0">
|
|
|
- <div ng-repeat="count in check.totalCount">
|
|
|
- <span>{{count.currency}}:{{count.amount | number:2}}</span>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- <td ng-if="!check.totalCount">-</td>
|
|
|
+ <td ng-if="check.thisMonthCount.length > 0">
|
|
|
+ <div ng-repeat="count in check.thisMonthCount">
|
|
|
+ <span>{{count.currency}}:{{count.amount | number:2}}</span>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ <td ng-if="check.thisMonthCount.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>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
|
|
|
<tbody ng-if="active !== 'all' && tableParams.total() == 0">
|
|
|
<tr>
|
|
|
- <td colspan="6">
|
|
|
+ <td colspan="5">
|
|
|
<div id="empty">
|
|
|
<div class="left_img">
|
|
|
<a><img src="static/img/all/empty-cart.png"></a>
|
|
|
@@ -739,14 +745,14 @@
|
|
|
</div>
|
|
|
<div class="right_link">
|
|
|
<p ng-if="active != 'all'">暂无对账信息!</p>
|
|
|
- <p ng-if="active == 'all'">您还未生成对账单,请立即新增对账!</p>
|
|
|
+ <!--<p ng-if="active == 'all'">您还未生成对账单,请立即新增对账!</p>-->
|
|
|
<!--<a ng-if="active == 'all'" ui-sref="fa_apCheckList"><i class="fa fa-plus-square fa-fw"></i> 新增对账单</a>-->
|
|
|
</div>
|
|
|
</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
- <tbody ng-if="active === 'all' && ALLList.length === 0">
|
|
|
+ <tbody ng-if="active === 'all' && !ALLList || ALLList.length == 0">
|
|
|
<tr>
|
|
|
<td colspan="4">
|
|
|
<div class="empty">
|
|
|
@@ -756,7 +762,7 @@
|
|
|
</div>
|
|
|
<div class="right_link">
|
|
|
<p ng-if="active != 'all'">暂无对账信息!</p>
|
|
|
- <p ng-if="active == 'all'">您还未生成对账单,请立即新增对账!</p>
|
|
|
+ <!--<p ng-if="active == 'all'">您还未生成对账单,请立即新增对账!</p>-->
|
|
|
<!--<a ng-if="active == 'all'" ui-sref="fa_apCheckList"><i class="fa fa-plus-square fa-fw"></i> 新增对账单</a>-->
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -804,16 +810,16 @@
|
|
|
<div>
|
|
|
<label class="control-label">请选择月份:</label>
|
|
|
<span ng-click="addMouth(-1)" style=" display: inline-block;
|
|
|
- width: 30px;
|
|
|
- height: 30px;
|
|
|
+ width: 32px;
|
|
|
+ height: 32px;
|
|
|
border: 1px solid #ddd;
|
|
|
text-align: center;
|
|
|
- line-height: 30px;
|
|
|
+ line-height: 32px;
|
|
|
cursor: pointer;
|
|
|
vertical-align: middle;">
|
|
|
<img src="/static/img/vendor/images/arrow-left-d-l.png" width="24"/>
|
|
|
</span>
|
|
|
- <span class="control-label" style="padding-right: 5px;display: inline-block" ng-click="apCheckCondition.$open = false">
|
|
|
+ <span class="control-label" style="padding-right: 5px;display: inline-block;vertical-align: middle; padding-top: 0;" ng-click="apCheckCondition.$open = false">
|
|
|
<wui-date
|
|
|
format="yyyy-mm"
|
|
|
placeholder="请选择或输入日期"
|
|
|
@@ -822,12 +828,12 @@
|
|
|
ng-model="thisMouth"
|
|
|
>
|
|
|
</wui-date>
|
|
|
- </span><span ng-click="addMouth(1)" style="display: inline-block;
|
|
|
- width: 30px;
|
|
|
- height: 30px;
|
|
|
+ </span><span ng-click="addMouth(1)" ng-show="MouthinShow" style="display: inline-block;
|
|
|
+ width: 32px;
|
|
|
+ height: 32px;
|
|
|
border: 1px solid #ddd;
|
|
|
text-align: center;
|
|
|
- line-height: 30px;
|
|
|
+ line-height: 32px;
|
|
|
cursor: pointer;
|
|
|
vertical-align: middle;"><img src="/static/img/vendor/images/arrow-right-d-l.png" width="24"/></span>
|
|
|
<label class="control-label com-check-radio" ng-click="apCheckCondition.$open = true">
|
|
|
@@ -1120,4 +1126,13 @@
|
|
|
.inputsIcon .wui-date-editor .icon1{
|
|
|
top: 11px !important;
|
|
|
}
|
|
|
+ .wui-input {
|
|
|
+ border: 1px solid #3f84f6;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #3f84f6;
|
|
|
+ font-weight: bold;
|
|
|
+ }
|
|
|
+ .wui-date-editor .iconfont {
|
|
|
+ color: #3f84f6
|
|
|
+ }
|
|
|
</style>
|