Commit 8ce302ac by 杨明

fixed

1 parent 12478515
...@@ -93,13 +93,13 @@ export default { ...@@ -93,13 +93,13 @@ export default {
showPassedDialog: false, showPassedDialog: false,
showNoPassDialog: false, showNoPassDialog: false,
noPassObj: { noPassObj: {
reason: '', reasonForFailureCode: '',
desc: '' reasonForFailure: ''
}, },
noPassForm: [ noPassForm: [
{ {
label: '原因', label: '原因',
name: 'reason', name: 'reasonForFailureCode',
type: 'select', type: 'select',
isClear: true, isClear: true,
optionList: [ optionList: [
...@@ -117,7 +117,7 @@ export default { ...@@ -117,7 +117,7 @@ export default {
}, },
{ {
label: '具体描述:', label: '具体描述:',
name: 'desc', name: 'reasonForFailure',
type: 'input', type: 'input',
inputType: 'textarea', inputType: 'textarea',
rows: 3, rows: 3,
...@@ -211,11 +211,13 @@ export default { ...@@ -211,11 +211,13 @@ export default {
el.createdDate = util.dateFormat(el.createdDate, 'YYYY-MM-DD HH:mm:ss') el.createdDate = util.dateFormat(el.createdDate, 'YYYY-MM-DD HH:mm:ss')
}) })
this.supplementList = res.supplementList || [] this.supplementList = res.supplementList || []
const obj_o = ['', '提交至待核赔', '草稿', '提交至待定损', '定损通过', '定损不通过', '上传发票'] const obj_o = ['', '', '', '提交至待定损', '定损通过', '定损不通过', '上传发票']
this.recordList = (res.recordList || []).forEach(item => { const recordList = res.recordList || []
recordList.forEach(item => {
item.operation = obj_o[item.operation] item.operation = obj_o[item.operation]
}) })
this.recordList = recordList
}) })
}, },
// 新增的时候,输入合同号,带出信息 // 新增的时候,输入合同号,带出信息
...@@ -385,10 +387,11 @@ export default { ...@@ -385,10 +387,11 @@ export default {
sc_obg[this.serviceItemsList[i].serviceItemCode] = this.approveAmountsInput[i] sc_obg[this.serviceItemsList[i].serviceItemCode] = this.approveAmountsInput[i]
} }
this.renewalAudit({ approveAmounts: JSON.stringify(sc_obg) }, 4) this.renewalAudit({ approveAmounts: JSON.stringify(sc_obg) }, 4)
this.toBackList()
}, },
renewalAudit(params, operation) { renewalAudit(params, operation) {
this.$apis.claims.renewalAudit({ ...this.editForm, operation, id: this.routeInfo.orderId, ...this.accountForm, ...params }).then(res => {}) this.$apis.claims.renewalAudit({ ...this.editForm, operation, id: this.routeInfo.orderId, ...this.accountForm, ...params }).then(res => {
if (res) this.toBackList()
})
}, },
canclePass() { canclePass() {
this.showPassedDialog = false this.showPassedDialog = false
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!