|
|
@@ -67,6 +67,7 @@
|
|
|
<el-input v-if="tab2.isRadio4" v-model="tab2.table.getdataListParm.parammaps.fname" class="filter-item filter-item1" style="width: 200px;" placeholder="TMR设备编号" />
|
|
|
<el-input v-if="tab2.isRadio5" v-model="tab2.table.getdataListParm.parammaps.fname" class="filter-item filter-item1" style="width: 200px;" placeholder="班次" />
|
|
|
<el-input v-if="tab2.isRadio6" v-model="tab2.table.getdataListParm.parammaps.fname" class="filter-item filter-item1" style="width: 200px;" placeholder="车次" />
|
|
|
+ <el-input v-if="tab2.isRadio7" v-model="tab2.table.getdataListParm.parammaps.fname" class="filter-item filter-item1" style="width: 200px;" placeholder="同步数据" />
|
|
|
<el-select v-model="tab2.table.getdataListParm.parammaps.typea" clearable placeholder="列表显示" class="filter-item" style="width: 120px;">
|
|
|
<el-option v-for="item in displayList" :key="item.id" :label="item.name" :value="item.id" />
|
|
|
</el-select>
|
|
|
@@ -305,7 +306,8 @@ export default {
|
|
|
isRadio3: false,
|
|
|
isRadio4: false,
|
|
|
isRadio5: false,
|
|
|
- isRadio6: false
|
|
|
+ isRadio6: false,
|
|
|
+ isRadio7: false
|
|
|
},
|
|
|
tab3: {
|
|
|
chartDate: [],
|
|
|
@@ -344,7 +346,7 @@ export default {
|
|
|
rowHeight: 30,
|
|
|
isDispayTable2:false,
|
|
|
isDispayTable3:false,
|
|
|
- statisticalTypeList2: [{ id: '1', name: '牲畜类别' }, { id: '2', name: '栏舍名称' }, { id: '3', name: '日期' }, { id: '4', name: 'TMR设备编号' }, { id: '5', name: 'TMR班次' }, { id: '6', name: '车次' }],
|
|
|
+ statisticalTypeList2: [{ id: '1', name: '牲畜类别' }, { id: '2', name: '栏舍名称' }, { id: '3', name: '日期' }, { id: '4', name: 'TMR设备编号' }, { id: '5', name: 'TMR班次' }, { id: '6', name: '车次' }, { id: '7', name: '同步数据' }],
|
|
|
statisticalTypeList3: [{ id: '1', name: '牲畜类别' }, { id: '2', name: '栏舍名称' }, { id: '3', name: '日期' }, { id: '4', name: 'TMR设备编号' }],
|
|
|
frequencyList: [], // 班次
|
|
|
isTable1:true,
|
|
|
@@ -596,6 +598,7 @@ export default {
|
|
|
this.tab2.isRadio4 = false,
|
|
|
this.tab2.isRadio5 = false,
|
|
|
this.tab2.isRadio6 = false,
|
|
|
+ this.tab2.isRadio7 = false,
|
|
|
this.tab2.table.getdataListParm.name = 'getMaterialAnalysisSC'
|
|
|
this.tab2.table.getdataListParm.offset = 1
|
|
|
this.tab2.table.getdataListParm.parammaps.startTime = parseTime(this.tab2.table.getdataListParm.parammaps.inputDatetime[0], '{y}-{m}-{d}')
|
|
|
@@ -608,6 +611,7 @@ export default {
|
|
|
this.tab2.isRadio4 = false,
|
|
|
this.tab2.isRadio5 = false,
|
|
|
this.tab2.isRadio6 = false,
|
|
|
+ this.tab2.isRadio7 = false,
|
|
|
this.tab2.table.getdataListParm.name = 'getMaterialAnalysisLS'
|
|
|
this.tab2.table.getdataListParm.offset = 1
|
|
|
this.tab2.table.getdataListParm.parammaps.startTime = parseTime(this.tab2.table.getdataListParm.parammaps.inputDatetime[0], '{y}-{m}-{d}')
|
|
|
@@ -620,6 +624,7 @@ export default {
|
|
|
this.tab2.isRadio4 = false,
|
|
|
this.tab2.isRadio5 = false,
|
|
|
this.tab2.isRadio6 = false,
|
|
|
+ this.tab2.isRadio7 = false,
|
|
|
this.tab2.table.getdataListParm.name = 'getMaterialAnalysisRQ'
|
|
|
this.tab2.table.getdataListParm.offset = 1
|
|
|
this.tab2.table.getdataListParm.parammaps.startTime = parseTime(this.tab2.table.getdataListParm.parammaps.inputDatetime[0], '{y}-{m}-{d}')
|
|
|
@@ -632,6 +637,7 @@ export default {
|
|
|
this.tab2.isRadio4 = true,
|
|
|
this.tab2.isRadio5 = false,
|
|
|
this.tab2.isRadio6 = false,
|
|
|
+ this.tab2.isRadio7 = false,
|
|
|
this.tab2.table.getdataListParm.name = 'getMaterialAnalysisTMR'
|
|
|
this.tab2.table.getdataListParm.offset = 1
|
|
|
this.tab2.table.getdataListParm.parammaps.startTime = parseTime(this.tab2.table.getdataListParm.parammaps.inputDatetime[0], '{y}-{m}-{d}')
|
|
|
@@ -656,11 +662,25 @@ export default {
|
|
|
this.tab2.isRadio4 = false,
|
|
|
this.tab2.isRadio5 = false,
|
|
|
this.tab2.isRadio6 = true,
|
|
|
+ this.tab2.isRadio7 = false,
|
|
|
this.tab2.table.getdataListParm.name = 'getMaterialAnalysisCC'
|
|
|
this.tab2.table.getdataListParm.offset = 1
|
|
|
this.tab2.table.getdataListParm.parammaps.startTime = parseTime(this.tab2.table.getdataListParm.parammaps.inputDatetime[0], '{y}-{m}-{d}')
|
|
|
this.tab2.table.getdataListParm.parammaps.stopTime = parseTime(this.tab2.table.getdataListParm.parammaps.inputDatetime[1], '{y}-{m}-{d}')
|
|
|
this.getTab2List()
|
|
|
+ } else if (this.tab2.radio == '7') {
|
|
|
+ this.tab2.isRadio1 = false,
|
|
|
+ this.tab2.isRadio2 = false,
|
|
|
+ this.tab2.isRadio3 = false,
|
|
|
+ this.tab2.isRadio4 = false,
|
|
|
+ this.tab2.isRadio5 = false,
|
|
|
+ this.tab2.isRadio6 = false,
|
|
|
+ this.tab2.isRadio7 = true,
|
|
|
+ this.tab2.table.getdataListParm.name = 'getMaterialAnalysisUD'
|
|
|
+ this.tab2.table.getdataListParm.offset = 1
|
|
|
+ this.tab2.table.getdataListParm.parammaps.startTime = parseTime(this.tab2.table.getdataListParm.parammaps.inputDatetime[0], '{y}-{m}-{d}')
|
|
|
+ this.tab2.table.getdataListParm.parammaps.stopTime = parseTime(this.tab2.table.getdataListParm.parammaps.inputDatetime[1], '{y}-{m}-{d}')
|
|
|
+ this.getTab2List()
|
|
|
}
|
|
|
},
|
|
|
// 价格分析
|