|
|
@ -26,11 +26,26 @@ |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="24"> |
|
|
|
<div class="span-sty">备注</div> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty">财务付款形式</div> |
|
|
|
<el-form-item> |
|
|
|
<el-select class="addinputInfo" v-model="formobj.payFormKey" clearable placeholder="请选择" filterable @change="payFormChange"> |
|
|
|
<el-option v-for="item in payForm_list" :key="item.dictKey" :label="item.dictValue" :value="item.dictKey"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="16"> |
|
|
|
<div class="span-sty">其他说明</div> |
|
|
|
<el-form-item><el-input v-model="formobj.remarks" clearable placeholder="" class="addinputInfo addinputw" /></el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="24"> |
|
|
|
<div class="span-sty">打款时需备注内容</div> |
|
|
|
<el-form-item><el-input v-model="formobj.payRemarks" clearable placeholder="" class="addinputInfo addinputw" /></el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="24"> |
|
|
|
<div class="span-sty">附件</div> |
|
|
@ -55,35 +70,24 @@ |
|
|
|
<el-input v-model="scope.row.spread" clearable placeholder="" /> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="转付本金" align="center" width="130"> |
|
|
|
<el-table-column label="转付资方月还" align="center" width="130"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-input v-model="scope.row.transferPrincipal" clearable placeholder="" /> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="转付罚息" align="center" width="130"> |
|
|
|
<el-table-column label="转付资方逾期利息" align="center" width="150"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-input v-model="scope.row.defaultInterest" clearable placeholder="" /> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="转付账户类型" align="center" width="150"> |
|
|
|
<el-table-column label="收款账户" align="center" width="130"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-select v-model="scope.row.accountType" clearable placeholder="请选择" @change="accountTypeChange($event, scope.row)"> |
|
|
|
<el-option v-for="item in accountType_list" :key="item.dictKey" :label="item.dictValue" :value="item.dictValue"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="转付账号" align="center" width="130"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-select v-model="scope.row.accountNumber" clearable placeholder="请选择" filterable @change="accountNumberChange($event, scope.row)"> |
|
|
|
<el-option v-for="item in payment_list" :key="item.accountNumber" :label="item.accountNumber" :value="item.accountNumber"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
<el-input v-model="scope.row.account" clearable placeholder="" /> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="转付账户" align="center" width="130"> |
|
|
|
<el-table-column label="收款账号" align="center" width="130"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.account }}</span> |
|
|
|
<el-input v-model="scope.row.accountNumber" clearable placeholder="" /> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
@ -111,8 +115,7 @@ export default { |
|
|
|
tableKey: 0, |
|
|
|
index: 0, |
|
|
|
accept: '.jpg,.jpeg,.png', |
|
|
|
accountType_list: [], |
|
|
|
payment_list: [], |
|
|
|
payForm_list: [], |
|
|
|
formobj: { |
|
|
|
sid: '', |
|
|
|
userSid: '', |
|
|
@ -122,6 +125,9 @@ export default { |
|
|
|
applyDate: '', |
|
|
|
remarks: '', |
|
|
|
orgPath: '', |
|
|
|
payForm: '', |
|
|
|
payFormKey: '', |
|
|
|
payRemarks: '', |
|
|
|
taskId: '', |
|
|
|
instanceId: '', |
|
|
|
files: [], |
|
|
@ -132,9 +138,9 @@ export default { |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
init() { |
|
|
|
typeValues({ type: 'accountType' }).then((resp) => { |
|
|
|
typeValues({ type: 'payForm' }).then((resp) => { |
|
|
|
if (resp.success) { |
|
|
|
this.accountType_list = resp.data |
|
|
|
this.payForm_list = resp.data |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
@ -167,25 +173,12 @@ export default { |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
accountTypeChange(value, row) { |
|
|
|
const choose = this.accountType_list.filter((item) => item.dictValue === value) |
|
|
|
payFormChange(value) { |
|
|
|
const choose = this.payForm_list.filter((item) => item.dictKey === value) |
|
|
|
if (choose.length > 0 && choose !== null) { |
|
|
|
row.accountTypeKey = choose[0].dictKey |
|
|
|
listByPayment({ orgPath: this.formobj.orgPath, key: row.accountTypeKey }).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.payment_list = res.data |
|
|
|
} |
|
|
|
}) |
|
|
|
this.formobj.payForm = choose[0].dictValue |
|
|
|
} else { |
|
|
|
row.accountTypeKey = '' |
|
|
|
} |
|
|
|
}, |
|
|
|
accountNumberChange(value, row) { |
|
|
|
const choose = this.payment_list.filter((item) => item.accountNumber === value) |
|
|
|
if (choose.length > 0 && choose !== null) { |
|
|
|
row.account = choose[0].account |
|
|
|
} else { |
|
|
|
row.account = '' |
|
|
|
this.formobj.payForm = '' |
|
|
|
} |
|
|
|
}, |
|
|
|
saveOrUpdate() { |
|
|
@ -233,6 +226,9 @@ export default { |
|
|
|
applyDate: '', |
|
|
|
remarks: '', |
|
|
|
orgPath: '', |
|
|
|
payForm: '', |
|
|
|
payFormKey: '', |
|
|
|
payRemarks: '', |
|
|
|
taskId: '', |
|
|
|
instanceId: '', |
|
|
|
files: [], |
|
|
@ -246,7 +242,10 @@ export default { |
|
|
|
</script> |
|
|
|
|
|
|
|
<style scoped> |
|
|
|
.span-sty { |
|
|
|
width: 140px !important; |
|
|
|
} |
|
|
|
.addinputInfo { |
|
|
|
margin-left: 60px !important; |
|
|
|
margin-left: 130px !important; |
|
|
|
} |
|
|
|
</style> |
|
|
|