|
@@ -68,17 +68,17 @@
|
|
|
components: {},
|
|
|
data() {
|
|
|
return {
|
|
|
- value: "",
|
|
|
+ value: '',
|
|
|
tableData: [],
|
|
|
deptBudgetTotal: 0,
|
|
|
currentPage: 1,
|
|
|
pageSize: 10,
|
|
|
warehouse:[],
|
|
|
deptCircularPage: {},
|
|
|
- searchType:"",
|
|
|
- searchKeyWord:"",
|
|
|
- startDate:"",
|
|
|
- endDate:"",
|
|
|
+ searchType:'',
|
|
|
+ searchKeyWord:'',
|
|
|
+ startDate:'',
|
|
|
+ endDate:'',
|
|
|
outtotal:0,
|
|
|
intotal:0,
|
|
|
}
|
|
@@ -107,10 +107,10 @@
|
|
|
getPassYearFormatDate () {
|
|
|
var nowDate = new Date()
|
|
|
var _date = new Date()
|
|
|
- nowDate.setTime(nowDate.getTime()-24*60*60*1000*30)
|
|
|
- var year = nowDate.getFullYear()-1
|
|
|
+ // nowDate.setTime(nowDate.getTime()-24*60*60*1000*30)
|
|
|
+ var year = nowDate.getFullYear()
|
|
|
var year1 = _date.getFullYear()
|
|
|
- var month = nowDate.getMonth() + 1
|
|
|
+ var month = nowDate.getMonth()
|
|
|
var month1 = _date.getMonth() + 1
|
|
|
var strDate = nowDate.getDate()
|
|
|
var strDate1 = _date.getDate()
|
|
@@ -135,8 +135,8 @@
|
|
|
getwarehousedetails({
|
|
|
// warehouseType: 1,
|
|
|
// compId: localStorage.getItem('ws-pf_compId'),
|
|
|
- startDate:this.startDate,
|
|
|
- endDate:this.endDate,
|
|
|
+ warehouseStartDate:this.startDate,
|
|
|
+ warehouseEndDate:this.endDate,
|
|
|
searchKeyWord:this.searchKeyWord,
|
|
|
currentPage: this.currentPage,
|
|
|
pageSize:this.pageSize,
|