Commit 60e94ece authored by 沈翠玲's avatar 沈翠玲

刀模版入库

parent 2dc5a6a4
......@@ -127,7 +127,10 @@ export default {
/** 查询物料编码列表 */
getList() {
this.loading = true;
listRecord(this.queryParams).then((response) => {
const params = JSON.parse(JSON.stringify(this.queryParams))
if (!params.workunitName) delete params.workunitName
if (!params.toolCode) delete params.toolCode
listRecord(params).then((response) => {
this.itemList = response.rows;
this.total = response.total;
this.loading = false;
......@@ -141,6 +144,14 @@ export default {
/** 重置按钮操作 */
resetQuery() {
this.resetForm("queryForm");
this.queryParams = {
pageNum: 1,
pageSize: 10,
typeStr: '',
workunitName: null,
toolCode: null,
warehouseStr: '1'
}
this.handleQuery();
},
// 多选框选中数据
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment