提交 37798aca 编写于 作者: yi.li's avatar yi.li

订单详情storeType取值修改

上级 86834059
......@@ -151,19 +151,19 @@
}
},
created() {
this.orderId = this.$route.query.id;
this.storeId = this.$route.query.storeId || 0;
const {id, storeId, storeType} = this.$route.query;
this.orderId = id;
this.storeId = storeId;
this.storeType = storeType;
this.jumPathThird = `/order-manage?storeId=${this.storeId}`;
this.init();
},
methods: {
init() {
queryOrderDetail(this.orderId).then(res => {
console.log('获取订单详情',res);
if (res.code == '000000') {
const { goodsInfoDtoList } = res.data;
this.orderDetailData = {...res.data};
this.storeType = res.data.storeType;
this.showStatus = res.data.showStatus;
this.tableData = goodsInfoDtoList;
}
......
......@@ -425,6 +425,7 @@
query:{
id: row.id,
storeId: this.searchForm.storeId,
storeType: row.storeType,
}
})
},
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册