Commit 7a17aed3 authored by youjie's avatar youjie

no message

parent 0a8abbc7
......@@ -356,6 +356,14 @@ export default {
handleClick(e){
this.activeName = e._props.name
if(e._props.name!='4')this.msg.Type = e._props.name
if(!this.dateTime||this.dateTime.length==0){
let sDate = moment().subtract(7, 'months').format('YYYY-MM');
let eDate = moment().subtract(1, 'months').format('YYYY-MM');
this.dateTime = [sDate,eDate]
this.msg.startDate = sDate
this.msg.endDate = eDate
}
this.getStatement()
},
getDateTime(){
......@@ -367,8 +375,8 @@ export default {
let eDate = moment().subtract(1, 'months').format('YYYY-MM');
this.dateTime = [sDate,eDate]
this.msg.startDate = start
this.msg.endDate = end
this.msg.startDate = sDate
this.msg.endDate = eDate
}
this.getStatement()
},
......
......@@ -230,7 +230,7 @@
value-format="yyyy-MM-dd"
:range-separator="$t('OrderList.zhi')">
</el-date-picker> -->
<StartDateLimit :clearable="false" :dateTime="defaultMonth" @change="(startDate,endDate)=>{msg.CStartDate=startDate,msg.QEndDate=endDate}"></StartDateLimit>
<StartDateLimit :clearable="false" :dateTime="defaultMonth" @change="(startDate,endDate)=>{defaultMonth=[startDate,endDate]}"></StartDateLimit>
</el-form-item>
</el-col>
<el-col :span="4">
......
......@@ -80,7 +80,6 @@
this.CheckUserAuth(actiionContract, res => {
if (res.data.resultCode == 1 && res.data.data == 1) {
this.isQueryHistoryData = true;
console.log(this.isQueryHistoryData,'-----------')
}
});
......
......@@ -75,7 +75,8 @@
handler(n,o){
this.productionDate = this.dateTime
},
deep:true,
deep:false,
immediate: true,
}
},
methods: {
......
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