Browse Source

完善资方划扣还款明细

master
yunuo970428 1 year ago
parent
commit
0e380f6fdf
  1. 26
      anrui-riskcenter-ui/src/views/monthlypayment/monthlypayment.vue

26
anrui-riskcenter-ui/src/views/monthlypayment/monthlypayment.vue

@ -122,8 +122,8 @@
:data="uploadData"
:headers="headers"
>
<el-button slot="trigger" size="small" type="primary">选取文件</el-button>
<el-button style="margin-left: 10px;" size="small" type="primary" @click="downLoad">下载模板</el-button>
<el-button slot="trigger" size="small" type="primary">选取文件</el-button>
<el-button style="margin-left: 10px;" size="small" type="success" @click="submitUpload">上传</el-button>
</el-upload>
</div>
@ -446,17 +446,25 @@ export default {
},
//
toDeduct() {
this.viewState = 3
this.$refs['divDeduct'].showAdd()
if (this.list.length > 0) {
this.viewState = 3
this.$refs['divDeduct'].showAdd()
} else {
this.$message({ showClose: true, type: 'error', message: '资方划扣还款明细列表数据为空,无需执行划扣操作' })
}
},
//
toUpdate() {
req.updateState({ orgPath: window.sessionStorage.getItem('defaultOrgPath') }).then((res) => {
if (res.success) {
this.$message({ showClose: true, type: 'success', message: '更新成功' })
this.getList()
}
})
if (this.list.length > 0) {
req.updateState({ orgPath: window.sessionStorage.getItem('defaultOrgPath') }).then((res) => {
if (res.success) {
this.$message({ showClose: true, type: 'success', message: '更新成功' })
this.getList()
}
})
} else {
this.$message({ showClose: true, type: 'error', message: '资方划扣还款明细列表数据为空,无需执行更新操作' })
}
},
//
doDel() {

Loading…
Cancel
Save