消息阶段优先展示仍在途的实际委托

This commit is contained in:
baobao 2026-10-28 10:53:14 +08:00
parent 5e1ae075e3
commit 596c1ceaa1
1 changed files with 3 additions and 1 deletions

View File

@ -4911,9 +4911,11 @@ createApp({
if (r.execution_stage==='unknown') return '待核对';
if (r.execution_stage==='cancelling') return '撤单中';
if (r.execution_stage==='reconciling') return '待入账';
const active={submitted:'委托',sending:'发送中',queued:'待发送'}[r.execution_stage];
if (active) return active;
if (r.status==='CONFIRMED') return '成交';
if (['CANCELLED','REJECTED','EXPIRED'].includes(r.status)) return '已终止';
return {submitted:'委托',sending:'发送中',queued:'待发送',waiting:'待执行',shadow:'待核对'}[r.execution_stage] || (_LIVE_INS.includes(r.status) ? '待核对' : '指令');
return {waiting:'待执行',shadow:'待核对'}[r.execution_stage] || (_LIVE_INS.includes(r.status) ? '待核对' : '指令');
}
function insWhy(r) {
const bits = [];