feat:样品库管理
This commit is contained in:
@@ -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' })
|
||||
|
||||
Reference in New Issue
Block a user