|
@@ -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();
|