Commit 980204fb authored by renjintao's avatar renjintao

record

parent fcf4cd58
...@@ -127,29 +127,38 @@ export default { ...@@ -127,29 +127,38 @@ export default {
} }
], ],
columnsProcess: [ columnsProcess: [
{ {
key: "dispatch_id", key: "processcode",
title: "工序Id", title: "工艺文件编号",
align: "left", align: "left",
width: 90 width: 200,
tooltip:true,
},
{
key: "processname",
title: "工艺名称",
align: "left",
tooltip:true,
}, },
{ {
key: "dispatch_id", key: "taskSeq",
title: "工序号", title: "工序号",
align: "left", align: "left",
width: 90 width: 90
}, },
{ {
key: "dispatch_id", key: "detailName",
title: "工序名称", title: "工序名称",
align: "left", align: "left",
width: 350 width: 350,
tooltip:true,
}, },
{ {
key: "desc", key: "desc",
title: "暂停原因", title: "暂停原因",
align: "left" align: "left",
tooltip:true,
}, },
{ {
key: "creatorUserId", key: "creatorUserId",
...@@ -162,7 +171,7 @@ export default { ...@@ -162,7 +171,7 @@ export default {
{ {
key: "creationTime", key: "creationTime",
title: "暂停时间", title: "暂停时间",
align: "left", align: "center",
width: 180 width: 180
} }
], ],
...@@ -190,16 +199,9 @@ export default { ...@@ -190,16 +199,9 @@ export default {
await store.dispatch("loadDictionary"); // 加载数据字典 await store.dispatch("loadDictionary"); // 加载数据字典
}, },
methods: { methods: {
// tabClick(tabIndex) {
// if (tabIndex == 2) {
// this.loadList();
// } else {
// this.$refs.grid.reload(this.easySearch);
// }
// },
loadList() { loadList() {
let params = { let params = {
FilterText: "dispatch_id=104" FilterText: 'order_id="'+this.eid+'"'
}; };
Api.pauseCauseGetpaged(params) Api.pauseCauseGetpaged(params)
.then(res => { .then(res => {
...@@ -229,6 +231,7 @@ export default { ...@@ -229,6 +231,7 @@ export default {
eid(v) { eid(v) {
this.condition.orderId.value = v; this.condition.orderId.value = v;
this.$refs.grid.reload(this.condition); this.$refs.grid.reload(this.condition);
this.loadList()
} }
} }
}; };
......
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