修改订单刷新逻辑
This commit is contained in:
parent
93ee5e564a
commit
69234b8c3f
|
|
@ -145,6 +145,7 @@ export default {
|
||||||
* 切换tab页
|
* 切换tab页
|
||||||
*/
|
*/
|
||||||
switchTab(index) {
|
switchTab(index) {
|
||||||
|
this.$store.commit("system/refreshOrder", false);
|
||||||
this.$store.commit("system/currentOrderTabIndex", index);
|
this.$store.commit("system/currentOrderTabIndex", index);
|
||||||
this.tabIndex = index;
|
this.tabIndex = index;
|
||||||
let currentTab = this.tabList[index];
|
let currentTab = this.tabList[index];
|
||||||
|
|
@ -208,7 +209,6 @@ export default {
|
||||||
* 跳转详情
|
* 跳转详情
|
||||||
*/
|
*/
|
||||||
toDetail(id, state, listType, orderType) {
|
toDetail(id, state, listType, orderType) {
|
||||||
this.$store.commit("system/refreshOrder", false);
|
|
||||||
let tab = "detail";
|
let tab = "detail";
|
||||||
// 报价订单未选择师傅 跳转后切换到师傅列表
|
// 报价订单未选择师傅 跳转后切换到师傅列表
|
||||||
if (listType == "t2" && orderType == 2 && state == 0) {
|
if (listType == "t2" && orderType == 2 && state == 0) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue