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 3d7c2c89
authored
Apr 08, 2022
by
张权
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
逻辑完成
1 parent
2d1b70b6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
55 additions
and
32 deletions
src/views/claims/components/material.vue
src/views/claims/components/repair.vue
src/views/claims/components/report.vue
src/views/claims/order.vue
src/views/claims/components/material.vue
View file @
3d7c2c8
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<img
v-if=
"item.name === 'billInfo'"
slot=
"default"
:src=
"upload_img"
alt=
""
/>
<img
v-if=
"item.name === 'billInfo'"
slot=
"default"
:src=
"upload_img"
alt=
""
/>
<img
v-if=
"item.name === 'idCard'"
slot=
"default"
:src=
"idCard"
alt=
""
/>
<img
v-if=
"item.name === 'idCard'"
slot=
"default"
:src=
"idCard"
alt=
""
/>
<img
v-if=
"item.name === 'idCardBack'"
slot=
"default"
:src=
"idCardBack"
alt=
""
/>
<img
v-if=
"item.name === 'idCardBack'"
slot=
"default"
:src=
"idCardBack"
alt=
""
/>
<el-button
v-if=
"item.name == 'otherInfo'"
slot=
"default"
size=
"small"
class=
"el-icon-plus"
>
上传文件
</el-button>
<el-button
v-if=
"item.name == 'otherInfo'"
slot=
"default"
:disabled=
"pageType == 2"
size=
"small"
class=
"el-icon-plus"
>
上传文件
</el-button>
<div
slot=
"tip"
class=
"remark"
v-if=
"item.name == 'idCard'"
>
身份证人像面
</div>
<div
slot=
"tip"
class=
"remark"
v-if=
"item.name == 'idCard'"
>
身份证人像面
</div>
<div
slot=
"tip"
class=
"remark"
v-if=
"item.name == 'idCardBack'"
>
身份证国徽面
</div>
<div
slot=
"tip"
class=
"remark"
v-if=
"item.name == 'idCardBack'"
>
身份证国徽面
</div>
<div
slot=
"tip"
class=
"file-box"
v-if=
"item.name == 'otherInfo'"
>
<div
slot=
"tip"
class=
"file-box"
v-if=
"item.name == 'otherInfo'"
>
...
@@ -49,7 +49,11 @@ export default {
...
@@ -49,7 +49,11 @@ export default {
// glsxCombiForm
// glsxCombiForm
},
},
props
:
{
props
:
{
materialForm
:
Object
materialForm
:
Object
,
pageType
:
{
type
:
Number
,
default
:
1
// 1.新增 2.查看 3.重新提交 4.去处理
}
},
},
data
()
{
data
()
{
return
{
return
{
...
...
src/views/claims/components/repair.vue
View file @
3d7c2c8
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<p
class=
"name"
>
{{
item
.
name
}}
</p>
<p
class=
"name"
>
{{
item
.
name
}}
</p>
<div
class=
"price-wrap"
>
<div
class=
"price-wrap"
>
<label
for=
""
>
定损批准金额:
</label>
<label
for=
""
>
定损批准金额:
</label>
<el-input
@
input=
"validPrice($event, index)"
placeholder=
"请选择定损批准金额"
v-model=
"item.price"
></el-input>
<el-input
clearable
:disabled=
"pageType == 2"
@
input=
"validPrice($event, index)"
placeholder=
"请选择定损批准金额"
v-model=
"item.price"
></el-input>
<!--
<el-input
@
input=
"validPrice($event, index)"
placeholder=
"请选择定损批准金额"
v-model=
"item.price"
></el-input>
-->
<!--
<el-input
@
input=
"validPrice($event, index)"
placeholder=
"请选择定损批准金额"
v-model=
"item.price"
></el-input>
-->
</div>
</div>
</div>
</div>
...
@@ -32,8 +32,10 @@
...
@@ -32,8 +32,10 @@
</div>
</div>
<div
class=
"collecter"
>
<div
class=
"collecter"
>
<label
class=
"require"
for=
""
>
收款对象:
</label>
<label
class=
"require"
for=
""
>
收款对象:
</label>
<el-radio
v-model=
"accountForm.collectOwner"
label=
"business"
>
店面
</el-radio>
<el-radio-group
:disabled=
"pageType == 2"
v-model=
"accountForm.collectOwner"
@
change=
"changeOwner"
>
<el-radio
v-model=
"accountForm.collectOwner"
label=
"other"
>
其他
</el-radio>
<el-radio
label=
"business"
>
店面
</el-radio>
<el-radio
label=
"other"
>
其他
</el-radio>
</el-radio-group>
</div>
</div>
<div
class=
"account-info"
>
<div
class=
"account-info"
>
<glsx-combi-form
ref=
"accountRef"
:formRules=
"accountRule"
labelWidth=
"144px"
defaultWidth=
"320px"
:formObj=
"accountForm"
:formData=
"accountData"
></glsx-combi-form>
<glsx-combi-form
ref=
"accountRef"
:formRules=
"accountRule"
labelWidth=
"144px"
defaultWidth=
"320px"
:formObj=
"accountForm"
:formData=
"accountData"
></glsx-combi-form>
...
@@ -67,21 +69,14 @@ export default {
...
@@ -67,21 +69,14 @@ export default {
equityList
:
Array
,
equityList
:
Array
,
totalPrice
:
Number
,
totalPrice
:
Number
,
isGH
:
Boolean
,
isGH
:
Boolean
,
pageType
:
{
type
:
Number
,
default
:
1
// 1.新增 2.查看 3.重新提交 4.去处理
}
},
},
components
:
{
components
:
{
glsxCombiForm
,
glsxCombiForm
,
},
},
watch
:{
'accountForm.collectOwner'
(
newVal
,
oldVal
){
const
item
=
this
.
accountData
.
find
(
item
=>
{
return
item
.
name
==
'accountType'
})
item
.
isHide
=
newVal
==
'business'
if
(
newVal
==
'business'
){
this
.
accountForm
.
accountType
=
'company'
}
},
},
data
()
{
data
()
{
return
{
return
{
accountData
:[
accountData
:[
...
@@ -101,7 +96,8 @@ export default {
...
@@ -101,7 +96,8 @@ export default {
],
],
optionId
:
'confId'
,
optionId
:
'confId'
,
optionLabel
:
'confName'
,
optionLabel
:
'confName'
,
isHide
:
false
isHide
:
true
,
isDisabled
:
this
.
pageType
==
2
},
},
{
{
label
:
'开户行名称'
,
label
:
'开户行名称'
,
...
@@ -118,18 +114,21 @@ export default {
...
@@ -118,18 +114,21 @@ export default {
},
},
],
],
optionId
:
'confId'
,
optionId
:
'confId'
,
optionLabel
:
'confName'
optionLabel
:
'confName'
,
isDisabled
:
this
.
pageType
==
2
},
},
{
{
label
:
'账户名称'
,
label
:
'账户名称'
,
name
:
'collectName'
,
name
:
'collectName'
,
type
:
'input'
type
:
'input'
,
isDisabled
:
this
.
pageType
==
2
},
},
{
{
label
:
'收款账号'
,
label
:
'收款账号'
,
name
:
'collectAccount'
,
name
:
'collectAccount'
,
type
:
'input'
,
type
:
'input'
,
maxlength
:
19
maxlength
:
19
,
isDisabled
:
this
.
pageType
==
2
},
},
{
{
label
:
'收款账号所在省市'
,
label
:
'收款账号所在省市'
,
...
@@ -142,7 +141,8 @@ export default {
...
@@ -142,7 +141,8 @@ export default {
}
}
let
nodesInfo
=
this
.
$refs
.
accountRef
.
$refs
.
cascader
[
0
].
getCheckedNodes
()[
0
].
pathLabels
let
nodesInfo
=
this
.
$refs
.
accountRef
.
$refs
.
cascader
[
0
].
getCheckedNodes
()[
0
].
pathLabels
this
.
currentAddress
=
nodesInfo
this
.
currentAddress
=
nodesInfo
}
},
isDisabled
:
this
.
pageType
==
2
},
},
{
{
label
:
'收款人证件类型'
,
label
:
'收款人证件类型'
,
...
@@ -159,21 +159,24 @@ export default {
...
@@ -159,21 +159,24 @@ export default {
},
},
],
],
optionId
:
'confId'
,
optionId
:
'confId'
,
optionLabel
:
'confName'
optionLabel
:
'confName'
,
isDisabled
:
this
.
pageType
==
2
},
},
{
{
label
:
'收款人证件号码'
,
label
:
'收款人证件号码'
,
name
:
'collectCardNo'
,
name
:
'collectCardNo'
,
type
:
'input'
,
type
:
'input'
,
maxlength
:
18
,
maxlength
:
18
,
isClear
:
true
isClear
:
true
,
isDisabled
:
this
.
pageType
==
2
},
},
{
{
label
:
'收款人联系电话'
,
label
:
'收款人联系电话'
,
name
:
'collectPhone'
,
name
:
'collectPhone'
,
type
:
'input'
,
type
:
'input'
,
maxlength
:
11
,
maxlength
:
11
,
isClear
:
true
isClear
:
true
,
isDisabled
:
this
.
pageType
==
2
},
},
],
],
handlerForm
:
[
handlerForm
:
[
...
@@ -181,14 +184,16 @@ export default {
...
@@ -181,14 +184,16 @@ export default {
label
:
'经办人'
,
label
:
'经办人'
,
name
:
'handlerName'
,
name
:
'handlerName'
,
type
:
'input'
,
type
:
'input'
,
isClear
:
true
isClear
:
true
,
isDisabled
:
this
.
pageType
==
2
},
},
{
{
label
:
'经办人联系号码'
,
label
:
'经办人联系号码'
,
name
:
'handlerPhone'
,
name
:
'handlerPhone'
,
type
:
'input'
,
type
:
'input'
,
maxlength
:
11
,
maxlength
:
11
,
isClear
:
true
isClear
:
true
,
isDisabled
:
this
.
pageType
==
2
}
}
],
],
accountRule
:
{
accountRule
:
{
...
@@ -246,6 +251,15 @@ export default {
...
@@ -246,6 +251,15 @@ export default {
checkPlan
=
checkPlan
.
replace
(
/^
()
*
(\d
+
)\.(\d\d)
.*$/
,
'$1$2.$3'
)
// 只能输入两个小数
checkPlan
=
checkPlan
.
replace
(
/^
()
*
(\d
+
)\.(\d\d)
.*$/
,
'$1$2.$3'
)
// 只能输入两个小数
}
}
this
.
$set
(
this
.
equityList
[
id
],
'price'
,
checkPlan
)
this
.
$set
(
this
.
equityList
[
id
],
'price'
,
checkPlan
)
},
changeOwner
(
newVal
){
const
item
=
this
.
accountData
.
find
(
item
=>
{
return
item
.
name
==
'accountType'
})
item
.
isHide
=
newVal
==
'business'
if
(
newVal
==
'business'
){
this
.
accountForm
.
accountType
=
'company'
}
}
}
}
}
}
}
...
...
src/views/claims/components/report.vue
View file @
3d7c2c8
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
"report-components"
>
<div
class=
"report-components"
>
<div
class=
"title"
>
报案信息(客户提交)
</div>
<div
class=
"title"
>
报案信息(客户提交)
</div>
<glsxCombiForm
class=
"edit-form-container "
ref=
"editFormRefReport"
labelWidth=
"144px"
defaultWidth=
"320px"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<glsxCombiForm
class=
"edit-form-container "
ref=
"editFormRefReport"
labelWidth=
"144px"
defaultWidth=
"320px"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<div
style=
"display:inline-block;"
slot=
"syncBtn"
>
<div
v-if=
"pageType != 2"
style=
"display:inline-block;"
slot=
"syncBtn"
>
<el-button
style=
"margin:0 12px;"
type=
"primary"
@
click=
"toSearchOrderDetail"
>
同步
</el-button>
<el-button
style=
"margin:0 12px;"
type=
"primary"
@
click=
"toSearchOrderDetail"
>
同步
</el-button>
<span
style=
"font-weight: 400; color:#666;"
>
同步合同中以下信息,同步后的信息可手动编辑
</span>
<span
style=
"font-weight: 400; color:#666;"
>
同步合同中以下信息,同步后的信息可手动编辑
</span>
</div>
</div>
...
...
src/views/claims/order.vue
View file @
3d7c2c8
...
@@ -2,12 +2,17 @@
...
@@ -2,12 +2,17 @@
<
template
>
<
template
>
<div
class=
"app"
>
<div
class=
"app"
>
<report
ref=
"reportRef"
:isGH=
"routeInfo.isGH"
:pageType=
"pageType"
:editForm
.
sync=
"editForm"
></report>
<report
ref=
"reportRef"
:isGH=
"routeInfo.isGH"
:pageType=
"pageType"
:editForm
.
sync=
"editForm"
></report>
<repair
ref=
"repairRef"
:isGH=
"routeInfo.isGH"
:equityList
.
sync=
"equityList"
:totalPrice
.
sync=
"totalPrice"
:accountForm
.
sync=
"accountForm"
></repair>
<repair
ref=
"repairRef"
:isGH=
"routeInfo.isGH"
:
pageType=
"pageType"
:
equityList
.
sync=
"equityList"
:totalPrice
.
sync=
"totalPrice"
:accountForm
.
sync=
"accountForm"
></repair>
<material
ref=
"materialRef"
:materialForm
.
sync=
"materialForm"
></material>
<material
ref=
"materialRef"
:
pageType=
"pageType"
:
materialForm
.
sync=
"materialForm"
></material>
<div
class=
"footer operate-btn"
>
<div
class=
"footer operate-btn"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"confirmSubmit(1)"
>
确定
</el-button>
<template
v-if=
"pageType != 2"
>
<el-button
size=
"small"
type=
"primary"
plain
@
click=
"confirmSubmit(2)"
>
存草稿
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"confirmSubmit(1)"
>
确定
</el-button>
<el-button
size=
"small"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
size=
"small"
type=
"primary"
plain
@
click=
"confirmSubmit(2)"
>
存草稿
</el-button>
<el-button
size=
"small"
@
click=
"handleCancel"
>
取消
</el-button>
</
template
>
<
template
v-else
>
<el-button
size=
"small"
type=
"primary"
@
click=
"handleCancel"
>
返回
</el-button>
</
template
>
</div>
</div>
</div>
</div>
</template>
</template>
...
...
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