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 39cbbac1
authored
May 06, 2022
by
张权
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
暂时屏蔽默认值问题
1 parent
3dee3b4c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
10 deletions
src/views/claims/ghOrder.vue
src/views/claims/order.vue
src/views/claims/ghOrder.vue
View file @
39cbbac
...
@@ -123,7 +123,7 @@ export default {
...
@@ -123,7 +123,7 @@ export default {
this
.
accountForm
[
key
]
=
res
[
key
]
this
.
accountForm
[
key
]
=
res
[
key
]
}
}
if
(
this
.
accountForm
.
accountType
!==
1
)
this
.
accountForm
.
accountType
=
0
if
(
this
.
accountForm
.
accountType
!==
1
)
this
.
accountForm
.
accountType
=
0
if
(
this
.
accountForm
.
objectType
!==
1
)
this
.
accountForm
.
objec
tType
=
0
if
(
this
.
accountForm
.
objectType
!==
1
)
this
.
accountForm
.
accoun
tType
=
0
this
.
serviceItemsList
=
serviceItemsList
this
.
serviceItemsList
=
serviceItemsList
// 以下是文件数据
// 以下是文件数据
res
.
files
.
forEach
(
item
=>
{
res
.
files
.
forEach
(
item
=>
{
...
@@ -172,7 +172,7 @@ export default {
...
@@ -172,7 +172,7 @@ export default {
// }
// }
this
.
accountForm
=
{
...
this
.
accountForm
,
...
result
}
this
.
accountForm
=
{
...
this
.
accountForm
,
...
result
}
if
(
this
.
accountForm
.
accountType
!==
1
)
this
.
accountForm
.
accountType
=
0
if
(
this
.
accountForm
.
accountType
!==
1
)
this
.
accountForm
.
accountType
=
0
if
(
this
.
accountForm
.
objectType
!==
1
)
this
.
accountForm
.
objec
tType
=
0
if
(
this
.
accountForm
.
objectType
!==
1
)
this
.
accountForm
.
accoun
tType
=
0
})
})
},
},
// 根据页面跳转参数处理表单信息-自动填入
// 根据页面跳转参数处理表单信息-自动填入
...
@@ -245,9 +245,6 @@ export default {
...
@@ -245,9 +245,6 @@ export default {
if
(
params
.
accountType
!==
1
)
{
if
(
params
.
accountType
!==
1
)
{
params
.
accountType
=
0
params
.
accountType
=
0
}
}
if
(
params
.
objectType
!==
1
)
{
params
.
objectType
=
0
}
params
.
operation
=
type
params
.
operation
=
type
params
.
reimbursementDate
=
params
.
reimbursementDate
?
util
.
dateFormat
(
params
.
reimbursementDate
,
'YYYY-MM-DD HH:mm:ss'
)
:
''
params
.
reimbursementDate
=
params
.
reimbursementDate
?
util
.
dateFormat
(
params
.
reimbursementDate
,
'YYYY-MM-DD HH:mm:ss'
)
:
''
params
.
reportDate
=
params
.
reportDate
?
util
.
dateFormat
(
params
.
reportDate
,
'YYYY-MM-DD HH:mm:ss'
)
:
''
params
.
reportDate
=
params
.
reportDate
?
util
.
dateFormat
(
params
.
reportDate
,
'YYYY-MM-DD HH:mm:ss'
)
:
''
...
...
src/views/claims/order.vue
View file @
39cbbac
...
@@ -123,7 +123,7 @@ export default {
...
@@ -123,7 +123,7 @@ export default {
this
.
accountForm
[
key
]
=
res
[
key
]
this
.
accountForm
[
key
]
=
res
[
key
]
}
}
if
(
this
.
accountForm
.
accountType
!==
1
)
this
.
accountForm
.
accountType
=
0
if
(
this
.
accountForm
.
accountType
!==
1
)
this
.
accountForm
.
accountType
=
0
if
(
this
.
accountForm
.
objectType
!==
1
)
this
.
accountForm
.
objec
tType
=
0
if
(
this
.
accountForm
.
objectType
!==
1
)
this
.
accountForm
.
accoun
tType
=
0
this
.
serviceItemsList
=
serviceItemsList
this
.
serviceItemsList
=
serviceItemsList
// 以下是文件数据
// 以下是文件数据
res
.
files
.
forEach
(
item
=>
{
res
.
files
.
forEach
(
item
=>
{
...
@@ -172,7 +172,7 @@ export default {
...
@@ -172,7 +172,7 @@ export default {
// }
// }
this
.
accountForm
=
{
...
this
.
accountForm
,
...
result
}
this
.
accountForm
=
{
...
this
.
accountForm
,
...
result
}
if
(
this
.
accountForm
.
accountType
!==
1
)
this
.
accountForm
.
accountType
=
0
if
(
this
.
accountForm
.
accountType
!==
1
)
this
.
accountForm
.
accountType
=
0
if
(
this
.
accountForm
.
objectType
!==
1
)
this
.
accountForm
.
objec
tType
=
0
if
(
this
.
accountForm
.
objectType
!==
1
)
this
.
accountForm
.
accoun
tType
=
0
})
})
},
},
// 根据页面跳转参数处理表单信息-自动填入
// 根据页面跳转参数处理表单信息-自动填入
...
@@ -245,9 +245,6 @@ export default {
...
@@ -245,9 +245,6 @@ export default {
if
(
params
.
accountType
!==
1
)
{
if
(
params
.
accountType
!==
1
)
{
params
.
accountType
=
0
params
.
accountType
=
0
}
}
if
(
params
.
objectType
!==
1
)
{
params
.
objectType
=
0
}
params
.
operation
=
type
params
.
operation
=
type
params
.
reimbursementDate
=
params
.
reimbursementDate
?
util
.
dateFormat
(
params
.
reimbursementDate
,
'YYYY-MM-DD HH:mm:ss'
)
:
''
params
.
reimbursementDate
=
params
.
reimbursementDate
?
util
.
dateFormat
(
params
.
reimbursementDate
,
'YYYY-MM-DD HH:mm:ss'
)
:
''
params
.
reportDate
=
params
.
reportDate
?
util
.
dateFormat
(
params
.
reportDate
,
'YYYY-MM-DD HH:mm:ss'
)
:
''
params
.
reportDate
=
params
.
reportDate
?
util
.
dateFormat
(
params
.
reportDate
,
'YYYY-MM-DD HH:mm:ss'
)
:
''
...
...
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