Commit feddf19f authored by Damon's avatar Damon

fix: 异常单兼容之前无物料数据

parent 7c563598
...@@ -336,7 +336,7 @@ export default { ...@@ -336,7 +336,7 @@ export default {
} }
}, },
auditResults() { auditResults() {
let partAuditResults = this.orderData.partAuditResults let partAuditResults = Object.keys(this.orderData.partAuditResults || {}).length > 0
? ['orderSpareParts'] ? ['orderSpareParts']
: [] : []
let auditResults = this.orderData.auditResults let auditResults = this.orderData.auditResults
......
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