| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801 |
- <style>
- body{
- font-family: "Microsoft YaHei", "微软雅黑" !important;
- }
- .text-num{
- }
- .append{
- color: #5078cb;font-size:12px; margin-left: 10px
- }
- .order-table td {
- padding-top: 10px;
- margin-bottom: 20px;
- border-bottom: solid 1px #ccc;
- border-top: solid 1px #e8e8e8;
- }
- .order-table td.first {
- padding-left: 20px;
- }
- .order-table td.last {
- padding-right: 20px;
- }
- .order-table td .static p {
- display: inline-block;
- line-height: 30px;
- padding-top: 5px;
- padding-bottom: 0px;
- width: 33%;
- font-size: 14px;
- color: #666;
- padding-left: 15px;
- border-left: solid 1px #e8e8e8;
- }
- .order-table td .static p:first-child{
- border-left: none;
- /*width: 180px;*/
- padding-left: 0;
- }
- .order-table td .static p:last-child{
- margin-left: 22px;
- }
- .order-table td .static p:nth-of-type(3){
- margin-left: 20px;
- }
- .order-table td .main {
- margin-top: 5px;
- margin-bottom: 20px;
- color: #333;
- }
- .static{
- margin: 12px 0;
- }
- .order-table td .main strong {
- font-size: 14px;
- }
- .order-table td .static p strong {
- font-size: 14px;
- font-weight: bold;
- color: #888;
- }
- .order-table td.status {
- position: relative;
- border-left: solid 1px #e8e8e8;
- padding: 10px;
- vertical-align: top;
- }
- .order-table td.status .operate {
- position: absolute;
- display: block;
- bottom: 0;
- left: 0;
- right: 0;
- height: 0px;
- color: #ffffff;
- font-size: 14px;
- font-weight: bold;
- line-height: 40px;
- opacity: 0.8;
- transition: height ease-in-out 0.5s;
- text-decoration: none;
- }
- .order-table td.status .operate-undo {
- background: #428bca;
- }
- .order-table td.status .operate-done {
- background: #cccccc;
- }
- .order-table td.status:hover .operate {
- height: 40px;
- }
- .unPrinted {
- color: #56a022;
- }
- .order-table td .main strong{
- font-weight: normal;
- }
- .order-table td{
- font-size: 14px;
- }
- .order-table th{
- text-align: center;
- }
- .order-table .text-trans{
- margin-top: -17px;
- margin-right: 14px;
- }
- .menu .new-dot{
- width: 20px;
- height: 20px;
- line-height: 20px;
- font-size: 12px;
- color: #fff;
- font-weight: inherit;
- top: -2px;
- }
- .wui-date.small .wui-date-picker {
- width: 260px
- }
- </style>
- <link rel="stylesheet" href="static/css/public.css">
- <link rel="stylesheet" href="static/css/wui.min.css">
- <div class="block" id="public">
- <div class="loading in" ng-class="{'in': loading}">
- <!--<i></i>-->
- <div class="wrap">
- <div class="outer"></div>
- </div>
- </div>
- <div class="pub-com_head">
- <span>应付对账单</span>
- <div class="p-right">
- <!--<a class="text-simple append" ui-sref="fa.apCheckList" title="新增对账单" ng-hide="showNotCheck"><i class="fa fa-plus-square fa-fw"></i>新增对账单</a> -->
- <!--<a href="#" ng-click="exportXls()" ng-hide="active === 'all'"-->
- <!--target="_self" title="导出Excel表格" class="blue f14"><i class="fa fa-file-text fa-fw"></i>导出</a>-->
- </div>
- <div class="p-right" ng-show="active === 'all'">
- <div class="btn-group btn-group-sm" style=" float: right;
- font-size: 14px;
- cursor: pointer;
- text-align: right;
- height: 28px;
- line-height: 27px;
- margin-right: 20px;
- color: #fff;
- border: 1px solid #fff;
- margin-top: 3px;
- padding: 0 5px;" ng-click="setActive()">查看对账记录
- <!--<b class="new-dot" ng-if="unread.cancelled > 0">{{unread.cancelled > 99 ? '99+' : unread.cancelled}}</b>-->
- </div>
- </div>
- <div class="p-right" ng-show="active !== 'all'">
- <div class="btn-group btn-group-sm" style="float: right;font-size: 14px;cursor: pointer;text-align: right;height: 40px;line-height: 40px; margin-right: 20px;;color: #fff;" ng-click="setActive('all')">
- <img src="static/img/vendor/images/backIcon.png" width="20"/>返回
- </div>
- </div>
- <div class="btn-group btn-group-sm" style="float: right;font-size: 14px;cursor: pointer;text-align: right;height: 40px;line-height: 40px; margin-right: 20px;;color: #fff;" ng-hide="!showNotCheck" ng-click="hideshowNotCheck()">
- <img src="static/img/vendor/images/backIcon.png" width="20"/>返回
- <!--<b class="new-dot" ng-if="unread.cancelled > 0">{{unread.cancelled > 99 ? '99+' : unread.cancelled}}</b>-->
- </div>
- </div>
- <!--<div class="menu condition block">-->
- <!--<div class="row">-->
- <!--<div class="col-xs-7">-->
- <!--<div class="btn-group btn-group-sm btn-group-justified">-->
- <!--<div class="btn-group btn-group-sm/fa/arCheck">-->
- <!--<button type="button" class="btn btn-default btn-line"-->
- <!--ng-class="{'btn-info':active=='all'}" ng-click="setActive('all')">未对账</button>-->
- <!--</div>-->
- <!--<!–<div class="btn-group btn-group-sm">–>-->
- <!--<!–<button type="button" class="btn btn-default btn-line"–>-->
- <!--<!–ng-class="{'btn-info':active=='todo'}"–>-->
- <!--<!–ng-click="setActive('todo')">待确认</button>–>-->
- <!--<!–</div>–>-->
- <!--<div class="btn-group btn-group-sm">-->
- <!--<button type="button" class="btn btn-default btn-line"-->
- <!--ng-class="{'btn-info':active=='done'}"-->
- <!--ng-click="setActive('done')">已对账-->
- <!--<!–<b class="new-dot" ng-if="unread.replied > 0">{{unread.replied>99?'99+':unread.replied}}</b>–>-->
- <!--</button>-->
- <!--</div>-->
- <!--<!–<div class="btn-group btn-group-sm">–>-->
- <!--<!–<button type="button" class="btn btn-default btn-line"–>-->
- <!--<!–ng-class="{'btn-info':active=='end'}" ng-click="setActive('end')">已作废–>-->
- <!--<!–<b class="new-dot" ng-if="unread.cancelled > 0">{{unread.cancelled > 99 ? '99+' : unread.cancelled}}</b>–>-->
- <!--<!–</button>–>-->
- <!--<!–</div>–>-->
- <!--</div>-->
- <!--</div>-->
- <!--<div class="col-xs-4 f12" style="text-align: right;height: 40px;line-height: 40px; margin-right: 20px; float: right;">-->
- <!--<div class="btn-group btn-group-sm" style="float: right;font-size: 14px;cursor: pointer;" ng-hide="!showNotCheck" ng-click="hideshowNotCheck()">-->
- <!--<img src="static/img/vendor/images/backIcon.png" width="20"/>返回-->
- <!--<!–<b class="new-dot" ng-if="unread.cancelled > 0">{{unread.cancelled > 99 ? '99+' : unread.cancelled}}</b>–>-->
- <!--</div>-->
- <!--</div>-->
- <!--</div>-->
- <!--</div>-->
- <div ng-hide="showNotCheck">
- <div class="condition block" ng-show="!showNotCheck">
- <div class="search-bg condition block" style="padding: 10px 15px;">
- <div class="row">
- <div id="topSearch" ng-show="active !== 'all'" style="float: left">
- <a ng-click="changeDateZone(1);condition.$open=false" title="最近一个月" ng-class="{'active':condition.dateZone=='1'}">最近一个月</a>
- <a ng-click="changeDateZone(3);condition.$open=false" title="最近三个月" ng-class="{'active':condition.dateZone=='3'}">最近三个月</a>
- <a ng-click="changeDateZone(6);condition.$open=false" title="最近六个月" ng-class="{'active':condition.dateZone=='6'}">最近六个月</a>
- <a ng-click="condition.$open=!condition.$open;changeDateZone(-1)" title="自定义" ng-class="{'active':condition.dateZone=='-1'}" >自定义</a>
- </div>
- <div style="float: left" ng-show="active === 'all'" >
- <label class="control-label">请选择月份:</label>
- <span ng-click="addMouthOut(-1)" style="display: inline-block;
- width: 32px;
- height: 32px;
- border: 1px solid #ddd;
- text-align: center;
- 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: 0px;display: inline-block;vertical-align: top;">
- <wui-date
- format="yyyy-mm"
- placeholder="请选择或输入日期"
- id="date3"
- btns="{'ok':'确定','now':'此刻'}"
- ng-model="thisMouthOut"
- >
- </wui-date>
- </span>
- <span ng-show="MouthOutShow" ng-click="addMouthOut(1)" style="display: inline-block;
- width: 32px;
- height: 32px;
- border: 1px solid #ddd;
- text-align: center;
- line-height: 32px;
- cursor: pointer;
- vertical-align: middle;"><img src="static/img/vendor/images/arrow-right-d-l.png" width="24"/></span>
- </div>
- <div class="col-xs-6" style="float: right;">
- <div class="search">
- <div class="form-group form-group-sm has-feedback" dropdown auto-close="outsideClick"
- on-toggle="searchAdvance=open">
- <input type="search" class="form-control input-sm" ng-model="keyword"
- ng-search="onSearch(keyword)" placeholder="输入单据编号、客户名称、物料名称搜索" style="width: 100%" ng-show="active !== 'all'"/>
- <a class="btn input-group-addon" href="javascript:void(0)" ng-click="onSearch(keyword)" ng-show="active !== 'all'">搜索</a>
- <input type="search" class="form-control input-sm" ng-model="keyword" ng-search="onSearch(keyword)" placeholder="供应商名称" style="width: 100%" ng-show="active === 'all' && !showNotCheck" />
- <a class="btn input-group-addon" ng-click="onSearch(keyword)" ng-show="active === 'all' && !showNotCheck">搜索</a>
- </div>
- </div>
- </div>
- </div>
- <div class="more-list more" ng-class="{'open': condition.$open}">
- <form class="form-inline">
- <div class="form-group ">
- <label>日期:</label>
- <div class="btn-group btn-menu" dropdown is-open="condition.$dateZoneOpen">
- <ul class="dropdown-menu">
- <li><a ng-click="changeDateZone(1)">一个月内</a></li>
- <li><a ng-click="changeDateZone(6)">半年内</a></li>
- <li><a ng-click="changeDateZone()">半年前</a></li>
- </ul>
- </div>
- <div class="form-group input-group input-group-xs input-trigger">
- <input type="text" ng-model="condition.dateFrom"
- class="form-control" placeholder="从"
- datepicker-popup="yyyy-MM-dd" is-open="condition.$fromOpened"
- ng-required="true" max-date = "condition.dateTo"
- current-text="今天" clear-text="清除" close-text="关闭"
- datepicker-options="{formatDayTitle: 'yyyy年M月', formatMonth: 'M月', showWeeks: false}"
- ng-focus="openFilterDatePicker($event, condition, '$fromOpened')">
- <span class="input-group-btn">
- <button type="button" class="btn btn-default"
- ng-click="openFilterDatePicker($event, condition, '$fromOpened')">
- <i class="fa fa-calendar"></i>
- </button>
- </span>
- </div>
- <div class="form-group input-group input-group-xs input-trigger">
- <input type="text" ng-model="condition.dateTo"
- class="form-control" placeholder="到"
- datepicker-popup="yyyy-MM-dd" is-open="condition.$toOpened"
- ng-required="true" min-date = "condition.dateFrom"
- current-text="今天" clear-text="清除" close-text="关闭"
- datepicker-options="{formatDayTitle: 'yyyy年M月', formatMonth: 'M月', showWeeks: false}"
- ng-focus="openFilterDatePicker($event, condition, '$toOpened')">
- <span class="input-group-btn">
- <button type="button" class="btn btn-default"
- ng-click="openFilterDatePicker($event, condition, '$toOpened')">
- <i class="fa fa-calendar"></i>
- </button>
- </span>
- </div>
- </div>
- </form>
- </div>
- </div>
- </div>
- <div ng-if="active === 'all'">
- <table class="order-table block order-table2" ng-table="tableParams" width="100%" style="table-layout:fixed">
- <thead>
- <tr class="header">
- <th width="180">应付供应商名称</th>
- <th width="140">本月应付</th>
- <th width="140">本月未对</th>
- <th width="140">本月已对</th>
- <!--<th width="140">本月已付</th>-->
- <th width="140">应付总额</th>
- <th width="80">操作</th>
- </tr>
- </thead>
- <tbody ng-repeat="check in ALLList">
- <tr >
- <td style="color: #3f84f6">{{::check.vendorEnterprise.enName}}</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.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.apCheckAmounts.length > 0">-->
- <!--<div ng-repeat="count in check.apCheckAmounts">-->
- <!--<span ng-if="count.amount > 0">{{count.currency}}:{{count.amount | number:2}}</span>-->
- <!--</div>-->
- <!--</td>-->
- <!--<td ng-if="check.apCheckAmounts.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="!ALLList || ALLList.length == 0">
- <tr>
- <td colspan="6">
- <div id="empty">
- <div class="left_img">
- <a><img src="static/img/empty/uas_empty.png"></a>
- <a>B2B 商务</a>
- </div>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div ng-if="active !== 'all'">
- <table class="order-table block" ng-table="tableParams">
- <thead>
- <tr class="header">
- <th width="150">对账期间</th>
- <th width="180">对账总额</th>
- <th width="180">对账人</th>
- </tr>
- </thead>
- <tbody ng-repeat="check in $data">
- <tr>
- <td class="first info" colspan="3">
- <div class="">
- <a href="javascript:void(0)" ng-if="!isUnread(check.id)">
- <i class="fa fa-circle-thin"></i>
- </a>
- <a href="javascript:void(0)" ng-if="isUnread(check.id)">
- <i class="fa fa-circle" style="color: #f40;"></i>
- </a>
- <span class="text-num" title="录单时间">{{::check.recordDate | date:'MM月dd日 HH:mm'}} <i class="fa fa-clock-o"></i></span>
- <span style="margin-left: 100px;width: 200px;display: inline-block;"><i class="fa fa-star" ng-class="{'text-default':check.status==201}"></i> {{::check.vendorName}}</span>
- <span style="margin-left: 200px;">单据编号:</span>
- <span class="text-num"><a ui-sref="fa.arCheck_detail({id:check.id})" title="点击查看详情" ng-click="setOrdersRead(check.id)" style="color: #5078cb">{{::check.code}}</a></span>
- </div>
- <div class="static">
- <p><span class="f14 text-num">{{::check.beginDate | date:'yyyy/MM/dd'}} - {{::check.endDate | date:'yyyy/MM/dd'}}</span></p>
- <p>
- <strong class="text-num">{{::(isUser?'-':(check.checkAmount | number:2))}}</strong>
- <span ng-if="!isUser" class="text-number">{{::check.currency}}</span>
- </p>
- <p style="text-align: center;margin-left: 0px">
- 对账人:{{::check.recorder}}
- </p>
- </div>
- </td>
- </tr>
- </tbody>
- <tbody ng-if="tableParams.total() == 0">
- <tr>
- <td colspan="3">
- <div id="empty">
- <div class="left_img">
- <a><img src="static/img/empty/uas_empty.png"></a>
- <a>B2B 商务</a>
- </div>
- <div class="right_link">
- </div>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- <div ng-hide="!showNotCheck" class="infoms add-apCheckList" >
- <form class="form-horizontal"
- style="padding-top: 10px; padding-bottom: 20px;">
- <div class="form-group form-group-sm form-group-inline">
- <div class="col-sm-6 control-label">
- <div style="text-align: left">
- <label>应付供应商:</label>
- <label style="text-align:left">
- {{suuorname}}
- </label>
- </div>
- <div style="text-align: left;margin-top: 20px">
- <label>本期间应付总额:</label>
- <label style="text-align:left;vertical-align: top;">
- <div ng-if="dataInfo.thisMonthCount.length > 0" ng-repeat="count in dataInfo.thisMonthCount">
- <span>{{count.currency}}:{{count.amount | number:2}}</span>
- </div>
- <div ng-if="dataInfo.thisMonthCount.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;">
- <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.apCheckAmounts.length > 0" ng-repeat="count in dataInfo.apCheckAmounts">-->
- <!--<span>{{count.currency}}:{{count.amount | number:2}}</span>-->
- <!--</div>-->
- <!--<div ng-if="dataInfo.apCheckAmounts.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.totalCount.length > 0" ng-repeat="count in dataInfo.totalCount">
- <span>{{count.currency }}:{{count.amount | number:2}}</span>
- </div>
- <div ng-if="dataInfo.totalCount.length === 0">
- 0
- </div>
- </label>
- </div>
- </div>
- <div class="col-sm-6 control-label condition">
- <div>
- <label class="control-label">请选择月份:</label>
- <span ng-click="addMouth(-1)" style="display: inline-block;
- width: 32px;
- height: 32px;
- border: 1px solid #ddd;
- text-align: center;
- 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;vertical-align: middle;padding-top: 0;" ng-click="apCheckCondition.$open = false">
- <wui-date
- format="yyyy-mm"
- placeholder="请选择或输入日期"
- id="date4"
- btns="{'ok':'确定','now':'此刻'}"
- ng-model="thisMouth"
- >
- </wui-date>
- </span><span ng-show="MouthinShow" ng-click="addMouth(1)" style="display: inline-block;
- width: 32px;
- height: 32px;
- border: 1px solid #ddd;
- text-align: center;
- 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" style="vertical-align: middle;padding-top: 0">
- <input type="radio" name="psa" ng-checked="apCheckCondition.$open === true" ng-model="apCheckCondition.$open" style="vertical-align: middle">自定义
- </label>
- </div>
- <div ng-hide="!apCheckCondition.$open" class="more open date fr apCheckCondition" style="margin-top: 14px;">
- <div class="form-inline">
- <div class="form-group">
- <div class="form-group input-group input-group-xs input-trigger">
- <input type="text" ng-model="apCheckCondition.dateFrom"
- class="form-control" placeholder="从"
- datepicker-popup="yyyy-MM-dd" is-open="apCheckCondition.$fromOpened"
- ng-required="true" max-date = "apCheckCondition.dateTo"
- current-text="今天" clear-text="清除" close-text="关闭"
- datepicker-options="{formatDayTitle: 'yyyy年M月', formatMonth: 'M月', showWeeks: false}"
- ng-focus="apCheckopenFilterDatePicker($event, apCheckCondition, '$fromOpened')"
- style="height: 26px">
- <span class="input-group-btn">
- <button type="button" class="btn btn-default"
- ng-click="apCheckopenFilterDatePicker($event, apCheckCondition, '$fromOpened')">
- <i class="fa fa-calendar"></i>
- </button>
- </span>
- </div>
- <em style="margin: 0 10px;display: inline-block">–</em>
- <div class="form-group input-group input-group-xs input-trigger">
- <input type="text" ng-model="apCheckCondition.dateTo"
- class="form-control" placeholder="到"
- datepicker-popup="yyyy-MM-dd" is-open="apCheckCondition.$toOpened"
- ng-required="true" min-date = "apCheckCondition.dateFrom"
- current-text="今天" clear-text="清除" close-text="关闭"
- datepicker-options="{formatDayTitle: 'yyyy年M月', formatMonth: 'M月', showWeeks: false}"
- ng-focus="apCheckopenFilterDatePicker($event, apCheckCondition, '$toOpened')" style="height: 26px">
- <span class="input-group-btn">
- <button type="button" class="btn btn-default"
- ng-click="apCheckopenFilterDatePicker($event, apCheckCondition, '$toOpened')">
- <i class="fa fa-calendar"></i>
- </button>
- </span>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="form-group form-group-sm form-group-inline">
- <div class="col-sm-12 text-right">
- <a ng-click="condition.$open=!condition.$open" class="text-simple"><span
- ng-bind="condition.$open ? '收起筛选条件' : '更多筛选条件'"></span><i
- class="fa fa-fw"
- ng-class="{'fa-angle-up': condition.$open, 'fa-angle-down': !condition.$open}"></i></a>
- <div class="btn-group btn-group-sm">
- <a class="btn btn-default" ng-click="searchOrder()" title="筛选"><i class="fa fa-search fa-fw btn-icon-left"></i>筛选</a>
- <a class="btn btn-default" ng-click="exportApcheckList()" title="导出Excel" ng-disabled="!data || data.length==0"><i class="fa fa-file-text fa-fw btn-icon-left"></i>导出</a>
- </div>
- </div>
- </div>
- <div class="form-group form-group-sm form-group-inline"
- ng-show="condition.$open">
- <label class="col-sm-2 control-label">送货工厂:</label>
- <div class="col-sm-4">
- <div class="form-group form-group-sm has-feedback">
- <input type="search" class="form-control input-sm"
- ng-model="factory" placeholder="请输入送货工厂名称" /><span
- class="form-control-feedback text-simple"><i
- class="fa fa-search"></i></span>
- </div>
- </div>
- <label class="col-sm-2 control-label">税 率:</label>
- <div class="col-sm-4">
- <div class="form-group form-group-sm has-feedback">
- <input type="search" class="form-control input-sm"
- ng-model="taxRate" placeholder="请输入税率" /><span
- class="form-control-feedback text-simple"><i
- class="fa fa-search"></i></span>
- </div>
- </div>
- </div>
- <div class="form-group form-group-sm form-group-inline"
- ng-show="condition.$open">
- <label class="col-sm-2 control-label">物料名称:</label>
- <div class="col-sm-4">
- <div class="form-group form-group-sm has-feedback">
- <input type="search" class="form-control input-sm"
- ng-model="prodTitle" placeholder="请输入物料名称" /><span
- class="form-control-feedback text-simple"><i
- class="fa fa-search"></i></span>
- </div>
- </div>
- <label class="col-sm-2 control-label">规 格:</label>
- <div class="col-sm-4">
- <div class="form-group form-group-sm has-feedback">
- <input type="search" class="form-control input-sm"
- ng-model="prodSpec" placeholder="请输入物料规格" /><span
- class="form-control-feedback text-simple"><i
- class="fa fa-search"></i></span>
- </div>
- </div>
- </div>
- <!--</div>-->
- </form>
- <!-- 标签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="70">采购单</th>
- <th width="60">发货单</th>
- <th width="60">验收单</th>
- <th width="70">物料编号</th>
- <th width="70">物料名称</th>
- <th width="70">规格型号</th>
- <th width="55">发货数量</th>
- <th width="100">验收数量</th>
- <th width="40">单价</th>
- <th width="40">税率</th>
- <th width="70">小计</th>
- <th width="100">
- 对账人<br />/日期
- </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="70">{{::check.ordercode}}</td>
- <td width="60">{{::check.sendcode}}</td>
- <td width="60">{{::check.inoutno}}</td>
- <td width="70" title="{{check.prodcode}}">
- {{::check.prodcode}}
- </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="55">{{::check.qty}}</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="100" ng-if="check.haveChecked === 1">
- <div>{{::check.recorder || '-'}}</div>
- <div>{{::check.apCheckDate | date:'yyyy年MM月dd日' || '-'}}</div>
- </td>
- <td width="100" ng-if="check.haveChecked !== 1">
- 未对账
- </td>
- <!--<td width="100">-->
- <!--<div>{{::check.recorder || '-'}}</div>-->
- <!--<div>{{::check.apCheckDate | date:'yyyy年MM月dd日' || '-'}}</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>
- </div>
- <div style="padding: 10px 20px">本期间应付总额:{{totalMoney | number:2 || 0}}</div>
- </div>
- </div>
- </div>
- <style>
- .order-table2 tbody td {
- text-align: center;
- padding: 20px 0
- }
- </style>
- <style>
- .wui-date-picker.left {
- margin-right : 0 !important;
- right: 0;
- left: auto
- }
- .add-apCheckList {
- background: #fff
- }
- .add-apCheckList input[type="checkbox"] {
- /*width: 16px;
- height: 16px*/
- }
- .add-apCheckList .table-wrap {
- overflow: hidden
- }
- .add-apCheckList .table-header-wrap {
- background: #f9f9f9;
- overflow-x: hidden;
- overflow-y: scroll;
- }
- .add-apCheckList .table-header-wrap table,.add-apCheckList .table-body-wrap table
- {
- width: 100%;
- table-layout: fixed;
- border-collapse: collapse;
- border-spacing: 0;
- margin-bottom: 0
- }
- .add-apCheckList .table-header-wrap th {
- text-align: center;
- }
- .add-apCheckList .table-body-wrap {
- max-height: 600px;
- overflow-x: auto;
- overflow-y: scroll;
- }
- .add-apCheckList td {
- word-break: break-all;
- text-align: center;
- }
- .add-apCheckList tbody {
- overflow: auto;
- }
- #order-detail-list .input-sm {
- border: #ccc 1px solid;
- }
- .infoms .has-feedback input[type="search"] {
- padding-right: 0 !important;
- }
- .infoms .table>tbody>tr>td{
- vertical-align: middle;
- }
- .infoms .form-horizontal .form-group-sm .control-label{
- font-size: 14px;
- }
- .infoms .form-group .form-control{
- font-size: 14px;
- }
- .wui-date.small .wui-date-picker {
- width: 260px
- }
- .wui-input {
- border: 1px solid #3f84f6;
- font-size: 14px;
- color: #3f84f6;
- font-weight: bold;
- }
- .wui-date-editor .iconfont {
- color: #3f84f6
- }
- .apCheckCondition ul {
- left: auto !important;
- right: 0;
- }
- </style>
|