|
|
@@ -1224,7 +1224,7 @@
|
|
|
ng-click="toggleType(item.id)"></li>
|
|
|
</ul>
|
|
|
<div class="search fr check" ng-if="handleItem !== 1">
|
|
|
- <input type="text" class="form-control" ng-model="keyword" ng-search="onSearch(keyword)" placeholder="{{storage_tab =='outBound' ? '订单号/买家名称' : ( handleItem === 0 ? '入库订单/卖家名称':'发货单/卖家名称')}}"/>
|
|
|
+ <input type="text" class="form-control" ng-model="keyword" ng-search="onSearch(keyword)" placeholder="{{storage_tab =='outBound' ? ( handleItem === 0 ? '出库单号/买家名称':'订单号/买家名称') : ( handleItem === 0 ? '入库单号/卖家名称':'发货单/卖家名称')}}"/>
|
|
|
<button ng-click="onSearch(keyword)" style="float: left;">搜索</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -1237,7 +1237,6 @@
|
|
|
<th width="120" ng-bind="storage_tab === 'inBound' ? '入库单号' : '出库单号'"></th>
|
|
|
<th width="180" ng-bind="storage_tab === 'inBound' ? '发货单' : '订单号'" ng-if="handleItem === 2"></th>
|
|
|
<th width="180" ng-bind="storage_tab === 'inBound' ? '卖家名称' : '买家名称'"></th>
|
|
|
- <th class="filter" width="110" ng-if="handleItem == 2">类型</th>
|
|
|
<th class="filter" width="110" ng-if="handleItem === 0">
|
|
|
<a ng-bind="selfSupport">全部类型</a> <i class="fa fa-angle-down fa-angle-up"></i>
|
|
|
<div class="hover-show" ng-if="storage_tab === 'inBound'">
|
|
|
@@ -1251,7 +1250,7 @@
|
|
|
<a ng-click="changeSupportType('SELL_OUTBOUND')" ng-bind="boundType.SELL_OUTBOUND">销售出库</a>
|
|
|
</div>
|
|
|
</th>
|
|
|
- <th width="90">录入人</th>
|
|
|
+ <th width="90" ng-if="handleItem !== 2">录入人</th>
|
|
|
<th width="170">录入日期</th>
|
|
|
<th width="170" class="padding0">操作</th>
|
|
|
</tr>
|
|
|
@@ -1267,13 +1266,19 @@
|
|
|
<td ng-bind="item.createTime | date : 'yyyy-MM-dd: HH:mm:ss'">2018-12-12</td>
|
|
|
<td><span class="btn-toggle" ng-show="item.seleted" ng-click="item.seleted = !item.seleted">收起 <i class="fa fa-angle-up"></i></span><span ng-click="unfoldClick(storageList,item)" class="btn-toggle" ng-show="!item.seleted">展开 <i class="fa fa-angle-down"></i></span></td>
|
|
|
</tr>
|
|
|
+ <tr ng-if="item.seleted">
|
|
|
+ <td colspan="6" style="background:#f5f5f5;">
|
|
|
+ <div class="logistics-info">
|
|
|
+ <span style="margin-right:150px;">所属订单:<span ng-bind="item.associateOrderid || item.orid || '-'"></span></span>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
<tr ng-show="item.seleted">
|
|
|
<td colspan="6">
|
|
|
<div class="sub-table-head">
|
|
|
<table class="wanted-sub-tab table">
|
|
|
<caption ng-if="item.associateOrderid">
|
|
|
明细列表:
|
|
|
- <span class="caption_title">所属订单:<span ng-bind="item.associateOrderid"></span></span>
|
|
|
</caption>
|
|
|
<thead>
|
|
|
<tr>
|
|
|
@@ -1283,7 +1288,7 @@
|
|
|
<th>物料名称</th>
|
|
|
<th width="210">规格</th>
|
|
|
<th width="130">{{storage_tab === 'inBound' ? '入库数' : '出库数'}}(PCS)</th>
|
|
|
- <th width="130">单价({{currency === 'RMB' ? '¥' : '$'}})</th>
|
|
|
+ <th width="130">{{storage_tab === 'inBound' ? '采购单价' : '销售单价'}}({{currency === 'RMB' ? '¥' : '$'}})</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
</table>
|
|
|
@@ -1326,9 +1331,10 @@
|
|
|
<th width="110"><em class="red_color">*</em>型号</th>
|
|
|
<th width="130">品牌</th>
|
|
|
<th>物料名称</th>
|
|
|
- <th width="210">规格</th>
|
|
|
+ <th width="180">规格</th>
|
|
|
+ <th width="130">库存数(PCS)</th>
|
|
|
<th width="130"><em class="red_color">*</em>{{storage_tab === 'inBound' ? '入库数' : '出库数'}}(PCS)</th>
|
|
|
- <th width="130">单价({{currency === 'RMB' ? '¥' : '$'}})</th>
|
|
|
+ <th width="130">{{storage_tab === 'inBound' ? '采购单价' : '销售单价'}}({{currency === 'RMB' ? '¥' : '$'}})</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
@@ -1353,7 +1359,8 @@
|
|
|
<td><span ng-bind="item.pbranden || '-'" title="{{item.pbranden}}"></span></td>
|
|
|
<td><span ng-bind="item.kind || '-'" title="{{item.kind}}"></span></td>
|
|
|
<td><span ng-bind="item.spec || '-'" title="{{item.spec}}"></span></td>
|
|
|
- <td><input type="text" class="form-control" ng-model="item.qty" ng-change="onAmountChange(item, item.qty, 'qty', 9)"></td>
|
|
|
+ <td><span ng-bind="item.erpReserve || '-'" title="{{item.erpReserve}}"></span></td>
|
|
|
+ <td><input type="text" class="form-control" ng-model="item.qty" ng-change="onAmountChange(item, item.qty, 'qty', 9)" ng-blur="chickAmountBlur(item, item.qty)"></td>
|
|
|
<td><input type="text" class="form-control" ng-model="item.price" ng-change="onAmountChange(item, item.price, 'price', 4, 6)"></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
@@ -1373,19 +1380,17 @@
|
|
|
<tbody ng-if="handleItem === 2" ng-repeat="item in storageList" ng-class="{'toggle-mode': item.seleted}">
|
|
|
<tr>
|
|
|
<td>系统自动生成</td>
|
|
|
- <td ng-if="storage_tab === 'outBound'"><span ng-bind="item.purchaseid || '-'" title="{{item.purchaseid}}"></span></td>
|
|
|
+ <td ng-if="storage_tab === 'outBound'"><span ng-bind="item.orderid || '-'" title="{{item.orderid}}"></span></td>
|
|
|
<td ng-if="storage_tab === 'inBound'"><span ng-bind="item.invoiceid || '-'" title="{{item.invoiceid}}"></span></td>
|
|
|
<td><span ng-bind="item.buyentername || item.buyerentername || item.buyername" title="{{item.buyentername || item.buyerentername || item.buyername}}"></span></td>
|
|
|
- <td ng-bind="storage_tab === 'outBound' ? '销售出库' : '采购入库'">腌肉入库</td>
|
|
|
- <td><span ng-bind="item.sellername" title="{{item.sellername}}"></span></td>
|
|
|
<td ng-bind="item.createtime | date: 'yyyy-MM-dd'"></td>
|
|
|
<td ng-if="!item.seleted"><a class="btn-click" ng-click="item.seleted = !item.seleted;unfoldClick(storageList, item)" ng-bind="storage_tab === 'inBound' ? '收货入库' : '发货出库'"></a></td>
|
|
|
<td ng-if="item.seleted"><a class="btn-click" ng-click="saveOtherCheck(item, storage_tab)">确定</a><a class="btn-click" ng-click="item.seleted = !item.seleted">取消</a></td>
|
|
|
</tr>
|
|
|
<tr ng-if="item.seleted && storage_tab === 'outBound'">
|
|
|
- <td colspan="7" style="background:#f5f5f5;">
|
|
|
+ <td colspan="5" style="background:#f5f5f5;">
|
|
|
<div class="logistics-info">
|
|
|
- <span style="margin-right:150px;">所属订单:<span ng-bind="item.associateOrderid || '-'"></span></span>
|
|
|
+ <span style="margin-right:150px;">所属订单:<span ng-bind="item.orderid || '-'"></span></span>
|
|
|
<span>物流公司 : </span>
|
|
|
<span class="input-ul">
|
|
|
<input id="logistics-input" type="text" class="form-control select-adder" ng-focus="getItemFocus()"
|
|
|
@@ -1411,7 +1416,7 @@
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr ng-if="item.seleted && storage_tab === 'inBound' && item.logistics">
|
|
|
- <td colspan="7" style="background:#f5f5f5;">
|
|
|
+ <td colspan="5" style="background:#f5f5f5;">
|
|
|
<div class="logistics-info">
|
|
|
<span style="margin-right:150px;">所属订单:<span ng-bind="item.associateOrderid || item.orid || '-'"></span></span>
|
|
|
<span>物流公司 : </span>
|
|
|
@@ -1423,7 +1428,7 @@
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr ng-show="item.seleted">
|
|
|
- <td colspan="7">
|
|
|
+ <td colspan="5">
|
|
|
<div class="sub-table-head">
|
|
|
<table class="wanted-sub-tab table">
|
|
|
<thead>
|
|
|
@@ -1436,7 +1441,7 @@
|
|
|
<th width="100" ng-if="storage_tab === 'outBound'">应出库(PCS)</th>
|
|
|
<th width="100" ng-if="storage_tab === 'outBound'">已出库(PCS)</th>
|
|
|
<th width="100"><em class="red_color">*</em>{{storage_tab === 'inBound' ? '入库数' : '出库数'}}(PCS)</th>
|
|
|
- <th width="80">单价({{currency === 'RMB' ? '¥' : '$'}})</th>
|
|
|
+ <th width="80">{{storage_tab === 'inBound' ? '采购单价' : '销售单价'}}({{currency === 'RMB' ? '¥' : '$'}})</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
</table>
|
|
|
@@ -1451,7 +1456,7 @@
|
|
|
<td><span ng-bind="list.kiName || '-'" title="{{list.kiName}}"></span></td>
|
|
|
<td width="180"><span ng-bind="list.spec || '-'" title="{{list.spec}}"></span></td>
|
|
|
<td width="100"><span ng-bind="list.qty || '-'" title="{{list.qty}}"></span></td>
|
|
|
- <td width="80"><span ng-bind="list.price || '-'" title="{{list.price}}"></span></td>
|
|
|
+ <td width="80"><span ng-bind="list.taxUnitprice || '-'" title="{{list.taxUnitprice}}"></span></td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
<!--销售出库数据-->
|
|
|
@@ -1468,7 +1473,7 @@
|
|
|
<span ng-if="list.number === list.shipQty">-</span>
|
|
|
<input type="text" ng-pattern="/^[1-9]\d*$/" ng-model="list.sendCount" ng-change="onAmountChange(list, list.sendCount, 'sendCount', 9)" ng-blur="outBlurSendCount(list, list.sendCount)" ng-if="list.number !== list.shipQty" class="form-control">
|
|
|
</td>
|
|
|
- <td width="80"><span ng-bind="list.price || '-'" title="{{list.price}}"></span></td>
|
|
|
+ <td width="80"><span ng-bind="list.taxUnitprice || '-'" title="{{list.taxUnitprice}}"></span></td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
</div>
|