TypeScript Vue Plugi

This commit is contained in:
2025-12-12 15:43:58 +08:00
parent d37fa46b5f
commit 0794782505
3 changed files with 13 additions and 12 deletions

View File

@@ -219,11 +219,11 @@ function getExpirationWarningCount() {
let chartInstance = null;
onActivated(() => {
getExpirationWarningCount();
// getExpirationWarningCount();
})
onMounted(() => {
getExpirationWarningCount();
// getExpirationWarningCount();
const ctx = document.getElementById('statsChart');
if (!ctx) return;

View File

@@ -252,11 +252,11 @@ function getList() {
...queryParams.value,
flg: queryParams.value.flg == 1 ? '1' : null,
};
getExpirationWarning(params).then((res) => {
loading.value = false;
purchaseinventoryList.value = res.data.records;
total.value = res.data.total;
});
// getExpirationWarning(params).then((res) => {
// loading.value = false;
// purchaseinventoryList.value = res.data.records;
// total.value = res.data.total;
// });
}
/** 搜索按钮操作 */

View File

@@ -306,11 +306,12 @@ export function ybRequestFileUp(data) {
})
}
export function getExpirationWarning(query) {
return request({
url: '/inventory-manage/product/expiration-warning',
method: 'get',
params: query
})
// return request({
// url: '/inventory-manage/product/expiration-warning',
// method: 'get',
// params: query
// })
return null;
}
export function getClroptins(query) {
return request({