feat:样品库管理

This commit is contained in:
houjunxiang
2025-11-27 18:04:49 +08:00
parent 6c86dc0760
commit 1bcfde72ee
6 changed files with 75 additions and 21 deletions

View File

@@ -118,12 +118,19 @@ onShow(() => {
async function getSampleList() {
if (targetCode.value === '') return
let params = { pageSize: 999, pageNo: 1, returnStatus: 'completed', dispatchStatus: '0' }
let params = {
pageSize: 999,
pageNo: 1,
returnStatus: 'completed',
dispatchStatus: '0',
sampleFlowNodeKey: 'flw_sample_storage'
}
if (takeOffType.value === 'sample') {
params.sampleReturnCode = targetCode.value
} else {
params.warehouseLocationCode = targetCode.value
}
sampleList.value = []
const { list } = await nx.$api.sampleWarehouse.queryReturnToStockSample(params)
if (list.length === 0) {
return uni.showToast({ title: '未查询到该样品信息', icon: 'none' })