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

刀模版入库

parent 2dc5a6a4
...@@ -127,7 +127,10 @@ export default { ...@@ -127,7 +127,10 @@ export default {
/** 查询物料编码列表 */ /** 查询物料编码列表 */
getList() { getList() {
this.loading = true; 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.itemList = response.rows;
this.total = response.total; this.total = response.total;
this.loading = false; this.loading = false;
...@@ -141,6 +144,14 @@ export default { ...@@ -141,6 +144,14 @@ export default {
/** 重置按钮操作 */ /** 重置按钮操作 */
resetQuery() { resetQuery() {
this.resetForm("queryForm"); this.resetForm("queryForm");
this.queryParams = {
pageNum: 1,
pageSize: 10,
typeStr: '',
workunitName: null,
toolCode: null,
warehouseStr: '1'
}
this.handleQuery(); 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