|
|
@@ -0,0 +1,575 @@
|
|
|
+<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>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>tbody:hover .operates-status {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+
|
|
|
+ .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;
|
|
|
+ }
|
|
|
+
|
|
|
+ .input-group-xs .form-control:last-child,.input-group-addon:last-child,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:last-child>.btn {
|
|
|
+ border-top-left-radius: 0;
|
|
|
+ border-bottom-left-radius: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ .modal-dialog {
|
|
|
+ margin-top: 110px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .sampleSend .col {
|
|
|
+ padding-left: 5px;
|
|
|
+ padding-right: 5px;
|
|
|
+ line-height: 30px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .sampleSend label {
|
|
|
+ font-weight: bold;
|
|
|
+ text-align: right;
|
|
|
+ font-family: "Microsoft YaHei","微软雅黑";
|
|
|
+ line-height: 30px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .menu .new-dot{
|
|
|
+ width: 20px;
|
|
|
+ height: 20px;
|
|
|
+ line-height: 20px;
|
|
|
+ font-size: 12px;
|
|
|
+ color: #fff;
|
|
|
+ font-weight: inherit;
|
|
|
+ top: -2px;
|
|
|
+ }
|
|
|
+</style>
|
|
|
+<style>
|
|
|
+ .order-table {
|
|
|
+ background: #fff;
|
|
|
+ width: 100%;
|
|
|
+ /*margin-bottom: 10px;*/
|
|
|
+ }
|
|
|
+ .order-table thead tr {
|
|
|
+ background: #fff;
|
|
|
+ }
|
|
|
+ .order-table .header>th {
|
|
|
+ height: 38px;
|
|
|
+ text-align: center;
|
|
|
+ /*background: #f5f5f5;*/
|
|
|
+ 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;*/
|
|
|
+ background: #f9f9f9;
|
|
|
+ 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-info {
|
|
|
+ padding-left: 20px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .order-table>tbody {
|
|
|
+ border: 1px solid #e8e8e8;
|
|
|
+ }
|
|
|
+
|
|
|
+ .order-table>tbody:hover {
|
|
|
+ border-color: #3f84f6;
|
|
|
+ border-width: 2px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .order-table>tbody:hover tr.order-bd {
|
|
|
+ background:#f8fafe
|
|
|
+ }
|
|
|
+ .order-table .operates {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+
|
|
|
+ .order-table>tbody:hover .operates {
|
|
|
+ display: block;
|
|
|
+ }
|
|
|
+
|
|
|
+ .order-table .order-bd {
|
|
|
+ border-top: 1px solid #e8e8e8;
|
|
|
+ /*border-bottom: 1px solid #e6e6e6;*/
|
|
|
+ }
|
|
|
+
|
|
|
+ .order-table .order-bd>td {
|
|
|
+ /*height: 140px;*/
|
|
|
+ vertical-align: middle;
|
|
|
+ position: relative;
|
|
|
+ padding: 25px 0;
|
|
|
+ border-right: 1px solid #e8e8e8;
|
|
|
+ }
|
|
|
+ .order-table .order-bd>td:nth-last-of-type(1) {
|
|
|
+ border-right: 0px
|
|
|
+ }
|
|
|
+
|
|
|
+ .order-table .order-bd .product {
|
|
|
+ padding-left: 31px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .menu .new-dot{
|
|
|
+ width: 20px;
|
|
|
+ height: 20px;
|
|
|
+ line-height: 20px;
|
|
|
+ font-size: 12px;
|
|
|
+ color: #fff;
|
|
|
+ font-weight: inherit;
|
|
|
+ top: -2px;
|
|
|
+ }
|
|
|
+ .screen .radio-block.date-radio {
|
|
|
+ width: auto
|
|
|
+ }
|
|
|
+ .order-table span,.order-table div {
|
|
|
+ font-size: 14px;
|
|
|
+ color: #333;
|
|
|
+ }
|
|
|
+ .clearfix::after {
|
|
|
+ clear:both;
|
|
|
+ zoom: 1;
|
|
|
+ content: ' ';
|
|
|
+ display: block;
|
|
|
+ visibility: hidden;
|
|
|
+ }
|
|
|
+ .order-table .order-bd .order-number {
|
|
|
+ position: absolute;
|
|
|
+ top: -1px;
|
|
|
+ left: -1px;
|
|
|
+ width: 20px;
|
|
|
+ height: 20px;
|
|
|
+ line-height: 20px;
|
|
|
+ text-align: center;
|
|
|
+ background: #f9f9f9;
|
|
|
+ font-weight: 500;
|
|
|
+ border: solid 1px #d5d5d5;
|
|
|
+ border-radius: 0 0 10px 0;
|
|
|
+ }
|
|
|
+ .text-trans {
|
|
|
+ top: 22px;
|
|
|
+ right: 6px;
|
|
|
+ }
|
|
|
+ .oder{
|
|
|
+ /*background: #fff;*/
|
|
|
+ /*padding-bottom: 60px;*/
|
|
|
+ position: relative;
|
|
|
+ }
|
|
|
+ .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;
|
|
|
+ }
|
|
|
+ .order-table>tbody:hover .operates-status {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+ .Boom18 {
|
|
|
+ bottom: 18px
|
|
|
+ }
|
|
|
+</style>
|
|
|
+<div class="user_right fr" style="position: relative">
|
|
|
+
|
|
|
+ <div class="tab_top" style="margin-bottom: 10px">
|
|
|
+ <ul class="fl" style="width: 100%">
|
|
|
+ <li ng-class="{'active': storeType=='sample'}"><a>客户打样申请</a></li>
|
|
|
+ <li ng-class="{'active': storeType=='approval'}"><a ui-sref="sale_approval">客户认定单</a></li>
|
|
|
+ <li class="down-purchase" style="float:right;color: #5078cb;margin-right: 5px;"><span ng-click="exportXls()"><i class="fa fa-file-excel-o fa-fw"></i>导出Excel</span></li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ <div class="oder01" style="margin-bottom: 0px">
|
|
|
+ <ul>
|
|
|
+ <li ng-class="{'active': active=='all'}" ng-click="setActive('all')"><a> 全部(<em ng-class="{'color-black': !unread.all }" ng-bind="unread.all || 0"></em>)</a></li>
|
|
|
+ <li ng-class="{'active': active=='done'}" ng-click="setActive('done');"><a>已送样(<em ng-class="{'color-black': !unread.notReply }" ng-bind="unread.notReply || 0"></em>)</a></li>
|
|
|
+ <li ng-class="{'active': active=='todo'}" ng-click="setActive('todo')"><a>待送样(<em ng-class="{'color-black': !unread.replied }" ng-bind="unread.replied || 0"></em>)</a></li>
|
|
|
+ <li ng-class="{'active': active=='invalid'}" ng-click="setActive('invalid')"><a>已作废</a></li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ <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>
|
|
|
+ <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">
|
|
|
+ <thead>
|
|
|
+ <tr class="header">
|
|
|
+ <th>样品</th>
|
|
|
+ <th width="120">数量</th>
|
|
|
+ <th width="60">是否收费</th>
|
|
|
+ <th width="140">单价</th>
|
|
|
+ <th width="120">需求日期</th>
|
|
|
+ <th width="100">操作</th>
|
|
|
+ </tr>
|
|
|
+ <!--<tr class="sep-row">-->
|
|
|
+ <!--<td colspan="5"></td>-->
|
|
|
+ <!--</tr>-->
|
|
|
+ </thead>
|
|
|
+ <tbody ng-repeat="sample in $data">
|
|
|
+ <tr class="order-hd">
|
|
|
+ <td class="first" colspan="3">
|
|
|
+ <div class="order-main">
|
|
|
+ <a href="javascript:void(0)" ng-if="!isUnread(sample.id)" class="circle-icon">
|
|
|
+ 已读
|
|
|
+ </a>
|
|
|
+ <a href="javascript:void(0)" ng-if="isUnread(sample.id)" class="no-circle-icon">
|
|
|
+ 未读
|
|
|
+ </a>
|
|
|
+ <!--<span> <input type="checkbox" class="selector"
|
|
|
+ ng-model="sample.$selected">
|
|
|
+ </span> --><span class="text-num text-bold" title="{{sample.proofing.date | date: 'yyyy年MM月dd日 hh:mm'}}">
|
|
|
+ 日期:{{sample.proofing.date | date:'yyyy-MM-dd'}}
|
|
|
+ </span>
|
|
|
+ <span title="客户名称"><img src="static/img/user/images/shop_home.png">{{sample.proofing.enterprise.enName}}</span>
|
|
|
+ <span>流水号:<a class="text-num order-detail" ng-bind="::sample.proofing.code" title="查看详情"
|
|
|
+ ui-sref="sale_sample_detail({id:sample.id})" target="_self" style="color:#5078cb"
|
|
|
+ ng-click="setOrdersRead(sample.id)"></a>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ <td class="text-center" colspan="2" >
|
|
|
+ <div ng-show="sample.proofing.isCharge == '是' && !isUser">
|
|
|
+ 总额:<span class="text-num" ng-bind="sample.amount | currency: currency(sample.currency)" style="font-weight: bold;"></span>RMB
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ <td colspan="1" class="text-center">
|
|
|
+ <span ng-if="sample.print && sample.status != 315" class="label ng-scope operates-status" style="color: #3c7cf5;background: #fff;margin-right: 5px;border:1px solid #3c7cf5">已打印</span>
|
|
|
+ <span ng-if="!sample.print && sample.status != 315" class="label ng-scope operates-status" style="color: #fff;background: #3c7cf5;margin-right: 5px;border: 1px solid #3c7cf5;">未打印</span>
|
|
|
+ <div class="operates">
|
|
|
+ <a href="#" ng-if="sample.status != 315" ng-click="print(sample)" class="text-muted" title="打印">
|
|
|
+ <i class="fa fa-print fa-lg fa-fw"></i>打印
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr class="order-bd">
|
|
|
+ <td class="product">
|
|
|
+ <div class="text-num text-bold">
|
|
|
+ <span>
|
|
|
+ 物料编码:{{sample.proofing.product.code}}
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <span>
|
|
|
+ 物料名称:{{sample.proofing.product.title}}
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ <div class="text-muted" title="{{sample.proofing.product.spec}}">
|
|
|
+ 物料规格:{{sample.proofing.product.spec}}
|
|
|
+ </div>
|
|
|
+ <div ng-if="sample.proofing.envrequiry" title="环保要求">
|
|
|
+ <i class="fa fa-tree fa-fw" style="color: #33CC33; font-size: 18px;"></i> 环保要求:<span ng-bind="::sample.proofing.envrequiry"></span>
|
|
|
+ </div>
|
|
|
+ <div ng-if="sample.proofing.attachs.length > 0">
|
|
|
+ <div ng-repeat="attach in sample.proofing.attachs">
|
|
|
+ <i class="fa fa-paperclip fa-fw" style="color: #ffa340; font-size: 18px;"></i>附件:<a class="file" href="file/{{attach.id}}" ng-bind="::attach.name"></a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ <td class="text-center">
|
|
|
+ <div class="text-num text-bold"
|
|
|
+ title="{{sample.qty}}" ng-bind="sample.qty"></div>
|
|
|
+ <div class="text-muted" ng-bind="sample.proofing.product.unit"></div>
|
|
|
+ </td>
|
|
|
+ <td class="text-center">
|
|
|
+ <div ng-show="sample.proofing.isCharge == '是'">是</div>
|
|
|
+ <div ng-show="sample.proofing.isCharge != '是'">否</div>
|
|
|
+ </td>
|
|
|
+ <td class="text-center">
|
|
|
+ <div ng-show="sample.proofing.isCharge == '是' && !isUser" class="text-num">
|
|
|
+ <span ng-bind="sample.currency"></span>
|
|
|
+ <span ng-bind="::sample.price | number:6"></span>
|
|
|
+ </div>
|
|
|
+ <div ng-show="sample.proofing.isCharge == '是'" class="text-muted">
|
|
|
+ 税率:<span class="text-num" ng-bind="::sample.taxrate"></span>%
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ <td class="text-center br-l">
|
|
|
+ <div class="text-num" title="交货日期"
|
|
|
+ ng-bind="sample.proofing.delivery | date: 'yyyy-MM-dd'"></div><br>
|
|
|
+ <div ng-if="sample.status == 400" class="dropdown text-center">
|
|
|
+ <a href="javascript:void(0);"
|
|
|
+ class="dropdown-toggle text-default"
|
|
|
+ ng-mouseover="getSend(sample)">送样信息<i
|
|
|
+ class="fa fa-fw fa-angle-down"></i></a>
|
|
|
+ <div class="dropdown-menu pane" style="width: 270px;">
|
|
|
+ <div class="pane-body">
|
|
|
+ <span ng-if="sample.getSendInfo" ng-bind="sample.getSendInfo"></span>
|
|
|
+ <ul ng-if="sample.sends" ng-repeat="send in sample.sends | orderBy : '-date'" class="list-unstyled list-menu">
|
|
|
+ <li>
|
|
|
+ <div class="row row-sm">
|
|
|
+ <div class="col-xs-7 text-inverse" ng-bind="send.date | date: 'yyyy-MM-dd HH:mm'"></div>
|
|
|
+ <div class="col-xs-5" ng-bind="send.recorder"></div>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ 送样单号:<span class="text-inverse" ng-bind="send.code"></span>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ 送样数量:<span class="text-num text-inverse" ng-bind="send.sendQty"></span>
|
|
|
+ </div>
|
|
|
+ <div ng-if="send.puprice && !isUser">
|
|
|
+ 采购单价:<span class="text-num text-inverse" ng-bind="send.puprice | number:6"></span>
|
|
|
+ </div>
|
|
|
+ <div class="row row-sm">
|
|
|
+ <div class="col-xs-6" ng-if="send.minQty">最小包装量:<span ng-bind="send.minQty"></span></div>
|
|
|
+ <div class="col-xs-6" ng-if="send.minBuyQty">最小订购量:<span ng-bind="send.minBuyQty"></span></div>
|
|
|
+ </div>
|
|
|
+ <div class="row row-sm" ng-if="send.attachs.length > 0">
|
|
|
+ <div class="col-xs-3">附件:</div>
|
|
|
+ <div class="col-xs-9">
|
|
|
+ <div ng-repeat="attach in send.attachs"><a href="file/{{attach.id}}" class="file">{{attach.name}}</a></div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </td>
|
|
|
+ <td class="br-l text-center">
|
|
|
+ <div ng-show="sample.status == 401">
|
|
|
+ <a ng-click="openSend($index, sample)" class="text-muted" title="送样">
|
|
|
+ <i class="fa fa-paper-plane fa-lg fa-fw"></i><br>
|
|
|
+ 送样
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ <div ng-if="sample.status == 400 && !(sample.qty > (sample.sendQty || 0))" class="block">
|
|
|
+ <span class="text-trans success">已送样</span>
|
|
|
+ </div>
|
|
|
+ <div ng-if="sample.status == 400 && sample.qty > (sample.sendQty || 0)" class="block">
|
|
|
+ <span class="text-trans half">部分送样</span>
|
|
|
+ </div>
|
|
|
+ <div ng-if="sample.status == 400 && sample.qty > (sample.sendQty || 0)" style="margin-top: 40px;">
|
|
|
+ <a ng-click="openSend($index, sample)" class="text-muted" title="送样">
|
|
|
+ 送样
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ <div ng-if="sample.status == 315" class="block">
|
|
|
+ <span class="text-trans text-light">已作废</span>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ <tbody ng-if="$data.length === 0">
|
|
|
+ <tr>
|
|
|
+ <td colspan="6">
|
|
|
+ <div id="empty">
|
|
|
+ <div class="left_img">
|
|
|
+ <a href="http://www.ubtob.com/" target="_blank" title="优软云首页"><img src="static/img/empty/uas_empty.png"></a>
|
|
|
+ <a href="#/index" title="B2B商务首页">B2B 商务</a>
|
|
|
+ </div>
|
|
|
+ <div class="right_link">
|
|
|
+ <p>暂无对应的单据</p>
|
|
|
+ <a href="javascript:location.reload()">点击重新加载<i class="load_icon"></i></a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </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>
|