Forráskód Böngészése

sop编辑和新增修复

pm 1 éve
szülő
commit
6dc7236504

+ 1 - 1
src/components/separationPoint/index.vue

@@ -151,7 +151,7 @@ export default {
             height: 50,
             draggable: false,
           });
-          // 添加点击事件,仅当 getSopEdit 为 true 时才允许点击
+          // 添加点击事件,仅当 getSopEdit 为 true 时才允许点击a
           if (this.getSopEdit == true) {
             knovaImage.on("click", () => {
               // 切换选中状态,基于文本内容

+ 1 - 1
src/components/separationPoint/workshop.vue

@@ -137,7 +137,7 @@ export default {
             console.error("处理车间下拉失败", error);
           });
 
-        // 这里是为了拿到sop模板里默认的隔离点选中的数据
+        // 这里是为了拿到sop模板里默认的隔离点选中的数据a
         selectIsSopById(newVal[0].sopId).then((res) => {
           console.log(res, "sop");
           const selectSopPoints = res.data.pointDetailVOList.map((item) => {

+ 1 - 1
src/views/mes/sop/sopm/NewSop.vue

@@ -308,7 +308,7 @@ export default {
 
       // 编辑模式
       if (this.$route.query.sopId!=='null') {
-        console.log(this.$route.query.sopId,'sopId');
+        console.log(this.$route.query.sopId,'sopIdaaa');
         // 确保 sopId 存在
         if (!this.form.sopId) {
           console.error("隔离点id不可为空!");

+ 1 - 1
src/views/mes/sop/sopm/index.vue

@@ -429,7 +429,7 @@ export default {
       this.single = selection.length !== 1;
       this.multiple = !selection.length;
     },
-    /** 新增按钮操作 */
+    /** 新增按钮操作a */
     handleAdd() {
       this.reset();
       this.$router.push("/mes/sop/sopm/NewSop?sopId=null");