2024-07-10 00:35:23 +00:00
|
|
|
|
<template>
|
|
|
|
|
|
<XdPageContainer class="app-container">
|
|
|
|
|
|
|
2024-07-11 00:32:50 +00:00
|
|
|
|
|
2024-07-10 00:35:23 +00:00
|
|
|
|
|
2024-07-10 22:40:54 +00:00
|
|
|
|
<el-tabs slot="pageTabs" v-model="activeTab" class="center-tabs" @tab-click="handleTabsClick">
|
2024-07-11 00:32:50 +00:00
|
|
|
|
<el-tab-pane label="账单列表" name="billList" >
|
|
|
|
|
|
<!-- 账单表 -->
|
|
|
|
|
|
<XdTable
|
|
|
|
|
|
|
|
|
|
|
|
v-loading="loading"
|
|
|
|
|
|
border stripe
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
:data="emisSettleBillList"
|
|
|
|
|
|
:showSearch.sync="showSearch"
|
|
|
|
|
|
:queryParams="queryParams"
|
|
|
|
|
|
:total="total"
|
|
|
|
|
|
@queryTable="getList"
|
|
|
|
|
|
@selection-change="handleSelectionChange"
|
|
|
|
|
|
@sort-change="handleSortChange"
|
|
|
|
|
|
@row-dblclick="getDetailList"
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
<div slot="toolbar">
|
|
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
|
|
|
<el-col :span="1.5">
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
type="success"
|
|
|
|
|
|
plain
|
|
|
|
|
|
icon="el-icon-edit"
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
:disabled="single"
|
|
|
|
|
|
@click="handleUpdate"
|
|
|
|
|
|
v-hasPermi="['emis:emisSettleBill:edit']"
|
|
|
|
|
|
>修改账单</el-button>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="1.5">
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
type="warning"
|
|
|
|
|
|
plain
|
|
|
|
|
|
icon="el-icon-download"
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
@click="handleExport"
|
|
|
|
|
|
v-hasPermi="['emis:emisSettleBill:export']"
|
|
|
|
|
|
>导出</el-button>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
|
|
<el-col :span="1.5">
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
type="warning"
|
|
|
|
|
|
plain
|
|
|
|
|
|
icon="el-icon-download"
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
@click="handleExport"
|
|
|
|
|
|
v-hasPermi="['emis:emisSettleBill:export']"
|
|
|
|
|
|
>导出EXCEL电子表</el-button>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
</el-row>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
|
|
|
|
|
|
|
|
|
|
<el-table-column :label="$t('账单名称')" align="center" prop="settleBillName" min-width="200" :show-overflow-tooltip="true"/>
|
|
|
|
|
|
<el-table-column :label="$t('账单编号')" align="center" prop="settleBillNo" min-width="170" :show-overflow-tooltip="true"/>
|
|
|
|
|
|
<el-table-column :label="$t('账单月份')" align="center" prop="billMonth" min-width="80" />
|
|
|
|
|
|
<el-table-column :label="$t('账单期间')" align="center" prop="billMonth" min-width="200" :show-overflow-tooltip="true">
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
<div >{{scope.row.settleStartDate}}~{{scope.row.settleEndDate}}</div>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
<el-table-column :label="$t('生成账单时间')" align="center" prop="createTime" min-width="170" :show-overflow-tooltip="true"/>
|
|
|
|
|
|
<el-table-column :label="$t('总票数')" align="center" prop="sendPieceSum" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('总件数')" align="center" prop="pieceNumber" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('重量')" align="center" prop="feeWeight" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('付款状态')" align="center" prop="paymentStatus" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('开票状态')" align="center" prop="openBillStatus" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('账单应收金额')" align="center" prop="recMoney" min-width="150" />
|
|
|
|
|
|
<el-table-column :label="$t('账单已收金额')" align="center" prop="recedMoney" min-width="150" />
|
|
|
|
|
|
<el-table-column :label="$t('账单未收金额')" align="center" prop="billMonth" min-width="150" :show-overflow-tooltip="true">
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
<div >{{scope.row.recedMoney-scope.row.recedMoney}}</div>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
<el-table-column :label="$t('理赔金额')" align="center" prop="satisfyMoney" min-width="100" />
|
|
|
|
|
|
<!-- <el-table-column :label="$t('允许金额')" align="center" prop="allowanceMoney" min-width="100" /> -->
|
|
|
|
|
|
<el-table-column :label="$t('抵扣金额')" align="center" prop="deductionMoney" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('其他收费项')" align="center" prop="otherMoney" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('合计金额')" align="center" prop="sendMoneySum" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('月结编号')" align="center" prop="custNo" min-width="100" />
|
|
|
|
|
|
<!-- <el-table-column :label="$t('客户编码')" align="center" prop="customerCode" min-width="100" /> -->
|
|
|
|
|
|
<el-table-column :label="$t('客户名称')" align="center" prop="customerName" min-width="100" />
|
|
|
|
|
|
|
|
|
|
|
|
<el-table-column :label="$t('理赔原因')" align="center" prop="satisfyMoney" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('抵让原因')" align="center" prop="deductionReason" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('其他原因')" align="center" prop="otherReason" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('账单其他费用')" align="center" prop="otherReason" min-width="170" />
|
|
|
|
|
|
</XdTable>
|
|
|
|
|
|
|
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-tab-pane label="明细数据" name="dtlList" >
|
|
|
|
|
|
|
|
|
|
|
|
<SearchForm :model="queryParams" ref="queryForm"
|
|
|
|
|
|
size="mini" :maxShow="12" label-width="100px"
|
|
|
|
|
|
v-show="showSearch"
|
|
|
|
|
|
@search="handleQuery"
|
|
|
|
|
|
@reset="resetQuery"
|
|
|
|
|
|
:isShowSearchBtn="true"
|
|
|
|
|
|
>
|
|
|
|
|
|
<el-form-item label="运单号" prop="billCode">
|
|
|
|
|
|
<XdTextareaInput
|
|
|
|
|
|
v-model="queryParams.billCode"
|
|
|
|
|
|
:placeholder="$t('多个流水号逗号或换行隔开')"
|
|
|
|
|
|
clearable
|
|
|
|
|
|
:rows="2"
|
|
|
|
|
|
/>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="寄件日期" prop="sendDate">
|
|
|
|
|
|
<elDateAdvPicker v-model="dateTimeRange" ></elDateAdvPicker>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="寄件网点" prop="params.sendSiteCode">
|
|
|
|
|
|
<EmisSiteSimplePicker1 v-model="queryParams.params.sendSiteCode" ></EmisSiteSimplePicker1>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="目的网点" prop="params.dispatchUnderlingSiteCode">
|
|
|
|
|
|
<EmisSiteSimplePicker2 v-model="queryParams.params.dispatchUnderlingSiteCode" ></EmisSiteSimplePicker2>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="月结客户" prop="custNo">
|
|
|
|
|
|
<EmisMonthpayAccountPicker v-model="queryParams.custNo" @onChange="handleQuery"></EmisMonthpayAccountPicker>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="付款方式" prop="params.paymentType" >
|
|
|
|
|
|
<el-select clearable v-model="queryParams.params.paymentType" placeholder="请选择">
|
|
|
|
|
|
<el-option
|
|
|
|
|
|
v-for="dict in dict.type.emis_payment_type"
|
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
|
></el-option>
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item :label="$t('回款联系人')" prop="params.payee">
|
|
|
|
|
|
<PayeePicker :placeholder="$t('回款联系人')" v-model="queryParams.params.payee" ></PayeePicker>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item :label="$t('销售联系人')" prop="params.salesmen">
|
|
|
|
|
|
<SalemanPicker :placeholder="$t('销售联系人')" v-model="queryParams.params.salesmen" ></SalemanPicker>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="寄件公司" prop="params.sendCompany">
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
v-model="queryParams.params.sendCompany"
|
|
|
|
|
|
:placeholder="$t('寄件公司')"
|
|
|
|
|
|
clearable
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
/>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
|
|
|
|
<el-form-item label="收件公司" prop="params.receiveCompany">
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
v-model="queryParams.params.receiveCompany"
|
|
|
|
|
|
:placeholder="$t('收件公司')"
|
|
|
|
|
|
clearable
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
/>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
|
|
|
|
</SearchForm>
|
|
|
|
|
|
<!-- 账单明细数据表 -->
|
|
|
|
|
|
<XdTable
|
|
|
|
|
|
v-loading="loading"
|
|
|
|
|
|
border
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
ref="refTable1"
|
|
|
|
|
|
|
|
|
|
|
|
row-key="id"
|
|
|
|
|
|
storageName="storageNamemx"
|
|
|
|
|
|
|
|
|
|
|
|
:data="emisSettleSubBillList"
|
|
|
|
|
|
:showSearch.sync="showSearch"
|
|
|
|
|
|
:queryParams="queryParams"
|
|
|
|
|
|
:total="total"
|
|
|
|
|
|
@queryTable="getList"
|
|
|
|
|
|
@selection-change="handleSelectionChange"
|
|
|
|
|
|
@sort-change="handleSortChange"
|
|
|
|
|
|
|
|
|
|
|
|
:row-style="tableRowClassName"
|
|
|
|
|
|
highlight-current-row
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
<div slot="toolbar" >
|
|
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
|
|
|
<el-col :span="1.5" >
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
type="primary"
|
|
|
|
|
|
plain
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
@click="handleAddBillCode"
|
|
|
|
|
|
>追加运单到此账单</el-button>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="1.5" >
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
type="primary"
|
|
|
|
|
|
plain
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
:disabled="multiple"
|
|
|
|
|
|
@click="handleRemovceBillCode"
|
|
|
|
|
|
>从账单内删除运单</el-button>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
</el-row>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
|
|
|
|
<el-table-column type="expand">
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
<div style="padding: 8px 50px;background: white;">
|
|
|
|
|
|
|
|
|
|
|
|
<div style="display:inline-flex;padding: 15px 0px;" >
|
|
|
|
|
|
<div style="font-weight:500">总费用:<span>{{scope.row.billFee}}</span></div>
|
|
|
|
|
|
<div>
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
type="text"
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
style="padding: 2px 10px;font-size: 13px;border: 1px solid #e1e1e1;"
|
|
|
|
|
|
@click="handleShowTraceInfo(scope.row)"
|
|
|
|
|
|
>运单详情</el-button>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div style="font-weight:500">费用备注:<span>{{scope.row.waybillDetail.feeRemark}}</span></div>
|
|
|
|
|
|
<div class="feeItem">
|
|
|
|
|
|
<ul class="th">
|
|
|
|
|
|
<li>费用名称</li>
|
|
|
|
|
|
<li>费用</li>
|
|
|
|
|
|
<!-- <li>币种</li> -->
|
|
|
|
|
|
<li>描述</li>
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
<ul v-for="(item,index) in scope.row.feeitemList" :key="index">
|
|
|
|
|
|
<li style="background: #f4f4f4;font-weight: 600;">{{$t(item.feeName)}}</li>
|
|
|
|
|
|
<li>{{item.billFee}}</li>
|
|
|
|
|
|
<!-- <li>{{item.currency}}</li> -->
|
|
|
|
|
|
<li>{{item.remark}}</li>
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
2024-07-10 00:35:23 +00:00
|
|
|
|
|
|
|
|
|
|
</div>
|
2024-07-11 00:32:50 +00:00
|
|
|
|
</template>
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
|
|
|
|
<el-table-column :label="$t('运单号')" align="center" prop="billCode" min-width="130" />
|
|
|
|
|
|
<!-- <el-table-column :label="$t('是否特殊报价')" align="center" prop="waybillDetail.sendDate" min-width="170" :show-overflow-tooltip="true"/> -->
|
|
|
|
|
|
<el-table-column :label="$t('是否特殊报价')" align="center" prop="waybillDetail.blSpecialQuote" width="150" :show-overflow-tooltip="true">
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
<span v-if="scope.row.waybillDetail.blSpecialQuote==1">是</span>
|
|
|
|
|
|
<span v-else>否</span>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
<el-table-column :label="$t('计费方式')" align="center" prop="waybillDetail.calcFeeType" width="150" :show-overflow-tooltip="true">
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
<dict-tag :options="dict.type.emis_calc_fee_type" :value="scope.row.waybillDetail.calcFeeType"/>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
<el-table-column :label="$t('寄件日期')" align="center" prop="waybillDetail.sendDate" min-width="170" :show-overflow-tooltip="true"/>
|
|
|
|
|
|
<!-- <el-table-column :label="$t('发件人')" align="center" prop="fjr" width="200" :show-overflow-tooltip="true">
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
<span>{{ scope.row.waybillDetail.sendName }}--{{ scope.row.waybillDetail.receiveName }}</span>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
</el-table-column> -->
|
|
|
|
|
|
<el-table-column :label="$t('寄件网点')" align="center" prop="waybillDetail.sendSiteName" min-width="150" :show-overflow-tooltip="true"/>
|
|
|
|
|
|
<el-table-column :label="$t('寄件公司')" align="center" prop="waybillDetail.sendCompany" min-width="150" :show-overflow-tooltip="true"/>
|
|
|
|
|
|
|
|
|
|
|
|
<el-table-column v-if="actionType!=1" :label="$t('月结编号')" align="center" prop="customerName" min-width="150" :show-overflow-tooltip="true">
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
<span type="normal">{{ scope.row.custNo }}</span>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
|
|
|
|
<el-table-column v-if="actionType!=1" :label="$t('月结客户')" align="center" prop="customerName" min-width="150" :show-overflow-tooltip="true">
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
<span v-if="['2','4','5'].includes(scope.row.waybillDetail.paymentType)" type="normal">{{ scope.row.customerName }}</span>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <el-table-column :label="$t('取件员/操作员')" align="center" prop="takePieceEmployeeName" min-width="170" :show-overflow-tooltip="true">
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
<span v-if="scope.row.pickupMethod==1">{{scope.row.waybillDetail.operateEmployeeName}}</span>
|
|
|
|
|
|
<span v-if="scope.row.pickupMethod==2">{{scope.row.waybillDetail.takePieceEmployeeName}}</span>
|
|
|
|
|
|
<span v-else></span>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
</el-table-column> -->
|
|
|
|
|
|
|
|
|
|
|
|
<el-table-column :label="$t('产品类型')" align="center" prop="waybillDetail.productTypeName" min-width="120" :show-overflow-tooltip="true">
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
<span >{{scope.row.waybillDetail.productTypeName}}({{scope.row.waybillDetail.timeType}})</span>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-table-column :label="$t('寄件人')" align="center" prop="waybillDetail.sendName" min-width="80" :show-overflow-tooltip="true"/>
|
|
|
|
|
|
<el-table-column :label="$t('件数')" align="center" prop="waybillDetail.parcelQty" min-width="80" />
|
|
|
|
|
|
<el-table-column :label="$t('实际重量')" align="center" prop="waybillDetail.billWeight" min-width="80" />
|
|
|
|
|
|
<el-table-column :label="$t('体积')" align="center" prop="waybillDetail.totalVolume" min-width="80" />
|
|
|
|
|
|
<el-table-column :label="$t('体积重量')" align="center" prop="waybillDetail.volumeWeight" min-width="80" />
|
|
|
|
|
|
<el-table-column :label="$t('结算重量')" align="center" prop="waybillDetail.settlementWeight" min-width="80" />
|
|
|
|
|
|
<el-table-column :label="$t('运费')" align="center" prop="waybillDetail.freight" min-width="80" />
|
|
|
|
|
|
<el-table-column :label="$t('费用备注')" align="center" prop="waybillDetail.feeRemark" min-width="80" :show-overflow-tooltip="true"/>
|
|
|
|
|
|
<el-table-column :label="$t('支付类型')" align="center" prop="waybillDetail.paymentType" min-width="80" :show-overflow-tooltip="true" >
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
<dict-tag :options="dict.type.emis_payment_type" :value="scope.row.waybillDetail.paymentType"/>
|
2024-07-10 00:35:23 +00:00
|
|
|
|
</template>
|
|
|
|
|
|
</el-table-column>
|
2024-07-11 00:32:50 +00:00
|
|
|
|
<el-table-column :label="$t('录单备注')" align="center" prop="waybillDetail.remark" min-width="80" :show-overflow-tooltip="true" />
|
|
|
|
|
|
<el-table-column :label="$t('回款联系人')" align="center" prop="waybillDetail.payee" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('销售联系人')" align="center" prop="waybillDetail.salesmen" min-width="100" />
|
|
|
|
|
|
|
|
|
|
|
|
<el-table-column :label="$t('问题件')" align="center" prop="waybillDetail.blIsQuestion" min-width="150" >
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
<el-tag v-if="scope.row.waybillDetail.blIsQuestion==1" type="danger">是</el-tag>
|
|
|
|
|
|
<span v-else >/</span>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
<el-table-column :label="$t('问题件类型')" align="center" prop="waybillDetail.problemTypeName" width="150" :show-overflow-tooltip="true"/>
|
|
|
|
|
|
<el-table-column :label="$t('问题件原因')" align="center" prop="waybillDetail.problemCause" width="150" :show-overflow-tooltip="true"/>
|
|
|
|
|
|
|
|
|
|
|
|
<el-table-column :label="$t('财务确认状态')" align="center" prop="blConfirmCenter" min-width="120" >
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
<span v-if="scope.row.blConfirmCenter=='0'" >未确认</span>
|
|
|
|
|
|
<el-tag v-if="scope.row.blConfirmCenter=='1'" type="success">已确认</el-tag>
|
|
|
|
|
|
<el-tag v-if="scope.row.blConfirmCenter=='2'" type="error">确认不出账</el-tag>
|
|
|
|
|
|
<el-tag v-if="scope.row.blConfirmCenter=='3'" type="error">账单异常</el-tag>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
<el-table-column :label="$t('财务确认人')" align="center" prop="confirmCenterManName" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('财务确认时间')" align="center" prop="confirmCenterDate" min-width="170" />
|
|
|
|
|
|
<el-table-column :label="$t('财务备注')" align="center" prop="confirmCenterNote" min-width="100" />
|
|
|
|
|
|
|
|
|
|
|
|
<el-table-column :label="$t('业务确认状态')" align="center" prop="blConfirmSite" min-width="120" >
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
<span v-if="scope.row.blConfirmSite=='0'" >未确认</span>
|
|
|
|
|
|
<el-tag v-if="scope.row.blConfirmSite=='1'" type="success">已确认</el-tag>
|
|
|
|
|
|
<el-tag v-if="scope.row.blConfirmSite=='2'" type="error">确认不出账</el-tag>
|
|
|
|
|
|
<el-tag v-if="scope.row.blConfirmSite=='3'" type="error">账单异常</el-tag>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
<el-table-column :label="$t('业务确认时间')" align="center" prop="confirmSiteDate" min-width="170" />
|
|
|
|
|
|
<el-table-column :label="$t('业务确认人')" align="center" prop="confirmSiteManName" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('业务备注')" align="center" prop="confirmSiteNote" min-width="100" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</XdTable>
|
|
|
|
|
|
|
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
|
|
|
|
|
|
|
</el-tabs>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-07-10 00:35:23 +00:00
|
|
|
|
|
2024-07-10 22:40:54 +00:00
|
|
|
|
<el-dialog :title="titleForm" :visible.sync="openForm" width="70%" :destroy-on-close="true" v-dialogDrag append-to-body>
|
|
|
|
|
|
<MergeBillForm :id="currentId" @on-changed="handleFormChanged" @on-cancel="cancelForm"></MergeBillForm>
|
2024-07-10 00:35:23 +00:00
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--
|
|
|
|
|
|
<el-dialog :title="titleView" :visible.sync="openView" width="60%" :close-on-click-modal="false" v-dialogDrag append-to-body>
|
|
|
|
|
|
<emisSettleBillView :id="id" ></EmisSettleBillView>
|
|
|
|
|
|
</el-dialog>
|
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
|
|
</XdPageContainer>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
import { listEmisSettleBill, addEmisSettleBill } from "@/api/emis/emisSettleBill";
|
|
|
|
|
|
|
|
|
|
|
|
import elDateSimplePicker from '@/components/DatePickerAdv/elDateSimplePicker';
|
|
|
|
|
|
import emisSettleBillForm from '@/views/emis/emisSettleBill/emisSettleBillForm';
|
|
|
|
|
|
|
|
|
|
|
|
import emisWaybillForm from '@/views/emis/emisWaybill/emisWaybillForm';
|
|
|
|
|
|
import elDateAdvPicker from '@/components/DatePickerAdv/elDateAdvPicker';
|
|
|
|
|
|
|
|
|
|
|
|
import CountryPicker1 from '@/views/emis/EmisBaseTools/CountryPicker.vue';
|
|
|
|
|
|
|
|
|
|
|
|
import CountryPicker2 from '@/views/emis/EmisBaseTools/CountryPicker.vue';
|
|
|
|
|
|
import ProvincePicker2 from '@/views/emis/EmisBaseTools/ProvincePicker.vue';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import TransLinePicker from '@/views/emis/EmisBaseTools/TransLinePicker.vue';
|
|
|
|
|
|
import TransProductPicker from '@/views/emis/EmisBaseTools/TransProductPicker.vue';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import PayeePicker from '@/views/emis/EmisBaseTools/PayeePicker.vue';
|
|
|
|
|
|
import SalemanPicker from '@/views/emis/EmisBaseTools/SalemanPicker.vue';
|
|
|
|
|
|
|
|
|
|
|
|
import EmisUserSimplePicker0 from '@/views/emis/EmisBaseTools/EmisUserSimplePicker.vue';
|
|
|
|
|
|
import EmisUserSimplePicker1 from '@/views/emis/EmisBaseTools/EmisUserSimplePicker.vue';
|
|
|
|
|
|
import EmisUserSimplePicker2 from '@/views/emis/EmisBaseTools/EmisUserSimplePicker.vue';
|
|
|
|
|
|
|
|
|
|
|
|
import EmisSiteSimplePicker1 from '@/views/emis/EmisBaseTools/EmisSiteSimplePicker.vue';
|
|
|
|
|
|
import EmisSiteSimplePicker2 from '@/views/emis/EmisBaseTools/EmisSiteSimplePicker.vue';
|
|
|
|
|
|
|
|
|
|
|
|
import ProblemTypePicker from '@/views/emis/EmisBaseTools/ProblemTypePicker.vue';
|
|
|
|
|
|
|
|
|
|
|
|
import EmisMonthpayAccountPicker from '@/views/emis/EmisBaseTools/EmisMonthpayAccountPicker.vue';
|
|
|
|
|
|
import TraceWaybillDetailView from '@/views/emis/customerService/traceWaybillDetailView.vue';
|
|
|
|
|
|
|
2024-07-10 22:40:54 +00:00
|
|
|
|
import MergeBillForm from '@/views/emis/emisSettleBill/MergeBillForm.vue';
|
2024-07-10 00:35:23 +00:00
|
|
|
|
|
|
|
|
|
|
import { parseTime,genJsSeqNo } from "@/utils/custom";
|
|
|
|
|
|
|
2024-07-11 00:32:50 +00:00
|
|
|
|
import { listEmisSettleSubBill} from "@/api/emis/emisSettleSubBill";
|
2024-07-11 04:27:46 +00:00
|
|
|
|
import axios from 'axios';
|
2024-07-11 00:32:50 +00:00
|
|
|
|
|
2024-07-10 00:35:23 +00:00
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
|
name: "emisSettleBill",
|
|
|
|
|
|
components: {
|
|
|
|
|
|
elDateSimplePicker,
|
|
|
|
|
|
emisSettleBillForm,
|
|
|
|
|
|
EmisMonthpayAccountPicker,
|
|
|
|
|
|
elDateAdvPicker,emisWaybillForm,
|
|
|
|
|
|
CountryPicker1,
|
|
|
|
|
|
CountryPicker2,
|
|
|
|
|
|
ProvincePicker2,
|
|
|
|
|
|
TransLinePicker,
|
|
|
|
|
|
TransProductPicker,
|
|
|
|
|
|
PayeePicker,
|
|
|
|
|
|
SalemanPicker,
|
|
|
|
|
|
EmisUserSimplePicker0,
|
|
|
|
|
|
EmisUserSimplePicker1,
|
|
|
|
|
|
EmisUserSimplePicker2,
|
|
|
|
|
|
|
|
|
|
|
|
EmisSiteSimplePicker1,
|
|
|
|
|
|
EmisSiteSimplePicker2,
|
|
|
|
|
|
ProblemTypePicker,
|
|
|
|
|
|
|
2024-07-10 22:40:54 +00:00
|
|
|
|
TraceWaybillDetailView,
|
|
|
|
|
|
MergeBillForm
|
2024-07-10 00:35:23 +00:00
|
|
|
|
},
|
|
|
|
|
|
dicts: [
|
|
|
|
|
|
],
|
|
|
|
|
|
data() {
|
|
|
|
|
|
return {
|
2024-07-10 22:40:54 +00:00
|
|
|
|
activeTab:'billList',
|
2024-07-10 00:35:23 +00:00
|
|
|
|
// 遮罩层
|
|
|
|
|
|
loading: true,
|
|
|
|
|
|
// 选中数组
|
|
|
|
|
|
ids: [],
|
|
|
|
|
|
// 非单个禁用
|
|
|
|
|
|
single: true,
|
|
|
|
|
|
// 非多个禁用
|
|
|
|
|
|
multiple: true,
|
|
|
|
|
|
// 显示搜索条件
|
|
|
|
|
|
showSearch: true,
|
|
|
|
|
|
// 创建时间搜索
|
|
|
|
|
|
dateTimeRange:[],
|
|
|
|
|
|
// 总条数
|
|
|
|
|
|
total: 0,
|
|
|
|
|
|
// 结算总账单表格数据
|
|
|
|
|
|
emisSettleBillList: [],
|
|
|
|
|
|
|
|
|
|
|
|
currentId:null,
|
|
|
|
|
|
openForm: false,
|
|
|
|
|
|
titleForm: "",
|
|
|
|
|
|
|
2024-07-11 00:32:50 +00:00
|
|
|
|
subBillTotal: 0,
|
|
|
|
|
|
// 结算子账单表格数据
|
|
|
|
|
|
emisSettleSubBillList: [],
|
|
|
|
|
|
|
2024-07-10 00:35:23 +00:00
|
|
|
|
// 弹出展示层
|
|
|
|
|
|
id:null,
|
|
|
|
|
|
titleView:"",
|
|
|
|
|
|
openView: false,
|
|
|
|
|
|
// 更新站点时间范围
|
|
|
|
|
|
daterangeSettleStartDate: [],
|
|
|
|
|
|
// 更新站点时间范围
|
|
|
|
|
|
daterangeSettleEndDate: [],
|
|
|
|
|
|
// 更新站点时间范围
|
|
|
|
|
|
daterangeCreateTime: [],
|
|
|
|
|
|
// 更新站点时间范围
|
|
|
|
|
|
daterangeUpdateTime: [],
|
|
|
|
|
|
// 查询参数
|
|
|
|
|
|
queryParams: {
|
|
|
|
|
|
pageNum: 1,
|
|
|
|
|
|
pageSize: 20,
|
|
|
|
|
|
settleBillNo: null,
|
|
|
|
|
|
settleBillName: null,
|
|
|
|
|
|
settleType: null,
|
|
|
|
|
|
settleStartDate: null,
|
|
|
|
|
|
settleEndDate: null,
|
|
|
|
|
|
billMonth: null,
|
|
|
|
|
|
recMoney: null,
|
|
|
|
|
|
recedMoney: null,
|
|
|
|
|
|
custNo: null,
|
|
|
|
|
|
customerCode: null,
|
|
|
|
|
|
customerName: null,
|
|
|
|
|
|
siteCode: null,
|
|
|
|
|
|
siteName: null,
|
|
|
|
|
|
satisfyMoney: null,
|
|
|
|
|
|
allowanceMoney: null,
|
|
|
|
|
|
deductionMoney: null,
|
|
|
|
|
|
otherMoney: null,
|
|
|
|
|
|
satisfyReason: null,
|
|
|
|
|
|
allowanceReason: null,
|
|
|
|
|
|
deductionReason: null,
|
|
|
|
|
|
otherReason: null,
|
|
|
|
|
|
openBillStatus: null,
|
|
|
|
|
|
paymentStatus: null,
|
|
|
|
|
|
sendPieceSum: null,
|
|
|
|
|
|
pieceNumber: null,
|
|
|
|
|
|
feeWeight: null,
|
|
|
|
|
|
uncollectedAmount: null,
|
|
|
|
|
|
sendMoneySum: null,
|
|
|
|
|
|
refundAmount: null,
|
|
|
|
|
|
refundMoney: null,
|
|
|
|
|
|
blConfirm: null,
|
|
|
|
|
|
confirmDate: null,
|
|
|
|
|
|
confirmSite: null,
|
|
|
|
|
|
confirmManCode: null,
|
|
|
|
|
|
blSiteConfirm: null,
|
|
|
|
|
|
confirmNote: null,
|
|
|
|
|
|
siteConfirmDate: null,
|
|
|
|
|
|
siteConfirmManCode: null,
|
|
|
|
|
|
siteConfirmNote: null,
|
|
|
|
|
|
remark: null,
|
|
|
|
|
|
delFlag: null,
|
|
|
|
|
|
},
|
2024-07-11 04:27:46 +00:00
|
|
|
|
templateFile: '/static/tpl/billExportTpl.xls',
|
2024-07-10 00:35:23 +00:00
|
|
|
|
};
|
|
|
|
|
|
},
|
|
|
|
|
|
created() {
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
},
|
|
|
|
|
|
methods: {
|
2024-07-10 22:40:54 +00:00
|
|
|
|
handleTabsClick(tab, event) {
|
|
|
|
|
|
// console.log(tab, event);
|
|
|
|
|
|
if (tab.name == 'billList') {
|
|
|
|
|
|
// this.queryParams.blConfirmCenter=null;
|
|
|
|
|
|
}
|
|
|
|
|
|
else if (tab.name == 'dtlList') {
|
|
|
|
|
|
// this.queryParams.blConfirmCenter='0';
|
|
|
|
|
|
}
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
},
|
2024-07-10 00:35:23 +00:00
|
|
|
|
/** 查询结算总账单列表 */
|
|
|
|
|
|
getList() {
|
|
|
|
|
|
this.loading = true;
|
2024-07-10 22:40:54 +00:00
|
|
|
|
|
2024-07-10 00:35:23 +00:00
|
|
|
|
listEmisSettleBill(this.addDateRange(this.queryParams, this.dateTimeRange)).then(response => {
|
|
|
|
|
|
this.emisSettleBillList = response.rows;
|
|
|
|
|
|
this.total = response.total;
|
|
|
|
|
|
this.loading = false;
|
|
|
|
|
|
});
|
|
|
|
|
|
},
|
2024-07-11 00:32:50 +00:00
|
|
|
|
getDetailList(row, column, event) {
|
|
|
|
|
|
|
|
|
|
|
|
this.activeTab="dtlList";
|
|
|
|
|
|
|
|
|
|
|
|
this.loading = true;
|
|
|
|
|
|
let qParam={
|
|
|
|
|
|
settleBillNo:row.settleBillNo
|
|
|
|
|
|
}
|
|
|
|
|
|
listEmisSettleSubBill(qParam).then(response => {
|
|
|
|
|
|
this.emisSettleSubBillList = response.rows;
|
|
|
|
|
|
this.total = response.total;
|
|
|
|
|
|
this.loading = false;
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
// 查询统计
|
|
|
|
|
|
// getQueryStatInfoMap(qParam).then(response => {
|
|
|
|
|
|
// this.queryStatInfoMap = response.data;
|
|
|
|
|
|
// });
|
|
|
|
|
|
|
|
|
|
|
|
},
|
2024-07-10 00:35:23 +00:00
|
|
|
|
|
|
|
|
|
|
/** 搜索按钮操作 */
|
|
|
|
|
|
handleQuery() {
|
|
|
|
|
|
this.queryParams.pageNum = 1;
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
},
|
|
|
|
|
|
/** 重置按钮操作 */
|
|
|
|
|
|
resetQuery() {
|
|
|
|
|
|
this.resetForm("queryForm");
|
|
|
|
|
|
this.handleQuery();
|
|
|
|
|
|
},
|
|
|
|
|
|
// 多选框选中数据
|
|
|
|
|
|
handleSelectionChange(selection) {
|
|
|
|
|
|
this.ids = selection.map(item => item.id)
|
|
|
|
|
|
this.single = selection.length!==1
|
|
|
|
|
|
this.multiple = !selection.length
|
|
|
|
|
|
},
|
|
|
|
|
|
// 排序 查询字段是表格中字段名字 动态取值排序顺序
|
|
|
|
|
|
handleSortChange(column) {
|
|
|
|
|
|
this.queryParams.orderByColumn = column.prop;
|
|
|
|
|
|
this.queryParams.isAsc = column.order;
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
},
|
|
|
|
|
|
/** 新增按钮操作 */
|
|
|
|
|
|
handleAdd(row) {
|
|
|
|
|
|
this.currentId=null;
|
|
|
|
|
|
this.openForm= true;
|
|
|
|
|
|
this.titleForm = "新增";
|
|
|
|
|
|
},
|
|
|
|
|
|
handleShowMoreInput(){
|
|
|
|
|
|
this.moreInputVisible = !this.moreInputVisible;
|
|
|
|
|
|
},
|
|
|
|
|
|
/** 修改按钮操作 */
|
|
|
|
|
|
handleUpdate(row) {
|
2024-07-10 22:40:54 +00:00
|
|
|
|
this.currentId= row.id || this.ids;
|
2024-07-10 00:35:23 +00:00
|
|
|
|
this.openForm = true;
|
2024-07-10 22:40:54 +00:00
|
|
|
|
this.titleForm = "账单信息";
|
2024-07-10 00:35:23 +00:00
|
|
|
|
},
|
|
|
|
|
|
handleView(row) {
|
|
|
|
|
|
this.id=row.id;
|
|
|
|
|
|
this.titleView="查看";
|
|
|
|
|
|
this.openView=true;
|
|
|
|
|
|
// this.router.push({ path: '/emis/emisSettleBill/viewDetail', query: { id: row.id }})
|
|
|
|
|
|
},
|
|
|
|
|
|
handleFormChanged(){
|
|
|
|
|
|
this.openForm = false;
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
},
|
|
|
|
|
|
cancelForm(){
|
|
|
|
|
|
this.openForm = false;
|
|
|
|
|
|
},
|
|
|
|
|
|
/** 删除按钮操作 */
|
|
|
|
|
|
handleDelete(row) {
|
|
|
|
|
|
const ids = row.id || this.ids;
|
|
|
|
|
|
this.$modal.confirm('是否确认删除').then(function() {
|
|
|
|
|
|
return delEmisSettleBill(ids);
|
|
|
|
|
|
}).then(() => {
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
this.$modal.msgSuccess("删除成功");
|
|
|
|
|
|
}).catch(() => {});
|
|
|
|
|
|
},
|
|
|
|
|
|
/** 导出按钮操作 */
|
|
|
|
|
|
handleExport() {
|
|
|
|
|
|
// this.download('emis/emisSettleBill/export', {
|
|
|
|
|
|
// ...this.queryParams
|
|
|
|
|
|
// }, `emisSettleBill_${new Date().getTime()}.xlsx`)
|
|
|
|
|
|
const loadingInstance = this.$loading({
|
|
|
|
|
|
text: '正在导出...'
|
|
|
|
|
|
})
|
2024-07-11 04:27:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
2024-07-10 00:35:23 +00:00
|
|
|
|
var qParam = {...this.queryParams};
|
|
|
|
|
|
qParam.pageNum=1;
|
|
|
|
|
|
qParam.pageSize=5000;
|
|
|
|
|
|
|
|
|
|
|
|
listEmisSettleBill(this.addDateRange(qParam, this.dateTimeRange)).then(response => {
|
|
|
|
|
|
this.downloadLoading = false
|
|
|
|
|
|
if (response.code === 200) {
|
2024-07-11 04:27:46 +00:00
|
|
|
|
|
|
|
|
|
|
const curList = response.rows
|
|
|
|
|
|
import('@/vendor/Export2Excel').then(excel => {
|
|
|
|
|
|
|
|
|
|
|
|
const tHeader = ['id','总结算账单编号','结算账单名称','结算账单类型','结算开始时间','结算结束时间','账单月份','应收款金额','已收款金额','月结编号','客户编码','客户名称','结算站点代码','结算站点名称','安全金额','允许金额','抵扣金额','其他金额','安全原因','允许原因','抵扣原因','其他原因','开票状态','付款状态','总票数','总件数','总重量','未结数量','合计金额','退款数量','退款金额','财务确认状态','财务确认日期','财务确认站点','财务确认人','站点确认状态','财务确认备注','站点确认日期','站点确认人','网点确认备注','备注','删除标志(0代表存在','创建者','创建时间','更新者','更新时间','创建站点','更新站点',];
|
|
|
|
|
|
const filterVal = ['id','settleBillNo','settleBillName','settleType','settleStartDate','settleEndDate','billMonth','recMoney','recedMoney','custNo','customerCode','customerName','siteCode','siteName','satisfyMoney','allowanceMoney','deductionMoney','otherMoney','satisfyReason','allowanceReason','deductionReason','otherReason','openBillStatus','paymentStatus','sendPieceSum','pieceNumber','feeWeight','uncollectedAmount','sendMoneySum','refundAmount','refundMoney','blConfirm','confirmDate','confirmSite','confirmManCode','blSiteConfirm','confirmNote','siteConfirmDate','siteConfirmManCode','siteConfirmNote','remark','delFlag','createBy','createTime','updateBy','updateTime','createSite','updateSite',];
|
|
|
|
|
|
const data = this.formatJson(filterVal, curList, response.rows)
|
|
|
|
|
|
axios({
|
|
|
|
|
|
method: "get",
|
|
|
|
|
|
url: this.templateFile,
|
|
|
|
|
|
responseType: "arraybuffer",
|
|
|
|
|
|
}).then(response =>{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
console.log("==this.templateFile=>",this.templateFile);
|
|
|
|
|
|
console.log("==xxxx=>",response);
|
|
|
|
|
|
|
|
|
|
|
|
excel.export_json_to_excel_by_tpl({
|
|
|
|
|
|
tplData:response,
|
|
|
|
|
|
header: tHeader,
|
|
|
|
|
|
data,
|
|
|
|
|
|
filename: '账单',
|
|
|
|
|
|
autoWidth: true
|
2024-07-10 00:35:23 +00:00
|
|
|
|
})
|
2024-07-11 04:27:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}).catch(error => console.log(error))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
loadingInstance.close()
|
|
|
|
|
|
})
|
|
|
|
|
|
}
|
|
|
|
|
|
});
|
|
|
|
|
|
},
|
|
|
|
|
|
/** 导出按钮操作 */
|
|
|
|
|
|
handleExport_old() {
|
|
|
|
|
|
// this.download('emis/emisSettleBill/export', {
|
|
|
|
|
|
// ...this.queryParams
|
|
|
|
|
|
// }, `emisSettleBill_${new Date().getTime()}.xlsx`)
|
|
|
|
|
|
const loadingInstance = this.$loading({
|
|
|
|
|
|
text: '正在导出...'
|
|
|
|
|
|
})
|
|
|
|
|
|
var qParam = {...this.queryParams};
|
|
|
|
|
|
qParam.pageNum=1;
|
|
|
|
|
|
qParam.pageSize=5000;
|
|
|
|
|
|
|
|
|
|
|
|
listEmisSettleBill(this.addDateRange(qParam, this.dateTimeRange)).then(response => {
|
|
|
|
|
|
this.downloadLoading = false
|
|
|
|
|
|
if (response.code === 200) {
|
|
|
|
|
|
|
|
|
|
|
|
// const curList = response.rows
|
|
|
|
|
|
// import('@/vendor/Export2Excel').then(excel => {
|
|
|
|
|
|
// const tHeader = ['id','总结算账单编号','结算账单名称','结算账单类型','结算开始时间','结算结束时间','账单月份','应收款金额','已收款金额','月结编号','客户编码','客户名称','结算站点代码','结算站点名称','安全金额','允许金额','抵扣金额','其他金额','安全原因','允许原因','抵扣原因','其他原因','开票状态','付款状态','总票数','总件数','总重量','未结数量','合计金额','退款数量','退款金额','财务确认状态','财务确认日期','财务确认站点','财务确认人','站点确认状态','财务确认备注','站点确认日期','站点确认人','网点确认备注','备注','删除标志(0代表存在','创建者','创建时间','更新者','更新时间','创建站点','更新站点',];
|
|
|
|
|
|
// const filterVal = ['id','settleBillNo','settleBillName','settleType','settleStartDate','settleEndDate','billMonth','recMoney','recedMoney','custNo','customerCode','customerName','siteCode','siteName','satisfyMoney','allowanceMoney','deductionMoney','otherMoney','satisfyReason','allowanceReason','deductionReason','otherReason','openBillStatus','paymentStatus','sendPieceSum','pieceNumber','feeWeight','uncollectedAmount','sendMoneySum','refundAmount','refundMoney','blConfirm','confirmDate','confirmSite','confirmManCode','blSiteConfirm','confirmNote','siteConfirmDate','siteConfirmManCode','siteConfirmNote','remark','delFlag','createBy','createTime','updateBy','updateTime','createSite','updateSite',];
|
|
|
|
|
|
// const data = this.formatJson(filterVal, curList, response.rows)
|
|
|
|
|
|
// excel.export_json_to_excel({
|
|
|
|
|
|
// header: tHeader,
|
|
|
|
|
|
// data,
|
|
|
|
|
|
// filename: '结算总账单',
|
|
|
|
|
|
// autoWidth: true
|
|
|
|
|
|
// })
|
|
|
|
|
|
// loadingInstance.close()
|
|
|
|
|
|
// })
|
2024-07-10 00:35:23 +00:00
|
|
|
|
}
|
|
|
|
|
|
});
|
|
|
|
|
|
},
|
|
|
|
|
|
formatJson(filterVal, jsonData, resData) {
|
|
|
|
|
|
let index = 0
|
|
|
|
|
|
return jsonData.map(v => filterVal.map(j => {
|
|
|
|
|
|
if (j === 'index') {
|
|
|
|
|
|
return ++index
|
|
|
|
|
|
}
|
|
|
|
|
|
if (j === 'status') {
|
|
|
|
|
|
var statusStr='xxx'
|
|
|
|
|
|
if(v[j] == 10){
|
|
|
|
|
|
statusStr='xxx'
|
|
|
|
|
|
}
|
|
|
|
|
|
return statusStr;
|
|
|
|
|
|
}
|
|
|
|
|
|
return v[j]
|
|
|
|
|
|
}))
|
|
|
|
|
|
},
|
|
|
|
|
|
/** 列索引函数 */
|
|
|
|
|
|
getIndex($index) {
|
|
|
|
|
|
return (this.queryParams.pageNum - 1) * this.queryParams.pageSize + $index + 1
|
|
|
|
|
|
},
|
|
|
|
|
|
/** 时间搜索响应函数 */
|
|
|
|
|
|
dateTimeChange(value){
|
|
|
|
|
|
this.dateTimeRange=value;
|
|
|
|
|
|
},
|
|
|
|
|
|
}
|
|
|
|
|
|
};
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
2024-07-11 00:32:50 +00:00
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
|
|
|
|
|
|
|
.feeItem{
|
|
|
|
|
|
|
|
|
|
|
|
border: 1px solid #dfe6ec;
|
|
|
|
|
|
margin-bottom:50px;
|
|
|
|
|
|
|
|
|
|
|
|
ul{
|
|
|
|
|
|
list-style: none;
|
|
|
|
|
|
padding: 0px;
|
|
|
|
|
|
margin: 0px;
|
|
|
|
|
|
width: 590px;
|
|
|
|
|
|
height: 32px;
|
|
|
|
|
|
line-height: 32px;
|
|
|
|
|
|
border: 1px solid #dfe6ec;
|
|
|
|
|
|
border-top: 0px;
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
ul li{
|
|
|
|
|
|
display:block; width:33%; float:left;text-indent:2em
|
|
|
|
|
|
}
|
|
|
|
|
|
.th{
|
|
|
|
|
|
background:#FFF; font-weight:bold; border-top:1px
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.statInfoValue{
|
|
|
|
|
|
color: red;
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
}
|
2024-07-10 00:35:23 +00:00
|
|
|
|
</style>
|