修改bug

This commit is contained in:
liuxi 2025-02-12 11:43:30 +08:00
parent 92380a2ce7
commit 05a3485907

View File

@ -46,7 +46,7 @@
</upload-file>
</el-form-item>
<el-form-item label="">
<el-button @click="AddFlag = false" size="small">取消</el-button>
<el-button @click="AddFlag = false;fileList=[]" size="small">取消</el-button>
<el-button type="primary" @click="handleSubmitRepayment()" size="small">保存</el-button>
</el-form-item>
</el-form>
@ -265,6 +265,7 @@ import api from "@/services/caseManagement";
updateClick(index,proofitem){
this.updateRow = index;
this.repaymentObj = proofitem
this.repaymentObj.mediaPath = [proofitem.proofUrl]
this.fileList = [{url: proofitem.proofUrl,fileName:'上传'}]
},
//
@ -319,6 +320,7 @@ import api from "@/services/caseManagement";
this.repaymentObj.updateAt =undefined
this.repaymentObj.updateBy =undefined
this.repaymentObj.uploaderName =undefined
this.repaymentObj.proofUrl = this.repaymentObj.mediaPath[0]
api.gettraceProof_edit(this.repaymentObj).then(res => {
if(!res.code){
this.updateRow = -1