Commit 18b4e6a5 by wusiyi

Merge branch 'dev'

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