diff --git a/src/mycomponents/item/itemFilter.vue b/src/mycomponents/item/itemFilter.vue index f546e007..16200aee 100644 --- a/src/mycomponents/item/itemFilter.vue +++ b/src/mycomponents/item/itemFilter.vue @@ -11,9 +11,7 @@ 库位 - - + 库存状态 : diff --git a/src/pages/query/item.vue b/src/pages/query/item.vue index 484554f1..8be5faee 100644 --- a/src/pages/query/item.vue +++ b/src/pages/query/item.vue @@ -269,7 +269,7 @@ filters: filters, pageNo: this.pageNo, pageSize: pageSize, - sorts:[{sort:"createTime",by:"DESC"},{sort:"locationCode",by:"ASC"} ,{sort:"id",by:"DESC"}], + sorts:[{sort:"locationCode",by:"ASC"},{sort:"batch",by:"ASC"} ,{sort:"id",by:"DESC"}], } getTransaction(params).then(res => { uni.hideLoading(); @@ -353,7 +353,7 @@ filters: filters, pageNo: this.pageNo, pageSize: pageSize, - sorts:[{sort:"createTime",by:"ASC"},{sort:"locationCode",by:"ASC"} ,{sort:"id",by:"DESC"}], + sorts:[{sort:"locationCode",by:"ASC"},{sort:"batch",by:"ASC"} ,{sort:"id",by:"DESC"}], } getExpectinByItemcode(params).then(res => { uni.hideLoading(); @@ -422,7 +422,7 @@ filters: filters, pageNo: this.pageNo, pageSize: pageSize, - sorts:[{sort:"createTime",by:"ASC"},{sort:"locationCode",by:"ASC"} ,{sort:"id",by:"DESC"}], + sorts:[{sort:"locationCode",by:"ASC"},{sort:"batch",by:"ASC"} ,{sort:"id",by:"DESC"}], } getExpectoutByItemcode(params).then(res => { uni.hideLoading();