|
|
@@ -97,12 +97,12 @@
|
|
|
|
|
|
<tui-list-cell class="line-cell" :hover="false" :arrow="false" >
|
|
|
<view class="tui-title">实收金额</view>
|
|
|
- <input style="border: 1px solid #eee;color: #3385FF;width: calc(100%);" type="number" @focus="realMoney=''" v-model="realMoney" placeholder-class="tui-placeholder"/>
|
|
|
+ <input style="border: 1px solid #eee;color: #3385FF;width: calc(100%);" type="number" @focus="modifyPrice=''" v-model="modifyPrice" placeholder-class="tui-placeholder"/>
|
|
|
</tui-list-cell>
|
|
|
|
|
|
<tui-list-cell class="line-cell" :hover="false" :arrow="false" >
|
|
|
<view class="tui-title">优惠</view>
|
|
|
- <text style="color: #3385FF">{{ (allPrice.toFixed(2) - realMoney + Number(this.form.sendCost)).toFixed(2) }}</text>
|
|
|
+ <text style="color: #3385FF">{{ (allPrice.toFixed(2) - modifyPrice + Number(this.form.sendCost)).toFixed(2) }}</text>
|
|
|
</tui-list-cell>
|
|
|
|
|
|
</view>
|
|
|
@@ -115,7 +115,7 @@
|
|
|
¥
|
|
|
<!--<text class="large" v-if="form.sendType == 1">{{ (allPrice + Number(form.sendCost)).toFixed(2) }}</text>-->
|
|
|
<!--<text class="large" v-else >{{ allPrice.toFixed(2) }}</text>-->
|
|
|
- <text class="large" >{{ realMoney?realMoney:0 }}</text>
|
|
|
+ <text class="large" >{{ modifyPrice?modifyPrice:0 }}</text>
|
|
|
</text>
|
|
|
</view>
|
|
|
<button class="admin-button-com blue middle" @click="affirmFormSubmit">
|
|
|
@@ -177,7 +177,7 @@ export default {
|
|
|
product: "",
|
|
|
},
|
|
|
money: "",
|
|
|
- realMoney: 0,
|
|
|
+ modifyPrice: 0,
|
|
|
showCustomer: false
|
|
|
};
|
|
|
},
|
|
|
@@ -193,7 +193,7 @@ export default {
|
|
|
title: this.getMerchantInfo.name,
|
|
|
});
|
|
|
}
|
|
|
- this.realMoney = this.allPrice.toFixed(2);
|
|
|
+ this.modifyPrice = this.allPrice.toFixed(2);
|
|
|
},
|
|
|
onShow(){
|
|
|
if(!this.$util.isEmpty(uni.getStorageSync("newClient"))){
|
|
|
@@ -214,7 +214,7 @@ export default {
|
|
|
countAllPrices (e) {
|
|
|
this.allPrices = this.allPrices + Number(this.form.sendCost);
|
|
|
let allPrices = this.allPrice.toFixed(2)
|
|
|
- this.realMoney = (Number(allPrices) + Number(this.form.sendCost)).toFixed(2);
|
|
|
+ this.modifyPrice = (Number(allPrices) + Number(this.form.sendCost)).toFixed(2);
|
|
|
|
|
|
},
|
|
|
courier (type) {
|
|
|
@@ -270,7 +270,7 @@ export default {
|
|
|
options.sendCost = "";
|
|
|
}
|
|
|
|
|
|
- createOrder({...options,realPrice: this.realMoney,}).then((res) => {
|
|
|
+ createOrder({...options,modifyPrice: this.modifyPrice,}).then((res) => {
|
|
|
this.resetSelectInfoByType(this.pageType);
|
|
|
const {
|
|
|
data: { id, orderSn },
|