Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-presale
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 2717edd6
authored
Apr 24, 2022
by
张权
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
每次点击店面重新获取信息
1 parent
50d2d839
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
6 deletions
src/views/claims/ghOrder.vue
src/views/claims/order.vue
src/views/claims/ghOrder.vue
View file @
2717edd
...
@@ -94,11 +94,13 @@ export default {
...
@@ -94,11 +94,13 @@ export default {
mounted
()
{},
mounted
()
{},
methods
:
{
methods
:
{
changeObjectType
(
newVal
)
{
changeObjectType
(
newVal
)
{
let
obj
=
{}
if
(
newVal
===
1
)
{
obj
=
{
...
this
.
accountForm
}
this
.
saveObj
.
objectType
=
newVal
this
.
saveObj
.
objectType
=
newVal
this
.
accountForm
=
{
...
this
.
saveObj
}
this
.
accountForm
=
{
...
this
.
saveObj
}
this
.
saveObj
=
{
...
obj
}
}
else
{
this
.
saveObj
=
{
...
this
.
accountForm
}
this
.
getAccountInfo
(
this
.
editForm
.
contractNo
)
}
},
},
initSaveObj
()
{
initSaveObj
()
{
this
.
saveObj
=
{
...
this
.
accountForm
}
this
.
saveObj
=
{
...
this
.
accountForm
}
...
@@ -159,6 +161,7 @@ export default {
...
@@ -159,6 +161,7 @@ export default {
},
},
// 点击同步,获取收款人信息
// 点击同步,获取收款人信息
getAccountInfo
(
contractNo
)
{
getAccountInfo
(
contractNo
)
{
if
(
!
contractNo
)
return
this
.
$apis
.
claims
.
getAccountInfo
({
contractNo
}).
then
(
res
=>
{
this
.
$apis
.
claims
.
getAccountInfo
({
contractNo
}).
then
(
res
=>
{
const
{
accountName
,
accountCityCode
:
bankCity
,
openBankCode
:
branchBankCode
,
accountNo
,
accountType
,
cardNo
:
payeeIDCardNo
,
cardTypeCode
:
payeeIDCardType
,
phone
:
payeePhone
}
=
res
||
{}
const
{
accountName
,
accountCityCode
:
bankCity
,
openBankCode
:
branchBankCode
,
accountNo
,
accountType
,
cardNo
:
payeeIDCardNo
,
cardTypeCode
:
payeeIDCardType
,
phone
:
payeePhone
}
=
res
||
{}
const
result
=
{
accountName
,
bankCity
,
branchBankCode
,
accountNo
,
accountType
,
payeeIDCardNo
,
payeeIDCardType
,
payeePhone
}
const
result
=
{
accountName
,
bankCity
,
branchBankCode
,
accountNo
,
accountType
,
payeeIDCardNo
,
payeeIDCardType
,
payeePhone
}
...
...
src/views/claims/order.vue
View file @
2717edd
...
@@ -94,11 +94,13 @@ export default {
...
@@ -94,11 +94,13 @@ export default {
mounted
()
{},
mounted
()
{},
methods
:
{
methods
:
{
changeObjectType
(
newVal
)
{
changeObjectType
(
newVal
)
{
let
obj
=
{}
if
(
newVal
===
1
)
{
obj
=
{
...
this
.
accountForm
}
this
.
saveObj
.
objectType
=
newVal
this
.
saveObj
.
objectType
=
newVal
this
.
accountForm
=
{
...
this
.
saveObj
}
this
.
accountForm
=
{
...
this
.
saveObj
}
this
.
saveObj
=
{
...
obj
}
}
else
{
this
.
saveObj
=
{
...
this
.
accountForm
}
this
.
getAccountInfo
(
this
.
editForm
.
contractNo
)
}
},
},
initSaveObj
()
{
initSaveObj
()
{
this
.
saveObj
=
{
...
this
.
accountForm
}
this
.
saveObj
=
{
...
this
.
accountForm
}
...
@@ -159,6 +161,7 @@ export default {
...
@@ -159,6 +161,7 @@ export default {
},
},
// 点击同步,获取收款人信息
// 点击同步,获取收款人信息
getAccountInfo
(
contractNo
)
{
getAccountInfo
(
contractNo
)
{
if
(
!
contractNo
)
return
this
.
$apis
.
claims
.
getAccountInfo
({
contractNo
}).
then
(
res
=>
{
this
.
$apis
.
claims
.
getAccountInfo
({
contractNo
}).
then
(
res
=>
{
const
{
accountName
,
accountCityCode
:
bankCity
,
openBankCode
:
branchBankCode
,
accountNo
,
accountType
,
cardNo
:
payeeIDCardNo
,
cardTypeCode
:
payeeIDCardType
,
phone
:
payeePhone
}
=
res
||
{}
const
{
accountName
,
accountCityCode
:
bankCity
,
openBankCode
:
branchBankCode
,
accountNo
,
accountType
,
cardNo
:
payeeIDCardNo
,
cardTypeCode
:
payeeIDCardType
,
phone
:
payeePhone
}
=
res
||
{}
const
result
=
{
accountName
,
bankCity
,
branchBankCode
,
accountNo
,
accountType
,
payeeIDCardNo
,
payeeIDCardType
,
payeePhone
}
const
result
=
{
accountName
,
bankCity
,
branchBankCode
,
accountNo
,
accountType
,
payeeIDCardNo
,
payeeIDCardType
,
payeePhone
}
...
...
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