Commit 87c5b231 by zhuzhequan

质检

parent 3619d165
...@@ -132,12 +132,12 @@ export default function useQuarantine() { ...@@ -132,12 +132,12 @@ export default function useQuarantine() {
} }
const loadShipmentOrderByCode = async (code: string, uid: string) => { const loadShipmentOrderByCode = async (code: string, uid: string) => {
try { try {
let res = await getQaOrderBySubOrderNumber(code, uid) const res = await getQaOrderBySubOrderNumber(code, uid)
const code1 = code?.split('_')[0]; const code1 = code?.split('_')[0];
(res.data as any) = res.data.map((item) => { res.data = res.data.map((item:QaData) => {
return { return {
...item, ...item,
scansNum: item.inspectionStatus ? item.passNum : '', scansNum: item.inspectionStatus ? item.passNum : 0,
isCheck: item.inspectionStatus, isCheck: item.inspectionStatus,
} }
}) })
...@@ -205,7 +205,7 @@ export default function useQuarantine() { ...@@ -205,7 +205,7 @@ export default function useQuarantine() {
remark: item.remark || '', remark: item.remark || '',
})) }))
await qaFinishedApi(data) await qaFinishedApi(data)
sourceData.value = [] // sourceData.value = []
isLock.value = false isLock.value = false
qaInputRef.value.focus() qaInputRef.value.focus()
qaCode.value = '' qaCode.value = ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment