fix showSalary ออกคำสั่ง
This commit is contained in:
parent
02fcc956e7
commit
181a85384d
1 changed files with 24 additions and 24 deletions
|
|
@ -48,29 +48,29 @@ function checkCommandSysId() {
|
|||
}
|
||||
}
|
||||
|
||||
const chechCommandCode = computed(() => {
|
||||
const listCommandCode = [
|
||||
"C-PM-01",
|
||||
"C-PM-02",
|
||||
"C-PM-03",
|
||||
"C-PM-04",
|
||||
"C-PM-05",
|
||||
"C-PM-07",
|
||||
"C-PM-08",
|
||||
"C-PM-09",
|
||||
"C-PM-21",
|
||||
"C-PM-22",
|
||||
"C-PM-24",
|
||||
"C-PM-29",
|
||||
"C-PM-38",
|
||||
"C-PM-39",
|
||||
];
|
||||
if (listCommandCode.includes(props.commandCode)) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
});
|
||||
// const chechCommandCode = computed(() => {
|
||||
// const listCommandCode = [
|
||||
// "C-PM-01",
|
||||
// "C-PM-02",
|
||||
// "C-PM-03",
|
||||
// "C-PM-04",
|
||||
// "C-PM-05",
|
||||
// "C-PM-07",
|
||||
// "C-PM-08",
|
||||
// "C-PM-09",
|
||||
// "C-PM-21",
|
||||
// "C-PM-22",
|
||||
// "C-PM-24",
|
||||
// "C-PM-29",
|
||||
// "C-PM-38",
|
||||
// "C-PM-39",
|
||||
// ];
|
||||
// if (listCommandCode.includes(props.commandCode)) {
|
||||
// return true;
|
||||
// } else {
|
||||
// return false;
|
||||
// }
|
||||
// });
|
||||
|
||||
function onSubmit() {
|
||||
dialogConfirm($q, () => {
|
||||
|
|
@ -159,7 +159,7 @@ watch(
|
|||
<div class="row col-12 q-col-gutter-sm">
|
||||
<div
|
||||
class="row col-12 q-col-gutter-sm"
|
||||
v-if="chechCommandCode || readonly"
|
||||
v-if="storeDetail.isSalary || readonly"
|
||||
>
|
||||
<div
|
||||
v-if="store.isShowSalary(type)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue