|
|
@ -187,7 +187,11 @@ const getDataListByType = (code, type) => { |
|
|
|
value: code |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
filters.push({ |
|
|
|
column: 'accept_user_id', |
|
|
|
action: '==', |
|
|
|
value: store.id |
|
|
|
}) |
|
|
|
const params = { |
|
|
|
filters, |
|
|
|
pageNo: 1, |
|
|
@ -344,6 +348,11 @@ const getScanResult = (result) => { |
|
|
|
// } |
|
|
|
] |
|
|
|
} |
|
|
|
filters.push({ |
|
|
|
column: 'accept_user_id', |
|
|
|
action: '==', |
|
|
|
value: store.id |
|
|
|
}) |
|
|
|
getPurchaseReceiptJobList({ |
|
|
|
filters, |
|
|
|
pageNo: 1, |
|
|
@ -369,14 +378,14 @@ const getScanResult = (result) => { |
|
|
|
selectItem(list[0], result.scanMessage.indexOf('ASN') > -1) |
|
|
|
} |
|
|
|
} else { |
|
|
|
showMessage('未查找到任务') |
|
|
|
showMessage('未查找到任务<br>' + `扫描[${result.scanMessage}]`) |
|
|
|
} |
|
|
|
}) |
|
|
|
.catch((error) => { |
|
|
|
showMessage(error) |
|
|
|
}) |
|
|
|
} catch (e) { |
|
|
|
showMessage(e.message) |
|
|
|
showMessage(`${error}<br>扫描[${result.scanMessage}]`) |
|
|
|
} |
|
|
|
} |
|
|
|
defineExpose({ |
|
|
|