From 74dfc64fee47f49bea6b070d06005e7d790ac91d Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期四, 12 十月 2023 09:52:15 +0800
Subject: [PATCH] feat: 合同管理、服务合同、客户服务单、服务回访单 自动生成编号编辑回显时显示对应编码
---
src/components/makepager/PublicFunctionBtnView.vue | 20 ++++++++++++--------
1 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/src/components/makepager/PublicFunctionBtnView.vue b/src/components/makepager/PublicFunctionBtnView.vue
index af31de2..00df97b 100644
--- a/src/components/makepager/PublicFunctionBtnView.vue
+++ b/src/components/makepager/PublicFunctionBtnView.vue
@@ -3,14 +3,16 @@
<div class="btn-list">
<el-button size="small" type="text" class="blue" @click="addBtnClick">鏂板缓</el-button>
<!-- <el-button v-if="receive" size="small" type="text" class="gray" @click="receiveBtnClick">棰嗗彇</el-button> -->
- <el-button v-if="allocation" size="small" type="text" class="gray" @click="allocationBtnClick">鍒嗛厤</el-button>
+ <el-button v-if="allocation" size="small" type="text" class="gray" @click="allocationBtnClick" disabled
+ >鍒嗛厤</el-button
+ >
<el-button v-if="deleteButton" size="small" type="text" class="gray" @click="deleteBtnClick">鍒犻櫎</el-button>
<!-- <el-button v-if="submitApproval" size="small" type="text" class="gray width64" @click="submitApprovalBtnClick"
>鎻愪氦瀹℃壒
</el-button> -->
- <!-- <el-button v-if="duplicateCheck" size="small" type="text" class="gray" @click="duplicateCheckBtnClick"
+ <el-button v-if="duplicateCheck" size="small" type="text" class="gray" @click="duplicateCheckBtnClick" disabled
>鏌ラ噸</el-button
- > -->
+ >
<!-- <el-button v-if="importButton" size="small" type="text" class="gray" @click="importBtnClick">瀵煎叆</el-button>
<el-button v-if="departmentSet" size="small" type="text" class="gray" @click="departmentSetClick"
>閮ㄩ棬璁剧疆</el-button
@@ -77,7 +79,7 @@
},
allocation: {
type: Boolean,
- default: true
+ default: false
},
deleteButton: {
type: Boolean,
@@ -153,9 +155,13 @@
// 棰嗗彇
receiveBtnClick() {},
// 鍒嗛厤
- allocationBtnClick() {},
+ allocationBtnClick() {
+ this.$emit("allocationBtnClick")
+ },
// 鍒犻櫎
- deleteBtnClick() {},
+ deleteBtnClick() {
+ this.$emit("batchDelete")
+ },
// 鎻愪氦瀹℃壒
submitApprovalBtnClick() {},
// 鏌ラ噸
@@ -193,8 +199,6 @@
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="scss" scoped>
.function-btn {
- margin-top: 10px;
- margin-left: 10px;
.btn-list {
display: flex;
.el-button {
--
Gitblit v1.8.0