Browse Source

添加库位搜索

myd
qb 1 year ago
parent
commit
56162f06df
  1. 13
      api/user.js
  2. 8
      pagesTask/pages/checkTaskList/checkTaskList.vue

13
api/user.js

@ -1463,4 +1463,17 @@ export function getWarehouseTaskAllocationDetailByStrip(data) {
method: "get",
data
});
}
/**
* 获取托盘盘点任务列表
* @param {Object} data
*/
export function getWarehouseTrayList(data) {
return request({
url: `logpm-warehouse/api/WarehouseTask/trayList`,
method: "get",
data
});
}

8
pagesTask/pages/checkTaskList/checkTaskList.vue

@ -28,7 +28,7 @@
<template v-if="pageType === 2">
<!-- 顶部 -->
<view class="main_top">
<input type="text" placeholder="请输入库位id" class="main_top_search" />
<input type="text" placeholder="请输入库位id" v-model="details.searchText.storageText" class="main_top_search" />
<view class="button" @click="searchStorageLocation">搜索</view>
</view>
@ -116,6 +116,10 @@
pageType: 1,
//
scancode: '',
searchText: {
storageText: '',
taryText: ''
},
isscan: false,
page: {
//
@ -242,7 +246,7 @@
//
const searchStorageLocation = () => {
uni.navigateTo({
url: '/pagesTask/pages/storageLocationCheckDetails/storageLocationCheckDetails'
url: `/pagesTask/pages/storageLocationCheckDetails/storageLocationCheckDetails?id=${details.searchText.storageText}`
})
}

Loading…
Cancel
Save