Sfoglia il codice sorgente

fix(工位管理): 添加选择工序前的班组校验及规则管理编辑权限控制

yusheng 6 mesi fa
parent
commit
4e1ec633cc

+ 4 - 0
src/views/factoryModel/station/components/stationMeter.vue

@@ -192,6 +192,10 @@
     methods: {
       // 选择可执行工序
       handleProduce() {
+        if (!this.formData?.extInfo?.teamId) {
+          this.$message.error('请先选择班组');
+          return;
+        }
         this.$refs.produceRef.open(this.formData);
       },
       handParent(data, index) {

+ 1 - 0
src/views/rulesManagement/recordrulesexecutemethod/index.vue

@@ -24,6 +24,7 @@
             :underline="false"
             icon="el-icon-edit"
             @click="openEdit('edit', row)"
+             v-if="!row.isUsing"
           >
             编辑
           </el-link>