แสดงเลขที่คำสั่งเพิ่มและคลิกดูได้

This commit is contained in:
setthawutttty 2025-01-27 14:55:06 +07:00
parent bf502df103
commit 86895e49bc
2 changed files with 58 additions and 0 deletions

View file

@ -169,6 +169,19 @@ function createCommand(isRedirect: boolean) {
rootId: e.rootId,
...(e.remarkVertical ? { remarkVertical: e.remarkVertical } : {}),
...(e.remarkHorizontal ? { remarkHorizontal: e.remarkHorizontal } : {}),
...(props.commandTypeCode == "C-PM-01" ||
props.commandTypeCode == "C-PM-02"
? { position: e.position ? e.position : null }
: {}),
...(props.commandTypeCode == "C-PM-01" ||
props.commandTypeCode == "C-PM-02"
? { posType: e.posType ? e.posType : null }
: {}),
...(props.commandTypeCode == "C-PM-01" ||
props.commandTypeCode == "C-PM-02"
? { posLevel: e.posLevel ? e.posLevel : null }
: {}),
}));
const body = {