bug修复
This commit is contained in:
parent
184f567c5e
commit
5caa60fe25
|
|
@ -12,11 +12,11 @@
|
|||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="机具类型" prop="typeName">
|
||||
<el-form-item label="机具规格" prop="typeId">
|
||||
<el-cascader
|
||||
placeholder="请选择机具类型"
|
||||
placeholder="请选择机具规格"
|
||||
:options="deviceTypeTree"
|
||||
:props="{ checkStrictly: true, value: 'label' }"
|
||||
:props="{ value: 'id',}"
|
||||
@change="handleBaseValue"
|
||||
clearable
|
||||
filterable
|
||||
|
|
@ -101,7 +101,7 @@ export default {
|
|||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
modelTitle: '', // 模块名称
|
||||
typeName: '', // 机具名称
|
||||
typeId: '', // 机具名称
|
||||
},
|
||||
tableList: [],
|
||||
total: 5,
|
||||
|
|
@ -150,7 +150,7 @@ export default {
|
|||
this.resetForm('queryForm')
|
||||
this.queryParams.pageNum = 1
|
||||
this.queryParams.pageSize = 10
|
||||
this.queryParams.typeName = ''
|
||||
this.queryParams.typeId = ''
|
||||
this.getList()
|
||||
},
|
||||
/* 查看详情 */
|
||||
|
|
@ -168,7 +168,8 @@ export default {
|
|||
},
|
||||
/* 获取最后一级 */
|
||||
handleBaseValue(val) {
|
||||
this.queryParams.typeName = val[val.length - 1]
|
||||
console.log("xxxxxxxxxxxx",val)
|
||||
this.queryParams.typeId = val[val.length - 1]
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
|
|
|||
|
|
@ -94,7 +94,6 @@
|
|||
<right-toolbar
|
||||
:showSearch.sync="showSearch"
|
||||
@queryTable="getList"
|
||||
:columns="columns"
|
||||
></right-toolbar>
|
||||
</el-row>
|
||||
|
||||
|
|
|
|||
|
|
@ -186,7 +186,7 @@ export default {
|
|||
single: true,
|
||||
// 非多个禁用
|
||||
multiple: true,
|
||||
statusList: [{id:"",name:"全部"},{id:"0",name:"已绑定"},{id:"1",name:"未绑定"}],
|
||||
statusList: [{id:"",name:"全部"},{id:"1",name:"已绑定"},{id:"0",name:"未绑定"}],
|
||||
total: 0, // 总条数
|
||||
loading: false, // 遮罩层
|
||||
showSearch: true, // 显示搜索条件
|
||||
|
|
|
|||
|
|
@ -396,7 +396,7 @@ export default {
|
|||
};
|
||||
|
||||
const currentTime = formatTime(new Date());
|
||||
this.download('/material/purchase_check_info/exportDetails',{taskId:this.taskId},`新购到货详情_${currentTime}.xlsx`)
|
||||
this.download('/material/purchase_check_info/exportDetails',{taskId:this.taskId,id:this.id,taskStage: 1},`新购到货详情_${currentTime}.xlsx`)
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue