Commit f040c5ac by 杨北旺

修复Bug

1 parent eb2bea9d
......@@ -145,7 +145,8 @@ export default {
maxlength:200
}
],
currentServicesIndex: 0
currentServicesIndex: 0,
otherUploadIndex:null
}
},
components: {
......@@ -185,7 +186,11 @@ export default {
index
}
this.isUploadOther = false
if (type == 2) return
if (type == 2){
this.isUploadOther = true
this.otherUploadIndex = index
return
}
if (type == 1) {
if (!img.attachmentList) {
img.auditStatus = type
......@@ -220,7 +225,12 @@ export default {
otherObj.attachmentFile = res
otherObj.auditStatus = null
otherObj.attachmentType = file.name.split('.').pop()
if(this.otherUploadIndex!=null){
this.insuranceAttachmentConfigs[this.currentIndx].allImages[this.otherUploadIndex] = otherObj
this.$forceUpdate()
}else[
this.insuranceAttachmentConfigs[this.currentIndx].allImages.push(otherObj)
]
return
}
this.uploadObj.img.attachmentList[0].attachmentFile = res
......
......@@ -121,7 +121,7 @@
<other-info :otherInfoData="otherInfoData"></other-info>
</div>
</el-tab-pane>
<el-tab-pane v-if="[1, 12, 13, 14, 2, 3, 4, 0, 10, 11,8,9].includes(repotData.status)" class="bg" label="核赔信息" name="second">
<el-tab-pane v-if="[1, 12, 13, 14, 2, 3, 4, 0, 10, 11,8,9,7].includes(repotData.status)" class="bg" label="核赔信息" name="second">
<div class="widget">
<div class="title">维修信息</div>
<div class="content pad20">
......
......@@ -439,10 +439,10 @@ export default {
},
{
label: '门店提交时间',
prop: 'commitTime',
prop: 'merchantCommitDate',
width: 180,
formatter: cellValue => {
return cellValue.commitTime ? dayjs(cellValue.commitTime).format('YYYY-MM-DD HH:mm:ss') : '-'
return cellValue.merchantCommitDate ? dayjs(cellValue.merchantCommitDate).format('YYYY-MM-DD HH:mm:ss') : '-'
}
},
{
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!