消息阶段优先展示仍在途的实际委托
This commit is contained in:
parent
5e1ae075e3
commit
596c1ceaa1
|
|
@ -4911,9 +4911,11 @@ createApp({
|
||||||
if (r.execution_stage==='unknown') return '待核对';
|
if (r.execution_stage==='unknown') return '待核对';
|
||||||
if (r.execution_stage==='cancelling') return '撤单中';
|
if (r.execution_stage==='cancelling') return '撤单中';
|
||||||
if (r.execution_stage==='reconciling') 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 (r.status==='CONFIRMED') return '成交';
|
||||||
if (['CANCELLED','REJECTED','EXPIRED'].includes(r.status)) 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) {
|
function insWhy(r) {
|
||||||
const bits = [];
|
const bits = [];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue