TypeScript Vue Plugi
This commit is contained in:
@@ -219,11 +219,11 @@ function getExpirationWarningCount() {
|
||||
let chartInstance = null;
|
||||
|
||||
onActivated(() => {
|
||||
getExpirationWarningCount();
|
||||
// getExpirationWarningCount();
|
||||
})
|
||||
|
||||
onMounted(() => {
|
||||
getExpirationWarningCount();
|
||||
// getExpirationWarningCount();
|
||||
|
||||
const ctx = document.getElementById('statsChart');
|
||||
if (!ctx) return;
|
||||
|
||||
@@ -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;
|
||||
// });
|
||||
}
|
||||
|
||||
/** 搜索按钮操作 */
|
||||
|
||||
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user