Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
komatsu-lease-app
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
komatsu
komatsu-lease-app
Commits
e2ecf9b8
Commit
e2ecf9b8
authored
Feb 03, 2023
by
WangRui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[feature]融资意向调整
parent
c1e92f84
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
AuForm.vue
src/components/AuForm.vue
+1
-1
intentionForm.vue
src/modules/intention/views/intentionForm.vue
+7
-3
No files found.
src/components/AuForm.vue
View file @
e2ecf9b8
...
@@ -168,7 +168,7 @@ function chooser(formItem) {
...
@@ -168,7 +168,7 @@ function chooser(formItem) {
function
typeOnConfirm
(
value
,
type
)
{
function
typeOnConfirm
(
value
,
type
)
{
emit
(
'afterSelect'
,
{...
value
})
emit
(
'afterSelect'
,
{...
value
,
type
})
if
(
type
===
'picker'
)
{
if
(
type
===
'picker'
)
{
if
(
isObject
(
value
))
{
if
(
isObject
(
value
))
{
nowItem
.
value
.
value
=
value
.
value
nowItem
.
value
.
value
=
value
.
value
...
...
src/modules/intention/views/intentionForm.vue
View file @
e2ecf9b8
...
@@ -103,9 +103,9 @@ const formRaw = [
...
@@ -103,9 +103,9 @@ const formRaw = [
]
]
const
form
=
$ref
();
const
form
=
$ref
();
cons
t
message
=
$ref
(
''
)
le
t
message
=
$ref
(
''
)
const
formConfig
=
$ref
(
new
AuFormClass
(
formRaw
))
const
formConfig
=
$ref
(
new
AuFormClass
(
formRaw
))
cons
t
messageDisabled
=
$ref
(
false
)
le
t
messageDisabled
=
$ref
(
false
)
let
agentList
=
[]
let
agentList
=
[]
const
router
=
useRouter
()
const
router
=
useRouter
()
...
@@ -175,8 +175,10 @@ const getLocation = () => {
...
@@ -175,8 +175,10 @@ const getLocation = () => {
if
(
temp2
.
length
)
{
if
(
temp2
.
length
)
{
formConfig
.
setFormValue
(
'agentBpName'
,
'value'
,
temp2
[
0
].
text
)
formConfig
.
setFormValue
(
'agentBpName'
,
'value'
,
temp2
[
0
].
text
)
formConfig
.
setFormValue
(
'agentPhone'
,
'value'
,
temp2
[
0
].
cellPhone
)
}
else
{
}
else
{
formConfig
.
setFormValue
(
'agentBpName'
,
'value'
,
temp1
[
0
].
text
)
formConfig
.
setFormValue
(
'agentBpName'
,
'value'
,
temp1
[
0
].
text
)
formConfig
.
setFormValue
(
'agentPhone'
,
'value'
,
temp1
[
0
].
cellPhone
)
}
}
}
}
...
@@ -199,7 +201,9 @@ getFormVal()
...
@@ -199,7 +201,9 @@ getFormVal()
const
handleSelect
=
(
value
)
=>
{
const
handleSelect
=
(
value
)
=>
{
console
.
log
(
'选择框选择后拿到的值:'
,
value
)
console
.
log
(
'选择框选择后拿到的值:'
,
value
)
formConfig
.
setFormValue
(
'agentPhone'
,
'value'
,
value
.
cellPhone
)
if
(
value
.
type
===
"picker"
){
formConfig
.
setFormValue
(
'agentPhone'
,
'value'
,
value
.
cellPhone
)
}
}
}
</
script
>
</
script
>
...
...
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