Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ydLife
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sweet Zhang
ydLife
Commits
e152bfa7
Commit
e152bfa7
authored
Jul 31, 2023
by
wenyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
潜在客户功能调整为手机号与微信号填一个即可保存(律家保潜在客户只有微信号无手机号)
parent
e2c3b4b6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
src/app/my/my-business-detail/my-business-detail.component.html
+5
-3
src/app/my/my-business-detail/my-business-detail.component.ts
+3
-3
No files found.
src/app/my/my-business-detail/my-business-detail.component.html
View file @
e152bfa7
...
...
@@ -172,9 +172,11 @@
<div
class=
"wrapper_item"
style=
"border: none;margin-bottom: 0;"
>
<div
class=
"contentItem"
>
<span>
备注
</span>
<div
style=
"padding: 6px 15px;"
>
<input
class=
"form-control"
style=
"padding: 0;"
type=
"text"
[
disabled
]="
readonlyFlag
"
[(
ngModel
)]="
editBusiness
.
remark
"
placeholder=
"备注信息"
(
blur
)="
inputBlur
()"
/>
<div
style=
"padding: 6px 15px;flex-grow: 1;"
>
<textarea
class=
"form-control"
style=
"padding: 0;"
type=
"textarea"
[
disabled
]="
readonlyFlag
"
[(
ngModel
)]="
editBusiness
.
remark
"
placeholder=
"备注信息"
(
blur
)="
inputBlur
()"
>
</textarea>
</div>
</div>
</div>
...
...
src/app/my/my-business-detail/my-business-detail.component.ts
View file @
e152bfa7
...
...
@@ -347,16 +347,16 @@ export class MyBusinessDetailComponent implements OnInit {
}
}
if
(
!
this
.
editBusiness
.
mobileNo
)
{
if
(
!
this
.
editBusiness
.
mobileNo
&&
!
this
.
editBusiness
.
weChat
)
{
this
.
toastDialog
=
true
;
this
.
toastInfo
=
{
status
:
1
,
msg
:
'手机号
不能
为空!'
,
msg
:
'手机号
与微信号不能同时
为空!'
,
timeout
:
3000
,
align
:
'center'
};
return
;
}
else
{
}
else
if
(
this
.
editBusiness
.
mobileNo
)
{
this
.
editBusiness
.
mobileNo
=
this
.
editBusiness
.
mobileNo
.
trim
()
if
(
!
this
.
lifeCommonService
.
mobileNoValid
(
this
.
editBusiness
.
mobileNo
))
{
this
.
toastDialog
=
true
;
...
...
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