เพิ่มตัวแปร เช็ค

This commit is contained in:
STW_TTTY\stwtt 2024-09-26 09:29:31 +07:00
parent 26a4bd17f2
commit 7cd215369f
2 changed files with 5 additions and 4 deletions

View file

@ -192,16 +192,16 @@ function filterSelectOrder() {
switch (commandType.value) {
case "C-PM-01":
case "C-PM-02":
return v.typeCommand === "APPOINTED" && v.bmaOfficer === null;
return v.typeCommand === "APPOINTED" && v.bmaOfficerCheck === null;
case "C-PM-03":
return v.typeCommand === "APPOINT" && v.bmaOfficer !== null;
return v.typeCommand === "APPOINT" && v.bmaOfficerCheck !== null;
case "C-PM-04":
return v.typeCommand === "MOVE" && v.bmaOfficer !== null;
return v.typeCommand === "MOVE" && v.bmaOfficerCheck !== null;
case "C-PM-06":
return v.typeCommand === "SLIP" && v.bmaOfficer !== null;
return v.typeCommand === "SLIP" && v.bmaOfficerCheck !== null;
default:
return [];