|
@@ -214,8 +214,6 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
mounted() {
|
|
mounted() {
|
|
|
- // getCategory()
|
|
|
|
|
- // getUsage()
|
|
|
|
|
},
|
|
},
|
|
|
onLoad(option) {
|
|
onLoad(option) {
|
|
|
let dateDefaultOption = [];
|
|
let dateDefaultOption = [];
|
|
@@ -233,15 +231,10 @@ export default {
|
|
|
uni.removeStorageSync("switchTabQuery");
|
|
uni.removeStorageSync("switchTabQuery");
|
|
|
this.tabIndex = parseInt(tabIndex.tabIndex);
|
|
this.tabIndex = parseInt(tabIndex.tabIndex);
|
|
|
}
|
|
}
|
|
|
|
|
+ this._list();
|
|
|
},
|
|
},
|
|
|
onShow() {
|
|
onShow() {
|
|
|
- this.resetList();
|
|
|
|
|
- let tabIndex = uni.getStorageSync("switchTabQuery") || null;
|
|
|
|
|
- if (tabIndex) {
|
|
|
|
|
- uni.removeStorageSync("switchTabQuery");
|
|
|
|
|
- this.tabIndex = parseInt(tabIndex.tabIndex);
|
|
|
|
|
- }
|
|
|
|
|
- this._list();
|
|
|
|
|
|
|
+
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
selectTime(type) {
|
|
selectTime(type) {
|
|
@@ -377,7 +370,6 @@ export default {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-
|
|
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
change(e) {
|
|
change(e) {
|
|
@@ -391,12 +383,6 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
// 免发货
|
|
// 免发货
|
|
|
- // freeShippingFn(item, index) {
|
|
|
|
|
- // // this.operateIndex = index;
|
|
|
|
|
- // this.operateData = item;
|
|
|
|
|
- // this.freeShipModal = true;
|
|
|
|
|
- // },
|
|
|
|
|
- // 免发货
|
|
|
|
|
freeShipModalClick(e) {
|
|
freeShipModalClick(e) {
|
|
|
freeShipping({ id: this.operateData.id }).then((res) => {
|
|
freeShipping({ id: this.operateData.id }).then((res) => {
|
|
|
this._list();
|
|
this._list();
|
|
@@ -416,31 +402,10 @@ export default {
|
|
|
// 关闭弹窗
|
|
// 关闭弹窗
|
|
|
modalCancel() {
|
|
modalCancel() {
|
|
|
this.freeShipModal = false;
|
|
this.freeShipModal = false;
|
|
|
- // this.classifyModal = false;
|
|
|
|
|
},
|
|
},
|
|
|
classifyOrder(id) {
|
|
classifyOrder(id) {
|
|
|
- // this.classifyModal = true
|
|
|
|
|
this.currentOrderId = id;
|
|
this.currentOrderId = id;
|
|
|
},
|
|
},
|
|
|
- // confirmClassify(e) {
|
|
|
|
|
- // if (e.index === 0) {
|
|
|
|
|
- // this.modalCancel()
|
|
|
|
|
- // } else {
|
|
|
|
|
- // orderClass({
|
|
|
|
|
- // id: this.currentOrderId,
|
|
|
|
|
- // ...this.classifyForm
|
|
|
|
|
- // }).then(res => {
|
|
|
|
|
- // this.classifyModal = false;
|
|
|
|
|
- // this.$msg('分类成功!')
|
|
|
|
|
- // })
|
|
|
|
|
- // }
|
|
|
|
|
- // },
|
|
|
|
|
- // selCategoryFn(item) {
|
|
|
|
|
- // this.classifyForm.categoryId = item.id
|
|
|
|
|
- // },
|
|
|
|
|
- // selUsageFn(item) {
|
|
|
|
|
- // this.classifyForm.usageId = item.id
|
|
|
|
|
- // }
|
|
|
|
|
},
|
|
},
|
|
|
};
|
|
};
|
|
|
</script>
|
|
</script>
|