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/CommonFormTableView.vue | 19 ++++++++++++++++++-
1 files changed, 18 insertions(+), 1 deletions(-)
diff --git a/src/components/makepager/CommonFormTableView.vue b/src/components/makepager/CommonFormTableView.vue
index 1b9765c..4476b95 100644
--- a/src/components/makepager/CommonFormTableView.vue
+++ b/src/components/makepager/CommonFormTableView.vue
@@ -201,6 +201,7 @@
:edit-common-config="editSelCommonConfig"
:quotationNumber="quotationNumber"
@selClient="selClient"
+ @getSelectArray="getSelectArray"
/>
</div>
</template>
@@ -224,6 +225,11 @@
pageName:{
type:String,
default:''
+ },
+ // 鍒楄〃鏂板鏄惁澶氶��
+ addTypeIdMultiple:{
+ type:Boolean,
+ default:false,
},
// 鏍规嵁鎶ヤ环鍗曟煡璇骇鍝�
quotationNumber:{
@@ -268,6 +274,7 @@
tableList: [],
editSelCommonConfig: {
editVisible: false,
+ isSelectBox:false,
title: "",
infomation: {}
},
@@ -399,7 +406,13 @@
},
// 鏂板
add() {
- this.$emit("addProductClick")
+ if(this.addTypeIdMultiple){
+ this.editSelCommonConfig.title = "浜у搧鍚嶇О"
+ this.editSelCommonConfig.isSelectBox=true;
+ this.editSelCommonConfig.editVisible = true
+ }else{
+ this.$emit("addProductClick")
+ }
},
commonInputChange(val, prop, row,scope) {
if (prop === "amount") {
@@ -487,6 +500,7 @@
console.log(row, prop)
this.productIndex = row.productId - 1
this.editSelCommonConfig.title = "浜у搧鍚嶇О"
+ this.editSelCommonConfig.isSelectBox=false;
this.editSelCommonConfig.editVisible = true
},
selClient(item) {
@@ -505,6 +519,9 @@
}
})
},
+ getSelectArray(val){
+ this.$emit("getSelectArray",val)
+ },
// 娓呴櫎宸查�夋嫨鐢ㄦ埛
clearupClient(row) {
this.productIndex = row.productId - 1
--
Gitblit v1.8.0