diff --git a/src/views/system/dept/invWarehouse.vue b/src/views/system/dept/invWarehouse.vue index a960f5f..390694a 100644 --- a/src/views/system/dept/invWarehouse.vue +++ b/src/views/system/dept/invWarehouse.vue @@ -288,6 +288,7 @@ 查询 + 重置 @@ -501,6 +502,33 @@ export default { }; }, + onResetintent(){ + debugger + this.$router.push({ + path: "", + }); + this.thirdSubQuery = { + thirdSysFk: this.thirdSubQuery.thirdSysFk, + page:1, + limit: 10 + } + + filterThridSubByInv(this.thirdSubQuery).then((res) => { + if (res.code == 20000) { + this.thrSubWarehouseData = res.data.list; + this.subTotal = res.data.total || 0; + } else { + this.$message.error(res.message); + } + + }).catch((error) => { + this.thrWarehouseData = []; + this.subTotal = 0; + this.$message.error("第三方分库库数据加载失败"); + }); + + }, + onSubmit() { //提交查询 this.query.advanceType=this.subDataType.advanceType; this.getList();