This commit is contained in:
MOHD ARIFF 2026-03-12 16:07:13 +08:00
parent f943c9dc5d
commit 5b5c3b4cc3

View File

@ -416,6 +416,7 @@
},
initTable() {
this.$nextTick(() => {
var app = this;
this.userItemsTable = $('#userItemsTable').DataTable();
const stationTableData = this.formResponse.stationItemBalance ? this.formResponse.stationItemBalance : [];
this.stationItemsTable = $('#stationItemsTable').DataTable({
@ -437,6 +438,11 @@
</tr>`
);
},
"createdRow": function (row, data, dataIndex) {
$(row).on('click', function () {
app.fetchItemMovement(data.uniqueID);
});
}
});
const storeTableData = this.formResponse.storeItemBalance ? this.formResponse.storeItemBalance : [];
this.storeItemsTable = $('#storeItemsTable').DataTable({
@ -459,6 +465,11 @@
</tr>`
);
},
"createdRow": function (row, data, dataIndex) {
$(row).on('click', function () {
app.fetchItemMovement(data.uniqueID);
});
}
});
const storeAllTableData = this.formResponse.allProductInStore ? this.formResponse.allProductInStore : [];
this.storeAllItemsTable = $('#storeAllItemsTable').DataTable({