@@ -187,9 +203,20 @@
打印时间
${item.printTimes}
+ `
+ if (item.fromLocationCode && item.fromLocationCode.length > 0) {
+ str += `
+
`
+ }
+
})
+
+ console.log('str',str)
this.newHtmlContent = this.newHtmlContent.replace(
"mainBody", str); //替换物品代码
});
@@ -255,6 +282,7 @@
// "qty": 90,
// "printTimes": "2024-09-06+09:29:37",
// "productionLineCode": null,
+// "fromLocationCode": "C01-190-10",
// "barcodeString": "HPQ;V1.0;B20240719;AASNS20240731-0002;Q90.000000;I250.832-02;L;PPN20240906-0000000001;S49000599;O49000599;L12;E;UPC;",
// "barcodeBase64": ""
// }