|
|
@@ -160,7 +160,7 @@
|
|
|
<input type="text" class="form-control" placeholder="数量">-->
|
|
|
</div>
|
|
|
<div class="form-item form-right">
|
|
|
- <span><i>*</i>单价<span v-if="purchaseManList.content[currentSayPriceIndex].currency" v-text="purchaseManList.content[currentSayPriceIndex].currency == 'USD' ? '$' : '¥'"></span>:</span>
|
|
|
+ <span><i>*</i>单价<span v-if="purchaseManList.content[currentSayPriceIndex].currency" v-text="purchaseManList.content[currentSayPriceIndex].currency == 'USD' ? '($)' : '(¥)'"></span>:</span>
|
|
|
<!--{{purchaseManList.content[currentSayPriceIndex].currency == 'USD' ? '$' : '¥'}})-->
|
|
|
<select v-if="!purchaseManList.content[currentSayPriceIndex].currency" v-model="sayPriceObj.currency">
|
|
|
<option value="RMB">¥</option>
|
|
|
@@ -447,6 +447,11 @@
|
|
|
return {index: -1}
|
|
|
},
|
|
|
checkValid: function () {
|
|
|
+ for (let i = 0; i < this.sayPriceObj.replies.length; i++) {
|
|
|
+ if (!this.sayPriceObj.replies[i].lapQty || !this.sayPriceObj.replies[i].price) {
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ }
|
|
|
return this.validSayPrice.leadtime && this.validSayPrice.repliesLapQty && this.validSayPrice.repliesPrice
|
|
|
},
|
|
|
// onUnitPriceBlur: function () {
|