This commit is contained in:
linfso 2024-08-06 15:41:36 +08:00
parent 95689539f1
commit 013d2c37cf
2 changed files with 25 additions and 23 deletions

View File

@ -3,8 +3,8 @@
<div class="tab-container"> <div class="tab-container">
<el-tabs v-model="activeTab" class="center-tabs" @tab-click="handleTabsClick" @tab-remove="removeTab"> <el-tabs v-model="activeTab" class="center-tabs" @tab-click="handleTabsClick" @tab-remove="removeTab">
<el-tab-pane label="待票账单列表" name="billList" > <el-tab-pane label="可开票账单" name="waitOpenBillList" >
<InvoiceRecordApplyListPanel @onSelect="onSelectApply"> </InvoiceRecordApplyListPanel> <SiteConfimPanel confirmStatus="1"> </SiteConfimPanel>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="开票申请记录" name="billList" > <el-tab-pane label="开票申请记录" name="billList" >
<InvoiceRecordApplyListPanel @onSelect="onSelectApply"> </InvoiceRecordApplyListPanel> <InvoiceRecordApplyListPanel @onSelect="onSelectApply"> </InvoiceRecordApplyListPanel>
@ -23,13 +23,15 @@
<script> <script>
import InvoiceRecordApplyListPanel from '@/views/emis/emisSettleInvoiceRecord/panel/InvoiceRecordApplyListPanel.vue'; import InvoiceRecordApplyListPanel from '@/views/emis/emisSettleInvoiceRecord/panel/InvoiceRecordApplyListPanel.vue';
import InvoiceDetailPanel from '@/views/emis/emisSettleInvoiceRecord/panel/InvoiceDetailPanel.vue'; import InvoiceDetailPanel from '@/views/emis/emisSettleInvoiceRecord/panel/InvoiceDetailPanel.vue';
import SiteConfimPanel from '@/views/emis/emisSettleBill/panel/SiteConfimPanel.vue';
export default { export default {
name: "SiteInvoiceRecordApply", name: "SiteInvoiceRecordApply",
components: { components: {
InvoiceRecordApplyListPanel, InvoiceRecordApplyListPanel,
InvoiceDetailPanel InvoiceDetailPanel,
SiteConfimPanel
}, },
dicts: [ dicts: [
], ],

View File

@ -1,31 +1,31 @@
<template> <template>
<div class="app-container"> <div class="app-container">
<SearchForm :model="queryParams" ref="queryForm" size="small" :maxShow="3" label-width="68px" v-show="showSearch" @search="handleQuery" @reset="resetQuery"> <SearchForm :model="queryParams" ref="queryForm" size="small" :maxShow="3" label-width="68px" v-show="showSearch" @search="handleQuery" @reset="resetQuery">
<el-form-item label="" prop="reqNo"> <!-- <el-form-item label="" prop="reqNo">
<el-input <el-input
v-model="queryParams.reqNo" v-model="queryParams.reqNo"
:placeholder="$t('渠道请求号')" :placeholder="$t('渠道请求号')"
clearable clearable
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
</el-form-item> </el-form-item> -->
<el-form-item label="" prop="applySeqNo"> <!-- <el-form-item label="" prop="applySeqNo">
<el-input <el-input
v-model="queryParams.applySeqNo" v-model="queryParams.applySeqNo"
:placeholder="$t('发票申请序号')" :placeholder="$t('发票申请序号')"
clearable clearable
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
</el-form-item> </el-form-item> -->
<el-form-item label="" prop="blEcinv"> <!-- <el-form-item label="" prop="blEcinv">
<el-input <el-input
v-model="queryParams.blEcinv" v-model="queryParams.blEcinv"
:placeholder="$t('是否电子发票')" :placeholder="$t('是否电子发票')"
clearable clearable
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
</el-form-item> </el-form-item> -->
<el-form-item label="" prop="invoiceType"> <el-form-item label="" prop="invoiceType">
<el-input <el-input
v-model="queryParams.invoiceType" v-model="queryParams.invoiceType"
@ -34,18 +34,18 @@
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
</el-form-item> </el-form-item>
<el-form-item label="" prop="realInvoiceType"> <!-- <el-form-item label="" prop="realInvoiceType">
<el-input <el-input
v-model="queryParams.realInvoiceType" v-model="queryParams.realInvoiceType"
:placeholder="$t('实际开票类型')" :placeholder="$t('实际开票类型')"
clearable clearable
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
</el-form-item> </el-form-item> -->
<el-form-item label="" prop="companyName"> <el-form-item label="" prop="companyName">
<el-input <el-input
v-model="queryParams.companyName" v-model="queryParams.companyName"
:placeholder="$t('开票名称')" :placeholder="$t('开票抬头')"
clearable clearable
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
@ -292,8 +292,8 @@
</el-form-item> </el-form-item>
</SearchForm> </SearchForm>
<XdTable v-loading="loading" <XdTable v-loading="loading"
border stripe border stripe
size="small" size="small"
:data="emisSettleInvoiceChRecordList" :data="emisSettleInvoiceChRecordList"
@ -304,7 +304,7 @@
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange"
@sort-change="handleSortChange" @sort-change="handleSortChange"
> >
<div slot="toolbar"> <div slot="toolbar">
<el-row :gutter="10" class="mb8"> <el-row :gutter="10" class="mb8">
<el-col :span="1.5"> <el-col :span="1.5">
@ -317,7 +317,7 @@
v-hasPermi="['emis:emisSettleInvoiceChRecord:add']" v-hasPermi="['emis:emisSettleInvoiceChRecord:add']"
>新增</el-button> >新增</el-button>
</el-col> </el-col>
<!-- <!--
<el-col :span="1.5"> <el-col :span="1.5">
<el-button <el-button
type="success" type="success"
@ -352,7 +352,7 @@
</el-col> --> </el-col> -->
</el-row> </el-row>
</div> </div>
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<!-- <!--
<el-table-column label="序号" align="center" min-width="60"> <el-table-column label="序号" align="center" min-width="60">
@ -360,7 +360,7 @@
<span v-text="getIndex(scope.$index)"> </span> <span v-text="getIndex(scope.$index)"> </span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="xxx" align="left" prop="xxx" min-width="180"> <el-table-column label="xxx" align="left" prop="xxx" min-width="180">
<template slot-scope="scope"> <template slot-scope="scope">
<div class="link-type" @click="handleView(scope.row)">{{scope.row.orderSn}}</div> <div class="link-type" @click="handleView(scope.row)">{{scope.row.orderSn}}</div>
@ -436,7 +436,7 @@
@click="handleUpdate(scope.row)" @click="handleUpdate(scope.row)"
v-hasPermi="['emis:emisSettleInvoiceChRecord:edit']" v-hasPermi="['emis:emisSettleInvoiceChRecord:edit']"
>修改</el-button> >修改</el-button>
<!-- <!--
<el-button <el-button
size="mini" size="mini"
type="text" type="text"
@ -451,7 +451,7 @@
<el-dialog :title="titleForm" :visible.sync="openForm" width="50%" :destroy-on-close="true" v-dialogDrag append-to-body> <el-dialog :title="titleForm" :visible.sync="openForm" width="50%" :destroy-on-close="true" v-dialogDrag append-to-body>
<emisSettleInvoiceChRecordForm :id="currentId" @on-changed="handleFormChanged" @on-cancel="cancelForm"></EmisSettleInvoiceChRecordForm> <emisSettleInvoiceChRecordForm :id="currentId" @on-changed="handleFormChanged" @on-cancel="cancelForm"></EmisSettleInvoiceChRecordForm>
</el-dialog> </el-dialog>
<!-- <!--
<el-dialog :title="titleView" :visible.sync="openView" width="60%" :close-on-click-modal="false" v-dialogDrag append-to-body> <el-dialog :title="titleView" :visible.sync="openView" width="60%" :close-on-click-modal="false" v-dialogDrag append-to-body>
@ -491,7 +491,7 @@ export default {
total: 0, total: 0,
// 渠道开票记录表表格数据 // 渠道开票记录表表格数据
emisSettleInvoiceChRecordList: [], emisSettleInvoiceChRecordList: [],
currentId:null, currentId:null,
openForm: false, openForm: false,
titleForm: "", titleForm: "",
@ -575,7 +575,7 @@ export default {
this.loading = false; this.loading = false;
}); });
}, },
/** 搜索按钮操作 */ /** 搜索按钮操作 */
handleQuery() { handleQuery() {
this.queryParams.pageNum = 1; this.queryParams.pageNum = 1;