From d4f4c52402b91cb8e17c1845da71c5e39662fde0 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期三, 03 一月 2024 15:28:06 +0800 Subject: [PATCH] 销售报价单列表页增加统计内容及接口联调、添加报价单天天客户名称及对应限制功能 --- src/components/makepager/PublicFunctionBtnView.vue | 18 +++++++++++------- 1 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/components/makepager/PublicFunctionBtnView.vue b/src/components/makepager/PublicFunctionBtnView.vue index e7d3b84..00df97b 100644 --- a/src/components/makepager/PublicFunctionBtnView.vue +++ b/src/components/makepager/PublicFunctionBtnView.vue @@ -3,12 +3,14 @@ <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> @@ -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