Browse Source

求购频道-我要报价 禁用状态

liusw 7 years ago
parent
commit
3b4ea0392e
1 changed files with 2 additions and 1 deletions
  1. 2 1
      components/applyPurchase/ApplyInfo.vue

+ 2 - 1
components/applyPurchase/ApplyInfo.vue

@@ -53,7 +53,8 @@
           <div class="number-content"><img src="/images/applyPurchase/hot-fire.png" alt="" v-if="purchaseMan.offerAmount > 10"><span :style="purchaseMan.offerAmount > 10 ? 'color: #ff9a00': ''">{{purchaseMan.offerAmount || 0}}</span>&nbsp;条</div>
           <div class="btn-content">
             <!--<a @click="setLinkBoxIndex(index)">联系买家</a>-->
-            <a v-if="purchaseMan.remainingTime > 0 && (!purchaseMan.quoted || purchaseMan.quoted != 1)" @click="sayPrice(purchaseMan, index)">我要报价</a>
+            <a v-if="purchaseMan.remainingTime > 0 && (!purchaseMan.quoted || purchaseMan.quoted != 1) && purchaseMan.inquiry.enterprise.uu != user.data.enterprise.uu && purchaseMan.userUU != user.data.userUU" @click="sayPrice(purchaseMan, index)">我要报价</a>
+            <a v-if="purchaseMan.remainingTime > 0 && (!purchaseMan.quoted || purchaseMan.quoted != 1) && (purchaseMan.inquiry.enterprise.uu == user.data.enterprise.uu || purchaseMan.userUU == user.data.userUU)" style="background: #cccbcb;">我要报价</a>
             <div class="is-say-price" v-if="purchaseMan.remainingTime > 0 && purchaseMan.quoted == 1">已报价 <img src="/images/applyPurchase/green-check.png" alt="">
             </div>
           </div>