|
|
@@ -212,8 +212,8 @@ export default window.$crudCommon({
|
|
|
cancelButtonText: "取消",
|
|
|
type: "warning"
|
|
|
}).then(() => {
|
|
|
- let lastMonth = moment(this.params.yearAndMonth).subtract(1, 'months').format("YYYY-MM");
|
|
|
- getLastMonthData({ yearAndMonth: lastMonth}).then(res => {
|
|
|
+ // let lastMonth = moment(this.params.yearAndMonth).subtract(1, 'months').format("YYYY-MM");
|
|
|
+ getLastMonthData({ yearAndMonth: this.params.yearAndMonth}).then(res => {
|
|
|
let data = res.data;
|
|
|
if (data.success) {
|
|
|
this.$message.success('读取成功!');
|