Fix bug แก้ไขอัตรากำลัง แล้วระบบแจ้ง error #211
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m12s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m12s
This commit is contained in:
parent
1f809d3e22
commit
b11d7e45e2
1 changed files with 10 additions and 5 deletions
|
|
@ -1510,7 +1510,8 @@ export class PositionController extends Controller {
|
|||
posMaster.orgRootId !== null &&
|
||||
posMaster.orgChild1Id == null &&
|
||||
posMaster.orgChild2Id == null &&
|
||||
posMaster.orgChild3Id == null
|
||||
posMaster.orgChild3Id == null &&
|
||||
posMaster.orgChild4Id == null
|
||||
) {
|
||||
shortName = posMaster.orgRoot.orgRootShortName;
|
||||
orgId = posMaster.orgRootId;
|
||||
|
|
@ -1518,7 +1519,8 @@ export class PositionController extends Controller {
|
|||
posMaster.orgRootId !== null &&
|
||||
posMaster.orgChild1Id !== null &&
|
||||
posMaster.orgChild2Id == null &&
|
||||
posMaster.orgChild3Id == null
|
||||
posMaster.orgChild3Id == null &&
|
||||
posMaster.orgChild4Id == null
|
||||
) {
|
||||
shortName = posMaster.orgChild1.orgChild1ShortName;
|
||||
orgId = posMaster.orgChild1Id;
|
||||
|
|
@ -1526,7 +1528,8 @@ export class PositionController extends Controller {
|
|||
posMaster.orgRootId !== null &&
|
||||
posMaster.orgChild1Id !== null &&
|
||||
posMaster.orgChild2Id !== null &&
|
||||
posMaster.orgChild3Id == null
|
||||
posMaster.orgChild3Id == null &&
|
||||
posMaster.orgChild4Id == null
|
||||
) {
|
||||
shortName = posMaster.orgChild2.orgChild2ShortName;
|
||||
orgId = posMaster.orgChild2Id;
|
||||
|
|
@ -1534,7 +1537,8 @@ export class PositionController extends Controller {
|
|||
posMaster.orgRootId !== null &&
|
||||
posMaster.orgChild1Id !== null &&
|
||||
posMaster.orgChild2Id !== null &&
|
||||
posMaster.orgChild3Id !== null
|
||||
posMaster.orgChild3Id !== null &&
|
||||
posMaster.orgChild4Id == null
|
||||
) {
|
||||
shortName = posMaster.orgChild3.orgChild3ShortName;
|
||||
orgId = posMaster.orgChild3Id;
|
||||
|
|
@ -1542,7 +1546,8 @@ export class PositionController extends Controller {
|
|||
posMaster.orgRootId !== null &&
|
||||
posMaster.orgChild1Id !== null &&
|
||||
posMaster.orgChild2Id !== null &&
|
||||
posMaster.orgChild3Id !== null
|
||||
posMaster.orgChild3Id !== null &&
|
||||
posMaster.orgChild4Id !== null
|
||||
) {
|
||||
shortName = posMaster.orgChild4.orgChild4ShortName;
|
||||
orgId = posMaster.orgChild4Id;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue