Commit 89da9864 authored by 华国豪's avatar 华国豪 🙄
parents c0d1652c c5030453
...@@ -264,8 +264,8 @@ ...@@ -264,8 +264,8 @@
data() { data() {
return { return {
msg: { msg: {
Year: new Date().Format("yyyy"), Year: 0,
Month: new Date().Format("MM"), Month: 0,
DiningID: 0, DiningID: 0,
loading: false loading: false
}, },
...@@ -345,6 +345,8 @@ ...@@ -345,6 +345,8 @@
GetHoltelInventory() { GetHoltelInventory() {
this.msg.loading = true; this.msg.loading = true;
var that = this; var that = this;
this.msg.Year = this.currentYear;
this.msg.Month = this.currentMonth;
this.apipost( this.apipost(
"order_post_GetDinnerMonthStatistics", "order_post_GetDinnerMonthStatistics",
this.msg, this.msg,
...@@ -409,6 +411,9 @@ ...@@ -409,6 +411,9 @@
let myDate = new Date(); let myDate = new Date();
this.currentYear = myDate.getFullYear(); this.currentYear = myDate.getFullYear();
this.currentMonth = myDate.getMonth() + 1; this.currentMonth = myDate.getMonth() + 1;
this.msg.Year = this.currentYear;
this.msg.Month = this.currentDay;
this.GetDinnerList(); this.GetDinnerList();
this.initCalendar(); this.initCalendar();
this.GetHoltelInventory(); this.GetHoltelInventory();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment