|
@@ -57,6 +57,9 @@
|
|
|
<el-option v-for="item in statisticalTypeList2" :key="item.id" :label="item.name" :value="item.id" />
|
|
|
</el-select>
|
|
|
<el-checkbox v-model="tab2.table.getdataListParm.checked" :true-label="1" :false-label="0" style="margin-right:10px;" @change="changeChecked">误差</el-checkbox>
|
|
|
+ <el-select v-model="tab2.table.getdataListParm.parammaps.ftType" placeholder="是否拆分小料" class="filter-item" style="width: 130px;">
|
|
|
+ <el-option v-for="item in isSplitsmallmaterialsList" :key="item.id" :label="item.name" :value="item.id" />
|
|
|
+ </el-select>
|
|
|
<el-input v-if="tab2.isRadio1" v-model="tab2.table.getdataListParm.parammaps.fname" class="filter-item filter-item1" style="width: 200px;" placeholder="牲畜类别" />
|
|
|
<el-input v-if="tab2.isRadio2" v-model="tab2.table.getdataListParm.parammaps.fname" class="filter-item filter-item1" style="width: 200px;" placeholder="栏舍名称" />
|
|
|
<el-input v-if="tab2.isRadio3" v-model="tab2.table.getdataListParm.parammaps.fname" class="filter-item filter-item1" style="width: 200px;" placeholder="日期" />
|
|
@@ -179,7 +182,8 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
fileComment: [{ 'label': '商务文件评分', 'children': [{ 'label': '1' }, { 'label': '2' }, { 'label': '管理员' }] }],
|
|
|
- displayList:[{id:'1',name:'理论'},{id:'2',name:'实际'}],//列表显示
|
|
|
+ displayList:[{id:'1',name:'理论'},{id:'2',name:'实际'}],//列表显示
|
|
|
+ isSplitsmallmaterialsList:[{id:'0',name:'拆分'},{id:'1',name:'不拆分'}],
|
|
|
activeName: 'first',
|
|
|
tab: {
|
|
|
chartDate: [],
|
|
@@ -223,7 +227,8 @@ export default {
|
|
|
inputDatetime: [new Date(), new Date()],
|
|
|
fname: '',
|
|
|
typea:'',
|
|
|
- times:''
|
|
|
+ times:'',
|
|
|
+ ftType:'1'
|
|
|
}
|
|
|
},
|
|
|
tableKey: 1,
|
|
@@ -361,6 +366,7 @@ export default {
|
|
|
end2.setTime(end2.getTime() - 3600 * 1000 * 24 * 1)
|
|
|
this.tab2.table.getdataListParm.parammaps.inputDatetime = [start2, end2]
|
|
|
this.tab2.radio = '1'
|
|
|
+ this.tab2.table.getdataListParm.parammaps.ftType = '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()
|