|
@@ -30,22 +30,20 @@
|
|
<text class="label">订单金额</text>
|
|
<text class="label">订单金额</text>
|
|
<text class="desc">¥ {{ item.totalPrice }}</text>
|
|
<text class="desc">¥ {{ item.totalPrice }}</text>
|
|
</view>
|
|
</view>
|
|
- <view class="item">
|
|
+ <!-- <view class="item">
|
|
<text class="label">上架金额(元)</text>
|
|
<text class="label">上架金额(元)</text>
|
|
<text class="desc">
|
|
<text class="desc">
|
|
<input type="number" v-model="resalePrice" placeholder="请输入" />
|
|
<input type="number" v-model="resalePrice" placeholder="请输入" />
|
|
</text>
|
|
</text>
|
|
- </view>
|
|
+ </view> -->
|
|
<!-- <view class="item">
|
|
<!-- <view class="item">
|
|
<text class="label">利润</text>
|
|
<text class="label">利润</text>
|
|
<text class="desc">50元</text>
|
|
<text class="desc">50元</text>
|
|
</view> -->
|
|
</view> -->
|
|
- <!-- <view class="item">
|
|
+ <view class="item">
|
|
- <text class="label">计算总金额</text>
|
|
+ <text class="label">上架金额</text>
|
|
- <text class="desc">
|
|
+ <text class="desc">¥ {{ resalePrice }}</text>
|
|
- <input type="number" v-model="resalePrice" :disabled="true"/>
|
|
+ </view>
|
|
- </text>
|
|
|
|
- </view> -->
|
|
|
|
</view>
|
|
</view>
|
|
<u-divider text="费项明细"></u-divider>
|
|
<u-divider text="费项明细"></u-divider>
|
|
<view>总费用:{{fee.totalFee}}<span style="color: coral;margin-left: 5px;font-size: 16px;">元</span></view>
|
|
<view>总费用:{{fee.totalFee}}<span style="color: coral;margin-left: 5px;font-size: 16px;">元</span></view>
|
|
@@ -118,19 +116,20 @@ export default {
|
|
// this.resalePrice = (res.data.data.sumPrice + 50).toFixed(2)
|
|
// this.resalePrice = (res.data.data.sumPrice + 50).toFixed(2)
|
|
// this.newRuleList = res.data.data.newRuleList
|
|
// this.newRuleList = res.data.data.newRuleList
|
|
this.fee=res.data.data;
|
|
this.fee=res.data.data;
|
|
|
|
+ this.resalePrice = (this.fee.totalFee + this.item.totalPrice).toFixed(2);
|
|
}
|
|
}
|
|
});
|
|
});
|
|
},
|
|
},
|
|
ok() {
|
|
ok() {
|
|
let resalePrice=this.resalePrice;
|
|
let resalePrice=this.resalePrice;
|
|
- if(!resalePrice){
|
|
+ /* if(!resalePrice){
|
|
uni.showToast({title: '请填写上架金额',icon:'error'});
|
|
uni.showToast({title: '请填写上架金额',icon:'error'});
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
if(resalePrice<this.item.totalPrice){
|
|
if(resalePrice<this.item.totalPrice){
|
|
uni.showToast({title: '上架金额不能小于订单金额',icon:'error'});
|
|
uni.showToast({title: '上架金额不能小于订单金额',icon:'error'});
|
|
return;
|
|
return;
|
|
- }
|
|
+ } */
|
|
uni.showModal({
|
|
uni.showModal({
|
|
title: '提示',
|
|
title: '提示',
|
|
content: '确定上架?',
|
|
content: '确定上架?',
|