|
|
@@ -1,485 +1,531 @@
|
|
|
<style>
|
|
|
-.order-table .header>th {
|
|
|
- height: 38px;
|
|
|
- text-align: center;
|
|
|
- background: #f5f5f5;
|
|
|
- border-top: 1px solid #e8e8e8;
|
|
|
- border-bottom: 1px solid #e8e8e8;
|
|
|
-}
|
|
|
-
|
|
|
-.order-table .sep-row {
|
|
|
- height: 10px;
|
|
|
-}
|
|
|
-
|
|
|
-.order-table .selector {
|
|
|
- vertical-align: middle;
|
|
|
- margin: 0 0 2px 0;
|
|
|
-}
|
|
|
-
|
|
|
-.toolbar label {
|
|
|
- margin-right: 10px;
|
|
|
- margin-bottom: 0;
|
|
|
-}
|
|
|
-
|
|
|
-.toolbar .select_all {
|
|
|
- margin: 0 6px 0 10px;
|
|
|
- line-height: 20px;
|
|
|
-}
|
|
|
-
|
|
|
-.toolbar .btn {
|
|
|
- -moz-border-radius: 2px;
|
|
|
- margin-right: 5px;
|
|
|
- border: 1px solid #dcdcdc;
|
|
|
- border-radius: 2px;
|
|
|
- -webkit-border-radius: 2px;
|
|
|
-}
|
|
|
-
|
|
|
-.order-table .order-hd {
|
|
|
- background: #f5f5f5;
|
|
|
- height: 40px;
|
|
|
- line-height: 40px;
|
|
|
-}
|
|
|
-
|
|
|
-.order-table .order-hd td.first {
|
|
|
- padding-left: 20px;
|
|
|
-}
|
|
|
-
|
|
|
-.order-table .order-hd .order-main span {
|
|
|
- margin-right: 8px;
|
|
|
-}
|
|
|
-
|
|
|
-.order-table .order-hd .order-code {
|
|
|
- font-style: normal;
|
|
|
- font-family: verdana;
|
|
|
-}
|
|
|
-
|
|
|
-.order-table .order-hd .order-sum {
|
|
|
- padding: 0 5px;
|
|
|
-}
|
|
|
-
|
|
|
-.order-table .order-hd .dropdown-toggle {
|
|
|
- line-height: 40px;
|
|
|
- display: block;
|
|
|
- /*padding: 0 10px;*/
|
|
|
-}
|
|
|
-
|
|
|
-.order-table>tbody {
|
|
|
- border: 1px solid transparent;
|
|
|
-}
|
|
|
-
|
|
|
-.order-table>tbody:hover {
|
|
|
- border-color: #56a022;
|
|
|
- border-width: 2px;
|
|
|
-}
|
|
|
-
|
|
|
-.order-table .operates {
|
|
|
- display: none;
|
|
|
-}
|
|
|
-
|
|
|
-.order-table>tbody:hover .operates {
|
|
|
- display: block;
|
|
|
-}
|
|
|
-
|
|
|
-.order-table .order-bd {
|
|
|
- border-bottom: 1px solid #e6e6e6;
|
|
|
-}
|
|
|
-
|
|
|
-.order-table .order-bd>td {
|
|
|
- padding: 10px 5px;
|
|
|
- vertical-align: top;
|
|
|
- position: relative;
|
|
|
-}
|
|
|
-
|
|
|
-.order-table .order-bd .product {
|
|
|
- padding-left: 20px;
|
|
|
-}
|
|
|
-
|
|
|
-.input-xs,.input-group-xs>.form-control,.input-group-xs>.input-group-addon,.input-group-xs>.input-group-btn>.btn
|
|
|
- {
|
|
|
- height: 26px;
|
|
|
- padding: 0 5px;
|
|
|
- font-size: 12px;
|
|
|
- line-height: 1.5;
|
|
|
- border-radius: 3px;
|
|
|
-}
|
|
|
-
|
|
|
-.order-snapshot .title {
|
|
|
- border-top: 1px dashed #ddd;
|
|
|
-}
|
|
|
-
|
|
|
-.order-snapshot .dl-horizontal dt {
|
|
|
- width: 60px;
|
|
|
- text-align: left;
|
|
|
- font-weight: normal;
|
|
|
- color: #999;
|
|
|
- padding: 4px 0;
|
|
|
-}
|
|
|
-
|
|
|
-.order-snapshot .dl-horizontal dd {
|
|
|
- margin-left: 80px;
|
|
|
- padding: 4px 0;
|
|
|
-}
|
|
|
-/*arrow*/
|
|
|
-.order-send {
|
|
|
- position: relative;
|
|
|
-}
|
|
|
-
|
|
|
-.order-send.arrow-border:before,.arrow-border:after {
|
|
|
- content: '';
|
|
|
- position: absolute;
|
|
|
- top: 20px;
|
|
|
- width: 0;
|
|
|
- height: 0;
|
|
|
- border: 7px solid transparent;
|
|
|
-}
|
|
|
-
|
|
|
-.order-send.arrow-border.arrow-bottom-right:before {
|
|
|
- content: '';
|
|
|
- position: absolute;
|
|
|
- left: -13px;
|
|
|
- border-bottom-color: #fff;
|
|
|
- border-right-color: #fff;
|
|
|
- margin-top: -10px;
|
|
|
-}
|
|
|
-.padding-20 {
|
|
|
- padding: 20px;
|
|
|
-}
|
|
|
-
|
|
|
-/* 动画 */
|
|
|
-.repeat.ng-enter,
|
|
|
-.repeat.ng-leave {
|
|
|
- -webkit-transition: 0.5s linear all;
|
|
|
- transition: 0.5s linear all;
|
|
|
-}
|
|
|
-
|
|
|
-.repeat.ng-enter,
|
|
|
-.repeat.ng-leave.ng-leave-active {
|
|
|
- opacity: 0;
|
|
|
-}
|
|
|
-
|
|
|
-.repeat.ng-leave,
|
|
|
-.repeat.ng-enter.ng-enter-active {
|
|
|
- opacity: 1;
|
|
|
-}
|
|
|
-
|
|
|
-/* 固定表头 */
|
|
|
-.fixedHeader {
|
|
|
- background-color: #f5f5f5;
|
|
|
- position: relative;
|
|
|
-}
|
|
|
+ .order-table .header > th {
|
|
|
+ height: 38px;
|
|
|
+ text-align: center;
|
|
|
+ background: #f5f5f5;
|
|
|
+ border-top: 1px solid #e8e8e8;
|
|
|
+ border-bottom: 1px solid #e8e8e8;
|
|
|
+ }
|
|
|
|
|
|
+ .order-table .sep-row {
|
|
|
+ height: 10px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .order-table .selector {
|
|
|
+ vertical-align: middle;
|
|
|
+ margin: 0 0 2px 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ .toolbar label {
|
|
|
+ margin-right: 10px;
|
|
|
+ margin-bottom: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ .toolbar .select_all {
|
|
|
+ margin: 0 6px 0 10px;
|
|
|
+ line-height: 20px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .toolbar .btn {
|
|
|
+ -moz-border-radius: 2px;
|
|
|
+ margin-right: 5px;
|
|
|
+ border: 1px solid #dcdcdc;
|
|
|
+ border-radius: 2px;
|
|
|
+ -webkit-border-radius: 2px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .order-table .order-hd {
|
|
|
+ background: #f5f5f5;
|
|
|
+ height: 40px;
|
|
|
+ line-height: 40px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .order-table .order-hd td.first {
|
|
|
+ padding-left: 20px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .order-table .order-hd .order-main span {
|
|
|
+ margin-right: 8px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .order-table .order-hd .order-code {
|
|
|
+ font-style: normal;
|
|
|
+ font-family: verdana;
|
|
|
+ }
|
|
|
+
|
|
|
+ .order-table .order-hd .order-sum {
|
|
|
+ padding: 0 5px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .order-table .order-hd .dropdown-toggle {
|
|
|
+ line-height: 40px;
|
|
|
+ display: block;
|
|
|
+ /*padding: 0 10px;*/
|
|
|
+ }
|
|
|
+
|
|
|
+ .order-table > tbody {
|
|
|
+ border: 1px solid transparent;
|
|
|
+ }
|
|
|
+
|
|
|
+ .order-table > tbody:hover {
|
|
|
+ border-color: #56a022;
|
|
|
+ border-width: 2px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .order-table .operates {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+
|
|
|
+ .order-table > tbody:hover .operates {
|
|
|
+ display: block;
|
|
|
+ }
|
|
|
+
|
|
|
+ .order-table .order-bd {
|
|
|
+ border-bottom: 1px solid #e6e6e6;
|
|
|
+ }
|
|
|
+
|
|
|
+ .order-table .order-bd > td {
|
|
|
+ padding: 10px 5px;
|
|
|
+ vertical-align: top;
|
|
|
+ position: relative;
|
|
|
+ }
|
|
|
+
|
|
|
+ .order-table .order-bd .product {
|
|
|
+ padding-left: 20px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .input-xs, .input-group-xs > .form-control, .input-group-xs > .input-group-addon, .input-group-xs > .input-group-btn > .btn {
|
|
|
+ height: 26px;
|
|
|
+ padding: 0 5px;
|
|
|
+ font-size: 12px;
|
|
|
+ line-height: 1.5;
|
|
|
+ border-radius: 3px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .order-snapshot .title {
|
|
|
+ border-top: 1px dashed #ddd;
|
|
|
+ }
|
|
|
+
|
|
|
+ .order-snapshot .dl-horizontal dt {
|
|
|
+ width: 60px;
|
|
|
+ text-align: left;
|
|
|
+ font-weight: normal;
|
|
|
+ color: #999;
|
|
|
+ padding: 4px 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ .order-snapshot .dl-horizontal dd {
|
|
|
+ margin-left: 80px;
|
|
|
+ padding: 4px 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ /*arrow*/
|
|
|
+ .order-send {
|
|
|
+ position: relative;
|
|
|
+ }
|
|
|
+
|
|
|
+ .order-send.arrow-border:before, .arrow-border:after {
|
|
|
+ content: '';
|
|
|
+ position: absolute;
|
|
|
+ top: 20px;
|
|
|
+ width: 0;
|
|
|
+ height: 0;
|
|
|
+ border: 7px solid transparent;
|
|
|
+ }
|
|
|
+
|
|
|
+ .order-send.arrow-border.arrow-bottom-right:before {
|
|
|
+ content: '';
|
|
|
+ position: absolute;
|
|
|
+ left: -13px;
|
|
|
+ border-bottom-color: #fff;
|
|
|
+ border-right-color: #fff;
|
|
|
+ margin-top: -10px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .padding-20 {
|
|
|
+ padding: 20px;
|
|
|
+ }
|
|
|
+
|
|
|
+ /* 动画 */
|
|
|
+ .repeat.ng-enter,
|
|
|
+ .repeat.ng-leave {
|
|
|
+ -webkit-transition: 0.5s linear all;
|
|
|
+ transition: 0.5s linear all;
|
|
|
+ }
|
|
|
+
|
|
|
+ .repeat.ng-enter,
|
|
|
+ .repeat.ng-leave.ng-leave-active {
|
|
|
+ opacity: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ .repeat.ng-leave,
|
|
|
+ .repeat.ng-enter.ng-enter-active {
|
|
|
+ opacity: 1;
|
|
|
+ }
|
|
|
+
|
|
|
+ /* 固定表头 */
|
|
|
+ .fixedHeader {
|
|
|
+ background-color: #f5f5f5;
|
|
|
+ position: relative;
|
|
|
+ }
|
|
|
+
|
|
|
+ .menu .new-dot {
|
|
|
+ width: 20px;
|
|
|
+ height: 20px;
|
|
|
+ line-height: 20px;
|
|
|
+ font-size: 12px;
|
|
|
+ color: #fff;
|
|
|
+ font-weight: inherit;
|
|
|
+ top: -2px;
|
|
|
+ }
|
|
|
</style>
|
|
|
<link rel="stylesheet" href="static/css/public.css">
|
|
|
<div class="block" id="public">
|
|
|
-<div class="loading in" ng-class="{'in': loading}">
|
|
|
- <i></i>
|
|
|
-</div>
|
|
|
-<div class="pub-com_head">
|
|
|
- <span>客户发货提醒</span>
|
|
|
- <div class="p-right">
|
|
|
- <a href="sale/notice/xls?_state={{active}}&keyword={{keywordXls}}&fromDate={{fromDateXls}}&endDate={{endDateXls}}" target="_self" class="text-simple" title="导出Excel表格"><i class="fa fa-file-excel-o fa-fw"></i>导出</a>
|
|
|
- </div>
|
|
|
-</div>
|
|
|
-<div class="menu condition block">
|
|
|
- <div class="row">
|
|
|
- <div class="col-xs-4">
|
|
|
- <div class="btn-group btn-group-sm btn-group-justified">
|
|
|
- <div class="btn-group btn-group-sm">
|
|
|
- <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=='done'}" ng-click="setActive('done')">已发货</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" title="暂时还未到可发货日期">
|
|
|
- <button type="button" class="btn btn-default btn-line"
|
|
|
- ng-class="{'btn-info':active=='waiting'}" ng-click="setActive('waiting')">备料中</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')">已取消</button>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-<!--<div class="height10"> </div>-->
|
|
|
- <div class="condition block">
|
|
|
- <div class="search-bg condition block" style="padding: 10px 15px;">
|
|
|
- <div class="row">
|
|
|
- <div id="topSearch" 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 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()" placeholder="输入单据编号、客户名称、物料名称搜索" style="width: 100%"/>
|
|
|
- <a class="btn input-group-addon" ng-click="onSearch()">搜索</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">
|
|
|
+ <div class="loading in" ng-class="{'in': loading}">
|
|
|
+ <i></i>
|
|
|
+ </div>
|
|
|
+ <div class="pub-com_head">
|
|
|
+ <span>客户发货提醒</span>
|
|
|
+ <div class="p-right">
|
|
|
+ <a href="sale/notice/xls?_state={{active}}&keyword={{keywordXls}}&fromDate={{fromDateXls}}&endDate={{endDateXls}}"
|
|
|
+ target="_self" class="text-simple" title="导出Excel表格"><i class="fa fa-file-excel-o fa-fw"></i>导出</a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="menu condition block">
|
|
|
+ <div class="row">
|
|
|
+ <div class="col-xs-4">
|
|
|
+ <div class="btn-group btn-group-sm btn-group-justified">
|
|
|
+ <div class="btn-group btn-group-sm">
|
|
|
+ <button type="button" class="btn btn-default btn-line"
|
|
|
+ ng-class="{'btn-info':active=='all'}" ng-click="setActive('all')">全部
|
|
|
+ <b class="new-dot" ng-if="unread.all > 0">{{unread.all>99?'99+':unread.all}}</b>
|
|
|
+ </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=='todo'}" ng-click="setActive('todo')">待发货
|
|
|
+ <b class="new-dot" ng-if="unread.notReply > 0">{{unread.notReply>99?'99+':unread.notReply}}</b>
|
|
|
+ </button>
|
|
|
+ </div>
|
|
|
+ <div class="btn-group btn-group-sm" title="暂时还未到可发货日期">
|
|
|
+ <button type="button" class="btn btn-default btn-line"
|
|
|
+ ng-class="{'btn-info':active=='waiting'}" ng-click="setActive('waiting')">备料中
|
|
|
+ </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')">已取消
|
|
|
+ </button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!--<div class="height10"> </div>-->
|
|
|
+ <div class="condition block">
|
|
|
+ <div class="search-bg condition block" style="padding: 10px 15px;">
|
|
|
+ <div class="row">
|
|
|
+ <div id="topSearch" 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 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()" placeholder="输入单据编号、客户名称、物料名称搜索" style="width: 100%"/>
|
|
|
+ <a class="btn input-group-addon" ng-click="onSearch()">搜索</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')">
|
|
|
+ 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">
|
|
|
+ </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')">
|
|
|
+ ng-click="openFilterDatePicker($event, condition, '$toOpened')">
|
|
|
<i class="fa fa-calendar"></i>
|
|
|
</button>
|
|
|
</span>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </form>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-
|
|
|
-<table class="order-table block" ng-table="tableParams">
|
|
|
- <thead>
|
|
|
- <tr class="header">
|
|
|
- <th width="200">产品</th>
|
|
|
- <th width="150">备注</th>
|
|
|
- <th width="160">数量</th>
|
|
|
- <th width="140">价格</th>
|
|
|
- <th width="140">交货日期</th>
|
|
|
- <th width="100">操作</th>
|
|
|
- </tr>
|
|
|
- <tr class="sep-row">
|
|
|
- <td colspan="6"></td>
|
|
|
- </tr>
|
|
|
- <tr class="toolbar toolbar-top">
|
|
|
- <td colspan="5">
|
|
|
- <div>
|
|
|
- <label><input type="checkbox" class="selector select_all"
|
|
|
- ng-model="checkboxes.checked" ng-click="checkAll()">全选</label> <a href="javascript:void(0)"
|
|
|
- ng-disabled="active!='todo'" ng-click="sendByBatch()" class="btn btn-default btn-xs">批量发货</a>
|
|
|
- <span class="text-muted">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <table class="order-table block" ng-table="tableParams">
|
|
|
+ <thead>
|
|
|
+ <tr class="header">
|
|
|
+ <th width="200">产品</th>
|
|
|
+ <th width="150">备注</th>
|
|
|
+ <th width="160">数量</th>
|
|
|
+ <th width="140">价格</th>
|
|
|
+ <th width="140">交货日期</th>
|
|
|
+ <th width="100">操作</th>
|
|
|
+ </tr>
|
|
|
+ <tr class="sep-row">
|
|
|
+ <td colspan="6"></td>
|
|
|
+ </tr>
|
|
|
+ <tr class="toolbar toolbar-top">
|
|
|
+ <td colspan="5">
|
|
|
+ <div>
|
|
|
+ <label><input type="checkbox" class="selector select_all"
|
|
|
+ ng-model="checkboxes.checked" ng-click="checkAll()">全选</label> <a
|
|
|
+ href="javascript:void(0)"
|
|
|
+ ng-disabled="active!='todo'" ng-click="sendByBatch()" class="btn btn-default btn-xs">批量发货</a>
|
|
|
+ <span class="text-muted">
|
|
|
<i class="fa fa-exclamation-triangle"></i>批量发货要求对应订单的客户相同、币别相同、收款方式相同。
|
|
|
|
|
|
</span>
|
|
|
- </div> <!-- 分页 -->
|
|
|
- </td>
|
|
|
- <td class="text-center">
|
|
|
-
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr class="sep-row">
|
|
|
- <td colspan="6"></td>
|
|
|
- </tr>
|
|
|
- </thead>
|
|
|
- <tbody ng-repeat="notice in $data track by notice.id">
|
|
|
- <tr class="order-hd">
|
|
|
- <td class="first" colspan="3">
|
|
|
- <div class="order-main">
|
|
|
+ </div> <!-- 分页 -->
|
|
|
+ </td>
|
|
|
+ <td class="text-center">
|
|
|
+
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr class="sep-row">
|
|
|
+ <td colspan="6"></td>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody ng-repeat="notice in $data track by notice.id">
|
|
|
+ <tr class="order-hd">
|
|
|
+ <td class="first" colspan="3">
|
|
|
+ <div class="order-main">
|
|
|
<span> <input type="checkbox" ng-disabled="notice.waiting" class="selector"
|
|
|
- ng-model="notice.$selected" ng-click="checkOne(notice)">
|
|
|
+ ng-model="notice.$selected" ng-click="checkOne(notice)">
|
|
|
</span>
|
|
|
- <span class="text-num text-bold"
|
|
|
- ng-bind="::notice.date | date:'yyyy-MM-dd'"></span>
|
|
|
- <span
|
|
|
- ng-bind="notice.orderItem.order.enterprise.enName"></span>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- <td class="text-right" colspan="2" class="order-sum"><a
|
|
|
- class="dropdown-toggle" ui-sref="sale.order_detail({id:notice.orderItem.order.id})" target="_self"> <span
|
|
|
- class="text-num text-bold" ng-bind="::notice.orderItem.order.code"></span>
|
|
|
- 第{{notice.orderItem.number}}行 <i class="fa fa-fw fa-angle-down"></i>
|
|
|
- </a>
|
|
|
- <div class="dropdown-menu order-snapshot" style="padding: 10px 15px">
|
|
|
- <div class="text-center text-bold title">订单快照</div>
|
|
|
- <dl class="dl-horizontal">
|
|
|
- <dt>日期</dt>
|
|
|
- <dd>{{::notice.orderItem.order.date | date : 'yyyy-MM-dd'}}</dd>
|
|
|
- <dt>采购员</dt>
|
|
|
- <dd>{{::notice.orderItem.order.user.userName}}</dd>
|
|
|
- <dt>付款条件</dt>
|
|
|
- <dd>{{::notice.orderItem.order.payments}}</dd>
|
|
|
- <dt>付款币别</dt>
|
|
|
- <dd>{{::notice.orderItem.order.currency}}</dd>
|
|
|
- <dt>交货地址</dt>
|
|
|
- <dd>{{::notice.orderItem.order.shipAddress}}</dd>
|
|
|
- <dt>备注</dt>
|
|
|
- <dd>{{::notice.orderItem.order.remark}}</dd>
|
|
|
- </dl>
|
|
|
- </div></td>
|
|
|
- <td class="text-center">
|
|
|
- <div class="operates">
|
|
|
- <!-- <a ng-click="print(notice)" class="text-muted" title="打印"><i
|
|
|
- class="fa fa-print fa-lg"></i></a> -->
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr class="order-bd">
|
|
|
- <td class="product">
|
|
|
- <div class="text-num text-bold">
|
|
|
- <span ng-bind="::notice.orderItem.product.code"></span>
|
|
|
- </div>
|
|
|
- <div>
|
|
|
- <span ng-bind="::notice.orderItem.product.title"></span>
|
|
|
- </div>
|
|
|
- <div class="text-muted text-ellipsis"
|
|
|
- ng-bind="::notice.orderItem.product.spec"></div>
|
|
|
- <div class="text-bold text-inverse" ng-if="notice.orderItem.factory">送货工厂:<span ng-bind="::notice.orderItem.factory"></span></div>
|
|
|
- </td>
|
|
|
- <td class="text-center">
|
|
|
- <div ng-show="!notice.$editing">{{notice.remark}}</div>
|
|
|
- <div ng-if="notice.$editing">
|
|
|
- <input type="text" class="form-control input-xs"
|
|
|
- ng-model="notice.send.code" placeholder="送货单号">
|
|
|
- </div>
|
|
|
- <div style="margin: 5px auto" ng-if="notice.$editing" ng-click="autoCode(notice)">
|
|
|
- <button style="width: 100%;" class="btn btn-default btn-xs">生成随机单号</button>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- <td class="br-l">
|
|
|
- <div ng-show="notice.endQty >= notice.qty" class="text-center dropdown">
|
|
|
- <a href="javascript:void(0);" class="dropdown-toggle text-default" ng-mouseenter="getSends(notice)">发货记录<i class="fa fa-fw fa-angle-down"></i></a>
|
|
|
- <div class="dropdown-menu order-send arrow-border arrow-bottom-right" style="padding: 10px 15px">
|
|
|
- <span ng-if="notice.endQty ==0" class="text-muted">还未发货</span>
|
|
|
- <span ng-show="notice.getSendsing" class="text-muted">加载中...</span>
|
|
|
- <span ng-show="notice.getSendsError" class="text-muted">加载失败</span>
|
|
|
- <ul class="list-unstyled list-menu" ng-if="notice.sends">
|
|
|
- <li ng-repeat="send in notice.sends">
|
|
|
- <div ng-class="{'text-inverse': $index==0}">
|
|
|
- {{::send.send.date | date:'MM-dd HH:mm'}}
|
|
|
- </div>
|
|
|
- <div class="text-muted">{{::send.send.recorder}} 发货 {{::send.qty}} {{::send.orderItem.product.unit}}</div>
|
|
|
- <div class="text-muted">单号:{{::send.send.code}}
|
|
|
- <i class="fa fa-truck fa-flip-horizontal pull-right text-muted"></i>
|
|
|
- </div>
|
|
|
- <code ng-if="send.replyRemark"><i class="fa fa-fw fa-warning"></i><span ng-bind="::send.replyRemark"></span></code>
|
|
|
- </li>
|
|
|
- </ul>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div ng-show="!notice.endQty || notice.endQty < notice.qty">
|
|
|
- <div ng-show="!notice.$editing">
|
|
|
- <ul>
|
|
|
- <li>本次需求:{{::notice.qty}}</li>
|
|
|
- <li>剩余未发:<span class="text-num text-inverse"
|
|
|
- ng-bind="notice.qty-(notice.endQty || 0)"></span></li>
|
|
|
- <li><span>[订单数:{{::notice.orderItem.qty}}]</span></li>
|
|
|
- <li class="dropdown dropdown-submenu"><a ng-click="" class="dropdown-toggle" ng-mouseenter="getSends(notice)"><span
|
|
|
- ng-class="{'text-muted' : notice.endQty == null || notice.endQty == 0,'text-default': notice.endQty > 0}">[已发货:{{notice.endQty}}]</span></a>
|
|
|
- <div class="dropdown-menu order-send arrow-border arrow-bottom-right"
|
|
|
- style="padding: 10px 15px; width: 240px;">
|
|
|
- <span ng-if="notice.endQty ==0" class="text-muted">还未发货</span>
|
|
|
- <span ng-show="notice.getSendsing" class="text-muted">加载中...</span>
|
|
|
- <span ng-show="notice.getSendsError" class="text-muted">加载失败</span>
|
|
|
- <ul class="list-unstyled list-menu" ng-if="notice.sends">
|
|
|
- <li ng-repeat="send in notice.sends">
|
|
|
- <div ng-class="{'text-inverse': $index==0}">
|
|
|
- {{::send.send.date | date:'MM-dd HH:mm'}}
|
|
|
- </div>
|
|
|
- <div class="text-muted">{{::send.send.recorder}} 发货 {{::send.qty}} {{::send.orderItem.product.unit}}</div>
|
|
|
- <div class="text-muted">单号:{{::send.send.code}}
|
|
|
- <i class="fa fa-truck fa-flip-horizontal pull-right text-muted"></i>
|
|
|
- </div>
|
|
|
- <code ng-if="send.replyRemark"><i class="fa fa-fw fa-warning"></i><span ng-bind="::send.replyRemark"></span></code>
|
|
|
- </li>
|
|
|
- </ul>
|
|
|
- </div>
|
|
|
- </li>
|
|
|
- </ul>
|
|
|
- </div>
|
|
|
- <div style="margin: 0 auto" ng-if="notice.$editing"
|
|
|
- ng-init="notice.send.qty=notice.qty-(notice.endQty || 0)">
|
|
|
- <input type="text" class="form-control input-xs"
|
|
|
- ng-model="notice.send.qty" placeholder="数量">
|
|
|
- </div>
|
|
|
- <div style="margin: 5px auto" ng-if="notice.$editing" >
|
|
|
+ <a href="javascript:void(0)" ng-if="!isUnread(notice.id)">
|
|
|
+ <i class="fa fa-circle-thin"></i>
|
|
|
+ </a>
|
|
|
+ <a href="javascript:void(0)" ng-if="isUnread(notice.id)">
|
|
|
+ <i class="fa fa-circle" style="color: #f40;"></i>
|
|
|
+ </a>
|
|
|
+ <span class="text-num text-bold"
|
|
|
+ ng-bind="::notice.date | date:'yyyy-MM-dd'"></span>
|
|
|
+ <span
|
|
|
+ ng-bind="notice.orderItem.order.enterprise.enName"></span>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ <td class="text-right" colspan="2" class="order-sum"><a
|
|
|
+ class="dropdown-toggle" ui-sref="sale.order_detail({id:notice.orderItem.order.id})" target="_self"> <span
|
|
|
+ class="text-num text-bold" ng-bind="::notice.orderItem.order.code" ng-click="setOrdersRead(notice.id)"></span>
|
|
|
+ 第{{notice.orderItem.number}}行 <i class="fa fa-fw fa-angle-down"></i>
|
|
|
+ </a>
|
|
|
+ <div class="dropdown-menu order-snapshot" style="padding: 10px 15px">
|
|
|
+ <div class="text-center text-bold title">订单快照</div>
|
|
|
+ <dl class="dl-horizontal">
|
|
|
+ <dt>日期</dt>
|
|
|
+ <dd>{{::notice.orderItem.order.date | date : 'yyyy-MM-dd'}}</dd>
|
|
|
+ <dt>采购员</dt>
|
|
|
+ <dd>{{::notice.orderItem.order.user.userName}}</dd>
|
|
|
+ <dt>付款条件</dt>
|
|
|
+ <dd>{{::notice.orderItem.order.payments}}</dd>
|
|
|
+ <dt>付款币别</dt>
|
|
|
+ <dd>{{::notice.orderItem.order.currency}}</dd>
|
|
|
+ <dt>交货地址</dt>
|
|
|
+ <dd>{{::notice.orderItem.order.shipAddress}}</dd>
|
|
|
+ <dt>备注</dt>
|
|
|
+ <dd>{{::notice.orderItem.order.remark}}</dd>
|
|
|
+ </dl>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ <td class="text-center">
|
|
|
+ <div class="operates">
|
|
|
+ <!-- <a ng-click="print(notice)" class="text-muted" title="打印"><i
|
|
|
+ class="fa fa-print fa-lg"></i></a> -->
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr class="order-bd">
|
|
|
+ <td class="product">
|
|
|
+ <div class="text-num text-bold">
|
|
|
+ <span ng-bind="::notice.orderItem.product.code"></span>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <span ng-bind="::notice.orderItem.product.title"></span>
|
|
|
+ </div>
|
|
|
+ <div class="text-muted text-ellipsis"
|
|
|
+ ng-bind="::notice.orderItem.product.spec"></div>
|
|
|
+ <div class="text-bold text-inverse" ng-if="notice.orderItem.factory">送货工厂:<span
|
|
|
+ ng-bind="::notice.orderItem.factory"></span></div>
|
|
|
+ </td>
|
|
|
+ <td class="text-center">
|
|
|
+ <div ng-show="!notice.$editing">{{notice.remark}}</div>
|
|
|
+ <div ng-if="notice.$editing">
|
|
|
+ <input type="text" class="form-control input-xs"
|
|
|
+ ng-model="notice.send.code" placeholder="送货单号">
|
|
|
+ </div>
|
|
|
+ <div style="margin: 5px auto" ng-if="notice.$editing" ng-click="autoCode(notice)">
|
|
|
+ <button style="width: 100%;" class="btn btn-default btn-xs">生成随机单号</button>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ <td class="br-l">
|
|
|
+ <div ng-show="notice.endQty >= notice.qty" class="text-center dropdown">
|
|
|
+ <a href="javascript:void(0);" class="dropdown-toggle text-default" ng-mouseenter="getSends(notice)">发货记录<i
|
|
|
+ class="fa fa-fw fa-angle-down"></i></a>
|
|
|
+ <div class="dropdown-menu order-send arrow-border arrow-bottom-right" style="padding: 10px 15px">
|
|
|
+ <span ng-if="notice.endQty ==0" class="text-muted">还未发货</span>
|
|
|
+ <span ng-show="notice.getSendsing" class="text-muted">加载中...</span>
|
|
|
+ <span ng-show="notice.getSendsError" class="text-muted">加载失败</span>
|
|
|
+ <ul class="list-unstyled list-menu" ng-if="notice.sends">
|
|
|
+ <li ng-repeat="send in notice.sends">
|
|
|
+ <div ng-class="{'text-inverse': $index==0}">
|
|
|
+ {{::send.send.date | date:'MM-dd HH:mm'}}
|
|
|
+ </div>
|
|
|
+ <div class="text-muted">{{::send.send.recorder}} 发货 {{::send.qty}}
|
|
|
+ {{::send.orderItem.product.unit}}
|
|
|
+ </div>
|
|
|
+ <div class="text-muted">单号:{{::send.send.code}}
|
|
|
+ <i class="fa fa-truck fa-flip-horizontal pull-right text-muted"></i>
|
|
|
+ </div>
|
|
|
+ <code ng-if="send.replyRemark"><i class="fa fa-fw fa-warning"></i><span
|
|
|
+ ng-bind="::send.replyRemark"></span></code>
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div ng-show="!notice.endQty || notice.endQty < notice.qty">
|
|
|
+ <div ng-show="!notice.$editing">
|
|
|
+ <ul>
|
|
|
+ <li>本次需求:{{::notice.qty}}</li>
|
|
|
+ <li>剩余未发:<span class="text-num text-inverse"
|
|
|
+ ng-bind="notice.qty-(notice.endQty || 0)"></span></li>
|
|
|
+ <li><span>[订单数:{{::notice.orderItem.qty}}]</span></li>
|
|
|
+ <li class="dropdown dropdown-submenu"><a ng-click="" class="dropdown-toggle"
|
|
|
+ ng-mouseenter="getSends(notice)"><span
|
|
|
+ ng-class="{'text-muted' : notice.endQty == null || notice.endQty == 0,'text-default': notice.endQty > 0}">[已发货:{{notice.endQty}}]</span></a>
|
|
|
+ <div class="dropdown-menu order-send arrow-border arrow-bottom-right"
|
|
|
+ style="padding: 10px 15px; width: 240px;">
|
|
|
+ <span ng-if="notice.endQty ==0" class="text-muted">还未发货</span>
|
|
|
+ <span ng-show="notice.getSendsing" class="text-muted">加载中...</span>
|
|
|
+ <span ng-show="notice.getSendsError" class="text-muted">加载失败</span>
|
|
|
+ <ul class="list-unstyled list-menu" ng-if="notice.sends">
|
|
|
+ <li ng-repeat="send in notice.sends">
|
|
|
+ <div ng-class="{'text-inverse': $index==0}">
|
|
|
+ {{::send.send.date | date:'MM-dd HH:mm'}}
|
|
|
+ </div>
|
|
|
+ <div class="text-muted">{{::send.send.recorder}} 发货 {{::send.qty}}
|
|
|
+ {{::send.orderItem.product.unit}}
|
|
|
+ </div>
|
|
|
+ <div class="text-muted">单号:{{::send.send.code}}
|
|
|
+ <i class="fa fa-truck fa-flip-horizontal pull-right text-muted"></i>
|
|
|
+ </div>
|
|
|
+ <code ng-if="send.replyRemark"><i class="fa fa-fw fa-warning"></i><span
|
|
|
+ ng-bind="::send.replyRemark"></span></code>
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ <div style="margin: 0 auto" ng-if="notice.$editing"
|
|
|
+ ng-init="notice.send.qty=notice.qty-(notice.endQty || 0)">
|
|
|
+ <input type="text" class="form-control input-xs"
|
|
|
+ ng-model="notice.send.qty" placeholder="数量">
|
|
|
+ </div>
|
|
|
+ <div style="margin: 5px auto" ng-if="notice.$editing">
|
|
|
<textarea cols="2" type="text" class="form-control input-xs"
|
|
|
- ng-model="notice.send.remark" placeholder="备注"></textarea>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- <td class="text-center br-l text-num">{{::currency(notice.orderItem.order.currency)}}{{::notice.orderItem.price | number:6}}</td>
|
|
|
- <td class="text-center br-l">
|
|
|
- <div><span ng-bind="::notice.delivery | date : 'yyyy-MM-dd'"></span></div>
|
|
|
- <div style="margin-top: 10px;" ng-if="notice.waiting" class="text-inverse">
|
|
|
- 可发货日期<br>
|
|
|
- <span ng-bind="::sendDate(notice) | date : 'yyyy-MM-dd'"></span>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- <td class="text-center br-l">
|
|
|
- <div ng-if="notice.endQty>=notice.qty" class="block">
|
|
|
- <span class="text-trans success">已发货</span>
|
|
|
- </div>
|
|
|
- <div ng-if="notice.end" class="block">
|
|
|
- <span class="text-trans warning">已取消</span>
|
|
|
- </div>
|
|
|
- <div ng-if="(!notice.endQty || notice.endQty<notice.qty) && !notice.end && !notice.waiting">
|
|
|
- <div ng-show="!notice.$editing">
|
|
|
- <div ng-show="!isInTruck(notice.id)">
|
|
|
- <div class="br-b">
|
|
|
- <a ng-click="notice.$editing=!notice.$editing"><i class="fa fa-send-o fa-lg"></i><br>发 货</a>
|
|
|
- </div>
|
|
|
- <div>
|
|
|
- <a ng-click="addtoTruck(notice)" class="text-simple"><i class="fa fa-ambulance fa-lg"></i><br>加入货车</a>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div ng-show="isInTruck(notice.id)">
|
|
|
- <div class="text-inverse">已加入<br>货车</div>
|
|
|
- <div><a ng-click="delFromTruck(notice)" class="text-simple">取出<i class="fa fa-fw fa-share"></i></a></div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div ng-show="notice.$editing">
|
|
|
- <div>
|
|
|
- <a ng-click="notice.$editing=!notice.$editing">取消</a>
|
|
|
- </div>
|
|
|
- <br>
|
|
|
- <div>
|
|
|
- <a ng-click="lockClick(notice);onReplyClick(notice);" ng-disabled="lockstatus" class="btn btn-link btn-xs text-inverse">确认发货</a>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div ng-if="(!notice.endQty || notice.endQty<notice.qty) && !notice.end && notice.waiting" class="text-muted">
|
|
|
- <div title="暂时不可发货"><i class="fa fa-cog fa-lg"></i><br>备料中</div>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </tbody>
|
|
|
-</table>
|
|
|
+ ng-model="notice.send.remark" placeholder="备注"></textarea>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ <td class="text-center br-l text-num">
|
|
|
+ {{::currency(notice.orderItem.order.currency)}}{{::notice.orderItem.price | number:6}}
|
|
|
+ </td>
|
|
|
+ <td class="text-center br-l">
|
|
|
+ <div><span ng-bind="::notice.delivery | date : 'yyyy-MM-dd'"></span></div>
|
|
|
+ <div style="margin-top: 10px;" ng-if="notice.waiting" class="text-inverse">
|
|
|
+ 可发货日期<br>
|
|
|
+ <span ng-bind="::sendDate(notice) | date : 'yyyy-MM-dd'"></span>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ <td class="text-center br-l">
|
|
|
+ <div ng-if="notice.endQty>=notice.qty" class="block">
|
|
|
+ <span class="text-trans success">已发货</span>
|
|
|
+ </div>
|
|
|
+ <div ng-if="notice.end" class="block">
|
|
|
+ <span class="text-trans warning">已取消</span>
|
|
|
+ </div>
|
|
|
+ <div ng-if="(!notice.endQty || notice.endQty<notice.qty) && !notice.end && !notice.waiting">
|
|
|
+ <div ng-show="!notice.$editing">
|
|
|
+ <div ng-show="!isInTruck(notice.id)">
|
|
|
+ <div class="br-b">
|
|
|
+ <a ng-click="notice.$editing=!notice.$editing"><i class="fa fa-send-o fa-lg"></i><br>发 货</a>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <a ng-click="addtoTruck(notice)" class="text-simple"><i
|
|
|
+ class="fa fa-ambulance fa-lg"></i><br>加入货车</a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div ng-show="isInTruck(notice.id)">
|
|
|
+ <div class="text-inverse">已加入<br>货车</div>
|
|
|
+ <div><a ng-click="delFromTruck(notice)" class="text-simple">取出<i
|
|
|
+ class="fa fa-fw fa-share"></i></a></div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div ng-show="notice.$editing">
|
|
|
+ <div>
|
|
|
+ <a ng-click="notice.$editing=!notice.$editing">取消</a>
|
|
|
+ </div>
|
|
|
+ <br>
|
|
|
+ <div>
|
|
|
+ <a ng-click="lockClick(notice);onReplyClick(notice);" ng-disabled="lockstatus"
|
|
|
+ class="btn btn-link btn-xs text-inverse">确认发货</a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div ng-if="(!notice.endQty || notice.endQty<notice.qty) && !notice.end && notice.waiting"
|
|
|
+ class="text-muted">
|
|
|
+ <div title="暂时不可发货"><i class="fa fa-cog fa-lg"></i><br>备料中</div>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
</div>
|