เพิ่มตัวแปร เช็ค
This commit is contained in:
parent
26a4bd17f2
commit
7cd215369f
2 changed files with 5 additions and 4 deletions
|
|
@ -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 [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue