|
|
@@ -131,11 +131,10 @@
|
|
|
|
|
|
<view class="under-bar">
|
|
|
<view class="price-view">
|
|
|
- <text class="price-title" v-if="isBilling">
|
|
|
+ <text class="price-title">
|
|
|
<text>实际金额</text>
|
|
|
</text>
|
|
|
- <text class="price-title" v-else>金额</text>
|
|
|
- <text class="price-number">¥<text class="large">{{ finalPrice }}</text></text>
|
|
|
+ <text class="price-number">¥<text class="large">{{ modifyPrice }}</text></text>
|
|
|
</view>
|
|
|
<button class="admin-button-com blue middle" @click="confirmSubmit">提交</button>
|
|
|
</view>
|
|
|
@@ -422,6 +421,10 @@ export default {
|
|
|
if (formData.sendType == 2) {
|
|
|
formData.sendCost = "";
|
|
|
}
|
|
|
+ if(Number(this.modifyPrice) <= 0){
|
|
|
+ this.$msg('收款金额必须大于0');
|
|
|
+ return false
|
|
|
+ }
|
|
|
let Fn = createOrder
|
|
|
let params = {...formData,modifyPrice: this.modifyPrice,newVersion:1};
|
|
|
if(this.option.orderId && this.option.orderId > 0){
|