|
|
@@ -31,10 +31,10 @@
|
|
|
<span class="fl">价格梯度<span>(PCS)</span></span>
|
|
|
<span class="fr">
|
|
|
<!--<span v-text="sayPriceObj.currency" @click="setShowCurrencyList($event)"></span>-->
|
|
|
- <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="">
|
|
|
+ <span v-text="sayPriceObj.currency" @click="setShowCurrencyList($event)"></span>
|
|
|
+ <!--<span v-if="purchaseDetail.custCurrency" v-text="purchaseDetail.custCurrency"></span>-->
|
|
|
+ <img v-if="!showCurrencyList" src="/images/mobile/@2x/applyPurchase/currency-arrow-down.png" alt="">
|
|
|
+ <img v-if="showCurrencyList" src="/images/mobile/@2x/applyPurchase/currency-arrow-up.png" alt="">
|
|
|
<ul v-if="showCurrencyList">
|
|
|
<li @click="setCurrency('RMB')">RMB</li>
|
|
|
<li @click="setCurrency('USD')">USD</li>
|
|
|
@@ -120,7 +120,7 @@
|
|
|
},
|
|
|
computed: {
|
|
|
purchaseDetail () {
|
|
|
- return this.$store.state.applyPurchase.purchaseManList.purchaseManDetail.data
|
|
|
+ return JSON.parse(JSON.stringify(this.$store.state.applyPurchase.purchaseManList.purchaseManDetail.data))
|
|
|
},
|
|
|
user () {
|
|
|
return this.$store.state.option.user
|
|
|
@@ -173,7 +173,7 @@
|
|
|
purchaseMan.vendUU = this.user.data.enterprise.uu
|
|
|
purchaseMan.vendUserUU = this.user.data.userUU
|
|
|
purchaseMan.qutoApp = 'MALL'
|
|
|
- purchaseMan.currency = purchaseMan.custCurrency || this.sayPriceObj.currency
|
|
|
+ purchaseMan.currency = this.sayPriceObj.currency
|
|
|
this.$http.post('/inquiry/sale/item/save', purchaseMan).then(response => {
|
|
|
this.showLoading = false
|
|
|
if (response.data.success === false) {
|