|
|
|
@ -134,6 +134,17 @@
|
|
|
|
|
>导出</el-button
|
|
|
|
|
>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="1.5">
|
|
|
|
|
<el-button
|
|
|
|
|
type="primary"
|
|
|
|
|
plain
|
|
|
|
|
icon="el-icon-download"
|
|
|
|
|
size="mini"
|
|
|
|
|
@click="handleDownloadData"
|
|
|
|
|
v-hasPermi="['archives:bank-slip:export']"
|
|
|
|
|
>下载元数据</el-button
|
|
|
|
|
>
|
|
|
|
|
</el-col>
|
|
|
|
|
<right-toolbar
|
|
|
|
|
:showSearch.sync="showSearch"
|
|
|
|
|
@queryTable="getList"
|
|
|
|
@ -239,150 +250,275 @@
|
|
|
|
|
<el-dialog
|
|
|
|
|
:title="title"
|
|
|
|
|
:visible.sync="open"
|
|
|
|
|
width="500px"
|
|
|
|
|
v-dialogDrag
|
|
|
|
|
width="1000px"
|
|
|
|
|
append-to-body
|
|
|
|
|
>
|
|
|
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
|
|
|
|
<el-form-item label="凭证id" prop="voucherId">
|
|
|
|
|
<el-input v-model="form.voucherId" placeholder="请输入凭证id" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="OA/ERP流程编号" prop="flowCode">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="form.flowCode"
|
|
|
|
|
placeholder="请输入OA/ERP流程编号"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="交易日期" prop="tradTime">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
clearable
|
|
|
|
|
v-model="form.tradTime"
|
|
|
|
|
type="date"
|
|
|
|
|
value-format="timestamp"
|
|
|
|
|
placeholder="选择交易日期"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="银行" prop="bank">
|
|
|
|
|
<el-input v-model="form.bank" placeholder="请输入银行" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="交易类型" prop="type">
|
|
|
|
|
<el-select v-model="form.type" placeholder="请选择交易类型">
|
|
|
|
|
<el-option label="请选择字典生成" value="" />
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="我方账户" prop="myCompany">
|
|
|
|
|
<el-input v-model="form.myCompany" placeholder="请输入我方账户" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="我方账号" prop="myNum">
|
|
|
|
|
<el-input v-model="form.myNum" placeholder="请输入我方账号" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="对方账户" prop="adverseCompany">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="form.adverseCompany"
|
|
|
|
|
placeholder="请输入对方账户"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="对方账号" prop="adverseNum">
|
|
|
|
|
<el-input v-model="form.adverseNum" placeholder="请输入对方账号" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="业务实体" prop="company">
|
|
|
|
|
<el-input v-model="form.company" placeholder="请输入业务实体" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="所属部门" prop="dept">
|
|
|
|
|
<el-input v-model="form.dept" placeholder="请输入所属部门" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="借/贷" prop="debitOrCredit">
|
|
|
|
|
<el-input v-model="form.debitOrCredit" placeholder="请输入借/贷" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="币种" prop="currency">
|
|
|
|
|
<el-input v-model="form.currency" placeholder="请输入币种" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="状态" prop="status">
|
|
|
|
|
<el-radio-group v-model="form.status">
|
|
|
|
|
<el-radio label="1">请选择字典生成</el-radio>
|
|
|
|
|
</el-radio-group>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="交易流水号" prop="serialNum">
|
|
|
|
|
<el-input v-model="form.serialNum" placeholder="请输入交易流水号" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="借方金额" prop="debitMoney">
|
|
|
|
|
<el-input v-model="form.debitMoney" placeholder="请输入借方金额" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="交易金额" prop="tradMoney">
|
|
|
|
|
<el-input v-model="form.tradMoney" placeholder="请输入交易金额" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="贷方金额" prop="creditMoney">
|
|
|
|
|
<el-input v-model="form.creditMoney" placeholder="请输入贷方金额" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="余额" prop="balance">
|
|
|
|
|
<el-input v-model="form.balance" placeholder="请输入余额" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="业务单号" prop="busNum">
|
|
|
|
|
<el-input v-model="form.busNum" placeholder="请输入业务单号" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="回单编号" prop="receiptNum">
|
|
|
|
|
<el-input v-model="form.receiptNum" placeholder="请输入回单编号" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="摘要" prop="digest">
|
|
|
|
|
<el-input v-model="form.digest" placeholder="请输入摘要" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="扩展摘要" prop="digestExtend">
|
|
|
|
|
<el-input v-model="form.digestExtend" placeholder="请输入扩展摘要" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="业务摘要" prop="businessDigest">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="form.businessDigest"
|
|
|
|
|
placeholder="请输入业务摘要"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="用途" prop="purpose">
|
|
|
|
|
<el-input v-model="form.purpose" placeholder="请输入用途" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="业务编号" prop="businessNum">
|
|
|
|
|
<el-input v-model="form.businessNum" placeholder="请输入业务编号" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="业务名称" prop="businessName">
|
|
|
|
|
<el-input v-model="form.businessName" placeholder="请输入业务名称" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="票据号" prop="billNum">
|
|
|
|
|
<el-input v-model="form.billNum" placeholder="请输入票据号" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="商务支付订单号" prop="businessOrder">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="form.businessOrder"
|
|
|
|
|
placeholder="请输入商务支付订单号"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="企业识别码" prop="headingCode">
|
|
|
|
|
<el-input v-model="form.headingCode" placeholder="请输入企业识别码" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="对方银行码" prop="bankCode">
|
|
|
|
|
<el-input v-model="form.bankCode" placeholder="请输入对方银行码" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="对方开户地址" prop="bankSite">
|
|
|
|
|
<el-input v-model="form.bankSite" placeholder="请输入对方开户地址" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="对方开户地区" prop="bankRegion">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="form.bankRegion"
|
|
|
|
|
placeholder="请输入对方开户地区"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="加密" prop="encrypt">
|
|
|
|
|
<el-input v-model="form.encrypt" placeholder="请输入加密" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="归档状态" prop="archiveState">
|
|
|
|
|
<el-input v-model="form.archiveState" placeholder="请输入归档状态" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="密码" prop="password">
|
|
|
|
|
<el-input v-model="form.password" placeholder="请输入密码" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="130px">
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="OA/ERP流程编号" prop="flowCode">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="form.flowCode"
|
|
|
|
|
placeholder="请输入OA/ERP流程编号"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="交易日期" prop="tradTime">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
clearable
|
|
|
|
|
v-model="form.tradTime"
|
|
|
|
|
type="date"
|
|
|
|
|
value-format="timestamp"
|
|
|
|
|
placeholder="选择交易日期"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="银行" prop="bank">
|
|
|
|
|
<el-input v-model="form.bank" placeholder="请输入银行" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="交易类型" prop="type">
|
|
|
|
|
<el-select v-model="form.type" placeholder="请选择交易类型">
|
|
|
|
|
<el-option label="请选择字典生成" value="" />
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="我方账户" prop="myCompany">
|
|
|
|
|
<el-input v-model="form.myCompany" placeholder="请输入我方账户" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="我方账号" prop="myNum">
|
|
|
|
|
<el-input v-model="form.myNum" placeholder="请输入我方账号" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="对方账户" prop="adverseCompany">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="form.adverseCompany"
|
|
|
|
|
placeholder="请输入对方账户"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="对方账号" prop="adverseNum">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="form.adverseNum"
|
|
|
|
|
placeholder="请输入对方账号"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="借/贷" prop="debitOrCredit">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="form.debitOrCredit"
|
|
|
|
|
placeholder="请输入借/贷"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="币种" prop="currency">
|
|
|
|
|
<el-input v-model="form.currency" placeholder="请输入币种" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="交易流水号" prop="serialNum">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="form.serialNum"
|
|
|
|
|
placeholder="请输入交易流水号"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="借方金额" prop="debitMoney">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="form.debitMoney"
|
|
|
|
|
placeholder="请输入借方金额"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="交易金额" prop="tradMoney">
|
|
|
|
|
<el-input v-model="form.tradMoney" placeholder="请输入交易金额" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="贷方金额" prop="creditMoney">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="form.creditMoney"
|
|
|
|
|
placeholder="请输入贷方金额"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="余额" prop="balance">
|
|
|
|
|
<el-input v-model="form.balance" placeholder="请输入余额" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="业务单号" prop="busNum">
|
|
|
|
|
<el-input v-model="form.busNum" placeholder="请输入业务单号" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="回单编号" prop="receiptNum">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="form.receiptNum"
|
|
|
|
|
placeholder="请输入回单编号"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="摘要" prop="digest">
|
|
|
|
|
<el-input v-model="form.digest" placeholder="请输入摘要" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="扩展摘要" prop="digestExtend">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="form.digestExtend"
|
|
|
|
|
placeholder="请输入扩展摘要"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="业务摘要" prop="businessDigest">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="form.businessDigest"
|
|
|
|
|
placeholder="请输入业务摘要"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="用途" prop="purpose">
|
|
|
|
|
<el-input v-model="form.purpose" placeholder="请输入用途" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="业务编号" prop="businessNum">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="form.businessNum"
|
|
|
|
|
placeholder="请输入业务编号"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="业务名称" prop="businessName">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="form.businessName"
|
|
|
|
|
placeholder="请输入业务名称"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="票据号" prop="billNum">
|
|
|
|
|
<el-input v-model="form.billNum" placeholder="请输入票据号" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="商务支付订单号" prop="businessOrder">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="form.businessOrder"
|
|
|
|
|
placeholder="请输入商务支付订单号"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="企业识别码" prop="headingCode">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="form.headingCode"
|
|
|
|
|
placeholder="请输入企业识别码"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="对方银行码" prop="bankCode">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="form.bankCode"
|
|
|
|
|
placeholder="请输入对方银行码"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="对方开户地址" prop="bankSite">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="form.bankSite"
|
|
|
|
|
placeholder="请输入对方开户地址"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="对方开户地区" prop="bankRegion">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="form.bankRegion"
|
|
|
|
|
placeholder="请输入对方开户地区"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="加密" prop="encrypt">
|
|
|
|
|
<el-input v-model="form.encrypt" placeholder="请输入加密" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
</el-form>
|
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
|
|
<el-button type="primary" @click="submitForm">确 定</el-button>
|
|
|
|
|
<el-button @click="cancel">取 消</el-button>
|
|
|
|
|
</div>
|
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
|
<!-- 密码输入框-->
|
|
|
|
|
<el-dialog
|
|
|
|
|
:title="title"
|
|
|
|
|
:visible.sync="open1"
|
|
|
|
|
width="800px"
|
|
|
|
|
append-to-body
|
|
|
|
|
>
|
|
|
|
|
<el-form
|
|
|
|
|
ref="queryForm"
|
|
|
|
|
:model="queryParams"
|
|
|
|
|
:rules="rules"
|
|
|
|
|
label-width="140px"
|
|
|
|
|
>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="14">
|
|
|
|
|
<el-form-item label="密码" prop="inputPassword">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.inputPassword"
|
|
|
|
|
placeholder="请输入密码"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
</el-form>
|
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
|
|
<el-button type="primary" @click="submitForm1">确 定</el-button>
|
|
|
|
|
<el-button @click="cancel1">取 消</el-button>
|
|
|
|
|
</div>
|
|
|
|
|
</el-dialog>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
@ -394,6 +530,7 @@ import {
|
|
|
|
|
getBankSlip,
|
|
|
|
|
getBankSlipPage,
|
|
|
|
|
exportBankSlipExcel,
|
|
|
|
|
downloadXml,
|
|
|
|
|
} from "@/api/accounting/bankSlip";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
@ -415,6 +552,7 @@ export default {
|
|
|
|
|
title: "",
|
|
|
|
|
// 是否显示弹出层
|
|
|
|
|
open: false,
|
|
|
|
|
open1: false,
|
|
|
|
|
// 查询参数
|
|
|
|
|
queryParams: {
|
|
|
|
|
pageNo: 1,
|
|
|
|
@ -460,6 +598,7 @@ export default {
|
|
|
|
|
archiveId: null,
|
|
|
|
|
archiveState: null,
|
|
|
|
|
password: null,
|
|
|
|
|
inputPassword: null,
|
|
|
|
|
},
|
|
|
|
|
// 表单参数
|
|
|
|
|
form: {},
|
|
|
|
@ -486,6 +625,10 @@ export default {
|
|
|
|
|
this.open = false;
|
|
|
|
|
this.reset();
|
|
|
|
|
},
|
|
|
|
|
/** 取消按钮 */
|
|
|
|
|
cancel1() {
|
|
|
|
|
this.open1 = false;
|
|
|
|
|
},
|
|
|
|
|
/** 表单重置 */
|
|
|
|
|
reset() {
|
|
|
|
|
this.form = {
|
|
|
|
@ -582,6 +725,32 @@ export default {
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
//下载元数据
|
|
|
|
|
handleDownloadData() {
|
|
|
|
|
this.open1 = true;
|
|
|
|
|
this.queryParams.inputPassword = null;
|
|
|
|
|
},
|
|
|
|
|
submitForm1() {
|
|
|
|
|
this.$refs["queryForm"].validate((valid) => {
|
|
|
|
|
if (!valid) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
// 处理查询参数
|
|
|
|
|
let params = { ...this.queryParams };
|
|
|
|
|
downloadXml(params)
|
|
|
|
|
.then((response) => {
|
|
|
|
|
console.log(response.size);
|
|
|
|
|
if (response.size == 39) {
|
|
|
|
|
this.$modal.msgError("密码错误");
|
|
|
|
|
return false;
|
|
|
|
|
} else {
|
|
|
|
|
this.$download.excel(response, "发票元数据.xml");
|
|
|
|
|
this.open1 = false;
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {});
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
/** 删除按钮操作 */
|
|
|
|
|
handleDelete(row) {
|
|
|
|
|
const id = row.id;
|
|
|
|
|