|
|
|
@ -123,13 +123,13 @@ |
|
|
|
<view class="content-list"> |
|
|
|
<view class="list-name">实收金额</view> |
|
|
|
<view class="list-val"> |
|
|
|
<input type="number" :value="relPrice"> |
|
|
|
<input type="number" :value="relPrice" @blur="changessPrice($event)"> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="content-list"> |
|
|
|
<view class="list-name">已收金额</view> |
|
|
|
<view class="list-val"> |
|
|
|
<input type="number" :value="priceOk"> |
|
|
|
<input type="number" :value="priceOk" @blur="changePrice($event)"> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="content-list"> |
|
|
|
@ -392,6 +392,7 @@ |
|
|
|
this.carList1 = [] |
|
|
|
|
|
|
|
} |
|
|
|
that.shouldPay = 0 |
|
|
|
this.carList.forEach(function(value, key) { |
|
|
|
if(that.priceType == 0){ //零售 |
|
|
|
value.unitPrice = value.lsprice |
|
|
|
@ -442,6 +443,14 @@ |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
changessPrice(e){ |
|
|
|
console.log(e.target.value) |
|
|
|
this.relPrice = e.target.value |
|
|
|
}, |
|
|
|
changePrice(e){ |
|
|
|
this.priceOk = e.target.value |
|
|
|
this.noPay = this.relPrice - e.target.value; |
|
|
|
}, |
|
|
|
//切换销售员 |
|
|
|
categoryChange(e) { |
|
|
|
|