C-PM-36
C-PM-37
This commit is contained in:
parent
ed227359d1
commit
2265a69854
2 changed files with 8 additions and 4 deletions
|
|
@ -31,7 +31,7 @@ const pagination = ref({
|
|||
rowsPerPage: 10,
|
||||
});
|
||||
|
||||
const commandCodes = ref<string[]>(["C-PM-33", "C-PM-34", "C-PM-35"]);
|
||||
const commandCodes = ref<string[]>(["C-PM-33", "C-PM-34", "C-PM-35", "C-PM-36", "C-PM-37"]);
|
||||
|
||||
/** ข้อมูลที่เเสดงใน คอลัม */
|
||||
const columns = ref<QTableProps["columns"]>([
|
||||
|
|
@ -217,6 +217,7 @@ async function OrderTypeFilter() {
|
|||
await http
|
||||
.get(config.API.typeOrder())
|
||||
.then((res) => {
|
||||
console.log(res)
|
||||
const response = res.data.result;
|
||||
const filterRes = response.filter((e: any) =>
|
||||
commandCodes.value.includes(e.commandCode)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue