|
@@ -1572,7 +1572,7 @@ const loadCooperationData = {
|
|
|
if (!stageAuditAss || stageAuditAss.length === 0) return null;
|
|
|
if (relaId.length > 0) {
|
|
|
for (const id of relaId) {
|
|
|
- const c = stageCooperation.find(x => { return x.ass_ledger_id.indexOf(id) >= 0; });
|
|
|
+ const c = stageAuditAss.find(x => { return x.ass_ledger_id.indexOf(id) >= 0; });
|
|
|
if (c) return c;
|
|
|
}
|
|
|
return null;
|
|
@@ -1598,6 +1598,7 @@ const loadCooperationData = {
|
|
|
if (sa.end_time) stageAuditAss.push(data.mem_stage_audit_ass.filter(x => { return x.user_id === sa.aid; }));
|
|
|
if (finish && !sa.end_time) finish = false;
|
|
|
}
|
|
|
+
|
|
|
for (const d of data[options.table]) {
|
|
|
const bills = data.mem_stage_bills.find(x => { return x.id === d.lid; });
|
|
|
const relaId = bills ? bills.full_path.split('-').reverse() : [];
|