|
|
@@ -207,6 +207,9 @@
|
|
|
cursor: pointer;
|
|
|
border-radius: 2px;
|
|
|
}
|
|
|
+ .seek-purchase .seek-purchase-content >table tbody tr.default-row td.operate div.disable{
|
|
|
+ background: #cccbcb;
|
|
|
+ }
|
|
|
.seek-purchase .seek-purchase-content >table tbody tr.default-row td.operate span {
|
|
|
margin: 17px 0 0 0;
|
|
|
color: #39ae05;
|
|
|
@@ -677,39 +680,12 @@
|
|
|
<td class="left-time" ng-if="seek.remainingTime == null"><span style="color: red;">-</span></td>
|
|
|
<td class="operate">
|
|
|
<!--<a ng-click="setLinkBoxIndex($index)">联系买家 <img src="static/img/seekPurchase/link-buyer.png" alt=""></a>-->
|
|
|
- <div ng-if="seek.quoted != 1 && seek.remainingTime > 0" ng-click="setSeekActive(seek, true, index)">我要报价</div>
|
|
|
+ <div ng-if="userInfo.enterprise.uu != seek.inquiry.enUU && seek.quoted != 1 && seek.remainingTime > 0" ng-click="setSeekActive(seek, true, index)">我要报价</div>
|
|
|
+ <div class="disable" ng-if="userInfo.enterprise.uu == seek.inquiry.enUU && seek.quoted != 1 && seek.remainingTime > 0" ng-disabled="true">我要报价</div>
|
|
|
<span ng-if="seek.quoted == 1">已报价 <img src="static/img/seekPurchase/check.png" alt=""></span>
|
|
|
<!--<img ng-if="seek.quoted == 1" src="static/img/seekPurchase/recieved.png" alt="">-->
|
|
|
</td>
|
|
|
</tr>
|
|
|
- <!--<tr class="say-price">
|
|
|
- <td colspan="10">
|
|
|
- <div>
|
|
|
- <div>报价</div>
|
|
|
- <div>
|
|
|
- <i>*</i>单价
|
|
|
- <select ng-if="!seek.currency" ng-init="offer.currency = 'RMB'" ng-model="offer.currency">
|
|
|
- <option value="RMB">¥</option>
|
|
|
- <option value="USD">$</option>
|
|
|
- </select>
|
|
|
- <div ng-if="seek.currency == 'RMB'" ng-model="offer.currency">¥</div>
|
|
|
- <div ng-if="seek.currency == 'USD'" ng-model="offer.currency">$</div>
|
|
|
- <input type="number" class="form-control" ng-blur="onUnitPriceBlur()" ng-change="onUnitPriceChange()" ng-model="offer.unitPrice">
|
|
|
- </div>
|
|
|
- <div>
|
|
|
- <i>*</i>交期
|
|
|
- <input type="number" class="form-control" ng-model="offer.minDay" ng-blur="onMinDayInput()" ng-change="onMinDayChange()"> - <input type="number" class="form-control" ng-model="offer.maxDay" ng-blur="onMaxDayInput()" ng-change="onMaxDayChange()"> 天
|
|
|
- </div>
|
|
|
- <div>
|
|
|
- 生产日期 <input type="text" class="form-control" ng-model="offer.produceDate" ng-change="onProduceDateChange()">
|
|
|
- </div>
|
|
|
- <div>
|
|
|
- <span ng-click="setSeekActive(seek, false)">取消</span>
|
|
|
- <span ng-disabled="saveOfferBtn" ng-click="saveOffer(seek)">提交</span>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>-->
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</div>
|
|
|
@@ -735,10 +711,6 @@
|
|
|
<div class="content-line">
|
|
|
<div class="form-item form-left">
|
|
|
<span><i>*</i>交期:</span>
|
|
|
- <!--
|
|
|
- <input type="text" class="form-control" placeholder="天数">
|
|
|
- -
|
|
|
- -->
|
|
|
<input type="number" class="form-control" ng-change="onLeadtimeInput()" ng-blur="onLeadtimeBlur()" ng-model="inquiryItem.leadtime" placeholder="天数">
|
|
|
</div>
|
|
|
<div class="form-item form-upload">
|