Commit 1906f260 by 杨北旺

续保

1 parent f3d2548c
...@@ -3,16 +3,18 @@ ...@@ -3,16 +3,18 @@
<div class="caseDesc-components"> <div class="caseDesc-components">
<div class="title">案件补充说明</div> <div class="title">案件补充说明</div>
<div class="list-wrap"> <div class="list-wrap">
<div class="cell"> <template v-for="(item,index) in supplementList">
<div :key="index" class="cell">
<div class="widget"> <div class="widget">
<div class="label">案件说明:</div> <div class="label">案件说明:</div>
<div class="content">哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒</div> <div class="content">{{item.content}}</div>
</div> </div>
<div class="widget"> <div class="widget">
<div class="label">提交时间:</div> <div class="label">提交时间:</div>
<div class="content">2023-05-16 15:12:30</div> <div class="content">{{item.createdDate}}</div>
</div> </div>
</div> </div>
</template>
</div> </div>
</div> </div>
</div> </div>
...@@ -21,7 +23,9 @@ ...@@ -21,7 +23,9 @@
<script type="text/ecmascript-6"> <script type="text/ecmascript-6">
export default { export default {
name: 'caseDesc', name: 'caseDesc',
props: {}, props: {
supplementList:Array
},
components: {}, components: {},
data() { data() {
return {} return {}
...@@ -53,6 +57,7 @@ export default { ...@@ -53,6 +57,7 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
margin-bottom: 16px;
.widget { .widget {
display: flex; display: flex;
.label { .label {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<report @toSearchOrderDetail="toSearchOrderDetail" ref="reportRef" :isGH="routeInfo.isGH" :pageType="pageType" :editForm.sync="editForm"></report> <report @toSearchOrderDetail="toSearchOrderDetail" ref="reportRef" :isGH="routeInfo.isGH" :pageType="pageType" :editForm.sync="editForm"></report>
<repair ref="repairRef" @changeObjectType="changeObjectType" :isGH="routeInfo.isGH" :pageType="pageType" :serviceItemsList.sync="serviceItemsList" :totalPrice.sync="totalPrice" :accountForm.sync="accountForm"></repair> <repair ref="repairRef" @changeObjectType="changeObjectType" :isGH="routeInfo.isGH" :pageType="pageType" :serviceItemsList.sync="serviceItemsList" :totalPrice.sync="totalPrice" :accountForm.sync="accountForm"></repair>
<material ref="materialRef" :pageType="pageType" :materialForm.sync="materialForm"></material> <material ref="materialRef" :pageType="pageType" :materialForm.sync="materialForm"></material>
<caseDesc></caseDesc> <caseDesc :supplementList="supplementList"></caseDesc>
<claimsNote></claimsNote> <claimsNote></claimsNote>
<div class="page-btm-btn" v-if="pageType == 0"> <div class="page-btm-btn" v-if="pageType == 0">
<el-button type="primary" @click="confirmSubmit(1)">提交</el-button> <el-button type="primary" @click="confirmSubmit(1)">提交</el-button>
...@@ -16,11 +16,12 @@ ...@@ -16,11 +16,12 @@
</div> </div>
<GLDialog class="gl-form-page gl-form-min" title="定损通过" mode="mid" :visible.sync="showPassedDialog" @onOk="comfirmPass" @onCancel="canclePass"> <GLDialog class="gl-form-page gl-form-min" title="定损通过" mode="mid" :visible.sync="showPassedDialog" @onOk="comfirmPass" @onCancel="canclePass">
<div class="passed-wrap"> <div class="passed-wrap">
<div class="set-price"> <div v-for="(item,index) in serviceItemsList" :key="index" class="set-price">
<li> <li>
<label for="">批准金额/元:</label> <label for="">批准金额/元:</label>
<el-input size="small" maxlength="10" placeholder="请输入定损批准金额" v-model="approveAmounts"></el-input> <el-input size="small" maxlength="10" placeholder="请输入定损批准金额" v-model="approveAmountsInput[index]"></el-input>
</li> </li>
<div class="tips">门店申请金额:{{item.applyAmount || 0}}元</div>
</div> </div>
</div> </div>
</GLDialog> </GLDialog>
...@@ -123,7 +124,12 @@ export default { ...@@ -123,7 +124,12 @@ export default {
isClear: true, isClear: true,
maxlength: 200 maxlength: 200
} }
] ],
supplementList:[],
approveAmountsInput:{
0:'',
1:''
}
} }
}, },
created() { created() {
...@@ -166,7 +172,7 @@ export default { ...@@ -166,7 +172,7 @@ export default {
}, },
//详情 //详情
getDetailById() { getDetailById() {
this.$apis.claims.getClaimsDetail({ id: this.routeInfo.orderId, needDetail: true }).then(res => { this.$apis.claims.getClaimsDetail({ id: this.routeInfo.orderId,needDetail:true }).then(res => {
// 以下是report数据 // 以下是report数据
for (let key in this.editForm) { for (let key in this.editForm) {
this.editForm[key] = res[key] this.editForm[key] = res[key]
...@@ -189,7 +195,7 @@ export default { ...@@ -189,7 +195,7 @@ export default {
res.files.forEach(item => { res.files.forEach(item => {
let obj = { url: item.fileUrl, fileType: item.fileType, name: item.fileName, progress: 100 } let obj = { url: item.fileUrl, fileType: item.fileType, name: item.fileName, progress: 100 }
if (item.fileCode == '1') { if (item.fileCode == '1') {
if (item.fileName.indexOf('&front&_') === 0) { if ( this.materialForm.idCard.length === 0) {
this.materialForm.idCard.push(obj) this.materialForm.idCard.push(obj)
} else { } else {
this.materialForm.idCardBack.push(obj) this.materialForm.idCardBack.push(obj)
...@@ -200,6 +206,10 @@ export default { ...@@ -200,6 +206,10 @@ export default {
this.materialForm.otherInfo.push(obj) this.materialForm.otherInfo.push(obj)
} }
}) })
res.supplementList.forEach(el=>{
el.createdDate = util.dateFormat(el.createdDate, 'YYYY-MM-DD HH:mm:ss')
})
this.supplementList = res.supplementList || []
}) })
}, },
// 新增的时候,输入合同号,带出信息 // 新增的时候,输入合同号,带出信息
...@@ -363,13 +373,14 @@ export default { ...@@ -363,13 +373,14 @@ export default {
// 定损审核通过 // 定损审核通过
comfirmPass() { comfirmPass() {
console.log(this.accountForm, this.saveObj) console.log(this.accountForm, this.saveObj)
const sc = ['SC0002', 'SC0003', 'SC0005', 'SC0006', 'SC0007', 'SC0008', 'SC0011'], console.log(this.serviceItemsList)
const sc = ['SC0019', 'SC0023'],
sc_obg = {} sc_obg = {}
for (let i = 0; i < sc.length; i++) { for (let i = 0; i < this.serviceItemsList.length; i++) {
sc_obg[sc[i]] = this.approveAmounts sc_obg[this.serviceItemsList[i].serviceItemCode] = this.approveAmounts
} }
this.$apis.claims.renewalAudit({ ...this.editForm, operation: 4, id: this.routeInfo.orderId, ...this.accountForm, approveAmounts: JSON.stringify(sc_obg) }).then(res => {}) this.$apis.claims.renewalAudit({ ...this.editForm, operation: 4, id: this.routeInfo.orderId, ...this.accountForm, approveAmounts: JSON.stringify(sc_obg) }).then(res => {})
this.canclePass() this.toBackList()
}, },
canclePass() { canclePass() {
this.showPassedDialog = false this.showPassedDialog = false
...@@ -378,7 +389,11 @@ export default { ...@@ -378,7 +389,11 @@ export default {
comfirmNoPass() {}, comfirmNoPass() {},
cancleNoPass() { cancleNoPass() {
this.showNoPassDialog = false this.showNoPassDialog = false
} },
// 返回上一页
toBackList() {
this.$router.push({ path: '/GH/Renew/renew'})
},
} }
} }
</script> </script>
...@@ -419,5 +434,11 @@ export default { ...@@ -419,5 +434,11 @@ export default {
margin-right: 60px; margin-right: 60px;
} }
} }
.tips{
font-weight: 400;
font-size: 14px;
color: #999999;
margin-left: 154px;
}
} }
</style> </style>
...@@ -56,15 +56,19 @@ const statusList = [ ...@@ -56,15 +56,19 @@ const statusList = [
confName: '支付失败' confName: '支付失败'
}, },
{ {
confId: 6, confId: 14,
confName: '草稿'
},
{
confId: 15,
confName: '待定损' confName: '待定损'
}, },
{ {
confId: 7, confId: 16,
confName: '定损不通过' confName: '定损不通过'
}, },
{ {
confId: 8, confId: 17,
confName: '定损通过' confName: '定损通过'
} }
] ]
...@@ -80,7 +84,7 @@ export default { ...@@ -80,7 +84,7 @@ export default {
return '去处理' return '去处理'
}, },
condition: row => { condition: row => {
return [15].includes(row.scope.status) return [0, 15,14].includes(row.scope.status)
}, },
attrs: { attrs: {
type: 'text', type: 'text',
...@@ -96,7 +100,7 @@ export default { ...@@ -96,7 +100,7 @@ export default {
return '查看' return '查看'
}, },
condition: row => { condition: row => {
return [1, 3, 4, 7, 8].includes(row.scope.status) return [1, 3, 4, 16, 17].includes(row.scope.status)
}, },
attrs: { attrs: {
type: 'text', type: 'text',
...@@ -188,6 +192,14 @@ export default { ...@@ -188,6 +192,14 @@ export default {
} }
}, },
{ {
label: '车牌号',
prop: 'vehicleLicensePlate',
width: 160,
formatter: cellValue => {
return cellValue.vehicleLicensePlate || '-'
}
},
{
label: '合同号', label: '合同号',
prop: 'contractNo', prop: 'contractNo',
width: 200, width: 200,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!