|
|
@@ -124,7 +124,18 @@
|
|
|
size="mini"
|
|
|
@click="handleAdd"
|
|
|
v-hasPermi="['mes:job:jobm:add']"
|
|
|
- >新增
|
|
|
+ >新增sop作业票
|
|
|
+ </el-button>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="1.5">
|
|
|
+ <el-button
|
|
|
+ type="primary"
|
|
|
+ plain
|
|
|
+ icon="el-icon-plus"
|
|
|
+ size="mini"
|
|
|
+ @click="handleAdd"
|
|
|
+ v-hasPermi="['mes:job:jobm:add']"
|
|
|
+ >新增自定义作业票
|
|
|
</el-button>
|
|
|
</el-col>
|
|
|
<el-col :span="1.5">
|
|
|
@@ -363,7 +374,7 @@ export default {
|
|
|
"selectSopPoints",
|
|
|
"PointTableData",
|
|
|
"PointTableData",
|
|
|
- "setMapData"
|
|
|
+ "setMapData",
|
|
|
]),
|
|
|
// 格式化日期查询数据
|
|
|
formatDate(date) {
|
|
|
@@ -477,13 +488,13 @@ export default {
|
|
|
handleAdd() {
|
|
|
this.reset();
|
|
|
this.open = true;
|
|
|
- this.selectSopPoints(null)
|
|
|
- this.PointTableData(null)
|
|
|
+ this.selectSopPoints(null);
|
|
|
+ this.PointTableData(null);
|
|
|
this.$router.push(`/mes/job/jobm/NewOperations?ticketId=null`);
|
|
|
this.title = "添加隔离点";
|
|
|
this.optType = "add";
|
|
|
this.setSopLook(false);
|
|
|
- this.setMapData(null)
|
|
|
+ this.setMapData(null);
|
|
|
},
|
|
|
// 查看
|
|
|
handleLook(row) {
|