|
|
@@ -160,7 +160,12 @@
|
|
|
<input type="text" class="form-control" placeholder="数量">-->
|
|
|
</div>
|
|
|
<div class="form-item form-right">
|
|
|
- <span><i>*</i>单价({{purchaseManList.content[currentSayPriceIndex].currency == 'USD' ? '$' : '¥'}}):</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>
|
|
|
+ <option value="USD">$</option>
|
|
|
+ </select>
|
|
|
<input type="number" class="form-control" @input="onReplyPriceInput(index)" @blur="onReplyPriceBlur(index)" placeholder="单价" v-model="reply.price">
|
|
|
<i class="fa fa-minus-circle" v-if="sayPriceObj.replies.length > 1" @click="setReplies('sub', index)"></i>
|
|
|
<i class="fa fa-plus-circle" v-if="sayPriceObj.replies.length < 5" @click="setReplies('add', index)"></i>
|
|
|
@@ -308,6 +313,9 @@
|
|
|
purchaseMan.vendUU = this.user.data.enterprise.uu
|
|
|
purchaseMan.vendorUserUU = this.user.data.userUU
|
|
|
purchaseMan.qutoApp = 'MALL'
|
|
|
+ if (!purchaseMan.currency) {
|
|
|
+ purchaseMan.currency = this.sayPriceObj.currency
|
|
|
+ }
|
|
|
this.$http.post('/inquiry/sale/item/save', purchaseMan).then(response => {
|
|
|
this.showLoading = false
|
|
|
if (response.data.success === false) {
|
|
|
@@ -995,13 +1003,12 @@
|
|
|
}
|
|
|
.say-price-box {
|
|
|
position: fixed;
|
|
|
- width: 527px;
|
|
|
+ width: 456px;
|
|
|
top: 30%;
|
|
|
left: 33%;
|
|
|
- border-radius: 5px;
|
|
|
- -webkit-box-shadow: 0 5px 15px rgba(0,0,0,.5);
|
|
|
- -moz-box-shadow: 0 5px 15px rgba(0,0,0,.5);
|
|
|
- box-shadow: 0 5px 15px rgba(0,0,0,.5);
|
|
|
+ /*-webkit-box-shadow: 0 5px 15px rgba(0,0,0,.5);*/
|
|
|
+ /*-moz-box-shadow: 0 5px 15px rgba(0,0,0,.5);*/
|
|
|
+ /*box-shadow: 0 5px 15px rgba(0,0,0,.5);*/
|
|
|
z-index: 1;
|
|
|
.title {
|
|
|
position: relative;
|
|
|
@@ -1009,10 +1016,14 @@
|
|
|
background: #4290f7;
|
|
|
line-height: 44px;
|
|
|
color: #fff;
|
|
|
+ border: {
|
|
|
+ top-right-radius: 5px;
|
|
|
+ top-left-radius: 5px;
|
|
|
+ }
|
|
|
> div {
|
|
|
display: inline-block;
|
|
|
- padding-left: 66px;
|
|
|
- width: 49%;
|
|
|
+ padding-left: 57px;
|
|
|
+ width: 47%;
|
|
|
overflow: hidden;
|
|
|
text-overflow: ellipsis;
|
|
|
white-space: nowrap;
|
|
|
@@ -1097,9 +1108,32 @@
|
|
|
}
|
|
|
&.form-right {
|
|
|
padding-left: 13px;
|
|
|
+ position: relative;
|
|
|
input {
|
|
|
width: 101px;
|
|
|
}
|
|
|
+ select {
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ width: 32px;
|
|
|
+ height: 28px;
|
|
|
+ background: url(/images/applyPurchase/arrow-down.png) no-repeat right center;
|
|
|
+ border: {
|
|
|
+ left: none;
|
|
|
+ top: none;
|
|
|
+ bottom: none;
|
|
|
+ right: 1px solid #bfbfbf;
|
|
|
+ bottom-left-radius: 4px;
|
|
|
+ top-left-radius: 4px;
|
|
|
+ }
|
|
|
+ color: #5392f9;
|
|
|
+ font: small-caption;
|
|
|
+ padding-left: 8px;
|
|
|
+ outline: none;
|
|
|
+ & + input {
|
|
|
+ padding-left: 36px;
|
|
|
+ }
|
|
|
+ }
|
|
|
> i {
|
|
|
margin-left: 4px;
|
|
|
}
|
|
|
@@ -1108,11 +1142,15 @@
|
|
|
}
|
|
|
}
|
|
|
.operate {
|
|
|
- border-top: 1px solid #e4e5e6;
|
|
|
background: #fff;
|
|
|
height: 62px;
|
|
|
text-align: center;
|
|
|
padding-top: 15px;
|
|
|
+ border: {
|
|
|
+ top: 1px solid #e4e5e6;
|
|
|
+ bottom-left-radius: 5px;
|
|
|
+ bottom-right-radius: 5px;
|
|
|
+ }
|
|
|
span {
|
|
|
display: inline-block;
|
|
|
width: 64px;
|