Commit ac70517b authored by jzc's avatar jzc

修复申请单子表展示

parent 2750c65e
...@@ -46,6 +46,12 @@ import { listTmToolRequestItem, getTmToolRequestItem, delTmToolRequestItem, addT ...@@ -46,6 +46,12 @@ import { listTmToolRequestItem, getTmToolRequestItem, delTmToolRequestItem, addT
export default { export default {
name: "TmToolRequestItem", name: "TmToolRequestItem",
props:{
toolRequestId:{
type:String,
default:''
}
},
data() { data() {
return { return {
// 遮罩层 // 遮罩层
...@@ -85,6 +91,7 @@ export default { ...@@ -85,6 +91,7 @@ export default {
/** 查询刀模板物料申请单列表 */ /** 查询刀模板物料申请单列表 */
getList() { getList() {
this.loading = true; this.loading = true;
this.queryParams.toolRequestId = this.toolRequestId;
listTmToolRequestItem(this.queryParams).then(response => { listTmToolRequestItem(this.queryParams).then(response => {
this.tmToolRequestItemList = response.rows; this.tmToolRequestItemList = response.rows;
this.total = response.total; this.total = response.total;
......
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