|
@@ -17,7 +17,7 @@
|
|
|
采购数量:<span>{{purchaseDetail.needquantity || '-'}}</span>
|
|
采购数量:<span>{{purchaseDetail.needquantity || '-'}}</span>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="content-line">
|
|
<div class="content-line">
|
|
|
- 币种:<span>{{purchaseDetail.currency || '不限'}}</span>
|
|
|
|
|
|
|
+ 币种:<span>{{purchaseDetail.custCurrency || '不限'}}</span>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="content-line">
|
|
<div class="content-line">
|
|
|
生产日期:<span>{{purchaseDetail.produceDate || '-'}}</span>
|
|
生产日期:<span>{{purchaseDetail.produceDate || '-'}}</span>
|
|
@@ -31,10 +31,10 @@
|
|
|
<span class="fl">价格梯度<span>(PCS)</span></span>
|
|
<span class="fl">价格梯度<span>(PCS)</span></span>
|
|
|
<span class="fr">
|
|
<span class="fr">
|
|
|
<!--<span v-text="sayPriceObj.currency" @click="setShowCurrencyList($event)"></span>-->
|
|
<!--<span v-text="sayPriceObj.currency" @click="setShowCurrencyList($event)"></span>-->
|
|
|
- <span v-if="!purchaseDetail.currency" v-text="sayPriceObj.currency" @click="setShowCurrencyList($event)"></span>
|
|
|
|
|
- <span v-if="purchaseDetail.currency" v-text="purchaseDetail.currency"></span>
|
|
|
|
|
- <img v-if="!purchaseDetail.currency && !showCurrencyList" src="/images/mobile/@2x/applyPurchase/currency-arrow-down.png" alt="">
|
|
|
|
|
- <img v-if="!purchaseDetail.currency && showCurrencyList" src="/images/mobile/@2x/applyPurchase/currency-arrow-up.png" alt="">
|
|
|
|
|
|
|
+ <span v-if="!purchaseDetail.custCurrency" v-text="sayPriceObj.currency" @click="setShowCurrencyList($event)"></span>
|
|
|
|
|
+ <span v-if="purchaseDetail.custCurrency" v-text="purchaseDetail.custCurrency"></span>
|
|
|
|
|
+ <img v-if="!purchaseDetail.custCurrency && !showCurrencyList" src="/images/mobile/@2x/applyPurchase/currency-arrow-down.png" alt="">
|
|
|
|
|
+ <img v-if="!purchaseDetail.custCurrency && showCurrencyList" src="/images/mobile/@2x/applyPurchase/currency-arrow-up.png" alt="">
|
|
|
<ul v-if="showCurrencyList">
|
|
<ul v-if="showCurrencyList">
|
|
|
<li @click="setCurrency('RMB')">RMB</li>
|
|
<li @click="setCurrency('RMB')">RMB</li>
|
|
|
<li @click="setCurrency('USD')">USD</li>
|
|
<li @click="setCurrency('USD')">USD</li>
|
|
@@ -172,9 +172,7 @@
|
|
|
purchaseMan.vendUU = this.user.data.enterprise.uu
|
|
purchaseMan.vendUU = this.user.data.enterprise.uu
|
|
|
purchaseMan.vendUserUU = this.user.data.userUU
|
|
purchaseMan.vendUserUU = this.user.data.userUU
|
|
|
purchaseMan.qutoApp = 'MALL'
|
|
purchaseMan.qutoApp = 'MALL'
|
|
|
- if (!purchaseMan.currency) {
|
|
|
|
|
- purchaseMan.currency = this.sayPriceObj.currency
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ purchaseMan.currency = purchaseMan.custCurrency || this.sayPriceObj.currency
|
|
|
this.$http.post('/inquiry/sale/item/save', purchaseMan).then(response => {
|
|
this.$http.post('/inquiry/sale/item/save', purchaseMan).then(response => {
|
|
|
this.showLoading = false
|
|
this.showLoading = false
|
|
|
if (response.data.success === false) {
|
|
if (response.data.success === false) {
|