|
@@ -339,14 +339,14 @@ export default {
|
|
|
endDate = this.timeValueObj.next
|
|
|
}
|
|
|
this.$modal.confirm('确定要清空勾选"' + startDate + '——' + endDate + '"的日期范围内的数据吗?').then(()=> {
|
|
|
- this.clearCalendarPrice()
|
|
|
+ this.deleteCalendarPrice()
|
|
|
}).catch(() => {});
|
|
|
} else {
|
|
|
this.$message.error("请选择时间区间!!!");
|
|
|
}
|
|
|
},
|
|
|
/** 一键清除 */
|
|
|
- async clearCalendarPrice() {
|
|
|
+ async deleteCalendarPrice() {
|
|
|
try {
|
|
|
if( this.timeValueObj.prev && this.timeValueObj.next ) {
|
|
|
let minTime = moment(this.timeValueObj.prev).valueOf()
|