@@ -1,7 +1,7 @@
/**
* 全局配置文件
*/
-export const BASE_URL = process.env.NODE_ENV === "development" ? 'https://erp.xianglitech.com.cn/prod-api' : 'https://erp.xianglitech.com.cn/prod-api'
+export const BASE_URL = process.env.NODE_ENV === "development" ? 'http://192.168.168.42:8080' : 'https://erp.xianglitech.com.cn/prod-api'
// https://erp.xianglitech.com.cn/prod-api
// https://test-erp.xianglitech.com.cn/stage-api
@@ -231,6 +231,7 @@ export default {
this.resetErrorPopData();
if(this.toStock) {
this.toStock = false
+ this.actionPop.errorShow = false
uni.navigateTo({
url: `/pages/inventory-task/detail?id=${this.activeTaskId}&pageType=1`,
});
@@ -137,6 +137,7 @@
init() {
uni.showLoading()
this.params.pageNum = 1
+ this.taskList = []
this.getSaleOrder()
},
searchClick() {
@@ -136,6 +136,7 @@
this.params.currentPage = 1
this.getPurchaseInventory()