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