|
|
@ -9,9 +9,9 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="listconadd"> |
|
|
|
<div class="wlInfo"><span>收款确认申请</span></div> |
|
|
|
<el-form ref="form_obj" :model="formobj" :rules="rules" label-position="top" label-width="300px" class="formadd"> |
|
|
|
<el-row> |
|
|
|
<div class="titwu"><span>收款确认申请</span></div> |
|
|
|
<el-form ref="form_obj" :model="formobj" :rules="rules" label-position="top" class="formadd"> |
|
|
|
<el-row style="border-top: 1px solid #e0e3eb"> |
|
|
|
<el-col :span="4" class="tleftb"> |
|
|
|
<el-form-item><span>收款日期</span></el-form-item> |
|
|
|
</el-col> |
|
|
@ -101,121 +101,129 @@ |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
</el-form> |
|
|
|
<div class="tableStyle"> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<el-form ref="listQueryform" :inline="true" :model="listQuery" label-width="100px" class="tab-header"> |
|
|
|
<el-row> |
|
|
|
<el-form-item label="合同编号:"> |
|
|
|
<el-input v-model="listQuery.contractNo" placeholder="" style="width: 110px" clearable/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="客户名称:"> |
|
|
|
<el-input v-model="listQuery.customerName" placeholder="" style="width: 100px" clearable/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="联系电话:"> |
|
|
|
<el-input v-model="listQuery.customerPhone" placeholder="" style="width: 140px" clearable/> |
|
|
|
</el-form-item> |
|
|
|
</el-row> |
|
|
|
<div class="searchbtns"> |
|
|
|
<el-button type="primary" @click="handleFilter">查询</el-button> |
|
|
|
<el-button type="primary" @click="handReset">重置</el-button> |
|
|
|
<el-row> |
|
|
|
<el-col :span="12"> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<el-form ref="listQueryform" :inline="true" :model="listQuery" class="tab-header"> |
|
|
|
<el-form-item label="合同编号:"> |
|
|
|
<el-input v-model="listQuery.contractNo" placeholder="" style="width: 110px" clearable/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="客户名称:"> |
|
|
|
<el-input v-model="listQuery.customerName" placeholder="" style="width: 100px" clearable/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="联系电话:"> |
|
|
|
<el-input v-model="listQuery.customerPhone" placeholder="" style="width: 140px" clearable/> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<div style="text-align: center;padding: 5px 0;border: 1px solid #e0e3eb"> |
|
|
|
<el-button type="primary" size="mini" @click="handleFilter">查询</el-button> |
|
|
|
<el-button type="primary" size="mini" @click="handReset">重置</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-form> |
|
|
|
</div> |
|
|
|
<div class="tableTitle">应收未收款款项明细</div> |
|
|
|
<el-table border :key="overduereceivableKey" style="width: 720px" :data="overduereceivable_list"> |
|
|
|
<el-table-column label="合同编号" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.contractNo }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="车架号" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.VIN }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="客户名称" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.customerName }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="联系电话" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.customerPhone }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="应收项目名称" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.receivablesName }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="当前应收金额" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.currentReceivableMoney }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="操作" align="center" width="80"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-button type="primary" size="small" @click="handAdd(scope.row)">添加</el-button> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<div class="balanceStyle"> |
|
|
|
<span style="margin-right: 20px">余额:{{ balance }}</span> |
|
|
|
</div> |
|
|
|
<div class="tableTitle">已选应收款项明细</div> |
|
|
|
<el-table border :key="selectedreceivableKey" style="width: 880px" :data="formobj.finSelectedReceivablesDetaileds"> |
|
|
|
<el-table-column label="操作" align="center" width="70"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-button type="danger" size="small" @click="handDelete(scope.row)">移除</el-button> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="合同编号" align="center" width="95"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.contractNo }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="车架号" align="center" width="75"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.VIN }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="客户名称" align="center" width="80"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.customerName }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="联系电话" align="center" width="90"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.customerPhone }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="应收项目名称" align="center" width="105"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.receivablesName }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="当前应收金额" align="center" width="105"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.currentReceivableMoney }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="认款金额" align="center" width="95"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-input v-model="scope.row.subscriptionMoney" @change="changeSubscriptionMoney" placeholder="" clearable/> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="认款申请日期" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-date-picker value-format="yyyy-MM-dd" v-model="scope.row.subscriptionDate" clearable style="width: 140px" type="date" placeholder="请选择"/> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="tableTitle">应收未收款款项明细</div> |
|
|
|
<el-table border :key="overduereceivableKey" width="100%" :data="overduereceivable_list"> |
|
|
|
<el-table-column fixed label="操作" align="center" width="80"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-button type="primary" size="small" @click="handAdd(scope.row)">添加</el-button> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="合同编号" align="center" width="100"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.contractNo }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="车架号" align="center" width="200"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.VIN }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="客户名称" align="center" width="100"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.customerName }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="联系电话" align="center" width="100"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.customerPhone }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="应收项目名称" align="center" width="120"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.receivablesName }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="当前应收金额" align="center" width="120"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.currentReceivableMoney }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</div> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<el-form ref="listQueryform" :inline="true" :model="listQuery" class="tab-header"> |
|
|
|
<el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<div style="text-align: right;border-left: 1px solid #e0e3eb;border-left: 1px solid #e0e3eb"> |
|
|
|
<span>余额:</span><el-input v-model="balance" placeholder="" style="width: 120px" readonly/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="tableTitle">已选应收款项明细</div> |
|
|
|
<el-table border :key="selectedreceivableKey" width="100%" :data="formobj.finSelectedReceivablesDetaileds"> |
|
|
|
<el-table-column fixed label="操作" align="center" width="70"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-button type="danger" size="small" @click="handDelete(scope.row)">移除</el-button> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="合同编号" align="center" width="95"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.contractNo }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="车架号" align="center" width="200"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.VIN }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="客户名称" align="center" width="100"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.customerName }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="联系电话" align="center" width="90"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.customerPhone }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="应收项目名称" align="center" width="120"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.receivablesName }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="当前应收金额" align="center" width="120"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.currentReceivableMoney }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="认款金额" align="center" width="95"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-input v-model="scope.row.subscriptionMoney" @change="changeSubscriptionMoney" placeholder="" clearable/> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="认款申请日期" align="center" width="120"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-date-picker value-format="yyyy-MM-dd" v-model="scope.row.subscriptionDate" clearable style="width: 140px" type="date" placeholder="请选择"/> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</div> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
</el-form> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
@ -267,7 +275,7 @@ export default { |
|
|
|
customerName: '', |
|
|
|
customerPhone: '', |
|
|
|
sids: [], |
|
|
|
createBySid: window.sessionStorage.getItem('staffSid') |
|
|
|
createBySid: '' |
|
|
|
}, |
|
|
|
rules: {}, |
|
|
|
submitdisabled: false, |
|
|
@ -394,6 +402,7 @@ export default { |
|
|
|
this.balance = parseInt(this.balance) - parseInt(resNum) |
|
|
|
}, |
|
|
|
getlist() { |
|
|
|
this.listQuery.createBySid = window.sessionStorage.getItem('userSid') |
|
|
|
listAll(this.listQuery).then((res) => { |
|
|
|
if (res.code === '200') { |
|
|
|
this.overduereceivable_list = res.data |
|
|
@ -409,7 +418,7 @@ export default { |
|
|
|
customerName: '', |
|
|
|
customerPhone: '', |
|
|
|
sids: [], |
|
|
|
createBySid: window.sessionStorage.getItem('staffSid') |
|
|
|
createBySid: '' |
|
|
|
} |
|
|
|
this.getlist() |
|
|
|
}, |
|
|
@ -587,31 +596,9 @@ export default { |
|
|
|
</script> |
|
|
|
|
|
|
|
<style scoped> |
|
|
|
.formadd { |
|
|
|
margin-right: -14px; |
|
|
|
margin-left: -14px; |
|
|
|
} |
|
|
|
.wlInfo { |
|
|
|
padding-top: 20px; |
|
|
|
font-size: 24px; |
|
|
|
font-weight: bold; |
|
|
|
display: flex; |
|
|
|
justify-content: center; |
|
|
|
align-items: center; |
|
|
|
} |
|
|
|
.tableStyle { |
|
|
|
margin-right: -14px; |
|
|
|
margin-left: -14px; |
|
|
|
display: flex; |
|
|
|
justify-content: space-between; |
|
|
|
align-items: center; |
|
|
|
} |
|
|
|
.tleftb { |
|
|
|
text-align: right; |
|
|
|
} |
|
|
|
.tableTitle{ |
|
|
|
border: 1px solid #e0e3eb; |
|
|
|
line-height: 45px; |
|
|
|
line-height: 42px; |
|
|
|
text-align: center; |
|
|
|
font-weight: bold; |
|
|
|
font-size: 18px; |
|
|
@ -620,12 +607,5 @@ export default { |
|
|
|
display: flex; |
|
|
|
justify-content: flex-end; |
|
|
|
align-items: center; |
|
|
|
line-height: 100px; |
|
|
|
} |
|
|
|
/deep/ .tableStyle .tab-header .el-form-item{ |
|
|
|
padding: 0; |
|
|
|
} |
|
|
|
/deep/ .tableStyle .tab-header { |
|
|
|
margin-bottom: 0; |
|
|
|
} |
|
|
|
</style> |
|
|
|