Ver código fonte

币别判断

yangc 8 anos atrás
pai
commit
b549b9811f
1 arquivos alterados com 3 adições e 3 exclusões
  1. 3 3
      components/applyPurchase/ApplyInfo.vue

+ 3 - 3
components/applyPurchase/ApplyInfo.vue

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