Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
39162b10
Commit
39162b10
authored
May 28, 2026
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
5a6a22cc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
55 additions
and
10 deletions
+55
-10
MyCustomer.vue
src/components/SalesModule/MyCustomer.vue
+55
-10
No files found.
src/components/SalesModule/MyCustomer.vue
View file @
39162b10
...
...
@@ -762,7 +762,7 @@
</div>
</el-form-item>
</el-col>
<el-col
:span=
"6"
v-if=
"currentUserInfo&& currentUserInfo.RB_Branch_id !=1252&& currentUserInfo.RB_Branch_id !=1257"
>
<el-col
:span=
"6"
v-if=
"
!showTravelAICustomer &&
currentUserInfo&& currentUserInfo.RB_Branch_id !=1252&& currentUserInfo.RB_Branch_id !=1257"
>
<el-form-item
:label=
"$t('objFill.pingtaiyhm')"
>
<div
style=
"display: flex;flex-wrap: nowrap;justify-content: space-between;"
>
<div
style=
"display: flex; flex-wrap: wrap;align-items: center;"
>
...
...
@@ -809,6 +809,11 @@
</el-col>
</template>
<
template
v-if=
"isShow"
>
<el-col
:span=
"6"
v-if=
"showTravelAICustomer"
>
<el-form-item
label=
"统一编码"
prop=
"UniqueCode"
>
<el-input
v-model=
"addMsg.UniqueCode"
:placeholder=
"$t('objFill.qingshurtybm')"
maxlength=
"30"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
:label=
"$t('salesModule.CustomerSource')"
prop=
"CustomerSourceType"
>
<el-select
filterable
v-model=
'addMsg.CustomerSourceType'
style=
"width: 100%;"
...
...
@@ -843,18 +848,28 @@
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
v-if=
"showTravelAICustomer"
>
<el-form-item
label=
"TravelAI邮箱"
prop=
"TravelAIEmail"
>
<el-input
v-model=
"addMsg.TravelAIEmail"
placeholder=
"多个邮箱请用英文逗号分隔"
maxlength=
"200"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
v-if=
"showTravelAICustomer"
>
<el-form-item
label=
"TravelAI域名"
prop=
"TravelAIDomain"
>
<el-input
v-model=
"addMsg.TravelAIDomain"
placeholder=
"请输入完整域名"
maxlength=
"50"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"showTravelAICustomer?4:6"
>
<el-form-item
label=
""
>
<el-checkbox
v-model=
'addMsg.IsGuideOrLeader'
>
是否领队/导游
</el-checkbox>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"
showTravelAICustomer?4:
6"
>
<el-form-item
:label=
"$t('hotel.hotel_remark')"
prop=
"remark"
>
<el-input
v-model=
"addMsg.remark"
autosize
type=
"textarea"
maxlength=
"500"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"
showTravelAICustomer?4:
6"
>
<el-form-item
:label=
"$t('salesModule.CustomerInfo')"
prop=
"remark"
v-show=
'addMsg.CustomerSourceType==6'
>
<el-input
v-model=
"addMsg.CustomerSource"
maxlength=
"20"
></el-input>
</el-form-item>
...
...
@@ -922,6 +937,21 @@
<el-input
v-model=
'updateMsg.Contact'
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-if=
"showTravelAICustomer"
>
<el-form-item
label=
"统一编码"
prop=
"uniqueCode"
>
<el-input
v-model=
"updateMsg.uniqueCode"
:placeholder=
"$t('objFill.qingshurtybm')"
maxlength=
"50"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
v-if=
"showTravelAICustomer"
>
<el-form-item
label=
"TravelAI邮箱"
prop=
"TravelAIEmail"
>
<el-input
v-model=
"updateMsg.TravelAIEmail"
placeholder=
"多个邮箱请用英文逗号分隔"
maxlength=
"200"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-if=
"showTravelAICustomer"
>
<el-form-item
label=
"TravelAI域名"
prop=
"TravelAIDomain"
>
<el-input
v-model=
"updateMsg.TravelAIDomain"
placeholder=
"请输入完整域名"
maxlength=
"50"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
""
>
<el-checkbox
v-model=
'updateMsg.IsGuideOrLeader'
>
是否领队/导游
...
...
@@ -1148,7 +1178,9 @@
LINEID
:
''
,
Email
:
''
,
PlatformUserNameList
:
[],
IsMember
:
''
IsMember
:
''
,
TravelAIEmail
:
''
,
TravelAIDomain
:
''
},
addMsgS
:
{
isPreFilled
:
true
,
...
...
@@ -1274,7 +1306,9 @@
lineid
:
''
,
email
:
''
,
PlatformUserNameList
:
[],
IsMember
:
''
IsMember
:
''
,
TravelAIEmail
:
''
,
TravelAIDomain
:
''
},
cityList
:
[],
regionList
:
[],
...
...
@@ -1299,6 +1333,7 @@
{
Name
:
this
.
$t
(
'fnc.fou'
),
Id
:
0
},
],
customerStatus
:
0
,
showTravelAICustomer
:
false
,
}
},
methods
:
{
...
...
@@ -1425,10 +1460,10 @@
this
.
$message
.
error
(
this
.
$t
(
'rule.EnterContratPerson'
))
return
}
// if(
!this.updateMsg.uniqueCode){
//
this.$message.error(this.$t('objFill.qingshurtybm'))
//
return
//
}
if
(
this
.
showTravelAICustomer
&&
!
this
.
updateMsg
.
uniqueCode
){
this
.
$message
.
error
(
this
.
$t
(
'objFill.qingshurtybm'
))
return
}
// if(!this.updateMsg.lineid){
// this.$message.error(this.$t('objFill.qingshurlineid'))
// return
...
...
@@ -1571,6 +1606,8 @@
this
.
updateMsg
.
CustomerName
=
x
.
customerName
this
.
updateMsg
.
Contact
=
x
.
contactName
this
.
updateMsg
.
CustomerId
=
x
.
customerId
this
.
updateMsg
.
TravelAIEmail
=
x
.
travelAIEmail
this
.
updateMsg
.
TravelAIDomain
=
x
.
travelAIDomain
this
.
updateMsg
.
IsGuideOrLeader
=
x
.
isGuideOrLeader
==
1
?
true
:
false
this
.
updateMsg
.
Address
=
x
.
address
//x.address.split(',')[1]
this
.
updateMsg
.
Province
=
x
.
province
...
...
@@ -1732,6 +1769,9 @@
this
.
addMsg
.
IsGuideOrLeader
=
x
.
IsGuideOrLeader
==
1
?
true
:
false
this
.
addMsg
.
Premises
=
x
.
premises
this
.
addMsg
.
CustomerSourceType
=
x
.
customerSourceType
this
.
addMsg
.
TravelAIEmail
=
x
.
travelAIEmail
this
.
addMsg
.
TravelAIDomain
=
x
.
travelAIDomain
this
.
addMsg
.
UniqueCode
=
x
.
uniqueCode
let
dictid
=
[]
res
.
data
.
data
.
brandList
.
forEach
(
x
=>
{
dictid
.
push
(
x
.
dictId
)
...
...
@@ -2061,6 +2101,8 @@
cancelData
()
{
this
.
addMsg
.
CustomerId
=
0
;
this
.
addMsg
.
IsGuideOrLeader
=
false
;
this
.
addMsg
.
TravelAIEmail
=
""
;
this
.
addMsg
.
TravelAIDomain
=
""
;
this
.
addMsg
.
customerName
=
""
;
this
.
addMsg
.
contact
=
""
;
this
.
addMsg
.
contactNumber
=
""
;
...
...
@@ -2107,6 +2149,9 @@
},
created
()
{
this
.
currentUserInfo
=
this
.
getLocalStorage
();
if
(
this
.
currentUserInfo
.
ActionMenuCode
.
indexOf
(
'S_TravelAICustomer'
)
!=-
1
){
this
.
showTravelAICustomer
=
true
;
}
},
mounted
()
{
this
.
getList
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment