Commit 250adf18 authored by 黄奎's avatar 黄奎

页面修改

parent 78ef027d
...@@ -28,15 +28,15 @@ ...@@ -28,15 +28,15 @@
<el-step v-if="activeStep>2" title="已发货" icon="el-icon-edit" :description="dataInfo.DeliveryTime"> <el-step v-if="activeStep>2" title="已发货" icon="el-icon-edit" :description="dataInfo.DeliveryTime">
<i :class="activeStep>2?'step03Active':'step03'" slot="icon"></i> <i :class="activeStep>2?'step03Active':'step03'" slot="icon"></i>
</el-step> </el-step>
<el-step v-else title="未发货" icon="el-icon-edit" description=""> <el-step v-else title="未使用" icon="el-icon-edit" description="">
<i :class="activeStep>2?'step03Active':'step03'" slot="icon"></i> <i :class="activeStep>2?'step03Active':'step03'" slot="icon"></i>
</el-step> </el-step>
</template> </template>
<template> <template>
<el-step v-if="activeStep==3" title="未收货" icon="el-icon-edit"> <el-step v-if="activeStep==3" title="未使用" icon="el-icon-edit">
<i :class="activeStep==4?'step04Active':'step04'" slot="icon"></i> <i :class="activeStep==4?'step04Active':'step04'" slot="icon"></i>
</el-step> </el-step>
<el-step v-else-if="activeStep>3" title="已收货" icon="el-icon-edit" :description="dataInfo.ReceivingTime"> <el-step v-else-if="activeStep>3" title="已使用" icon="el-icon-edit" :description="dataInfo.ReceivingTime">
<i :class="activeStep>3?'step04Active':'step04'" slot="icon"></i> <i :class="activeStep>3?'step04Active':'step04'" slot="icon"></i>
</el-step> </el-step>
</template> </template>
...@@ -69,7 +69,6 @@ ...@@ -69,7 +69,6 @@
<span <span
class="el-tag el-tag--success el-tag--small el-tag--light is-hit">{{dataInfo.OrderInfo.PaymentWayName}}</span> class="el-tag el-tag--success el-tag--small el-tag--light is-hit">{{dataInfo.OrderInfo.PaymentWayName}}</span>
</div> </div>
<div flex="dir:left cross:center" class="item-box" <div flex="dir:left cross:center" class="item-box"
v-if="dataInfo.CouponMoney && dataInfo.CouponMoney !='' && dataInfo.CouponMoney>0"> v-if="dataInfo.CouponMoney && dataInfo.CouponMoney !='' && dataInfo.CouponMoney>0">
<span class="label">优惠金额:</span> <span class="label">优惠金额:</span>
...@@ -162,7 +161,6 @@ ...@@ -162,7 +161,6 @@
</el-row> </el-row>
</div> </div>
</template> </template>
</div> </div>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
...@@ -218,13 +216,11 @@ ...@@ -218,13 +216,11 @@
<span class="label">姓名:</span> <span class="label">姓名:</span>
<div>{{item.UserName}}</div> <div>{{item.UserName}}</div>
</div> </div>
<div flex="dir:left cross:center" class="item-box share-price"> <div flex="dir:left cross:center" class="item-box share-price">
<span class="label orange-label">佣金:</span> <span class="label orange-label">佣金:</span>
<div>¥{{item.Commission}}</div> <div>¥{{item.Commission}}</div>
</div> </div>
</div> </div>
</div> </div>
<div v-if="dataInfo.OrderIntroductionInfo!=undefined && dataInfo.OrderIntroductionInfo.length>0"> <div v-if="dataInfo.OrderIntroductionInfo!=undefined && dataInfo.OrderIntroductionInfo.length>0">
<h3>推荐供应商返佣</h3> <h3>推荐供应商返佣</h3>
...@@ -233,13 +229,11 @@ ...@@ -233,13 +229,11 @@
<span class="label">姓名:</span> <span class="label">姓名:</span>
<div>{{item.UserName}}</div> <div>{{item.UserName}}</div>
</div> </div>
<div flex="dir:left cross:center" class="item-box share-price"> <div flex="dir:left cross:center" class="item-box share-price">
<span class="label orange-label">佣金:</span> <span class="label orange-label">佣金:</span>
<div>¥{{item.Commission}}</div> <div>¥{{item.Commission}}</div>
</div> </div>
</div> </div>
</div> </div>
<div v-if="dataInfo.SmallShopsCommissionInfo!=undefined && dataInfo.SmallShopsCommissionInfo.length>0"> <div v-if="dataInfo.SmallShopsCommissionInfo!=undefined && dataInfo.SmallShopsCommissionInfo.length>0">
<h3>微店佣金</h3> <h3>微店佣金</h3>
...@@ -406,7 +400,6 @@ ...@@ -406,7 +400,6 @@
</el-form-item> </el-form-item>
<el-form-item label="快递单号" prop="ExpressNumber"> <el-form-item label="快递单号" prop="ExpressNumber">
<el-input size="small" v-model="fhMsg.ExpressNumber"> <el-input size="small" v-model="fhMsg.ExpressNumber">
<!-- <el-button slot="append"> 获取面单</el-button> -->
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item label="商家留言"> <el-form-item label="商家留言">
...@@ -418,7 +411,6 @@ ...@@ -418,7 +411,6 @@
<el-input type="textarea" row="2" size="small" v-model="fhMsg.Remark"></el-input> <el-input type="textarea" row="2" size="small" v-model="fhMsg.Remark"></el-input>
</el-form-item> </el-form-item>
</template> </template>
</el-form> </el-form>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button size="small" @click="fhDig = false">取 消</el-button> <el-button size="small" @click="fhDig = false">取 消</el-button>
...@@ -534,16 +526,13 @@ ...@@ -534,16 +526,13 @@
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.getList(); this.getList();
this.Success(res.data.message) this.Success(res.data.message)
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
}, },
null null
); );
}).catch(() => { }).catch(() => {});
});
}, },
// 确认收货 // 确认收货
ConfirmSh(item) { ConfirmSh(item) {
...@@ -562,16 +551,13 @@ ...@@ -562,16 +551,13 @@
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.getData(); this.getData();
this.Success(res.data.message) this.Success(res.data.message)
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
}, },
null null
); );
}).catch(() => { }).catch(() => {});
});
}, },
FhsubmitForm(formName) { FhsubmitForm(formName) {
this.$refs[formName].validate((valid) => { this.$refs[formName].validate((valid) => {
...@@ -609,7 +595,6 @@ ...@@ -609,7 +595,6 @@
}, },
TableSelectChange(val) { TableSelectChange(val) {
this.checkfhList = val; this.checkfhList = val;
}, },
selectable(row, index) { selectable(row, index) {
return row.IsBindExpress === 2 return row.IsBindExpress === 2
...@@ -657,7 +642,7 @@ ...@@ -657,7 +642,7 @@
}, res => { }, res => {
console.log(" res.data", res.data); console.log(" res.data", res.data);
this.dataInfo = res.data.data; this.dataInfo = res.data.data;
console.log("this.dataInfo",this.dataInfo); console.log("this.dataInfo", this.dataInfo);
let data = res.data.data; let data = res.data.data;
// 未付款 // 未付款
if (data.PaymentTime == '' && data.DeliveryTime == '') { if (data.PaymentTime == '' && data.DeliveryTime == '') {
...@@ -754,7 +739,6 @@ ...@@ -754,7 +739,6 @@
this.getData(); this.getData();
this.Success(res.data.message) this.Success(res.data.message)
this.shDig = false; this.shDig = false;
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
...@@ -793,13 +777,10 @@ ...@@ -793,13 +777,10 @@
} }
}) })
}, },
}, },
mounted() { mounted() {
} }
}; };
</script> </script>
<style> <style>
.app-order-detail .goods-pic { .app-order-detail .goods-pic {
......
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
<div class="orderList"> <div class="orderList">
<div class="head-title"> <div class="head-title">
订单列表 订单列表
<el-button @click="dialogVisible=true" style="float:right;margin-top: -5px;" size="small" type="primary">批量导出 <el-button @click="dialogVisible=true" style="float:right;margin-top: -5px; display:none;" size="small"
type="primary">批量导出
</el-button> </el-button>
<el-button @click="ClearHsz" style="float:right;margin-top: -5px;margin-right:20px" size="small" type="primary"> <el-button @click="ClearHsz" style="float:right;margin-top: -5px;margin-right:20px" size="small" type="primary">
清空回收站</el-button> 清空回收站</el-button>
...@@ -115,7 +116,6 @@ ...@@ -115,7 +116,6 @@
<el-tooltip class="item" effect="dark" :content="item.BuyerMessage" placement="top"> <el-tooltip class="item" effect="dark" :content="item.BuyerMessage" placement="top">
<img src="../../assets/img/userman/remark.png" alt=""> <img src="../../assets/img/userman/remark.png" alt="">
</el-tooltip> </el-tooltip>
</div> </div>
<div flex="dir:left wrap:wrap" class="app-order-offline"> <div flex="dir:left wrap:wrap" class="app-order-offline">
<div v-if="item.DeliveryMethodName && item.DeliveryMethodName!=''" class="express-send-box"> <div v-if="item.DeliveryMethodName && item.DeliveryMethodName!=''" class="express-send-box">
...@@ -226,7 +226,6 @@ ...@@ -226,7 +226,6 @@
<span class="billtext" v-if="item.Status == 3" :style="{color:'#FFF100'}">{{item.FrID}}</span> <span class="billtext" v-if="item.Status == 3" :style="{color:'#FFF100'}">{{item.FrID}}</span>
<span class="billtext" v-if="item.Status == 4" :style="{color:'#800080'}">{{item.FrID}}</span> <span class="billtext" v-if="item.Status == 4" :style="{color:'#800080'}">{{item.FrID}}</span>
</span> </span>
</div> </div>
<div class="billStyle_item"> <div class="billStyle_item">
支出单据: 支出单据:
...@@ -449,7 +448,6 @@ ...@@ -449,7 +448,6 @@
<el-input type="textarea" row="2" size="small" v-model="fhMsg.Remark"></el-input> <el-input type="textarea" row="2" size="small" v-model="fhMsg.Remark"></el-input>
</el-form-item> </el-form-item>
</template> </template>
</el-form> </el-form>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button size="small" @click="fhDig = false">取 消</el-button> <el-button size="small" @click="fhDig = false">取 消</el-button>
...@@ -545,7 +543,6 @@ ...@@ -545,7 +543,6 @@
<el-button size="small" type="primary" @click="priceForm('priceMsg')">确 定</el-button> <el-button size="small" type="primary" @click="priceForm('priceMsg')">确 定</el-button>
</span> </span>
</el-dialog> </el-dialog>
<!-- 商品、运费成本的修改 --> <!-- 商品、运费成本的修改 -->
<el-dialog :title="cosType==1?'商品成本修改':'运费成本修改'" :visible.sync="costDig" width="600px"> <el-dialog :title="cosType==1?'商品成本修改':'运费成本修改'" :visible.sync="costDig" width="600px">
<el-form :model="costMsg" ref="costMsg" label-width="80px"> <el-form :model="costMsg" ref="costMsg" label-width="80px">
...@@ -575,7 +572,6 @@ ...@@ -575,7 +572,6 @@
<el-button size="small" type="primary" @click="SaveSuplier">确 定</el-button> <el-button size="small" type="primary" @click="SaveSuplier">确 定</el-button>
</span> </span>
</el-dialog> </el-dialog>
</div> </div>
</template> </template>
...@@ -808,7 +804,6 @@ ...@@ -808,7 +804,6 @@
} else { } else {
this.Error(res.data.message) this.Error(res.data.message)
} }
}) })
}, },
// 订单操作 // 订单操作
...@@ -827,7 +822,6 @@ ...@@ -827,7 +822,6 @@
this.getList(); this.getList();
this.Success(res.data.message) this.Success(res.data.message)
this.priceDig = false; this.priceDig = false;
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
...@@ -939,7 +933,6 @@ ...@@ -939,7 +933,6 @@
this.getList(); this.getList();
this.Success(res.data.message) this.Success(res.data.message)
this.hszDig = false; this.hszDig = false;
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
...@@ -952,8 +945,6 @@ ...@@ -952,8 +945,6 @@
this.pendMgs.OrderId = item.OrderId; this.pendMgs.OrderId = item.OrderId;
this.pendMgs.Type = type; this.pendMgs.Type = type;
this.pendMgs.Remark = ''; this.pendMgs.Remark = '';
}, },
// 待处理调用接口 // 待处理调用接口
pendingForm() { pendingForm() {
...@@ -968,10 +959,8 @@ ...@@ -968,10 +959,8 @@
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
this.loading = false; this.loading = false;
} }
}, },
); );
}, },
// 确认完成 // 确认完成
...@@ -991,16 +980,13 @@ ...@@ -991,16 +980,13 @@
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.getList(); this.getList();
this.Success(res.data.message) this.Success(res.data.message)
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
}, },
null null
); );
}).catch(() => { }).catch(() => {});
});
}, },
// 放入回收站 // 放入回收站
fRhsz(item, num) { fRhsz(item, num) {
...@@ -1032,16 +1018,13 @@ ...@@ -1032,16 +1018,13 @@
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.getList(); this.getList();
this.Success(res.data.message) this.Success(res.data.message)
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
}, },
null null
); );
}).catch(() => { }).catch(() => {});
});
}, },
// 修改收货地址 // 修改收货地址
ExitshAdress(item) { ExitshAdress(item) {
...@@ -1075,20 +1058,15 @@ ...@@ -1075,20 +1058,15 @@
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.getList(); this.getList();
this.Success(res.data.message) this.Success(res.data.message)
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
}, },
null null
); );
}).catch(() => { }).catch(() => {});
});
}, },
Offpayment(item) { //线下付款 Offpayment(item) { //线下付款
console.log(item)
let that = this; let that = this;
that.$confirm('确认转为线下付款,转后无法恢复!', '提示', { that.$confirm('确认转为线下付款,转后无法恢复!', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
...@@ -1102,16 +1080,13 @@ ...@@ -1102,16 +1080,13 @@
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.getList(); this.getList();
this.Success(res.data.message) this.Success(res.data.message)
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
}, },
null null
); );
}).catch(() => { }).catch(() => {});
});
}, },
// 判断是否有多个物流 // 判断是否有多个物流
getOrderSend(item) { getOrderSend(item) {
...@@ -1192,7 +1167,6 @@ ...@@ -1192,7 +1167,6 @@
}, },
TableSelectChange(val) { TableSelectChange(val) {
this.checkfhList = val; this.checkfhList = val;
}, },
selectable(row, index) { selectable(row, index) {
return row.IsBindExpress === 2 return row.IsBindExpress === 2
...@@ -1211,7 +1185,6 @@ ...@@ -1211,7 +1185,6 @@
OrderDetailIdList: [], OrderDetailIdList: [],
} }
this.fahuoList = item.DetailList; this.fahuoList = item.DetailList;
}, },
// 修改收货地址 // 修改收货地址
shsubmitForm(formName) { shsubmitForm(formName) {
...@@ -1223,7 +1196,6 @@ ...@@ -1223,7 +1196,6 @@
this.getList(); this.getList();
this.Success(res.data.message) this.Success(res.data.message)
this.shDig = false; this.shDig = false;
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
...@@ -1248,16 +1220,13 @@ ...@@ -1248,16 +1220,13 @@
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.getList(); this.getList();
this.Success(res.data.message) this.Success(res.data.message)
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
}, },
null null
); );
}).catch(() => { }).catch(() => {});
});
}, },
Export() { Export() {
this.msg.ExcelEnumIds = this.checkedCities; this.msg.ExcelEnumIds = this.checkedCities;
...@@ -1276,7 +1245,6 @@ ...@@ -1276,7 +1245,6 @@
data.forEach(item => { data.forEach(item => {
this.cityOptions.push(item.Id) this.cityOptions.push(item.Id)
}) })
}) })
}, },
handleCheckAllChange(val) { handleCheckAllChange(val) {
...@@ -1298,7 +1266,6 @@ ...@@ -1298,7 +1266,6 @@
this.getList(); this.getList();
this.Success(res.data.message) this.Success(res.data.message)
this.exitDig = false; this.exitDig = false;
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
...@@ -1342,7 +1309,6 @@ ...@@ -1342,7 +1309,6 @@
} else { } else {
that.Error(res.data.message); that.Error(res.data.message);
that.loading = false that.loading = false
} }
}, },
); );
...@@ -1359,7 +1325,6 @@ ...@@ -1359,7 +1325,6 @@
this.msg.pageIndex = 1 this.msg.pageIndex = 1
this.getList(); this.getList();
}, },
getList() { getList() {
let that = this; let that = this;
that.ChangeId(that.msgId); that.ChangeId(that.msgId);
...@@ -1389,7 +1354,6 @@ ...@@ -1389,7 +1354,6 @@
let pageData = res.data.data.pageData; let pageData = res.data.data.pageData;
this.tableData = pageData; this.tableData = pageData;
} }
}) })
}, },
handleCurrentChange(val) { handleCurrentChange(val) {
...@@ -1424,7 +1388,6 @@ ...@@ -1424,7 +1388,6 @@
this.orderTypeList = res.data.data; this.orderTypeList = res.data.data;
}) })
}, },
getplat() { getplat() {
this.apipost("/api/user/GetMemberUserSourceEnumList", {}, res => { this.apipost("/api/user/GetMemberUserSourceEnumList", {}, res => {
this.platList = res.data.data; this.platList = res.data.data;
...@@ -1478,7 +1441,6 @@ ...@@ -1478,7 +1441,6 @@
} }
this.costDig = true; this.costDig = true;
}, },
costForm(formName) { costForm(formName) {
this.$refs[formName].validate((valid) => { this.$refs[formName].validate((valid) => {
if (valid) { if (valid) {
...@@ -1523,7 +1485,6 @@ ...@@ -1523,7 +1485,6 @@
} }
}); });
}, },
//修改供应商 //修改供应商
UpdateSuplier(item) { UpdateSuplier(item) {
this.upSupliDilog = true; this.upSupliDilog = true;
...@@ -1593,7 +1554,6 @@ ...@@ -1593,7 +1554,6 @@
}; };
</script> </script>
<style> <style>
.orderList .remark-box { .orderList .remark-box {
padding-top: 3px; padding-top: 3px;
......
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