Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-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
xugong
hls-xcmg-vue-app
Commits
c967d4e5
Commit
c967d4e5
authored
Oct 08, 2023
by
jiacheng.mao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
业务经理维护页面新增付款方和付款方名称字段
parent
383db834
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
4 deletions
+39
-4
Plan.vue
src/pages/financingApply/components/Plan.vue
+35
-3
financingApply-detail.vue
src/pages/financingApply/financingApply-detail.vue
+4
-1
No files found.
src/pages/financingApply/components/Plan.vue
View file @
c967d4e5
...
@@ -13,11 +13,11 @@
...
@@ -13,11 +13,11 @@
</list-item>
</list-item>
<div
v-if=
"editFlag || showFlag"
>
<div
v-if=
"editFlag || showFlag"
>
<Form
ref=
"myForm_30"
>
<Form
ref=
"myForm_30"
>
<Field
<Field
v-model=
"p.repurchase_flag_n"
:readonly=
"true"
v-model=
"p.repurchase_flag_n"
:readonly=
"true"
:required=
"editFlag"
:is-link=
"editFlag"
:rules=
"[
{ required: editFlag,message:'请选择'}]" input-align="right"
:required=
"editFlag"
:is-link=
"editFlag"
:rules=
"[
{ required: editFlag,message:'请选择'}]" input-align="right"
label="合同标识" @click="showPicker('repurchase_flag',pi)"/>
label="合同标识" @click="showPicker('repurchase_flag',pi)"/>
<Field
<Field
v-model=
"p.rent_invoice_type_n"
:readonly=
"true"
v-model=
"p.rent_invoice_type_n"
:readonly=
"true"
:required=
"editFlag"
:is-link=
"editFlag"
:rules=
"[
{ required: editFlag,message:'请选择'}]" input-align="right"
:required=
"editFlag"
:is-link=
"editFlag"
:rules=
"[
{ required: editFlag,message:'请选择'}]" input-align="right"
label="开票类型" @click="showPicker('rent_invoice_type',pi)"/>
label="开票类型" @click="showPicker('rent_invoice_type',pi)"/>
...
@@ -73,6 +73,13 @@
...
@@ -73,6 +73,13 @@
v-model=
"p.special_policy_flag_n"
:readonly=
"true"
v-model=
"p.special_policy_flag_n"
:readonly=
"true"
:required=
"editFlag"
:is-link=
"editFlag"
:rules=
"[
{ required: editFlag,message:'请选择'}]" input-align="right"
:required=
"editFlag"
:is-link=
"editFlag"
:rules=
"[
{ required: editFlag,message:'请选择'}]" input-align="right"
label="是否特殊政策" @click="showPicker('special_policy_flag',pi)"/>
label="是否特殊政策" @click="showPicker('special_policy_flag',pi)"/>
<Field
v-model=
"p.payer_n"
:readonly=
"true"
:required=
"editFlag"
:is-link=
"editFlag"
:rules=
"[
{ required: editFlag,message:'请选择'}]" input-align="right"
label="付款方" @click="showPicker('business_plan_payer',pi)"/>
<Field
v-model=
"p.payer_name"
:readonly=
"payerNameFlag"
:required=
"editFlag"
label=
"付款方名称"
input-align=
"right"
/>
<!-- GPS是否未安装(必填) -->
<!-- GPS是否未安装(必填) -->
<!--
<Field
<!--
<Field
v-model=
"p.gps_flag_n"
:readonly=
"showFlag"
v-model=
"p.gps_flag_n"
:readonly=
"showFlag"
...
@@ -121,11 +128,13 @@ export default {
...
@@ -121,11 +128,13 @@ export default {
businessNewType
:
[],
// 合同标识
businessNewType
:
[],
// 合同标识
leaseType
:
[],
// 租赁物类型
leaseType
:
[],
// 租赁物类型
YesNoType
:
[],
// 是否类型
YesNoType
:
[],
// 是否类型
businessPlanPayer
:
[],
// 付款方
picker_show
:
false
,
picker_show
:
false
,
now_location
:
''
,
now_location
:
''
,
now_nodeName
:
''
,
now_nodeName
:
''
,
actionTitle
:
''
,
actionTitle
:
''
,
now_specialFlag
:
false
,
now_specialFlag
:
false
,
payerNameFlag
:
true
,
}
}
},
},
// watch: {
// watch: {
...
@@ -142,7 +151,7 @@ export default {
...
@@ -142,7 +151,7 @@ export default {
created
()
{
created
()
{
this
.
createForm
()
this
.
createForm
()
this
.
getDropBox
()
this
.
getDropBox
()
console
.
log
(
this
.
editFlag
,
this
.
showFlag
)
console
.
log
(
this
.
editFlag
,
this
.
showFlag
)
},
},
methods
:
{
methods
:
{
getData
(){
getData
(){
...
@@ -198,6 +207,23 @@ export default {
...
@@ -198,6 +207,23 @@ export default {
this
.
planData
[
this
.
now_location
].
lease_things_type_n
=
val
this
.
planData
[
this
.
now_location
].
lease_things_type_n
=
val
let
arr
=
this
.
leaseType
.
filter
(
item
=>
item
.
code_name
===
val
)
let
arr
=
this
.
leaseType
.
filter
(
item
=>
item
.
code_name
===
val
)
this
.
planData
[
this
.
now_location
].
lease_things_type
=
arr
[
0
].
code
this
.
planData
[
this
.
now_location
].
lease_things_type
=
arr
[
0
].
code
}
else
if
(
this
.
now_nodeName
===
'business_plan_payer'
)
{
// 付款方
this
.
planData
[
this
.
now_location
].
payer_n
=
val
let
arr
=
this
.
businessPlanPayer
.
filter
(
item
=>
item
.
code_name
===
val
)
this
.
planData
[
this
.
now_location
].
payer
=
arr
[
0
].
code
if
(
this
.
planData
[
this
.
now_location
].
payer
===
'FACTORY'
)
{
this
.
payerNameFlag
=
true
this
.
planData
[
this
.
now_location
].
payer_name
=
this
.
planData
.
factory_n
}
else
if
(
this
.
planData
[
this
.
now_location
].
payer
===
'TENANT'
)
{
this
.
payerNameFlag
=
true
this
.
planData
[
this
.
now_location
].
payer_name
=
this
.
planData
.
bp_id_tenant_n
}
else
if
(
this
.
planData
[
this
.
now_location
].
payer
===
'AGENT'
)
{
this
.
payerNameFlag
=
true
this
.
planData
[
this
.
now_location
].
payer_name
=
this
.
planData
.
bp_id_agent_n
}
else
if
(
this
.
planData
[
this
.
now_location
].
payer
===
'OTHER'
)
{
this
.
payerNameFlag
=
false
this
.
planData
[
this
.
now_location
].
payer_name
=
''
}
}
else
{
}
else
{
this
.
planData
[
this
.
now_location
][
this
.
now_nodeName
+
'_n'
]
=
val
this
.
planData
[
this
.
now_location
][
this
.
now_nodeName
+
'_n'
]
=
val
let
arr
=
this
.
YesNoType
.
filter
(
item
=>
item
.
code_name
===
val
)
let
arr
=
this
.
YesNoType
.
filter
(
item
=>
item
.
code_name
===
val
)
...
@@ -230,6 +256,10 @@ export default {
...
@@ -230,6 +256,10 @@ export default {
this
.
now_nodeName
=
'lease_things_type'
this
.
now_nodeName
=
'lease_things_type'
this
.
actions
=
this
.
leaseType
.
map
(
item
=>
({
name
:
item
.
code_name
}))
this
.
actions
=
this
.
leaseType
.
map
(
item
=>
({
name
:
item
.
code_name
}))
this
.
actionTitle
=
'请选择'
this
.
actionTitle
=
'请选择'
}
else
if
(
flag
===
'business_plan_payer'
)
{
this
.
now_nodeName
=
'business_plan_payer'
this
.
actions
=
this
.
businessPlanPayer
.
map
(
item
=>
({
name
:
item
.
code_name
}))
this
.
actionTitle
=
'请选择'
}
else
{
}
else
{
this
.
now_nodeName
=
flag
this
.
now_nodeName
=
flag
this
.
actions
=
this
.
YesNoType
.
map
(
item
=>
({
name
:
item
.
code_name
}))
this
.
actions
=
this
.
YesNoType
.
map
(
item
=>
({
name
:
item
.
code_name
}))
...
@@ -248,6 +278,7 @@ export default {
...
@@ -248,6 +278,7 @@ export default {
// 'BUSINESS_TYPE_NEW': 'BUSINESS_TYPE_NEW',
// 'BUSINESS_TYPE_NEW': 'BUSINESS_TYPE_NEW',
'LEASE_THINGS_TYPE'
:
'LEASE_THINGS_TYPE'
,
'LEASE_THINGS_TYPE'
:
'LEASE_THINGS_TYPE'
,
'YES_NO'
:
'YES_NO'
,
'YES_NO'
:
'YES_NO'
,
'BUSINESS_PLAN_PAYER'
:
'BUSINESS_PLAN_PAYER'
,
}
}
...
@@ -261,6 +292,7 @@ export default {
...
@@ -261,6 +292,7 @@ export default {
this
.
businessNewType
=
res
.
BUSINESS_TYPE_NEW
this
.
businessNewType
=
res
.
BUSINESS_TYPE_NEW
this
.
leaseType
=
res
.
LEASE_THINGS_TYPE
this
.
leaseType
=
res
.
LEASE_THINGS_TYPE
this
.
YesNoType
=
res
.
YES_NO
this
.
YesNoType
=
res
.
YES_NO
this
.
businessPlanPayer
=
res
.
BUSINESS_PLAN_PAYER
}
}
},
},
...
...
src/pages/financingApply/financingApply-detail.vue
View file @
c967d4e5
...
@@ -201,7 +201,10 @@ export default {
...
@@ -201,7 +201,10 @@ export default {
this
.
bplist
=
res
.
bp_lists
this
.
bplist
=
res
.
bp_lists
this
.
lesseeData
=
res
.
info
this
.
lesseeData
=
res
.
info
this
.
planData
=
res
.
quotation_lists
this
.
planData
=
res
.
quotation_lists
console
.
log
(
this
.
planData
);
this
.
planData
.
factory_n
=
res
.
info
.
factory_n
this
.
planData
.
bp_id_agent_n
=
res
.
info
.
bp_id_agent_n
this
.
planData
.
bp_id_tenant_n
=
res
.
info
.
bp_id_tenant_n
console
.
log
(
this
.
planData
)
this
.
appendixData
=
(
res
.
cdd_lists
||
[]).
map
(
item
=>
{
this
.
appendixData
=
(
res
.
cdd_lists
||
[]).
map
(
item
=>
{
let
attachArr
=
[]
let
attachArr
=
[]
item
.
attach_file_name
&&
item
.
attach_file_name
.
split
(
';;'
).
forEach
(
ele
=>
{
item
.
attach_file_name
&&
item
.
attach_file_name
.
split
(
';;'
).
forEach
(
ele
=>
{
...
...
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