Jelajahi Sumber

模具更新申请按钮

Reiskuchen 5 tahun lalu
induk
melakukan
5557a1c748
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      ys_vue/src/views/mold/moldDetail.vue

+ 2 - 2
ys_vue/src/views/mold/moldDetail.vue

@@ -360,7 +360,7 @@
                                     v-if="approve == 1 && (scope.row.state == 0 || (scope.row.state == 1 && user.subordinateType == 1) || (scope.row.state == 2 && user.subordinateType == 0))" 
                                     >不通过</el-button>
                                 <el-button size="small" @click="showAdd(scope.row.id)" type="primary"
-                                    v-if="scope.row.uplodtorId == user.id && scope.row.state == 3">更新模具</el-button>
+                                    v-if="scope.row.uplodtorId == user.id && scope.row.state == 3 && moldDetail.equipmentNo != null">更新模具</el-button>
                             </template>
                         </el-table-column>
                     </el-table>
@@ -750,7 +750,7 @@
                 //     this.$router.go(0);
                 // }
                 // this.$router.replace('/moldList/' + id);
-                
+
                 //更加简单粗暴地方法
                 this.detailId = id;
                 this.getDetail();