Browse Source

完善划扣申请

master
yunuo970428 1 year ago
parent
commit
d258458cb8
  1. 9
      anrui-riskcenter-ui/src/api/deduct/deduct.js
  2. 5
      anrui-riskcenter-ui/src/views/deduct/deductAdd.vue

9
anrui-riskcenter-ui/src/api/deduct/deduct.js

@ -18,12 +18,11 @@ export default {
headers: { 'Content-Type': 'application/json' } headers: { 'Content-Type': 'application/json' }
}) })
}, },
buckleInit: function(data) { buckleNewInit: function(data) {
return request({ return request({
url: '/riskcenter/v1/loanbuckleapply/buckleInit', url: '/riskcenter/v1/loanrepaymenthistory/buckleNewInit',
method: 'post', method: 'get',
data: data, params: data
headers: { 'Content-Type': 'application/json' }
}) })
}, },
fetchBySid: function(data) { fetchBySid: function(data) {

5
anrui-riskcenter-ui/src/views/deduct/deductAdd.vue

@ -95,13 +95,12 @@ export default {
} }
}, },
methods: { methods: {
showAdd(sids) { showAdd() {
this.viewTitle = '【编辑】划扣申请' this.viewTitle = '【编辑】划扣申请'
this.$nextTick(() => { this.$nextTick(() => {
this.$refs['form_obj'].clearValidate() this.$refs['form_obj'].clearValidate()
}) })
console.log(sids) req.buckleNewInit({ orgPath: window.sessionStorage.getItem('defaultOrgPath') }).then((res) => {
req.buckleInit(sids).then((res) => {
if (res.success) { if (res.success) {
this.formobj = res.data this.formobj = res.data
this.formobj.applyName = window.sessionStorage.getItem('name') this.formobj.applyName = window.sessionStorage.getItem('name')

Loading…
Cancel
Save