|
@@ -425,14 +425,15 @@
|
|
|
<a href="user#/seekPurchase?type=bomManage"><返回BOM列表</a>
|
|
<a href="user#/seekPurchase?type=bomManage"><返回BOM列表</a>
|
|
|
<div>
|
|
<div>
|
|
|
<p class="BOM-name-area" ng-show="!isEditName">
|
|
<p class="BOM-name-area" ng-show="!isEditName">
|
|
|
- <span ng-bind="bomInfo.name"></span>
|
|
|
|
|
- <a ng-click="setIsEditName(true)">编辑BOM名称</a>
|
|
|
|
|
|
|
+ <span ng-bind="bomInfo.remark"></span>
|
|
|
|
|
+ <!--<a ng-click="setIsEditName(true)">编辑BOM名称</a>-->
|
|
|
</p>
|
|
</p>
|
|
|
<p class="BOM-edit" ng-show="isEditName">
|
|
<p class="BOM-edit" ng-show="isEditName">
|
|
|
<input type="text" class="form-control" ng-change="onBomNameChange()" ng-model="bomName">
|
|
<input type="text" class="form-control" ng-change="onBomNameChange()" ng-model="bomName">
|
|
|
<a ng-click="setIsEditName(false)">取消</a>
|
|
<a ng-click="setIsEditName(false)">取消</a>
|
|
|
<a ng-click="saveBomName()">确认</a>
|
|
<a ng-click="saveBomName()">确认</a>
|
|
|
</p>
|
|
</p>
|
|
|
|
|
+ <!--
|
|
|
<div class="fr">
|
|
<div class="fr">
|
|
|
<b>配单分析:</b><span>本单共<span class="blue-text" ng-bind="bomInfo.productAmount || 0"></span>个产品,<span class="red-text" ng-bind="bomInfo.offerAmount || 0"></span>个有报价。</span>
|
|
<b>配单分析:</b><span>本单共<span class="blue-text" ng-bind="bomInfo.productAmount || 0"></span>个产品,<span class="red-text" ng-bind="bomInfo.offerAmount || 0"></span>个有报价。</span>
|
|
|
<br/>
|
|
<br/>
|
|
@@ -443,9 +444,11 @@
|
|
|
</div>
|
|
</div>
|
|
|
<b class="red-text" ng-bind="bomInfo.goodsAmount || 0"></b>个有现货
|
|
<b class="red-text" ng-bind="bomInfo.goodsAmount || 0"></b>个有现货
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ -->
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<!--搜索时间筛选-->
|
|
<!--搜索时间筛选-->
|
|
|
|
|
+ <!--
|
|
|
<div class="screen">
|
|
<div class="screen">
|
|
|
<div class="fl">
|
|
<div class="fl">
|
|
|
<label class="com-check-box">
|
|
<label class="com-check-box">
|
|
@@ -495,6 +498,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ -->
|
|
|
<!--<div class="upload-content">-->
|
|
<!--<div class="upload-content">-->
|
|
|
<!--<input type="text" name="txt" id="upload_text" />-->
|
|
<!--<input type="text" name="txt" id="upload_text" />-->
|
|
|
<!--<i>选择文件</i>-->
|
|
<!--<i>选择文件</i>-->
|
|
@@ -505,13 +509,14 @@
|
|
|
<thead>
|
|
<thead>
|
|
|
<tr>
|
|
<tr>
|
|
|
<th width="165">发布时间</th>
|
|
<th width="165">发布时间</th>
|
|
|
- <th width="125">型号</th>
|
|
|
|
|
- <th width="77">品牌</th>
|
|
|
|
|
|
|
+ <th width="206">型号</th>
|
|
|
|
|
+ <th width="169">品牌</th>
|
|
|
<th width="93">采购数量</th>
|
|
<th width="93">采购数量</th>
|
|
|
<th width="78">单价预算</th>
|
|
<th width="78">单价预算</th>
|
|
|
<th width="70">封装</th>
|
|
<th width="70">封装</th>
|
|
|
<th width="105">生产日期</th>
|
|
<th width="105">生产日期</th>
|
|
|
<th width="123">截止时间</th>
|
|
<th width="123">截止时间</th>
|
|
|
|
|
+ <!--
|
|
|
<th width="81">
|
|
<th width="81">
|
|
|
<select class="select-adder form-control" ng-model="searchStatus" ng-change="onSearch(searchStatus)">
|
|
<select class="select-adder form-control" ng-model="searchStatus" ng-change="onSearch(searchStatus)">
|
|
|
<option value="0">全部</option>
|
|
<option value="0">全部</option>
|
|
@@ -519,16 +524,18 @@
|
|
|
<option value="201">已报价</option>
|
|
<option value="201">已报价</option>
|
|
|
<option value="202">已采纳</option>
|
|
<option value="202">已采纳</option>
|
|
|
</select>
|
|
</select>
|
|
|
|
|
+ 状态
|
|
|
</th>
|
|
</th>
|
|
|
<th width="92">操作</th>
|
|
<th width="92">操作</th>
|
|
|
|
|
+ -->
|
|
|
</tr>
|
|
</tr>
|
|
|
</thead>
|
|
</thead>
|
|
|
- <tbody ng-repeat="seek in seekListData.content">
|
|
|
|
|
|
|
+ <tbody ng-repeat="seek in bomInfo.inquiryItems">
|
|
|
<tr class="default-row">
|
|
<tr class="default-row">
|
|
|
- <td ng-bind="seek.releaseDate | date:'yyyy-MM-dd HH:mm:ss'"></td>
|
|
|
|
|
- <td ng-bind="seek.code || '-'" title="{{seek.code}}"></td>
|
|
|
|
|
- <td ng-bind="seek.brand || '-'" title="{{seek.brand}}"></td>
|
|
|
|
|
- <td ng-bind="seek.amount || '-'"></td>
|
|
|
|
|
|
|
+ <td ng-bind="seek.date | date:'yyyy-MM-dd HH:mm:ss'"></td>
|
|
|
|
|
+ <td ng-bind="seek.cmpCode || '-'" title="{{seek.cmpCode}}"></td>
|
|
|
|
|
+ <td ng-bind="seek.inbrand || '-'" title="{{seek.inbrand}}"></td>
|
|
|
|
|
+ <td ng-bind="seek.needquantity || '-'"></td>
|
|
|
<td>
|
|
<td>
|
|
|
<span>{{seek.currency + seek.unitPrice | currencyStr}}</span>
|
|
<span>{{seek.currency + seek.unitPrice | currencyStr}}</span>
|
|
|
</td>
|
|
</td>
|
|
@@ -536,6 +543,7 @@
|
|
|
<td ng-bind="seek.produceDate || '-'" title="{{seek.produceDate}}">2012-12-12</td>
|
|
<td ng-bind="seek.produceDate || '-'" title="{{seek.produceDate}}">2012-12-12</td>
|
|
|
<td class="left-time" ng-if="seek.remainingTime > 0">剩余 <span ng-bind="getDay(seek.remainingTime)" ng-if="getDay(seek.remainingTime) > 0" class="red-text"></span><i ng-if="getDay(seek.remainingTime) > 0"> 天 </i><span ng-if="getDay(seek.remainingTime) <= 0" ng-bind="getHours(seek.remainingTime)" class="red-text">5</span><i ng-if="getDay(seek.remainingTime) <= 0"> 小时</i></td>
|
|
<td class="left-time" ng-if="seek.remainingTime > 0">剩余 <span ng-bind="getDay(seek.remainingTime)" ng-if="getDay(seek.remainingTime) > 0" class="red-text"></span><i ng-if="getDay(seek.remainingTime) > 0"> 天 </i><span ng-if="getDay(seek.remainingTime) <= 0" ng-bind="getHours(seek.remainingTime)" class="red-text">5</span><i ng-if="getDay(seek.remainingTime) <= 0"> 小时</i></td>
|
|
|
<td class="left-time" ng-if="seek.remainingTime <= 0"><span style="color: red;">已截止</span></td>
|
|
<td class="left-time" ng-if="seek.remainingTime <= 0"><span style="color: red;">已截止</span></td>
|
|
|
|
|
+ <!--
|
|
|
<td ng-switch="seek.status">
|
|
<td ng-switch="seek.status">
|
|
|
<span ng-switch-when="200" style="color:red;">待报价</span>
|
|
<span ng-switch-when="200" style="color:red;">待报价</span>
|
|
|
<span ng-switch-when="201">已报价</span>
|
|
<span ng-switch-when="201">已报价</span>
|
|
@@ -546,6 +554,7 @@
|
|
|
<span ng-if="!seek.offerAmount && seek.goodsAmount>0" ng-show="!seek.$status || seek.$status == 0" ng-click="setSeekStatus(seek, 1)">查看现货 <i class="fa fa-angle-double-down"></i></span>
|
|
<span ng-if="!seek.offerAmount && seek.goodsAmount>0" ng-show="!seek.$status || seek.$status == 0" ng-click="setSeekStatus(seek, 1)">查看现货 <i class="fa fa-angle-double-down"></i></span>
|
|
|
<span ng-show="seek.$status && (seek.$status == 1 || seek.$status == 2)" ng-click="setSeekStatus(seek, 0)">收起 <i class="fa fa-angle-double-up"></i></span>
|
|
<span ng-show="seek.$status && (seek.$status == 1 || seek.$status == 2)" ng-click="setSeekStatus(seek, 0)">收起 <i class="fa fa-angle-double-up"></i></span>
|
|
|
</td>
|
|
</td>
|
|
|
|
|
+ -->
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr class="expand-row" ng-if="seek.$status == 1 || seek.$status == 2">
|
|
<tr class="expand-row" ng-if="seek.$status == 1 || seek.$status == 2">
|
|
|
<td colspan="10">
|
|
<td colspan="10">
|
|
@@ -646,7 +655,7 @@
|
|
|
<tr class="pager-row">
|
|
<tr class="pager-row">
|
|
|
<td colspan="10">
|
|
<td colspan="10">
|
|
|
<div>
|
|
<div>
|
|
|
- 显示 {{(seekListData.number - 1 ) * seekListData.size + 1}}-{{seekListData.number * seekListData.size}} 条,共 {{seekListData.totalElements}} 条
|
|
|
|
|
|
|
+ <!--显示 {{(seekListData.number - 1 ) * seekListData.size + 1}}-{{seekListData.number * seekListData.size}} 条,-->共 {{bomInfo.inquiryItems.length}} 条
|
|
|
</div>
|
|
</div>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|