|
@@ -1,74 +1,43 @@
|
|
|
<template>
|
|
<template>
|
|
|
<div class="app-container zap-main">
|
|
<div class="app-container zap-main">
|
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="auto">
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="auto">
|
|
|
- <div class="zap-title">资产信息</div>
|
|
|
|
|
- <el-row class="zap-form">
|
|
|
|
|
- <el-row>
|
|
|
|
|
- <el-row>
|
|
|
|
|
- <el-col :span="12" style="margin-bottom: 22px;">
|
|
|
|
|
- <el-button type="success" @click="openTicket">选择</el-button>
|
|
|
|
|
- <el-button type="primary" @click="addPay">新增应付账款</el-button>
|
|
|
|
|
- <el-button @click="deleteTicekt">清空全部</el-button>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="12">
|
|
|
|
|
- <el-row type="flex" align="middle" justify="end">
|
|
|
|
|
- <el-form-item label="合计金额:">
|
|
|
|
|
- <span>{{checkTotalAmt}}</span>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- <el-form-item label="金额大写:">
|
|
|
|
|
- <span>{{checkTotalBigAmt}}</span>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-row>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- </el-row>
|
|
|
|
|
- <el-row>
|
|
|
|
|
- <el-table class="zap-table" :data="ticketList" style="width: 100%;" stripe>
|
|
|
|
|
- <el-table-column label="账款名称" align="center" prop="zbiName" show-overflow-tooltip />
|
|
|
|
|
- <el-table-column label="应收企业" align="center" prop="receiveName" />
|
|
|
|
|
- <el-table-column label="应付企业" align="center" prop="payName" />
|
|
|
|
|
- <el-table-column label="预计还款期" align="center" prop="zbiPayDate" width="100" show-overflow-tooltip />
|
|
|
|
|
- <el-table-column label="金额" align="center" :formatter="moneyFormat" prop="zbiAmount" width="120" />
|
|
|
|
|
- <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="250">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.$index, ticketList)">删除</el-button>
|
|
|
|
|
- <el-button size="mini" type="text" icon="el-icon-view" @click="handleDetail(scope.$index, ticketList)">详情</el-button>
|
|
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.$index, ticketList)">修改</el-button>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- </el-table>
|
|
|
|
|
- </el-row>
|
|
|
|
|
- </el-row>
|
|
|
|
|
|
|
+
|
|
|
|
|
+ <el-row class="zap-form pt20">
|
|
|
|
|
+ <content-title title="开立融信"></content-title>
|
|
|
<el-row class="zap-margin-top">
|
|
<el-row class="zap-margin-top">
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="开立方" prop="openName" size="large">
|
|
|
|
|
- <el-input v-model="form.openName" disabled />
|
|
|
|
|
|
|
+ <el-form-item label="开立方" prop="openName">
|
|
|
|
|
+ <el-input v-model="form.openName" class="zap-form-input" disabled />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="授信额度" prop="zfiSupplierQuotaId" size="large">
|
|
|
|
|
- <el-select v-model="form.zfiSupplierQuotaId" filterable clearable remote @change="change">
|
|
|
|
|
|
|
+ <el-form-item label="授信额度" prop="zfiSupplierQuotaId">
|
|
|
|
|
+ <el-select
|
|
|
|
|
+ v-model="form.zfiSupplierQuotaId"
|
|
|
|
|
+ filterable
|
|
|
|
|
+ clearable
|
|
|
|
|
+ remote
|
|
|
|
|
+ @change="change"
|
|
|
|
|
+ class="zap-form-input">
|
|
|
<el-option v-for="item in creditLineList" :key="item.value" :label="item.label+'/'+item.remaining" :value="item.value">
|
|
<el-option v-for="item in creditLineList" :key="item.value" :label="item.label+'/'+item.remaining" :value="item.value">
|
|
|
</el-option>
|
|
</el-option>
|
|
|
</el-select>
|
|
</el-select>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
|
|
|
|
</el-col>
|
|
</el-col>
|
|
|
- <el-col :span="8" style="height: 40px;line-height: 40px;margin-bottom: 22px;">
|
|
|
|
|
- <span style="display:none">可用额度:</span>
|
|
|
|
|
- <span style="display:none">{{availableAmt}}</span>
|
|
|
|
|
- <span>有效期:</span>
|
|
|
|
|
- <span style="margin-right: 40px;">{{validityDate}}</span>
|
|
|
|
|
|
|
+ <el-col :span="8" style="height: 36px;line-height: 36px;margin-bottom: 22px;font-size: 14px;">
|
|
|
<span>最小融资金额:</span>
|
|
<span>最小融资金额:</span>
|
|
|
<span>{{zfpMinimumAmount}}</span>
|
|
<span>{{zfpMinimumAmount}}</span>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="接收方" prop="receiveName" size="large">
|
|
|
|
|
- <el-input v-model="form.receiveName" disabled />
|
|
|
|
|
|
|
+ <el-form-item label="接收方" prop="receiveName">
|
|
|
|
|
+ <el-input v-model="form.receiveName" disabled class="zap-form-input" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="签发有效期" prop="zfiEffectiveDate" size="large">
|
|
|
|
|
|
|
+ <el-form-item label="签发有效期" prop="zfiEffectiveDate" class="zap-form-item__content">
|
|
|
<el-date-picker
|
|
<el-date-picker
|
|
|
|
|
+ class="zap-form-input"
|
|
|
clearable
|
|
clearable
|
|
|
v-model="form.zfiEffectiveDate"
|
|
v-model="form.zfiEffectiveDate"
|
|
|
type="date"
|
|
type="date"
|
|
@@ -76,14 +45,15 @@
|
|
|
placeholder="选择签发有效期"
|
|
placeholder="选择签发有效期"
|
|
|
:picker-options="pickerOptions">
|
|
:picker-options="pickerOptions">
|
|
|
</el-date-picker>
|
|
</el-date-picker>
|
|
|
- <el-tooltip class="item" effect="light" content="签发有效期:即指定签发截止日期,对方企业在签发截止日内未处理该笔融信,本次融信操作将自动失效" placement="top">
|
|
|
|
|
- <i class="el-icon-question" style="font-size: 23px;" />
|
|
|
|
|
|
|
+ <el-tooltip class="zap-form-tip" effect="light" content="签发有效期:即指定签发截止日期,对方企业在签发截止日内未处理该笔融信,本次融信操作将自动失效" placement="top">
|
|
|
|
|
+ <img src="../../../assets/images/icon_tip.png" alt="">
|
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="承诺还款日" prop="zfiExpireDate" size="large">
|
|
|
|
|
|
|
+ <el-form-item label="承诺还款日" prop="zfiExpireDate">
|
|
|
<el-date-picker
|
|
<el-date-picker
|
|
|
|
|
+ class="zap-form-input"
|
|
|
clearable
|
|
clearable
|
|
|
v-model="form.zfiExpireDate"
|
|
v-model="form.zfiExpireDate"
|
|
|
type="date"
|
|
type="date"
|
|
@@ -94,18 +64,50 @@
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="签发金额" prop="zfiAmount" size="large">
|
|
|
|
|
- <el-input v-model="form.zfiAmount" @input="getBigSmall" @input.native="changeRate($event,form.zfiAmount)" />
|
|
|
|
|
|
|
+ <el-form-item label="签发金额" prop="zfiAmount">
|
|
|
|
|
+ <el-input class="zap-form-input" v-model="form.zfiAmount" @input="getBigSmall" @input.native="changeRate($event,form.zfiAmount)" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="金额大写" prop="issuedAmount" size="large">
|
|
|
|
|
|
|
+ <el-form-item label="金额大写" prop="issuedAmount">
|
|
|
{{issuedAmount}}
|
|
{{issuedAmount}}
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
- <p>请知悉,资产信息仅能接受指定的销售方与购买方的往来账款(含账款基本信息、贸易合同与贸易发票等);如须使用系统尚未维护的往来账款,请点击新增应付账款
|
|
|
|
|
- </p>
|
|
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ <el-row class="zap-form mt20 pt20">
|
|
|
|
|
+ <el-row>
|
|
|
|
|
+ <content-title title="资产信息"></content-title>
|
|
|
|
|
+ <zap-tip class="pt12"></zap-tip>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ <el-row>
|
|
|
|
|
+ <el-col :span="12">
|
|
|
|
|
+ <el-button type="success" @click="openTicket">选择</el-button>
|
|
|
|
|
+ <el-button type="primary" icon="el-icon-plus" @click="addPay">新增应付账款</el-button>
|
|
|
|
|
+ <el-button @click="deleteTicekt">清空全部</el-button>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="12">
|
|
|
|
|
+ <el-row type="flex" align="middle" justify="end">
|
|
|
|
|
+ <content-total :amount="checkTotalAmt" :words="checkTotalBigAmt"></content-total>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ <el-row>
|
|
|
|
|
+ <el-table class="zap-table" :data="ticketList" style="width: 100%;" stripe>
|
|
|
|
|
+ <el-table-column label="账款名称" align="center" prop="zbiName" show-overflow-tooltip />
|
|
|
|
|
+ <el-table-column label="应收企业" align="center" prop="receiveName" />
|
|
|
|
|
+ <el-table-column label="应付企业" align="center" prop="payName" />
|
|
|
|
|
+ <el-table-column label="预计还款期" align="center" prop="zbiPayDate" width="100" show-overflow-tooltip />
|
|
|
|
|
+ <el-table-column label="金额" align="center" :formatter="moneyFormat" prop="zbiAmount" width="120" />
|
|
|
|
|
+ <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="250">
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
|
+ <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.$index, ticketList)">删除</el-button>
|
|
|
|
|
+ <el-button size="mini" type="text" icon="el-icon-view" @click="handleDetail(scope.$index, ticketList)">详情</el-button>
|
|
|
|
|
+ <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.$index, ticketList)">修改</el-button>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ </el-table>
|
|
|
|
|
+ </el-row>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
</el-form>
|
|
</el-form>
|
|
|
<el-row type="flex" justify="center" align="middle" style="height: 96px;">
|
|
<el-row type="flex" justify="center" align="middle" style="height: 96px;">
|
|
@@ -114,27 +116,27 @@
|
|
|
</el-row>
|
|
</el-row>
|
|
|
<!-- 应付账款信息 -->
|
|
<!-- 应付账款信息 -->
|
|
|
<el-dialog :title="payTitle" :visible.sync="open" width="1120px" append-to-body destroy-on-close>
|
|
<el-dialog :title="payTitle" :visible.sync="open" width="1120px" append-to-body destroy-on-close>
|
|
|
- <search-bar :hiddenSetting="true" @query="handleQuery" @reset="resetQuery">
|
|
|
|
|
- <el-form :model="queryParamsPay" ref="formQuery" :inline="true" label-width="68px" style="margin-bottom: -21px">
|
|
|
|
|
- <el-form-item label="账款名称" prop="zbiName">
|
|
|
|
|
- <el-input
|
|
|
|
|
- v-model="queryParamsPay.zbiName"
|
|
|
|
|
- placeholder="请输入账款名称"
|
|
|
|
|
- clearable
|
|
|
|
|
- size="small"
|
|
|
|
|
- maxlength="11"
|
|
|
|
|
- @keyup.enter.native="handleQuerys" />
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- <el-form-item label="应付企业" prop="payName" style="margin-left: 94px;">
|
|
|
|
|
- <el-input
|
|
|
|
|
- v-model="queryParamsPay.payName"
|
|
|
|
|
- placeholder="请输入应付企业"
|
|
|
|
|
- clearable
|
|
|
|
|
- size="small"
|
|
|
|
|
- maxlength="11"
|
|
|
|
|
- @keyup.enter.native="handleQuerys" />
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-form>
|
|
|
|
|
|
|
+ <search-bar :hiddenSetting="true" @query="handleQuerys" @reset="resetQuerys">
|
|
|
|
|
+ <el-form :model="queryParamsPay" ref="formQuery" :inline="true" label-width="68px" style="margin-bottom: -21px">
|
|
|
|
|
+ <el-form-item label="账款名称" prop="zbiName">
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ v-model="queryParamsPay.zbiName"
|
|
|
|
|
+ placeholder="请输入账款名称"
|
|
|
|
|
+ clearable
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ maxlength="11"
|
|
|
|
|
+ @keyup.enter.native="handleQuerys" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="应付企业" prop="payName" style="margin-left: 94px;">
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ v-model="queryParamsPay.payName"
|
|
|
|
|
+ placeholder="请输入应付企业"
|
|
|
|
|
+ clearable
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ maxlength="11"
|
|
|
|
|
+ @keyup.enter.native="handleQuerys" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-form>
|
|
|
</search-bar>
|
|
</search-bar>
|
|
|
<el-table :data="payList" ref="tablePay" class="single-select-table" @selection-change="handleSelectionChange" :row-key="rowkey">
|
|
<el-table :data="payList" ref="tablePay" class="single-select-table" @selection-change="handleSelectionChange" :row-key="rowkey">
|
|
|
<el-table-column type="selection" :reserve-selection="true" width="50" align="center" />
|
|
<el-table-column type="selection" :reserve-selection="true" width="50" align="center" />
|
|
@@ -208,13 +210,15 @@ import {
|
|
|
} from "@/api/common/companyHandler";
|
|
} from "@/api/common/companyHandler";
|
|
|
import Cookies from 'js-cookie'
|
|
import Cookies from 'js-cookie'
|
|
|
import SearchBar from '@/components/SearchBar/index.vue'
|
|
import SearchBar from '@/components/SearchBar/index.vue'
|
|
|
|
|
+import ContentTotal from '@/components/ContentTotal/index.vue'
|
|
|
export default {
|
|
export default {
|
|
|
name: "financeOpen",
|
|
name: "financeOpen",
|
|
|
components: {
|
|
components: {
|
|
|
AddBill,
|
|
AddBill,
|
|
|
EditBill,
|
|
EditBill,
|
|
|
DetailBill,
|
|
DetailBill,
|
|
|
- SearchBar
|
|
|
|
|
|
|
+ SearchBar,
|
|
|
|
|
+ ContentTotal
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|