|
@@ -293,10 +293,10 @@
|
|
|
<div class="com_tab" style="margin-bottom: 10px">
|
|
<div class="com_tab" style="margin-bottom: 10px">
|
|
|
<ul class="fl" style="width: 100%">
|
|
<ul class="fl" style="width: 100%">
|
|
|
<li ng-class="{'active': tab == 'material'}"><a ui-sref="vendor_material">产品库</a></li>
|
|
<li ng-class="{'active': tab == 'material'}"><a ui-sref="vendor_material">产品库</a></li>
|
|
|
- <li ng-class="{'active': tab == 'storage'}"><a ui-sref="vendor_storage">出入库</a></li>
|
|
|
|
|
|
|
+ <li ng-class="{'active': tab == 'storage'}"><a ui-sref="vendor_storage">出库</a></li>
|
|
|
<li ng-class="{'active': tab == 'undercarriage'}"><a ui-sref="vendor_undercarriage">上下架记录</a></li>
|
|
<li ng-class="{'active': tab == 'undercarriage'}"><a ui-sref="vendor_undercarriage">上下架记录</a></li>
|
|
|
<li ng-if="isPcbStore"><a ui-sref="vendor_upload">产品导入</a></li>
|
|
<li ng-if="isPcbStore"><a ui-sref="vendor_upload">产品导入</a></li>
|
|
|
- <li ng-class="{'active': tab == 'B2b'}"><a ui-sref="sale_badOut">B2B客户出入库</a></li>
|
|
|
|
|
|
|
+ <!--<li ng-class="{'active': tab == 'B2b'}"><a ui-sref="sale_badOut">B2B客户出入库</a></li>-->
|
|
|
<li class="down-purchase">
|
|
<li class="down-purchase">
|
|
|
<span ng-click="exportXls()" style="cursor:pointer">
|
|
<span ng-click="exportXls()" style="cursor:pointer">
|
|
|
<i class="fa fa-file-excel-o fa-fw"></i>导出Excel
|
|
<i class="fa fa-file-excel-o fa-fw"></i>导出Excel
|
|
@@ -308,178 +308,205 @@
|
|
|
</ul>
|
|
</ul>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="tab_top" style="margin-bottom: 10px">
|
|
|
|
|
- <ul class="fl" style="width: 100%">
|
|
|
|
|
- <li ng-class="{'active': storeType=='badOut'}"><a ui-sref="sale_badOut">不良品出库单</a></li>
|
|
|
|
|
- <li ng-class="{'active': storeType=='badIn'}"><a ui-sref="sale_badIn">不良品入库单</a></li>
|
|
|
|
|
- <li ng-class="{'active': storeType=='accept'}"><a ui-sref="sale_accept">客户采购验收单</a></li>
|
|
|
|
|
- <li ng-class="{'active': storeType=='returns'}"><a ui-sref="sale_returns">客户采购验退单</a></li>
|
|
|
|
|
- <li ng-class="{'active': storeType=='makeaccept'}"><a ui-sref="sale_makeaccept">客户委外验收单</a></li>
|
|
|
|
|
- <li ng-class="{'active': storeType=='makereturns'}"><a ui-sref="sale_makereturns">客户委外验退单</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 class="search-check">
|
|
|
|
|
+ <div class="radio-block">
|
|
|
|
|
+ 业务:
|
|
|
|
|
+ <ul class="radio-btn list-inline">
|
|
|
|
|
+ <li><a href="#/vendor_storage?type=0">查看出库记录</a></li>
|
|
|
|
|
+ <li><a href="#/vendor_storage?type=2">销售出库</a></li>
|
|
|
|
|
+ <li ui-sref="sale_badOut">不良品出库单</li>
|
|
|
|
|
+ <li class="active">客户采购验收单</li>
|
|
|
|
|
+ <li ui-sref="sale_returns">客户采购验退单</li>
|
|
|
|
|
+ <li ui-sref="sale_makeaccept">客户委外验收单</li>
|
|
|
|
|
+ <li ui-sref="sale_makereturns">客户委外验退单</li>
|
|
|
|
|
+ <li><a href="#/vendor_storage?type=1">其它出库</a></li>
|
|
|
|
|
+ <!--<li ng-repeat="item in handleLink"-->
|
|
|
|
|
+ <!--ng-bind="item.name"-->
|
|
|
|
|
+ <!--ng-class="{'active': handleItem === item.id}"-->
|
|
|
|
|
+ <!--ng-if="item.tab === storage_tab"-->
|
|
|
|
|
+ <!--ng-click="toggleType(item.id)"></li>-->
|
|
|
|
|
+ </ul>
|
|
|
|
|
+
|
|
|
</div>
|
|
</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>
|
|
|
|
|
|
|
+ <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>
|
|
|
|
|
|
|
+ <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(keyword)"/>
|
|
|
|
|
+ <a class="seek" href="javascript:void(0)" ng-click="onSearch(keyword)">搜索</a>
|
|
|
</div>
|
|
</div>
|
|
|
- </div>
|
|
|
|
|
- <div class="sreach-input fr">
|
|
|
|
|
- <input type="search" placeholder="单据编号/客户名称/物料名称" class="form-control" ng-model="keyword" ng-search="onSearch(keyword)"/>
|
|
|
|
|
- <a class="seek" href="javascript:void(0)" ng-click="onSearch(keyword)">搜索</a>
|
|
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
<table class="order-table block" ng-table="tableParams">
|
|
<table class="order-table block" ng-table="tableParams">
|
|
|
<thead>
|
|
<thead>
|
|
|
<tr class="header">
|
|
<tr class="header">
|
|
|
- <th>产品</th>
|
|
|
|
|
- <th width="120">单价</th>
|
|
|
|
|
- <th width="100">验收数量</th>
|
|
|
|
|
- <th width="120">批号</th>
|
|
|
|
|
- <th width="140">单据信息</th>
|
|
|
|
|
- <th width="70">操作</th>
|
|
|
|
|
|
|
+ <th width="175">日期</th>
|
|
|
|
|
+ <th width="255">客户</th>
|
|
|
|
|
+ <th width="200">流水号</th>
|
|
|
|
|
+ <th width="210">送货单号</th>
|
|
|
|
|
+ <th>操作</th>
|
|
|
</tr>
|
|
</tr>
|
|
|
- <!--<tr class="sep-row">-->
|
|
|
|
|
- <!--<td colspan="6"></td>-->
|
|
|
|
|
- <!--</tr>-->
|
|
|
|
|
</thead>
|
|
</thead>
|
|
|
- <tbody ng-repeat="accept in $data">
|
|
|
|
|
- <tr class="order-hd">
|
|
|
|
|
- <td class="first" colspan="6">
|
|
|
|
|
- <div class="order-main">
|
|
|
|
|
- <span class="text-num text-bold"
|
|
|
|
|
- title="{{accept.date | date: 'yyyy年MM月dd日 hh:mm'}}">
|
|
|
|
|
- 日期:{{accept.date | date:'yyyy-MM-dd'}}
|
|
|
|
|
- </span> <span
|
|
|
|
|
- title="客户名称">
|
|
|
|
|
- <img src="static/img/user/images/shop_home.png" style="margin-right: 5px;">{{accept.enterprise.enName}}
|
|
|
|
|
- </span>
|
|
|
|
|
- <span>流水号:<a class="text-num order-detail" title="查看详情" ng-bind="accept.code" ui-sref="sale_accept_detail({id: accept.id})"></a></span>
|
|
|
|
|
- <span class="text-info" ng-if="accept.sendCode != null"
|
|
|
|
|
- title="送货单号:{{::accept.sendCode}}"> 送货单号: <span
|
|
|
|
|
- ng-bind="accept.sendCode" class="text-num"></span>
|
|
|
|
|
- </span>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+
|
|
|
|
|
+ <tbody ng-repeat="accept in $data" ng-class="{'toggle-mode': accept.seleted}" class="outBody">
|
|
|
|
|
+ <tr class="outTr">
|
|
|
|
|
+ <td class="text-num" title="{{accept.date | date:'yyyy年MM月dd日'}}" >
|
|
|
|
|
+ {{accept.date | date:'yyyy年MM月dd日' }}
|
|
|
|
|
+ </td>
|
|
|
|
|
+ <td title="{{accept.enterprise.enName}}">
|
|
|
|
|
+ {{accept.enterprise.enName}}
|
|
|
|
|
+ </td>
|
|
|
|
|
+ <td title="{{::accept.code}}" class="text-num">
|
|
|
|
|
+ <a class="text-num order-detail" title="查看详情" ng-bind="accept.code" ui-sref="sale_accept_detail({id: accept.id})"></a>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ <td title="{{accept.sendCode}}">
|
|
|
|
|
+ {{accept.sendCode}}
|
|
|
|
|
+ </td>
|
|
|
|
|
+ <td style="cursor: pointer;">
|
|
|
|
|
+ <span class="btn-toggle" ng-show="accept.seleted" ng-click="accept.seleted = !accept.seleted">收起 <i class="fa fa-angle-up"></i></span>
|
|
|
|
|
+ <span ng-click="unfoldClick($data, accept)" class="btn-toggle" ng-show="!accept.seleted">展开 <i class="fa fa-angle-down"></i></span>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
- <tr class="order-bd" ng-repeat="item in accept.acceptItems">
|
|
|
|
|
- <td class="product" style="text-align: left">
|
|
|
|
|
- <div class="text-num order-number" ng-class="{'key': item.key&&order.$showAll}" title="第{{$index + 1}}行">{{$index + 1}}</div>
|
|
|
|
|
- <div class="text-num text-bold">
|
|
|
|
|
|
|
+ <tr ng-if="accept.seleted">
|
|
|
|
|
+ <td colspan="5">
|
|
|
|
|
+ <div class="sub-table-head">
|
|
|
|
|
+ <table class="wanted-sub-tab table">
|
|
|
|
|
+ <thead>
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <th width="60">序号</th>
|
|
|
|
|
+ <th width="406">产品</th>
|
|
|
|
|
+ <th width="120">单价</th>
|
|
|
|
|
+ <th width="100">验收数量</th>
|
|
|
|
|
+ <th width="120">批号</th>
|
|
|
|
|
+ <th width="230">单据信息</th>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ </thead>
|
|
|
|
|
+ <tbody>
|
|
|
|
|
+ <tr ng-repeat="item in accept.acceptItems">
|
|
|
|
|
+ <td style="font-size: 14px;text-align: center">
|
|
|
|
|
+ {{$index + 1}}
|
|
|
|
|
+ </td>
|
|
|
|
|
+ <td class="product" style="text-align: left">
|
|
|
|
|
+ <div class="text-num text-bold">
|
|
|
<span title="{{item.orderItem.product.code}}"
|
|
<span title="{{item.orderItem.product.code}}"
|
|
|
- ng-if="item.orderItem.product.code != null">
|
|
|
|
|
|
|
+ ng-if="item.orderItem.product.code != null" style="color: #333 !important;">
|
|
|
物料编号:{{item.orderItem.product.code || '-'}}
|
|
物料编号:{{item.orderItem.product.code || '-'}}
|
|
|
</span>
|
|
</span>
|
|
|
- <span title="{{item.product.code}}"
|
|
|
|
|
- ng-if="item.orderItem.product.code == null">
|
|
|
|
|
|
|
+ <span title="{{item.product.code}}"
|
|
|
|
|
+ ng-if="item.orderItem.product.code == null" style="color: #333 !important;">
|
|
|
物料编号:{{item.product.code || '-'}}
|
|
物料编号:{{item.product.code || '-'}}
|
|
|
</span>
|
|
</span>
|
|
|
- </div>
|
|
|
|
|
- <div>
|
|
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div>
|
|
|
<span style="color: #666 !important;" title="{{item.orderItem.product.title}}"
|
|
<span style="color: #666 !important;" title="{{item.orderItem.product.title}}"
|
|
|
- ng-if="item.orderItem.product.title != null">
|
|
|
|
|
|
|
+ ng-if="item.orderItem.product.title != null">
|
|
|
物料名称:{{item.orderItem.product.title || '-'}}
|
|
物料名称:{{item.orderItem.product.title || '-'}}
|
|
|
</span> <span style="color: #666 !important;"
|
|
</span> <span style="color: #666 !important;"
|
|
|
- title="{{item.product.title}}"
|
|
|
|
|
- ng-if="item.orderItem.product.title == null">
|
|
|
|
|
|
|
+ title="{{item.product.title}}"
|
|
|
|
|
+ ng-if="item.orderItem.product.title == null">
|
|
|
物料名称:{{item.product.title || '-'}}
|
|
物料名称:{{item.product.title || '-'}}
|
|
|
</span>
|
|
</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div style="color: #333 !important;" class="text-muted" title="{{item.orderItem.product.spec}}"
|
|
|
|
|
+ ng-if="item.orderItem.product.spec != null">
|
|
|
|
|
+ 物料规格:{{item.orderItem.product.spec || '-'}}
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div style="color: #333 !important;" class="text-muted" title="{{item.product.spec}}"
|
|
|
|
|
+ ng-if="item.orderItem.product.spec == null">
|
|
|
|
|
+ 物料规格:{{item.product.spec || '-'}}
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="text-bold text-inverse" title="送货工厂"
|
|
|
|
|
+ ng-if="item.orderItem.factory">
|
|
|
|
|
+ 送货工厂:<span ng-bind="::item.orderItem.factory"></span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ <td>
|
|
|
|
|
+ <div ng-if="!isUser" class="text-num" title="{{item.orderPrice}}">
|
|
|
|
|
+ <span ng-bind="::currency(accept.currency)"></span>
|
|
|
|
|
+ <span ng-bind="item.orderPrice || 0 | number : 6"></span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="text-num" title="{{item.taxrate}}%"> 税率:<span ng-bind="::item.taxrate + '%'" class="text-num"></span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ <td class="text-center">
|
|
|
|
|
+ <div class="text-num " title="{{item.qty}}"
|
|
|
|
|
+ ng-bind="item.qty"></div>
|
|
|
|
|
+ <div class="text-num" ng-bind="item.orderItem.product.unit"></div>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ <td class="text-center br-l">
|
|
|
|
|
+ <div class="text-num" ng-bind="item.batchCode"></div>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ <td class="br-l" colspan="2" ng-if="item.orderItem.order.code">
|
|
|
|
|
+ <div>
|
|
|
|
|
+ 单据编号:<a style="color: #5078cb;" class="order-detail" title="查看采购单详情" ui-sref="sale_order_detail({id:item.orderItem.order.id})"
|
|
|
|
|
+ ng-bind="item.orderItem.order.code"></a>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div>
|
|
|
|
|
+ 第 <span ng-bind="item.orderItem.number"></span> 行
|
|
|
|
|
+ 数量:<span ng-bind="item.orderItem.qty"></span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ <td class="br-l" colspan="2" ng-if="!item.orderItem">
|
|
|
|
|
+ <div>无关联的采购单</div>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ </tbody>
|
|
|
|
|
+ </table>
|
|
|
</div>
|
|
</div>
|
|
|
- <div style="color: #666 !important;" class="text-muted" title="{{item.orderItem.product.spec}}"
|
|
|
|
|
- ng-if="item.orderItem.product.spec != null">
|
|
|
|
|
- 物料规格:{{item.orderItem.product.spec || '-'}}
|
|
|
|
|
- </div>
|
|
|
|
|
- <div style="color: #666 !important;" class="text-muted" title="{{item.product.spec}}"
|
|
|
|
|
- ng-if="item.orderItem.product.spec == null">
|
|
|
|
|
- 物料规格:{{item.product.spec || '-'}}
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="text-bold text-inverse" title="送货工厂"
|
|
|
|
|
- ng-if="item.orderItem.factory">
|
|
|
|
|
- 送货工厂:<span ng-bind="::item.orderItem.factory"></span>
|
|
|
|
|
- </div>
|
|
|
|
|
- </td>
|
|
|
|
|
- <td>
|
|
|
|
|
- <div ng-if="!isUser" class="text-num" title="{{item.orderPrice}}">
|
|
|
|
|
- <span ng-bind="::currency(accept.currency)"></span><span
|
|
|
|
|
- ng-bind="item.orderPrice || 0 | number : 6"></span>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div ng-if="isUser" class="text-num"></div>
|
|
|
|
|
- <div class="text-muted" title="{{item.orderItem.taxrate}}%">
|
|
|
|
|
- <br> 税率:<span ng-bind="::item.orderItem.taxrate + '%'"
|
|
|
|
|
- class="text-num" ng-if="item.orderItem.taxrate!=null"></span> <span
|
|
|
|
|
- ng-bind="::item.taxrate + '%'" class="text-num"
|
|
|
|
|
- ng-if="item.orderItem.taxrate==null"></span>
|
|
|
|
|
- </div>
|
|
|
|
|
- </td>
|
|
|
|
|
- <td class="text-center">
|
|
|
|
|
- <div class="text-num text-bold" title="{{item.qty}}"
|
|
|
|
|
- ng-bind="item.qty"></div>
|
|
|
|
|
- <div class="text-muted" ng-bind="item.orderItem.product.unit"></div>
|
|
|
|
|
- </td>
|
|
|
|
|
- <td class="text-center br-l">
|
|
|
|
|
- <div class="text-num" ng-bind="item.batchCode"></div>
|
|
|
|
|
- </td>
|
|
|
|
|
- <td class="br-l" colspan="2" ng-if="item.orderItem.order.code">
|
|
|
|
|
- <div>
|
|
|
|
|
- 单据编号:<a style="color: #5078cb;" class="order-detail" title="查看采购单详情" ui-sref="sale_order_detail({id:item.orderItem.order.id})"
|
|
|
|
|
- ng-bind="item.orderItem.order.code"></a>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div>
|
|
|
|
|
- 第 <span ng-bind="item.orderItem.number"></span> 行
|
|
|
|
|
- 数量:<span ng-bind="item.orderItem.qty"></span>
|
|
|
|
|
- </div>
|
|
|
|
|
- </td>
|
|
|
|
|
- <td class="br-l" colspan="2" ng-if="!item.orderItem">
|
|
|
|
|
- <div>无关联的采购单</div>
|
|
|
|
|
- </td>
|
|
|
|
|
</tr>
|
|
</tr>
|
|
|
</tbody>
|
|
</tbody>
|
|
|
<tbody ng-if="$data.length === 0">
|
|
<tbody ng-if="$data.length === 0">
|
|
@@ -499,7 +526,148 @@
|
|
|
</tr>
|
|
</tr>
|
|
|
</tbody>
|
|
</tbody>
|
|
|
</table>
|
|
</table>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
<div ng-if="infoCommon.totalElement > 0" class="text-mns text-right" ng-class="infoCommon.totalElement >= 20 ? '': 'Boom18'">
|
|
<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}} 条
|
|
显示 {{(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>
|
|
|
|
|
+<style>
|
|
|
|
|
+ .order-table .header>th {
|
|
|
|
|
+ height: 50px;
|
|
|
|
|
+ }
|
|
|
|
|
+ .toggle-mode {
|
|
|
|
|
+ border-color: #3f84f6 !important;
|
|
|
|
|
+ border-width: 2px !important;
|
|
|
|
|
+ }
|
|
|
|
|
+ .order-table tbody.outBody tr.outTr td {
|
|
|
|
|
+ padding: 0 5px;
|
|
|
|
|
+ line-height: 50px;
|
|
|
|
|
+ height: 50px;
|
|
|
|
|
+ vertical-align: middle;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ border-bottom: 1px solid #e9e9e9;
|
|
|
|
|
+ white-space: nowrap;
|
|
|
|
|
+ }
|
|
|
|
|
+ .table>thead>tr>th {
|
|
|
|
|
+ vertical-align: middle;
|
|
|
|
|
+ }
|
|
|
|
|
+ .order-table tbody.toggle-mode >tr:first-child {
|
|
|
|
|
+ background: #f5f5f5;
|
|
|
|
|
+ }
|
|
|
|
|
+ .order-table tbody>tr>td span {
|
|
|
|
|
+ vertical-align: middle;
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ /*display: inline-block;*/
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ text-overflow: ellipsis;
|
|
|
|
|
+ white-space: nowrap;
|
|
|
|
|
+ }
|
|
|
|
|
+ .order-table .btn-toggle {
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ color: #5078cb;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ }
|
|
|
|
|
+ /*search部分*/
|
|
|
|
|
+ .search-check{
|
|
|
|
|
+ padding: 15px 20px 5px;
|
|
|
|
|
+ height:auto;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .search-check .search .form-control{
|
|
|
|
|
+ width: 300px;
|
|
|
|
|
+ float: left;
|
|
|
|
|
+ height: 34px;
|
|
|
|
|
+ border-radius: 2px;
|
|
|
|
|
+ box-shadow: none;
|
|
|
|
|
+ border:1px solid #5078cb;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .search-check .search button{
|
|
|
|
|
+ background: #5078cb;
|
|
|
|
|
+ border: #5078cb 1px solid;
|
|
|
|
|
+ border-left: none;
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+ border-radius: 2px;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .search-check .radio-block {
|
|
|
|
|
+ line-height: 36px;
|
|
|
|
|
+ margin-bottom:10px;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ }
|
|
|
|
|
+ .search-check .radio-block .radio-btn{
|
|
|
|
|
+ display:inline-block;
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ top: 2px;
|
|
|
|
|
+ }
|
|
|
|
|
+ .search-check .radio-block .radio-btn li{
|
|
|
|
|
+ margin: 0 3px;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ line-height: 34px;
|
|
|
|
|
+ padding:0 10px;
|
|
|
|
|
+ height:34px;
|
|
|
|
|
+ border:1px solid #bfbfbf;
|
|
|
|
|
+ border-radius:3px;
|
|
|
|
|
+ cursor:pointer;
|
|
|
|
|
+ }
|
|
|
|
|
+ .search-check .radio-block .radio-btn li a{
|
|
|
|
|
+ color: #323232
|
|
|
|
|
+ }
|
|
|
|
|
+ .search-check .radio-block .radio-btn li:hover {
|
|
|
|
|
+ border:1px solid #5078cb;
|
|
|
|
|
+ color:#5078cb;
|
|
|
|
|
+ }
|
|
|
|
|
+ .search-check .radio-block .radio-btn li:hover a{
|
|
|
|
|
+ color:#5078cb;
|
|
|
|
|
+ }
|
|
|
|
|
+ .search-check .radio-block .radio-btn li.active{
|
|
|
|
|
+ border:1px solid #5078cb;
|
|
|
|
|
+ color:#5078cb;
|
|
|
|
|
+ }
|
|
|
|
|
+ .search-check .radio-block .radio-date{
|
|
|
|
|
+ display:inline-block;
|
|
|
|
|
+ vertical-align: middle;
|
|
|
|
|
+ }
|
|
|
|
|
+ .search-check .radio-block .radio-date .btn-default{
|
|
|
|
|
+ border: none;
|
|
|
|
|
+ }
|
|
|
|
|
+ .search-check .radio-block .radio-date .data-input{
|
|
|
|
|
+ float:left;
|
|
|
|
|
+ position:relative;
|
|
|
|
|
+ }
|
|
|
|
|
+ .search-check .radio-block .radio-date .data-input input{
|
|
|
|
|
+ width:120px;
|
|
|
|
|
+ }
|
|
|
|
|
+ .search-check .radio-block .radio-date .data-input button.open {
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ right: 2px;
|
|
|
|
|
+ top: 2px;
|
|
|
|
|
+ width: 20px;
|
|
|
|
|
+ height: 30px;
|
|
|
|
|
+ background: url(static/img/user/images/xiala.png) right no-repeat #fff !important;
|
|
|
|
|
+ background-position-x: 100% !important;
|
|
|
|
|
+ border: none;
|
|
|
|
|
+ }
|
|
|
|
|
+ .search-check .radio-block .radio-date > em{
|
|
|
|
|
+ float: left;
|
|
|
|
|
+ line-height: 32px;
|
|
|
|
|
+ color: #999;
|
|
|
|
|
+ margin: 0 5px;
|
|
|
|
|
+ }
|
|
|
|
|
+ .search-check .radio-block .com-check-radio {
|
|
|
|
|
+ font-weight: normal;
|
|
|
|
|
+ color: #666;
|
|
|
|
|
+ margin-right: 13px;
|
|
|
|
|
+ cursor:pointer;
|
|
|
|
|
+ }
|
|
|
|
|
+ .search-check .radio-block .com-check-radio label {
|
|
|
|
|
+ margin-bottom:6px;
|
|
|
|
|
+ }
|
|
|
|
|
+ .screen {
|
|
|
|
|
+ padding-left: 0px;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+</style>
|