Fixiaobai
2023-11-15 5ff704af11fc13dd48a48e133652faf1e13d178d
src/views/technology/routing/routing-form.vue
@@ -132,10 +132,10 @@
                  style="width: 146px;display: inline-block;font-size:12px;font-weight:bold;"
                  >{{ dataForm.ifsSync ? '是' : '否' }}</span
                >
              </el-form-item>
              </el-form-item>-->
              <el-form-item label="主工艺" prop="master">
                <el-switch v-model="dataForm.master"> </el-switch>
              </el-form-item> -->
              </el-form-item>
            </el-col>
          </el-row>
        </el-form>
@@ -1037,6 +1037,7 @@
    },
    // 参数集模板点击事件
    templateRowClick(row) {
      if(this.isShowTree){
        this.isShowTree=false
      }else{
@@ -1308,6 +1309,7 @@
            this.$message.success('添加成功')
            // 选中最后一个模板
            this.selectTempalteByIndex(this.operationTemplateList.length - 1)
            this.getRoutingTemplate(this.routingOperationId)
          } else {
            this.$message.error('添加失败')
          }
@@ -1389,6 +1391,7 @@
          } else {
            this.$message.error('添加失败')
          }
          this.templateRowClick({id: this.routingTemplateId})
        })
      }
    },