|
|
@@ -81,10 +81,15 @@
|
|
|
}
|
|
|
|
|
|
.order-table>tbody:hover {
|
|
|
- border-color: #56a022;
|
|
|
+ border-color: #3c7cf5;
|
|
|
border-width: 2px;
|
|
|
}
|
|
|
|
|
|
+ .order-table>tbody:hover .order-bd {
|
|
|
+ background: #f8fafe
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
.order-table .operates {
|
|
|
display: none;
|
|
|
}
|
|
|
@@ -185,8 +190,367 @@
|
|
|
color: #339999!important;
|
|
|
}
|
|
|
</style>
|
|
|
-<link rel="stylesheet" href="static/css/b2bPublic.css">
|
|
|
-<div class="block">
|
|
|
+<style>
|
|
|
+ .com_tab {
|
|
|
+ height: 40px;
|
|
|
+ margin-bottom: 10px;
|
|
|
+ }
|
|
|
+ .com_tab ul {
|
|
|
+ width: 100%;
|
|
|
+ margin: 0 auto;
|
|
|
+ height: 40px;
|
|
|
+ line-height: 40px;
|
|
|
+ background: #fff;
|
|
|
+ }
|
|
|
+ .com_tab ul li {
|
|
|
+ height: 40px;
|
|
|
+ text-align: center;
|
|
|
+ float: left;
|
|
|
+ position: relative;
|
|
|
+ min-width: 110px;
|
|
|
+ }
|
|
|
+ .com_tab:nth-of-type(1) ul li.active > a {
|
|
|
+ border-bottom: #fff;
|
|
|
+ background: #5078cb;
|
|
|
+ color: #fff !important;
|
|
|
+ }
|
|
|
+ .com_tab ul li a {
|
|
|
+ min-width: 110px;
|
|
|
+ }
|
|
|
+ .com_tab ul li > a {
|
|
|
+ font-size: 14px;
|
|
|
+ height: 40px;
|
|
|
+ padding: 0 20px;
|
|
|
+ display: inline-block;
|
|
|
+ }
|
|
|
+ .com_tab:nth-of-type(1) ul li::after {
|
|
|
+ background:url('/static/img/vendor/images/downicon.png')
|
|
|
+ width: 11px;
|
|
|
+ height: 6px;
|
|
|
+ position: absolute;
|
|
|
+ bottom: 0px;
|
|
|
+ left: 50%;
|
|
|
+ content: ' ';
|
|
|
+ margin-left: -5px;
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+ .com_tab ul li::after {
|
|
|
+ background:url('/static/img/vendor/images/downicon.png');
|
|
|
+ width: 11px;
|
|
|
+ height: 6px;
|
|
|
+ position: absolute;
|
|
|
+ bottom: 0px;
|
|
|
+ left: 50%;
|
|
|
+ content: ' ';
|
|
|
+ margin-left: -5px;
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+ .com_tab ul li.active:after {
|
|
|
+ display: block;
|
|
|
+ }
|
|
|
+ .oder01 ul li.active a{
|
|
|
+ border-bottom: 1px solid #fff;
|
|
|
+ color: #f15601;
|
|
|
+ }
|
|
|
+ .oder01 ul li.active a em {
|
|
|
+ color: #f15601;
|
|
|
+ }
|
|
|
+ .oder01 ul li a em {
|
|
|
+ color: #323232
|
|
|
+ }
|
|
|
+ .screen {
|
|
|
+ background: #fff;
|
|
|
+ padding-top: 10px;
|
|
|
+ padding-right: 11px;
|
|
|
+ line-height: 32px;
|
|
|
+ padding-left: 22px;
|
|
|
+ width: 100%;
|
|
|
+ height: 50px;
|
|
|
+ position: relative;
|
|
|
+ }
|
|
|
+ .screen .sreach input {
|
|
|
+ border: #5078cb 1px solid;
|
|
|
+ height: 32px;
|
|
|
+ width: 280px;
|
|
|
+ box-shadow: none;
|
|
|
+ padding-left: 10px;
|
|
|
+ background: #fff;
|
|
|
+ float: left;
|
|
|
+ vertical-align: middle;
|
|
|
+ font-size: 14px;
|
|
|
+ }
|
|
|
+ .screen .sreach a.seek {
|
|
|
+ width: 58px;
|
|
|
+ height: 32px;
|
|
|
+ background: #5078cb;
|
|
|
+ color: #fff;
|
|
|
+ line-height: 32px;
|
|
|
+ float: none;
|
|
|
+ border-radius: 2px;
|
|
|
+ vertical-align: unset;
|
|
|
+ }
|
|
|
+ .order-table {
|
|
|
+ background: #fff;
|
|
|
+ width: 100%;
|
|
|
+ }
|
|
|
+ .order-table .header > th {
|
|
|
+ height: 38px;
|
|
|
+ text-align: center;
|
|
|
+ background: #fff;
|
|
|
+ border-top: 1px solid #e8e8e8;
|
|
|
+ border-bottom: 1px solid #e8e8e8;
|
|
|
+ font-size: 14px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .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 {
|
|
|
+ position: relative;
|
|
|
+ padding: 0 5px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .order-table .order-hd .dropdown-toggle {
|
|
|
+ line-height: 40px;
|
|
|
+ display: block;
|
|
|
+ color: #5078cb;
|
|
|
+ /*padding: 0 10px;*/
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ .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;
|
|
|
+ }
|
|
|
+
|
|
|
+ .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-table .order-hd .dropdown-toggle:hover + .order-snapshot {
|
|
|
+ display: block;
|
|
|
+ }
|
|
|
+ .order-table .order-hd .order-snapshot{
|
|
|
+ padding: 10px 15px;
|
|
|
+ display: none;
|
|
|
+ width: 250px;
|
|
|
+ position: absolute;
|
|
|
+ top: 32px;
|
|
|
+ left: 39px;
|
|
|
+ border: 1px solid rgba(0,0,0,0.15);
|
|
|
+ -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.3);
|
|
|
+ -moz-box-shadow: 0 0 5px rgba(0,0,0,0.3);
|
|
|
+ -o-box-shadow: 0 0 5px rgba(0,0,0,0.3);
|
|
|
+ box-shadow: 0 0 5px rgba(0,0,0,0.3);
|
|
|
+ }
|
|
|
+ .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;
|
|
|
+ }
|
|
|
+
|
|
|
+ .menu .new-dot {
|
|
|
+ width: 20px;
|
|
|
+ height: 20px;
|
|
|
+ line-height: 20px;
|
|
|
+ font-size: 12px;
|
|
|
+ color: #fff;
|
|
|
+ font-weight: inherit;
|
|
|
+ top: -2px;
|
|
|
+ }
|
|
|
+ .f14{
|
|
|
+ font-size:14px;
|
|
|
+ }
|
|
|
+ .screen .sreach input {
|
|
|
+ width: 288px
|
|
|
+ }
|
|
|
+ .modal {
|
|
|
+ position: fixed;
|
|
|
+ top: 0;
|
|
|
+ right: 0;
|
|
|
+ bottom: 0;
|
|
|
+ left: 0;
|
|
|
+ z-index: 1050;
|
|
|
+ display: none;
|
|
|
+ overflow: hidden;
|
|
|
+ -webkit-overflow-scrolling: touch;
|
|
|
+ outline: 0;
|
|
|
+ margin: 0 !important;
|
|
|
+ }
|
|
|
+ .modal-open .modal {
|
|
|
+ overflow-x: hidden;
|
|
|
+ overflow-y: auto;
|
|
|
+ }
|
|
|
+ #empty {
|
|
|
+ padding: 70px 0;
|
|
|
+ margin: 0 auto;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+ #empty .left_img {
|
|
|
+ display: inline-block;
|
|
|
+ color: #3f84f6;
|
|
|
+ }
|
|
|
+ #empty .left_img a {
|
|
|
+ font-size: 25px;
|
|
|
+ color: #3f84f6;
|
|
|
+ }
|
|
|
+ #empty .right_link p {
|
|
|
+ margin: 0;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #666;
|
|
|
+ }
|
|
|
+ #empty_info .empty_title {
|
|
|
+ color: #3f84f6;
|
|
|
+ font-size: 18px;
|
|
|
+ }
|
|
|
+ #empty_info .empty_explain {
|
|
|
+ font-size: 16px;
|
|
|
+ color: #999;
|
|
|
+ }
|
|
|
+ #empty_info .empty_explain .info {
|
|
|
+ text-indent: -22px;
|
|
|
+ }
|
|
|
+ .f16 {
|
|
|
+ font-size: 16px !important;
|
|
|
+ }
|
|
|
+ .f14 {
|
|
|
+ font-size: 14px !important;
|
|
|
+ }
|
|
|
+ #empty_info {
|
|
|
+ padding-left: 60px;
|
|
|
+ padding-bottom: 40px;
|
|
|
+ }
|
|
|
+ table tbody tr td {
|
|
|
+ border-bottom: #e8e8e8 1px solid;
|
|
|
+ border-right: #e8e8e8 1px solid;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #666;
|
|
|
+ }
|
|
|
+ .ng-table-pager::after {
|
|
|
+ clear: both;
|
|
|
+ content: ' ';
|
|
|
+ zoom: 1;
|
|
|
+ display: block;
|
|
|
+ visibility: hidden;
|
|
|
+ }
|
|
|
+ .ng-table-pager {
|
|
|
+ padding-right: 20px;
|
|
|
+ padding-top: 50px;
|
|
|
+ margin-right: 0 !important;
|
|
|
+ }
|
|
|
+ .text-mns {
|
|
|
+ padding-right: 15px;
|
|
|
+ position: absolute;
|
|
|
+ bottom: 64px;
|
|
|
+ right: 20px;
|
|
|
+ font-size: 12px;
|
|
|
+ }
|
|
|
+ .Boom18 {
|
|
|
+ bottom: 18px;
|
|
|
+ }
|
|
|
+ .fixed {
|
|
|
+ position: absolute;
|
|
|
+ left: 0px;
|
|
|
+ top: 0px;
|
|
|
+ width: 40px;
|
|
|
+ }
|
|
|
+</style>
|
|
|
+<!--<div class="block user_right fr" id="public" style="position: relative">-->
|
|
|
<!--<div class="pub-com_head">-->
|
|
|
<!--<span>主动报价</span>-->
|
|
|
<!--<div class="p-right">-->
|
|
|
@@ -194,8 +558,8 @@
|
|
|
<!--<a href="#" ng-click="exportXls()" target="_self" class="text-simple" title="导出Excel表格"><i class="fa fa-file-text fa-fw"></i>导出</a>-->
|
|
|
<!--</div>-->
|
|
|
<!--</div>-->
|
|
|
-</div>
|
|
|
-<div id="public" class="block user_right fr">
|
|
|
+<!--</div>-->
|
|
|
+<div class="block user_right fr" id="public" style="position: relative">
|
|
|
<div class="tab_top" style="margin-bottom: 10px">
|
|
|
<ul class="fl" style="width: 100%">
|
|
|
<li ng-class="{'active': storeType=='seekPurchase'}"><a ui-sref="vendorSeekPurchase">公共询价</a></li>
|
|
|
@@ -208,7 +572,7 @@
|
|
|
<a ui-sref="sale_quotation_new" title="新增主动报价单" style="color: #5078cb;"><i class="fa fa-plus-square fa-fw"></i>新增</a>
|
|
|
</li>
|
|
|
<li class="down-purchase">
|
|
|
- <span ng-click="exportXls()">
|
|
|
+ <span ng-click="exportXls()" style="color:#5078cb">
|
|
|
<i class="fa fa-file-excel-o fa-fw"></i>导出Excel
|
|
|
</span>
|
|
|
<form style="display: none;" id="down-load-purchase" method="get">
|
|
|
@@ -217,101 +581,73 @@
|
|
|
</li>
|
|
|
</ul>
|
|
|
</div>
|
|
|
- <div class="menu condition block list">
|
|
|
- <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=='agreed'}"
|
|
|
- ng-click="setActive('agreed')">已采纳</button>
|
|
|
- </div>
|
|
|
- <div class="btn-group btn-group-sm">
|
|
|
- <button type="button" class="btn btn-default btn-line"
|
|
|
- ng-class="{'btn-info':active=='refused'}"
|
|
|
- ng-click="setActive('refused')">未采纳</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=='invalid'}"
|
|
|
- ng-click="setActive('invalid')">已失效</button>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ <div class="oder01" style="margin-bottom: 0px">
|
|
|
+ <ul>
|
|
|
+ <li ng-class="{'active': active=='all'}" ng-click="setActive('all')"><a> 全部</a></li>
|
|
|
+ <li ng-class="{'active': active=='done'}" ng-click="setActive('done');"><a>已报价</a></li>
|
|
|
+ <li ng-class="{'active': active=='agreed'}" ng-click="setActive('agreed')"><a>已采纳</a></li>
|
|
|
+ <li ng-class="{'active': active=='refused'}" ng-click="setActive('refused')"><a>未采纳</a></li>
|
|
|
+ <li ng-class="{'active': active=='todo'}" ng-click="setActive('todo')"><a>未提交</a></li>
|
|
|
+ <li ng-class="{'active': active=='invalid'}" ng-click="setActive('invalid')"><a>已失效</a></li>
|
|
|
+ </ul>
|
|
|
</div>
|
|
|
- <!--<div class="height10"> </div>-->
|
|
|
- <div class="condition block">
|
|
|
- <!--搜索时间筛选-->
|
|
|
- <div class="screen check-filter">
|
|
|
- <div class="radio-block date-radio">
|
|
|
- 时间筛选:
|
|
|
- <label class="com-check-radio">
|
|
|
- <input type="radio" id="oneMonth" name="date" ng-click="autoMonth = false;changeDateZone(1);condition.$open=false" checked>
|
|
|
- <label for="oneMonth"></label>
|
|
|
- 30天
|
|
|
- </label>
|
|
|
- <label class="com-check-radio">
|
|
|
- <input type="radio" id="threeMonth" name="date" ng-click="autoMonth = false;changeDateZone(3);condition.$open=false">
|
|
|
- <label for="threeMonth"></label>
|
|
|
- 90天
|
|
|
- </label>
|
|
|
- <label class="com-check-radio">
|
|
|
- <input type="radio" id="sixMonth" name="date" ng-click="autoMonth = false;changeDateZone(6);condition.$open=false">
|
|
|
- <label for="sixMonth"></label>
|
|
|
- 180天
|
|
|
- </label>
|
|
|
- <label class="com-check-radio">
|
|
|
- <input type="radio" id="autoMonth" name="date" ng-click="autoMonth = true;condition.$open=!condition.$open;changeDateZone(-1)">
|
|
|
- <label for="autoMonth"></label>
|
|
|
- 自定义
|
|
|
- </label>
|
|
|
- </div>
|
|
|
- <div class="sreach fr">
|
|
|
- <div ng-show="autoMonth" class="date fl">
|
|
|
- <div class="data-input">
|
|
|
- <input type="text" ng-model="condition.dateFrom"
|
|
|
- class="form-control select-adder" placeholder="起始时间"
|
|
|
- datepicker-popup="yyyy-MM-dd"
|
|
|
- is-open="condition.$fromOpened"
|
|
|
- max-date="condition.dateTo" current-text="今天" clear-text="清除" close-text="关闭"
|
|
|
- ng-click="openFilterDatePicker($event, condition, '$fromOpened')"
|
|
|
- ng-focus="openFilterDatePicker($event, condition, '$fromOpened')"
|
|
|
- datepicker-options="{formatDayTitle: 'yyyy年M月', formatMonth: 'M月', showWeeks: false}"
|
|
|
- />
|
|
|
- <button class="open" ng-click="openFilterDatePicker($event, condition, '$fromOpened')"></button>
|
|
|
- </div>
|
|
|
-
|
|
|
- <em>–</em>
|
|
|
- <div class="data-input">
|
|
|
- <input type="text" ng-model="condition.dateTo"
|
|
|
- class="form-control select-adder" placeholder="结束时间"
|
|
|
- datepicker-popup="yyyy-MM-dd"
|
|
|
- is-open="condition.$toOpened"
|
|
|
- min-date="condition.dateFrom" current-text="今天" clear-text="清除" close-text="关闭"
|
|
|
- ng-click="openFilterDatePicker($event, condition, '$toOpened')"
|
|
|
- ng-focus="openFilterDatePicker($event, condition, '$toOpened')"
|
|
|
- datepicker-options="{formatDayTitle: 'yyyy年M月', formatMonth: 'M月', showWeeks: false}"
|
|
|
- />
|
|
|
- <button class="open" ng-click="openFilterDatePicker($event, condition, '$toOpened')"></button>
|
|
|
- </div>
|
|
|
+ <div class="screen check-filter">
|
|
|
+ <div class="radio-block date-radio" style="width: 33%">
|
|
|
+ 时间:
|
|
|
+ <label class="com-check-radio">
|
|
|
+ <input type="radio" id="oneMonth" name="date" ng-click="changeDateZone(1);condition.$open=false" checked>
|
|
|
+ <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">
|
|
|
+ <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">
|
|
|
+ <label for="sixMonth"></label>
|
|
|
+ 180天
|
|
|
+ </label>
|
|
|
+ <label class="com-check-radio">
|
|
|
+ <input type="radio" id="autoMonth" name="date" ng-click="condition.$open=!condition.$open;changeDateZone(-1)">
|
|
|
+ <label for="autoMonth"></label>
|
|
|
+ 自定义
|
|
|
+ </label>
|
|
|
+ </div>
|
|
|
+ <div class="sreach fr">
|
|
|
+ <div ng-show="condition.$open" class="date fl">
|
|
|
+ <div class="data-input">
|
|
|
+ <input type="text" ng-model="condition.dateFrom"
|
|
|
+ class="form-control select-adder" placeholder="起始时间"
|
|
|
+ datepicker-popup="yyyy-MM-dd"
|
|
|
+ is-open="condition.$fromOpened"
|
|
|
+ max-date="condition.dateTo" current-text="今天" clear-text="清除" close-text="关闭"
|
|
|
+ ng-focus="openFilterDatePicker($event, condition, '$fromOpened')"
|
|
|
+ datepicker-options="{formatDayTitle: 'yyyy年M月', formatMonth: 'M月', showWeeks: false}"
|
|
|
+ style="width: 130px"
|
|
|
+ />
|
|
|
+ <button class="open" ng-click="openFilterDatePicker($event, condition, '$fromOpened')"></button>
|
|
|
</div>
|
|
|
- <div class="sreach-input fr">
|
|
|
- <input type="search" class="form-control input-sm" ng-model="keyword"
|
|
|
- ng-search="onSearch(keyword)" placeholder="输入单据编号、客户名称、物料名称搜索"/>
|
|
|
- <a class="btn input-group-addon" ng-click="onSearch(keyword)">搜索</a>
|
|
|
+
|
|
|
+ <em>–</em>
|
|
|
+ <div class="data-input">
|
|
|
+ <input type="text" ng-model="condition.dateTo"
|
|
|
+ class="form-control select-adder" placeholder="结束时间"
|
|
|
+ datepicker-popup="yyyy-MM-dd"
|
|
|
+ is-open="condition.$toOpened"
|
|
|
+ min-date="condition.dateFrom" current-text="今天" clear-text="清除" close-text="关闭"
|
|
|
+ ng-focus="openFilterDatePicker($event, condition, '$toOpened')"
|
|
|
+ datepicker-options="{formatDayTitle: 'yyyy年M月', formatMonth: 'M月', showWeeks: false}"
|
|
|
+ style="width: 130px"
|
|
|
+ />
|
|
|
+ <button class="open" ng-click="openFilterDatePicker($event, condition, '$toOpened')"></button>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div class="sreach-input fr">
|
|
|
+ <input type="search" placeholder="单据编号/客户名称/物料名称" class="form-control" ng-model="keyword" ng-search="onSearch()"/>
|
|
|
+ <a class="seek" href="javascript:void(0)" ng-click="onSearch()">搜索</a>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<table class="order-table block" ng-table="tableParams" >
|
|
|
@@ -325,9 +661,9 @@
|
|
|
<th width="120">有效期</th>
|
|
|
<th width="75">操作</th>
|
|
|
</tr>
|
|
|
- <tr class="sep-row">
|
|
|
- <td colspan="7"></td>
|
|
|
- </tr>
|
|
|
+ <!--<tr class="sep-row">-->
|
|
|
+ <!--<td colspan="7"></td>-->
|
|
|
+ <!--</tr>-->
|
|
|
</thead>
|
|
|
<tbody ng-if="tableParams.total() == 0">
|
|
|
<tr>
|
|
|
@@ -347,36 +683,45 @@
|
|
|
</tbody>
|
|
|
<tbody ng-repeat="quotationItem in $data track by quotationItem.id">
|
|
|
<tr class="order-hd">
|
|
|
- <td class="first" colspan="3">
|
|
|
+ <td class="first" colspan="7">
|
|
|
<div class="order-main">
|
|
|
<!--<span> <input type="checkbox" class="selector" ng-model="quotationItem.$selected"></span>-->
|
|
|
<span class="text-num text-bold" title="{{quotationItem.date}}">日期:<span ng-bind="::quotationItem.date | date:'yyyy-MM-dd'"></span></span>
|
|
|
<span><img src="static/img/user/images/shop_home.png"><span ng-bind="::quotationItem.cust.enName"></span></span>
|
|
|
- <span>流水号:<a class="text-num order-detail" ng-bind="::quotationItem.code" ui-sref="sale_quotation_item({id:quotationItem.id})" title="查看详情" target="_self"></a></span>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- <td ng-if="!isUser">
|
|
|
- 币别:<span ng-bind="::quotationItem.currency"></span>
|
|
|
- </td>
|
|
|
- <td ng-if="isUser"></td>
|
|
|
- <td>
|
|
|
- 税率:<span ng-bind="::quotationItem.taxrate || 0"></span>%
|
|
|
- </td>
|
|
|
- <td class="text-left" colspan="1" title="录入人">
|
|
|
- <i class="fa fa-user text-muted"></i> {{::quotationItem.user.userName}}
|
|
|
- </td>
|
|
|
- <td class="text-center">
|
|
|
- <div class="operates">
|
|
|
- <!-- <a ng-click="print(quotationItem)" class="text-muted" title="打印"><i
|
|
|
- class="fa fa-print fa-lg"></i></a> -->
|
|
|
+ <span>流水号:<a style="color: #5078cb" class="text-num order-detail" ng-bind="::quotationItem.code" ui-sref="sale_quotation_item({id:quotationItem.id})" title="查看详情" target="_self"></a></span>
|
|
|
+ <span ng-if="!isUser">币别:<span ng-bind="::quotationItem.currency"></span></span>
|
|
|
+ <span>税率:<span ng-bind="::quotationItem.taxrate || 0"></span>%</span>
|
|
|
+ <span title="录入人"><i class="fa fa-user text-muted"></i> {{::quotationItem.user.userName}}</span>
|
|
|
</div>
|
|
|
</td>
|
|
|
+ <!--<td ng-if="!isUser">-->
|
|
|
+ <!--币别:<span ng-bind="::quotationItem.currency"></span>-->
|
|
|
+ <!--</td>-->
|
|
|
+ <!--<td ng-if="isUser"></td>-->
|
|
|
+ <!--<td>-->
|
|
|
+ <!--税率:<span ng-bind="::quotationItem.taxrate || 0"></span>%-->
|
|
|
+ <!--</td>-->
|
|
|
+ <!--<td class="text-left" colspan="1" title="录入人">-->
|
|
|
+ <!--<i class="fa fa-user text-muted"></i> {{::quotationItem.user.userName}}-->
|
|
|
+ <!--</td>-->
|
|
|
+ <!--<td class="text-center">-->
|
|
|
+ <!--<div class="operates">-->
|
|
|
+ <!--<!– <a ng-click="print(quotationItem)" class="text-muted" title="打印"><i-->
|
|
|
+ <!--class="fa fa-print fa-lg"></i></a> –>-->
|
|
|
+ <!--</div>-->
|
|
|
+ <!--</td>-->
|
|
|
</tr>
|
|
|
<tr class="order-bd">
|
|
|
<td class="product" ng-repeat="pro in quotationItem.quotationItems">
|
|
|
- <div class="text-num text-bold" ng-bind="::pro.product.code"></div>
|
|
|
- <div ng-bind="::pro.product.title"></div>
|
|
|
- <div class="text-muted" ng-bind="::pro.product.spec"></div>
|
|
|
+ <div class="text-num text-bold">
|
|
|
+ 物料编号:{{::pro.product.code}}
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ 物料名称:{{::pro.product.title}}
|
|
|
+ </div>
|
|
|
+ <div class="text-muted">
|
|
|
+ 物料规格:{{::pro.product.spec}}
|
|
|
+ </div>
|
|
|
<div ng-if="::pro.brand && !pro.$editing" class="text-muted">
|
|
|
品牌:<span ng-bind="::pro.brand"></span>
|
|
|
</div>
|
|
|
@@ -484,5 +829,8 @@
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
+ <div ng-if="infoCommon.totalElement > 0" class="text-mns text-right" ng-class="infoCommon.totalElement >= 20 ? '': 'Boom18'">
|
|
|
+ 显示 {{(infoCommon .page - 1 ) * infoCommon.size + 1}}-{{infoCommon.all >= 20 ? infoCommon.page * infoCommon.size: (infoCommon.page - 1 ) * infoCommon.size + infoCommon.all}} 条,共 {{infoCommon.totalElement}} 条
|
|
|
+ </div>
|
|
|
</div>
|
|
|
-</div>
|
|
|
+<!--</div>-->
|