Commit fb9ce74e authored by 吴春's avatar 吴春

和平商旅订金

parent 202c28d0
...@@ -243,6 +243,14 @@ ...@@ -243,6 +243,14 @@
<el-button slot="append"></el-button> <el-button slot="append"></el-button>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item label="订金比例" v-if="currentUserInfo.MallBaseId==19" prop="DepositRatio">
<el-tooltip class="item" effect="dark" content="=0的时候支付全款,>0的时候首次支付按订单总金额*订金比例支付" placement="top-start"
style="position: absolute;left: -22px;top:12px">
<i class="elzk el-tooltip el-icon-info"></i>
</el-tooltip>
<el-input v-model="addMsg.DepositRatio" type="number" min="1" size="small" placeholder="请输入内容"
class="input-with-select"> <el-button slot="append">%</el-button></el-input>
</el-form-item>
<el-form-item label="原价" prop="OriginalPrice"> <el-form-item label="原价" prop="OriginalPrice">
<el-tooltip class="item" effect="dark" content="以划线形式显示" placement="top-start" <el-tooltip class="item" effect="dark" content="以划线形式显示" placement="top-start"
style="position: absolute;left: -22px;top:12px"> style="position: absolute;left: -22px;top:12px">
...@@ -428,6 +436,7 @@ ...@@ -428,6 +436,7 @@
size="small"></el-input> size="small"></el-input>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :render-header="renderHeader" v-if="FxState==1" width="120" label="返佣总金额"> <el-table-column :render-header="renderHeader" v-if="FxState==1" width="120" label="返佣总金额">
<template slot-scope="scope"> <template slot-scope="scope">
<el-input v-model="scope.row.Commission" <el-input v-model="scope.row.Commission"
...@@ -1237,6 +1246,7 @@ ...@@ -1237,6 +1246,7 @@
GoodsUrl: "", //简介 GoodsUrl: "", //简介
goodsLogo: "", //商品Logo goodsLogo: "", //商品Logo
IsKorea: 0, //是否为韩国馆 IsKorea: 0, //是否为韩国馆
DepositRatio:0,//订金比例
}, },
predefineColors: [ predefineColors: [
'#000000', '#000000',
...@@ -1271,6 +1281,11 @@ ...@@ -1271,6 +1281,11 @@
message: "请输入商品售价", message: "请输入商品售价",
trigger: "blur" trigger: "blur"
}], }],
DepositRatio: [{
required: true,
message: "请输入商品订金",
trigger: "blur"
}],
OriginalPrice: [{ OriginalPrice: [{
required: true, required: true,
message: "请输入商品原价", message: "请输入商品原价",
......
...@@ -516,6 +516,7 @@ export default { ...@@ -516,6 +516,7 @@ export default {
regionshow:false, regionshow:false,
regionlist:[], regionlist:[],
regiontotal:0, regiontotal:0,
IsHPSL:false,
} }
}, },
created(){ created(){
...@@ -613,6 +614,7 @@ export default { ...@@ -613,6 +614,7 @@ export default {
}, },
//审核同意 收货地址选择 //审核同意 收货地址选择
agree(item){ agree(item){
this.IsHPSL=false;
let that=this; let that=this;
this.SetOrderMsg.ReOrderId=item.ReOrderId; this.SetOrderMsg.ReOrderId=item.ReOrderId;
this.SetOrderMsg.Type=1; this.SetOrderMsg.Type=1;
...@@ -621,8 +623,15 @@ export default { ...@@ -621,8 +623,15 @@ export default {
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
this.regionshow=true; if(item.TenantId==29){
this.IsHPSL=true;
this.regionsubmitForm();
}
else{
this.regionshow=true;
this.getLogisticsDeliveryPage() this.getLogisticsDeliveryPage()
}
}).catch(() => { }).catch(() => {
}); });
...@@ -647,7 +656,8 @@ export default { ...@@ -647,7 +656,8 @@ export default {
regionsubmitForm(){ regionsubmitForm(){
if(this.SetOrderMsg.DeliveryId==''){ console.log("this.IsHPSL",this.IsHPSL);
if(this.SetOrderMsg.DeliveryId==''&&this.IsHPSL==false){
this.Error('请选择收货地址'); this.Error('请选择收货地址');
return false return false
} }
...@@ -656,7 +666,7 @@ export default { ...@@ -656,7 +666,7 @@ export default {
res => { res => {
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.regionshow=false this.regionshow=false
this.regionMsg.pageIndex = 1;
this.getList(); this.getList();
this.Success(res.data.message) this.Success(res.data.message)
} else { } else {
......
...@@ -196,6 +196,12 @@ ...@@ -196,6 +196,12 @@
{{dataInfo.BuyerMessage}} {{dataInfo.BuyerMessage}}
</div> </div>
</div> </div>
<div v-if="dataInfo.OrderStatus>=6&& dataInfo.CancelRemark && dataInfo.CancelRemark!=''" flex="dir:left cross:center" class="item-box" style="flex-shrink: 0;">
<span class="label">取消原因:</span>
<div>
{{dataInfo.CancelRemark}}
</div>
</div>
</div> </div>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
......
...@@ -386,6 +386,7 @@ ...@@ -386,6 +386,7 @@
<img slot="reference" src="../../assets/img/userman/price.png" alt="" /> <img slot="reference" src="../../assets/img/userman/price.png" alt="" />
</el-popover> </el-popover>
</div> </div>
<div class="express-price"> <div class="express-price">
<span> <span>
<span style="color: rgb(144, 147, 153)">(含运费¥{{ item.FreightMoney }}) <span style="color: rgb(144, 147, 153)">(含运费¥{{ item.FreightMoney }})
...@@ -394,6 +395,9 @@ ...@@ -394,6 +395,9 @@
</span> </span>
</span> </span>
</div> </div>
<div v-if="currentUserInfo.TenantId==29">
<span style="font-size: 12px">已付金额:¥{{ item.PayIncome }}</span>
</div>
<div> <div>
<el-tag effect="dark" type="warning" size="mini">{{ <el-tag effect="dark" type="warning" size="mini">{{
item.PaymentWayName item.PaymentWayName
...@@ -475,11 +479,11 @@ ...@@ -475,11 +479,11 @@
src="../../assets/img/userman/sale.png" alt="" /> src="../../assets/img/userman/sale.png" alt="" />
</el-tooltip> </el-tooltip>
<!--待处理--> <!--待处理-->
<el-tooltip class="item" effect="dark" content="同意" placement="top" v-if="item.OrderStatus == 6"> <el-tooltip class="item" effect="dark" :content="'同意'+((item.CancelRemark&&item.CancelRemark!='')?('【申请理由:'+item.CancelRemark+'】'):'')" placement="top" v-if="item.OrderStatus == 6">
<img @click="pending(item, 1)" v-if="item.OrderStatus == 6" class="app-order-icon" <img @click="pending(item, 1)" v-if="item.OrderStatus == 6" class="app-order-icon"
src="../../assets/img/userman/pass.png" alt="" /> src="../../assets/img/userman/pass.png" alt="" />
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" content="拒绝" placement="top" v-if="item.OrderStatus == 6"> <el-tooltip class="item" effect="dark" :content="'拒绝'+((item.CancelRemark&&item.CancelRemark!='')?('【申请理由:'+item.CancelRemark+'】'):'')" placement="top" v-if="item.OrderStatus == 6">
<img @click="pending(item, 2)" v-if="item.OrderStatus == 6" class="app-order-icon" <img @click="pending(item, 2)" v-if="item.OrderStatus == 6" class="app-order-icon"
src="../../assets/img/userman/nopass.png" alt="" /> src="../../assets/img/userman/nopass.png" alt="" />
</el-tooltip> </el-tooltip>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment