- fix bug generate แนบท้ายไม่ generate ใหม่

- ปิด log
This commit is contained in:
Warunee Tamkoo 2023-09-20 00:58:45 +07:00
parent eea8ce1b6d
commit 3da536acb0
7 changed files with 132 additions and 479 deletions

View file

@ -141,7 +141,6 @@ const OriginalDataFetch = async () => {
await http
.get(config.API.listOrder())
.then((res: any) => {
// console.log("list", res);
rows.value = res.data.result.map((e: any) => ({
orderId: e.orderId,
Order: e.orderName,
@ -234,7 +233,6 @@ const fiscalyearOP = reactive<DataOption[]>([{ id: 0, name: "ทั้งหม
const addedfiscalYearValues: number[] = [];
const fiscalYearFilter = async () => {
await http.get(config.API.yearOptionsOrder()).then((res) => {
// console.log(res);
const response = res.data.result;
fiscalyearOP.push(...response);
});
@ -247,7 +245,6 @@ const OrderTypeFilter = async () => {
await http
.get(config.API.typeOrder())
.then((res) => {
// console.log(res.data);
const response = res.data.result;
OrderTypeOption.push(...response);
})
@ -275,8 +272,6 @@ const OrderStatusFilter = async () => {
}
if (!addedOrderStatusValues.includes(OrderStatusValue)) {
// console.log(OrderStatusValue);
OrderStatusOption.push({
// id: OrderStatusValue,
id: OrderStatusOption.length.toString(),
@ -303,12 +298,6 @@ const searchFilterTable = async () => {
if (OrderStatus.value == "ทั้งหมด") {
OrderStatus.value = "";
}
console.log(
"Input value changed:",
OrderType.value,
OrderStatus.value,
fiscalyear.value
);
await DataStore.DataUpdateOrder(
OrderType.value,
@ -316,7 +305,6 @@ const searchFilterTable = async () => {
fiscalyear.value
);
UpdataData.value = DataStore.DataMainUpdateOrder;
// console.log(UpdataData.value);
};
const paging = ref<boolean>(true);