TypeScript Vue Plugi
This commit is contained in:
@@ -219,11 +219,11 @@ function getExpirationWarningCount() {
|
|||||||
let chartInstance = null;
|
let chartInstance = null;
|
||||||
|
|
||||||
onActivated(() => {
|
onActivated(() => {
|
||||||
getExpirationWarningCount();
|
// getExpirationWarningCount();
|
||||||
})
|
})
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
getExpirationWarningCount();
|
// getExpirationWarningCount();
|
||||||
|
|
||||||
const ctx = document.getElementById('statsChart');
|
const ctx = document.getElementById('statsChart');
|
||||||
if (!ctx) return;
|
if (!ctx) return;
|
||||||
|
|||||||
@@ -252,11 +252,11 @@ function getList() {
|
|||||||
...queryParams.value,
|
...queryParams.value,
|
||||||
flg: queryParams.value.flg == 1 ? '1' : null,
|
flg: queryParams.value.flg == 1 ? '1' : null,
|
||||||
};
|
};
|
||||||
getExpirationWarning(params).then((res) => {
|
// getExpirationWarning(params).then((res) => {
|
||||||
loading.value = false;
|
// loading.value = false;
|
||||||
purchaseinventoryList.value = res.data.records;
|
// purchaseinventoryList.value = res.data.records;
|
||||||
total.value = res.data.total;
|
// total.value = res.data.total;
|
||||||
});
|
// });
|
||||||
}
|
}
|
||||||
|
|
||||||
/** 搜索按钮操作 */
|
/** 搜索按钮操作 */
|
||||||
|
|||||||
@@ -306,11 +306,12 @@ export function ybRequestFileUp(data) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
export function getExpirationWarning(query) {
|
export function getExpirationWarning(query) {
|
||||||
return request({
|
// return request({
|
||||||
url: '/inventory-manage/product/expiration-warning',
|
// url: '/inventory-manage/product/expiration-warning',
|
||||||
method: 'get',
|
// method: 'get',
|
||||||
params: query
|
// params: query
|
||||||
})
|
// })
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
export function getClroptins(query) {
|
export function getClroptins(query) {
|
||||||
return request({
|
return request({
|
||||||
|
|||||||
Reference in New Issue
Block a user