fix:辅料库出入库明细筛选修正
This commit is contained in:
parent
4784a996f5
commit
b37296f460
|
@ -199,6 +199,9 @@ export default {
|
||||||
getList(val){
|
getList(val){
|
||||||
let that = this;
|
let that = this;
|
||||||
that.params.page = val?val:1;
|
that.params.page = val?val:1;
|
||||||
|
that.params.search = that.query.search;
|
||||||
|
that.params.mio__inout_date__gte = that.query.mio__inout_date__gte;
|
||||||
|
that.params.mio__inout_date__lte = that.query.mio__inout_date__lte;
|
||||||
that.$API.inm.mioitem.list.req(that.params).then((res) => {
|
that.$API.inm.mioitem.list.req(that.params).then((res) => {
|
||||||
if (res.count > 0) {
|
if (res.count > 0) {
|
||||||
that.tableData = res.results;
|
that.tableData = res.results;
|
||||||
|
@ -286,7 +289,9 @@ export default {
|
||||||
this.dialog.check = false;
|
this.dialog.check = false;
|
||||||
},
|
},
|
||||||
handleQuery() {
|
handleQuery() {
|
||||||
this.$refs.table.queryData(this.query);
|
let that = this;
|
||||||
|
that.params.page = 1;
|
||||||
|
that.getList(1);
|
||||||
},
|
},
|
||||||
resetQuery() {
|
resetQuery() {
|
||||||
this.query = {};
|
this.query = {};
|
||||||
|
|
Loading…
Reference in New Issue