Browse Source

修改零件查询

hella_online_20240913
lijuncheng 3 months ago
parent
commit
51ddf5ad98
  1. 4
      src/mycomponents/item/itemFilter.vue
  2. 6
      src/pages/query/item.vue

4
src/mycomponents/item/itemFilter.vue

@ -11,9 +11,7 @@
<view class="" style="font-size: 35rpx; margin-bottom: 10rpx;">
库位
</view>
<u-input style="margin-left: 0rpx;" confirmType="search" v-model="locationCode" :border="true"
placeholder="请输入库位" :focus="true" :clearable="true"/>
<uni-easyinput v-model="locationCode" placeholder="请输入库位"></uni-easyinput>
</view>
<view class="" style="font-size: 35rpx; margin-top: 10rpx; margin-bottom: 10rpx;">
库存状态 :

6
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();

Loading…
Cancel
Save