制造成本分析部分字段
This commit is contained in:
@@ -179,6 +179,7 @@ export default {
|
||||
methods: {
|
||||
handleChange(value) {
|
||||
this.index =value
|
||||
console.log('+++++++++++++++++++++++++++++++++111111')
|
||||
this.getData()
|
||||
},
|
||||
getData() {
|
||||
@@ -202,19 +203,21 @@ export default {
|
||||
},
|
||||
|
||||
handleTimeChange(obj) {
|
||||
console.log('=====================================222222222222',obj);
|
||||
this.month = obj.targetMonth
|
||||
this.dateData = {
|
||||
startTime: obj.startTime,
|
||||
endTime: obj.endTime,
|
||||
// mode: obj.mode,
|
||||
}
|
||||
|
||||
console.log('+++++++++++++++++++++++++++++++++22222')
|
||||
this.getData()
|
||||
},
|
||||
selectChange(data) {
|
||||
console.log('选中的数据:', data);
|
||||
this.factory = data
|
||||
if (this.dateData.startTime && this.dateData.endTime) {
|
||||
console.log('+++++++++++++++++++++++++++++++++33333')
|
||||
this.getData();
|
||||
}
|
||||
},
|
||||
@@ -263,8 +266,6 @@ export default {
|
||||
},
|
||||
changeDate(val) {
|
||||
this.date = val;
|
||||
// this.weekDay = this.weekArr[moment(this.date).format('e')]
|
||||
// this.getData()
|
||||
if (this.date === moment().format("yyyy-MM-DD")) {
|
||||
this.loopTime();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user