|
|
@ -27,8 +27,20 @@ |
|
|
|
</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.finPaymentFormKey" placeholder="请选择" clearable filterable> |
|
|
|
<el-option v-for="item in finPayment_list" :key="item.dictKey" :label="item.dictValue" :value="item.dictKey"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty">付款时需备注内容</div> |
|
|
|
<el-form-item><el-input v-model="formobj.paymentRemarks" clearable placeholder="" class="addinputInfo addinputw" /></el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<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> |
|
|
@ -133,6 +145,7 @@ |
|
|
|
<script> |
|
|
|
import req from '@/api/advancerequest/advancerequest' |
|
|
|
import uploadImg from '@/components/uploadFile/uploadImg' |
|
|
|
import { typeValues } from '@/api/Common/dictcommons' |
|
|
|
|
|
|
|
export default { |
|
|
|
name: 'AdvanceRequestAdd', |
|
|
@ -158,6 +171,7 @@ export default { |
|
|
|
headers: { |
|
|
|
token: window.sessionStorage.getItem('token') |
|
|
|
}, |
|
|
|
finPayment_list: [], |
|
|
|
formobj: { |
|
|
|
billNo: '', |
|
|
|
createByName: '', |
|
|
@ -165,17 +179,21 @@ export default { |
|
|
|
createTime: '', |
|
|
|
deptName: '', |
|
|
|
deptSid: '', |
|
|
|
finPaymentFormKey: '', |
|
|
|
finPaymentFormValue: '', |
|
|
|
fileUrlList: [], |
|
|
|
loanBePadsincereVehList: [], |
|
|
|
nodeSid: '', |
|
|
|
nodeState: '', |
|
|
|
orgPath: '', |
|
|
|
paymentRemarks: '', |
|
|
|
procDefId: '', |
|
|
|
procInstSid: '', |
|
|
|
sid: '', |
|
|
|
taskId: '', |
|
|
|
useOrgName: '', |
|
|
|
useOrgSid: '' |
|
|
|
useOrgSid: '', |
|
|
|
remarks: '' |
|
|
|
}, |
|
|
|
rules: {} |
|
|
|
} |
|
|
@ -187,7 +205,7 @@ export default { |
|
|
|
if (row.sysBeMoney !== row.bankBeMoney && row.sysBeMoney !== '' && row.bankBeMoney !== '') { |
|
|
|
cell = 'background: #ff6961;' |
|
|
|
} |
|
|
|
if (column.label == '平台逾期金额' || column.label == '资方逾期本金') { |
|
|
|
if (column.label == '平台逾期月还' || column.label == '资方逾期月还') { |
|
|
|
return cell |
|
|
|
} |
|
|
|
}, |
|
|
@ -245,11 +263,19 @@ export default { |
|
|
|
}) |
|
|
|
return sums |
|
|
|
}, |
|
|
|
init() { |
|
|
|
typeValues({ type: 'paymentForm' }).then((resp) => { |
|
|
|
if (resp.success) { |
|
|
|
this.finPayment_list = resp.data |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
showAdd() { |
|
|
|
this.viewTitle = '【新增】垫款申请' |
|
|
|
this.$nextTick(() => { |
|
|
|
this.$refs['form_obj'].clearValidate() |
|
|
|
}) |
|
|
|
this.init() |
|
|
|
req.init({ orgPath: window.sessionStorage.getItem('defaultOrgPath'), userSid: window.sessionStorage.getItem('userSid') }).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.formobj = res.data |
|
|
@ -261,6 +287,7 @@ export default { |
|
|
|
this.$nextTick(() => { |
|
|
|
this.$refs['form_obj'].clearValidate() |
|
|
|
}) |
|
|
|
this.init() |
|
|
|
req.fetchBySid(row.sid).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.formobj = res.data |
|
|
@ -401,7 +428,10 @@ export default { |
|
|
|
</script> |
|
|
|
|
|
|
|
<style scoped> |
|
|
|
.span-sty { |
|
|
|
width: 130px !important; |
|
|
|
} |
|
|
|
.addinputInfo { |
|
|
|
margin-left: 60px !important; |
|
|
|
margin-left: 120px !important; |
|
|
|
} |
|
|
|
</style> |
|
|
|