|
@@ -14,9 +14,9 @@
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<el-tabs v-model="activeName" @tab-click="handleClick">
|
|
|
- <el-tab-pane label="待提交" name="first"></el-tab-pane>
|
|
|
+ <el-tab-pane label="待提交" name="first" v-if="checkRole(['purchaser'])"></el-tab-pane>
|
|
|
<el-tab-pane label="已生效" name="second"></el-tab-pane>
|
|
|
</el-tabs>
|
|
|
|
|
@@ -64,11 +64,11 @@
|
|
|
</el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
-
|
|
|
+
|
|
|
<script>
|
|
|
- import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
|
|
|
+ import { checkRole } from "@/utils/permission"; // 权限判断函数
|
|
|
import { selectTenderByChange, postAlterBid, selectChangelist } from '@/api/system/plan'
|
|
|
-
|
|
|
+
|
|
|
export default {
|
|
|
name: 'BidWinningChange',
|
|
|
components: {
|
|
@@ -118,8 +118,8 @@
|
|
|
await this.getList()
|
|
|
},
|
|
|
methods: {
|
|
|
- checkPermi,
|
|
|
-
|
|
|
+ checkRole,
|
|
|
+
|
|
|
/*查看采购计划*/
|
|
|
handleClick(activeName, oldActiveName) {
|
|
|
switch (activeName.name) {
|
|
@@ -138,7 +138,7 @@
|
|
|
this.queryParams.pageNum = 1
|
|
|
this.queryParams.cState = this.activeName == 'first' ? 0 : 1
|
|
|
this.getList()
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
/** 重置按钮操作 */
|
|
|
resetQuery() {
|
|
@@ -214,26 +214,25 @@
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
-
|
|
|
+
|
|
|
<style scoped>
|
|
|
.demo-table-expand {
|
|
|
font-size: 0;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.demo-table-expand label {
|
|
|
width: 90px;
|
|
|
color: #99a9bf;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.demo-table-expand .el-form-item {
|
|
|
margin-right: 0;
|
|
|
margin-bottom: 0;
|
|
|
width: 50%;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.file_icon {
|
|
|
cursor: pointer;
|
|
|
margin-left: 20px;
|
|
|
}
|
|
|
</style>
|
|
|
-
|