Browse Source

币别判断

yangc 8 years ago
parent
commit
b549b9811f
1 changed files with 3 additions and 3 deletions
  1. 3 3
      components/applyPurchase/ApplyInfo.vue

+ 3 - 3
components/applyPurchase/ApplyInfo.vue

@@ -63,11 +63,11 @@
             <div>报价</div>
             <div>
               <i>*</i>单价
-             <!-- <select v-model="sayPriceObj.currency">
+              <select v-if="!purchaseMan.currency" v-model="sayPriceObj.currency">
                 <option value="RMB">¥</option>
                 <option value="USD">$</option>
-              </select>-->
-              <div v-text="purchaseMan.currency == 'RMB' ? '¥' : '$'"></div>
+              </select>
+              <div v-if="purchaseMan.currency" v-text="purchaseMan.currency == 'RMB' ? '¥' : '$'"></div>
               <input type="text" v-model="sayPriceObj.unitPrice" class="form-control">
             </div>
             <div>