From be279905518716d702c8e41672dfb404deed1f73 Mon Sep 17 00:00:00 2001
From: yunuo970428 <405378304@qq.com>
Date: Tue, 5 Nov 2024 14:40:09 +0800
Subject: [PATCH] =?UTF-8?q?=E9=80=89=E6=8B=A9=E5=AE=A2=E6=88=B7=E5=85=AC?=
=?UTF-8?q?=E5=85=B1=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/components/publicPage/selectCustomer.vue | 15 ++-------------
1 file changed, 2 insertions(+), 13 deletions(-)
diff --git a/yxt-as-ui/src/components/publicPage/selectCustomer.vue b/yxt-as-ui/src/components/publicPage/selectCustomer.vue
index 40b77cd31f..e4bf9fb740 100644
--- a/yxt-as-ui/src/components/publicPage/selectCustomer.vue
+++ b/yxt-as-ui/src/components/publicPage/selectCustomer.vue
@@ -40,8 +40,7 @@
-
-
+
@@ -149,7 +148,6 @@ export default {
viewState: 1, // 1、列表 2、新增 3、编辑 4、查看
tableKey: 0,
list: [],
- sids: [], // 用于导出的时候保存已选择的SIDs
FormLoading: false,
listLoading: false,
// 翻页
@@ -221,15 +219,6 @@ export default {
break
}
},
- // 信息条数 获取点击时当前的sid
- handleSelectionChange(row) {
- const aa = []
- this.multipleSelection = row
- row.forEach(element => {
- aa.push(element.sid)
- })
- this.sids = aa
- },
// 表中序号
indexMethod(index) {
var pagestart = (this.listQuery.current - 1) * this.listQuery.size
@@ -305,11 +294,11 @@ export default {
this.formobj.orgPath = window.sessionStorage.getItem('defaultOrgPath')
this.formobj.useOrgSid = window.sessionStorage.getItem('defaultOrgPath').substring(window.sessionStorage.getItem('defaultOrgPath').lastIndexOf('/') + 1)
if (this.formobj.customerType !== '' && this.formobj.visitWay !== '' && this.formobj.vinNo !== '') {
- this.dialogVisible = false
if (this.formobj.vinNo.length !== 8 && this.formobj.vinNo.length !== 17) {
this.$message({ showClose: true, message: '车架号长度为8位或17位', type: 'error' })
return
}
+ this.dialogVisible = false
this.viewState = 3
this.$refs['divQuickAdd'].showAdd(this.formobj)
} else {