|
@@ -43,14 +43,14 @@
|
|
|
待收:
|
|
|
<text class="fontColor">¥{{ chooseTotalPayPrice }}</text>
|
|
|
</view>
|
|
|
- <view v-if="chooseList.length > 0 && discountVal!=0">
|
|
|
+ <view v-if="chooseList.length > 0 && backDiscountVal&&backDiscountVal!=0">
|
|
|
折后:
|
|
|
<text class="fontColor">¥{{ backDiscountPrice }}</text>
|
|
|
</view>
|
|
|
<view class="u-flex" v-if="chooseList.length > 0">
|
|
|
<view>
|
|
|
折让:
|
|
|
- <text>¥{{ discountVal || 0 }}</text>
|
|
|
+ <text>¥{{ backDiscountVal || 0 }}</text>
|
|
|
</view>
|
|
|
<view class="costBtn" @click="costShow = true">打折</view>
|
|
|
</view>
|
|
@@ -194,7 +194,8 @@ export default {
|
|
|
submitLoading: false,
|
|
|
shareShow: false,
|
|
|
verifySn:'',
|
|
|
- backDiscountPrice:'0.00'
|
|
|
+ backDiscountPrice:null,
|
|
|
+ backDiscountVal:null
|
|
|
};
|
|
|
},
|
|
|
onReady() {
|
|
@@ -382,6 +383,7 @@ export default {
|
|
|
}
|
|
|
this.costShow = false;
|
|
|
this.backDiscountPrice = this.settlement
|
|
|
+ this.backDiscountVal = this.discountVal
|
|
|
},
|
|
|
submitOrder() {
|
|
|
//发送对账单
|
|
@@ -419,6 +421,7 @@ export default {
|
|
|
}
|
|
|
this.discountVal = ''
|
|
|
this.backDiscountPrice = this.settlement
|
|
|
+ this.backDiscountVal = this.discountVal
|
|
|
// 是否全选
|
|
|
this.allChecked = isAllChecked;
|
|
|
},
|