Commit 9cbd2448 authored by 李驰骋's avatar 李驰骋

工单编码查看功能修复

parent 5738f147
...@@ -286,7 +286,7 @@ ...@@ -286,7 +286,7 @@
<el-button <el-button
size="mini" size="mini"
type="text" type="text"
@click="(scope.row)" @click="handleView(scope.row)"
v-hasPermi="['mes:pro:workorder:query']" v-hasPermi="['mes:pro:workorder:query']"
>{{ scope.row.workorderCode }} >{{ scope.row.workorderCode }}
</el-button </el-button
...@@ -1106,25 +1106,9 @@ export default { ...@@ -1106,25 +1106,9 @@ export default {
// 跳转到申请单界 // 跳转到申请单界
this.$router.push("/mes/pro/workorder/apply"); this.$router.push("/mes/pro/workorder/apply");
return; return;
// this.reset();
// this.getTreeselect();
// if (row != null && row.workorderId) {
// this.form.parentId = row.workorderId;
// this.form.orderSource = row.orderSource;
// this.form.sourceCode = row.sourceCode;
// this.form.clientId = row.clientId;
// this.form.clientCode = row.clientCode;
// this.form.clientName = row.clientName;
// } else {
// this.form.parentId = 0;
// }
// this.open = true;
// this.title = "添加生产工单";
// this.optType="add";
}, },
// 查询明细按钮操作 // 查询明细按钮操作
handleView(row) { handleView(row) {
handleView
this.reset(); this.reset();
this.getTreeselect(); this.getTreeselect();
const workorderId = row.workorderId || this.ids; const workorderId = row.workorderId || this.ids;
......
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