Commit d8548a31 authored by Damon's avatar Damon

fix: 【ID1001639】【小程序-订单】:审核不通过之后,在小程序点击【去处理】进入订单详情提示“未找到不通过项”

parent e3da77db
......@@ -309,7 +309,7 @@ export default {
if (type == 'exception') {
this.$u.api.workerDealWithError(item.orderId).then(() => {})
}
let partAuditResults = item.partAuditResults ? ['orderSpareParts'] : []
let partAuditResults = item.partAuditResults !== null && Object.keys(item.partAuditResults).length > 0 ? ['orderSpareParts'] : []
let auditResults = item.auditResults ? Object.keys(item.auditResults) : []
auditResults = auditResults.concat(partAuditResults)
......
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