修改bug
This commit is contained in:
parent
92380a2ce7
commit
05a3485907
@ -46,7 +46,7 @@
|
|||||||
</upload-file>
|
</upload-file>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="">
|
<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-button type="primary" @click="handleSubmitRepayment()" size="small">保存</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
@ -265,6 +265,7 @@ import api from "@/services/caseManagement";
|
|||||||
updateClick(index,proofitem){
|
updateClick(index,proofitem){
|
||||||
this.updateRow = index;
|
this.updateRow = index;
|
||||||
this.repaymentObj = proofitem
|
this.repaymentObj = proofitem
|
||||||
|
this.repaymentObj.mediaPath = [proofitem.proofUrl]
|
||||||
this.fileList = [{url: proofitem.proofUrl,fileName:'上传'}]
|
this.fileList = [{url: proofitem.proofUrl,fileName:'上传'}]
|
||||||
},
|
},
|
||||||
// 效验
|
// 效验
|
||||||
@ -319,6 +320,7 @@ import api from "@/services/caseManagement";
|
|||||||
this.repaymentObj.updateAt =undefined
|
this.repaymentObj.updateAt =undefined
|
||||||
this.repaymentObj.updateBy =undefined
|
this.repaymentObj.updateBy =undefined
|
||||||
this.repaymentObj.uploaderName =undefined
|
this.repaymentObj.uploaderName =undefined
|
||||||
|
this.repaymentObj.proofUrl = this.repaymentObj.mediaPath[0]
|
||||||
api.gettraceProof_edit(this.repaymentObj).then(res => {
|
api.gettraceProof_edit(this.repaymentObj).then(res => {
|
||||||
if(!res.code){
|
if(!res.code){
|
||||||
this.updateRow = -1
|
this.updateRow = -1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user