Commit e2ecf9b8 authored by WangRui's avatar WangRui

[feature]融资意向调整

parent c1e92f84
......@@ -168,7 +168,7 @@ function chooser(formItem) {
function typeOnConfirm(value, type) {
emit('afterSelect', {...value})
emit('afterSelect', {...value, type})
if (type === 'picker') {
if (isObject(value)) {
nowItem.value.value = value.value
......
......@@ -103,9 +103,9 @@ const formRaw = [
]
const form = $ref();
const message = $ref('')
let message = $ref('')
const formConfig = $ref(new AuFormClass(formRaw))
const messageDisabled = $ref(false)
let messageDisabled = $ref(false)
let agentList = []
const router = useRouter()
......@@ -175,8 +175,10 @@ const getLocation = () => {
if (temp2.length) {
formConfig.setFormValue('agentBpName', 'value', temp2[0].text)
formConfig.setFormValue('agentPhone', 'value', temp2[0].cellPhone)
} else {
formConfig.setFormValue('agentBpName', 'value', temp1[0].text)
formConfig.setFormValue('agentPhone', 'value', temp1[0].cellPhone)
}
}
......@@ -199,7 +201,9 @@ getFormVal()
const handleSelect = (value) => {
console.log('选择框选择后拿到的值:', value)
formConfig.setFormValue('agentPhone', 'value', value.cellPhone)
if(value.type === "picker"){
formConfig.setFormValue('agentPhone', 'value', value.cellPhone)
}
}
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment