Commit 717659b0 by wusiyi

fix: 修复pod发货不显示产品图bug

parent 87191ff5
......@@ -49,11 +49,11 @@ export default function useShipment(callback?: () => void) {
})
}
let rowData
const code1 = code?.split('_')[0]
const code1 = code?.split('_')[3]
for (const item of orderList.value) {
// rowData = item.productList?.find((jj) => jj.factorySubOrderNumber === code1)
rowData = item.productList?.find(
(jj) => `${item.userMark}-${jj.thirdSubOrderNumber}` === code1,
(jj) => `${jj.thirdSubOrderNumber}` === code1,
)
if (rowData) {
rowData.factoryOrderNumber = item.factoryOrderNumber
......
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