Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
sales-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 540df6bf
authored
Dec 24, 2025
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'bugfix_SAAS+V5.5.0.1-1222' into 'master'
上线合并 See merge request
!4
2 parents
81300294
4674451f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
packageCustomer/components/SelectArea/SelectArea.js
packageCustomer/pages/createPotential/createPotential.wxml
packageCustomer/components/SelectArea/SelectArea.js
View file @
540df6b
...
...
@@ -72,7 +72,7 @@ Component({
// 已是区级
if
(
input
.
length
===
6
&&
input
.
slice
(
4
)
!==
'00'
)
return
input
// 传市级:找该市下第一个区
if
(
areaList
&&
areaList
.
county_list
&&
areaList
.
county_list
[
cityCode
])
return
cityCode
// unlikely
if
(
areaList
&&
areaList
.
county_list
&&
!
areaList
.
county_list
[
cityCode
])
return
cityCode
// 当市下没有区级数据时 选中市级
if
(
areaList
&&
areaList
.
county_list
)
{
const
prefix
=
cityCode
.
slice
(
0
,
4
)
const
match
=
Object
.
keys
(
areaList
.
county_list
).
find
(
c
=>
c
.
slice
(
0
,
4
)
===
prefix
)
...
...
packageCustomer/pages/createPotential/createPotential.wxml
View file @
540df6b
...
...
@@ -102,6 +102,6 @@
<car-brand id="car-brand" popupShow="{{carBrandPopupShow}}" multiple selectedList="{{selectedMainBrand}}"></car-brand>
</popup>
<select-popup show="{{showSelectPopup}}" options="{{selectOptions}}" multiple="{{selectMultiple}}" values="{{selectValues}}" value="{{selectValue}}" bindconfirm="handlePopupConfirm" bindcancel="hideSelectPopup" title="{{selectTitle}}"></select-popup>
<select-area show="{{showSelectArea}}" areaList="{{areaList}}" bindconfirm="areaConfirm" bindcancel="areaCancel" value="{{infoData.districtId || ''}}"></select-area>
<select-area show="{{showSelectArea}}" areaList="{{areaList}}" bindconfirm="areaConfirm" bindcancel="areaCancel" value="{{infoData.districtId ||
infoData.cityId ||
''}}"></select-area>
<!-- 结果弹窗组件:统一反馈弹窗 -->
<result-dialog id="resultDialog" bind:ok="onDialogOk" bind:close="onDialogClose" />
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
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 post a comment