2025-03-23 10:03:12 +08:00
|
|
|
<!--
|
|
|
|
* @Descripttion:
|
|
|
|
* @version:
|
|
|
|
* @Author: kBank
|
|
|
|
* @Date: 2022-10-24 15:45:01
|
|
|
|
-->
|
|
|
|
<template>
|
|
|
|
<div class="page">
|
|
|
|
<topBar v-if="topList.length > 0" :top-list="topList" :moren="moren" />
|
|
|
|
<div class="main">
|
|
|
|
<el-form
|
|
|
|
ref="select"
|
|
|
|
:model="select"
|
|
|
|
label-width="100px"
|
|
|
|
style="background-color: #fff; padding: 0 10px 0 10px"
|
|
|
|
>
|
|
|
|
<el-row>
|
|
|
|
<!-- 一层 -->
|
|
|
|
<el-col :span="4">
|
2025-05-26 10:41:35 +08:00
|
|
|
<el-form-item :label="'会员编号'">
|
2025-03-23 10:03:12 +08:00
|
|
|
<el-input v-model="select.memberCode" clearable />
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="4">
|
2025-05-26 10:41:35 +08:00
|
|
|
<el-form-item :label="'会员姓名'">
|
2025-03-23 10:03:12 +08:00
|
|
|
<el-input v-model="select.memberName" clearable />
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
<!-- <el-col :span="4">
|
2025-05-26 10:41:35 +08:00
|
|
|
<el-form-item :label="'关联编号'">
|
2025-03-23 10:03:12 +08:00
|
|
|
<el-input v-model="select.relevancyMemberCode" clearable />
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="4">
|
2025-05-26 10:41:35 +08:00
|
|
|
<el-form-item :label="'关联部门'">
|
2025-03-23 10:03:12 +08:00
|
|
|
<el-select
|
|
|
|
v-model="select.relevancyDept"
|
|
|
|
clearable
|
|
|
|
placeholder=""
|
|
|
|
>
|
|
|
|
<el-option
|
|
|
|
v-for="item in deptList"
|
|
|
|
:key="item.value"
|
|
|
|
:label="item.label"
|
|
|
|
:value="item.value"
|
|
|
|
/>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col> -->
|
|
|
|
<el-col :span="4">
|
2025-05-26 10:41:35 +08:00
|
|
|
<el-form-item :label="'联系方式'">
|
2025-03-23 10:03:12 +08:00
|
|
|
<el-input v-model="select.phone" clearable />
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="4">
|
2025-05-26 10:41:35 +08:00
|
|
|
<el-form-item :label="'撤单人'">
|
2025-03-23 10:03:12 +08:00
|
|
|
<el-input v-model="select.creatorName" clearable />
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="4">
|
2025-05-26 10:41:35 +08:00
|
|
|
<el-form-item :label="'签呈编号'">
|
2025-03-23 10:03:12 +08:00
|
|
|
<el-input v-model="select.approvalCode" clearable />
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="4">
|
2025-05-26 10:41:35 +08:00
|
|
|
<el-form-item :label="'订单编号'">
|
2025-03-23 10:03:12 +08:00
|
|
|
<el-input v-model="select.orderCode" clearable />
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<!-- <el-col :span="4">
|
2025-05-26 10:41:35 +08:00
|
|
|
<el-form-item :label="'服务中心编号'">
|
2025-03-23 10:03:12 +08:00
|
|
|
<el-input v-model="select.pkCenterCode" clearable />
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="4">
|
2025-05-26 10:41:35 +08:00
|
|
|
<el-form-item :label="'服务中心姓名'">
|
2025-03-23 10:03:12 +08:00
|
|
|
<el-input v-model="select.pkCenterName" clearable />
|
|
|
|
</el-form-item>
|
|
|
|
</el-col> -->
|
|
|
|
|
|
|
|
<el-col :span="4">
|
2025-05-26 10:41:35 +08:00
|
|
|
<el-form-item :label="'订单类型'">
|
2025-03-23 10:03:12 +08:00
|
|
|
<el-select v-model="select.orderType" clearable placeholder="">
|
|
|
|
<el-option
|
|
|
|
v-for="item in orderTypeList"
|
|
|
|
:key="item.value"
|
|
|
|
:label="item.label"
|
|
|
|
:value="item.value"
|
|
|
|
/>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="4">
|
2025-05-26 10:41:35 +08:00
|
|
|
<el-form-item :label="'撤单类型'">
|
2025-03-23 10:03:12 +08:00
|
|
|
<el-select v-model="select.chargeType" clearable placeholder="">
|
|
|
|
<el-option
|
|
|
|
v-for="item in cancleTypeList"
|
|
|
|
:key="item.value"
|
|
|
|
:label="item.label"
|
|
|
|
:value="item.value"
|
|
|
|
/>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="4">
|
2025-05-26 10:41:35 +08:00
|
|
|
<el-form-item :label="'隶属体系'">
|
2025-03-23 10:03:12 +08:00
|
|
|
<el-select v-model="select.pkVertex" clearable placeholder="">
|
|
|
|
<el-option
|
|
|
|
v-for="item in verList"
|
|
|
|
:key="item.value"
|
|
|
|
:label="item.vertexName"
|
|
|
|
:value="item.pkId"
|
|
|
|
/>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="4">
|
2025-05-26 10:41:35 +08:00
|
|
|
<el-form-item :label="'注册类型'">
|
2025-03-23 10:03:12 +08:00
|
|
|
<el-select v-model="select.orderSource" clearable placeholder="">
|
|
|
|
<el-option
|
|
|
|
v-for="item in kdzcList"
|
|
|
|
:key="item.value"
|
|
|
|
:label="item.label"
|
|
|
|
:value="item.value"
|
|
|
|
/>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="4">
|
2025-05-26 10:41:35 +08:00
|
|
|
<el-form-item :label="'来源'">
|
2025-03-23 10:03:12 +08:00
|
|
|
<el-select
|
|
|
|
v-model="select.orderChargeLogSource"
|
|
|
|
clearable
|
|
|
|
placeholder=""
|
|
|
|
>
|
|
|
|
<el-option
|
|
|
|
v-for="item in sourceList"
|
|
|
|
:key="item.value"
|
|
|
|
:label="item.label"
|
|
|
|
:value="item.value"
|
|
|
|
/>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
<el-collapse-transition>
|
|
|
|
<div v-show="isActive">
|
|
|
|
<!-- <el-col :span="4">
|
2025-05-26 10:41:35 +08:00
|
|
|
<el-form-item :label="'隶属团队'">
|
2025-03-23 10:03:12 +08:00
|
|
|
<el-select
|
|
|
|
v-model="select.pkTeamCode"
|
|
|
|
clearable
|
|
|
|
placeholder=""
|
|
|
|
>
|
|
|
|
<el-option
|
|
|
|
v-for="item in memberList"
|
|
|
|
:key="item.value"
|
|
|
|
:label="item.teamName"
|
|
|
|
:value="item.pkId"
|
|
|
|
/>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col> -->
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-form-item
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'创建日期'"
|
2025-03-23 10:03:12 +08:00
|
|
|
prop="creationTime"
|
|
|
|
class="el-check_s"
|
|
|
|
>
|
|
|
|
<el-date-picker
|
|
|
|
v-model="creationTime"
|
|
|
|
class="el-check_s"
|
|
|
|
value-format="yyyy-MM-dd"
|
|
|
|
type="daterange"
|
2025-05-26 10:41:35 +08:00
|
|
|
:range-separator="'至'"
|
|
|
|
:start-placeholder="'开始日期'"
|
|
|
|
:end-placeholder="'结束日期'"
|
2025-03-23 10:03:12 +08:00
|
|
|
@change="changeTime"
|
|
|
|
/>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-form-item
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'支付日期'"
|
2025-03-23 10:03:12 +08:00
|
|
|
prop="creationTime"
|
|
|
|
class="el-check_s"
|
|
|
|
>
|
|
|
|
<el-date-picker
|
|
|
|
v-model="creationTime1"
|
|
|
|
value-format="yyyy-MM-dd"
|
|
|
|
type="daterange"
|
2025-05-26 10:41:35 +08:00
|
|
|
:range-separator="'至'"
|
|
|
|
:start-placeholder="'开始日期'"
|
|
|
|
:end-placeholder="'结束日期'"
|
2025-03-23 10:03:12 +08:00
|
|
|
@change="changeTime1"
|
|
|
|
/>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-form-item
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'撤单日期'"
|
2025-03-23 10:03:12 +08:00
|
|
|
prop="creationTime"
|
|
|
|
class="el-check_s"
|
|
|
|
>
|
|
|
|
<el-date-picker
|
|
|
|
v-model="creationTime2"
|
|
|
|
value-format="yyyy-MM-dd"
|
|
|
|
type="daterange"
|
2025-05-26 10:41:35 +08:00
|
|
|
:range-separator="'至'"
|
|
|
|
:start-placeholder="'开始日期'"
|
|
|
|
:end-placeholder="'结束日期'"
|
2025-03-23 10:03:12 +08:00
|
|
|
@change="changeTime3"
|
|
|
|
/>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-form-item
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'终审日期'"
|
2025-03-23 10:03:12 +08:00
|
|
|
prop="creationTime"
|
|
|
|
class="el-check_s"
|
|
|
|
>
|
|
|
|
<el-date-picker
|
|
|
|
v-model="creationTime3"
|
|
|
|
value-format="yyyy-MM-dd"
|
|
|
|
type="daterange"
|
2025-05-26 10:41:35 +08:00
|
|
|
:range-separator="'至'"
|
|
|
|
:start-placeholder="'开始日期'"
|
|
|
|
:end-placeholder="'结束日期'"
|
2025-03-23 10:03:12 +08:00
|
|
|
@change="changeTime2"
|
|
|
|
/>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</div>
|
|
|
|
</el-collapse-transition>
|
|
|
|
<el-col :span="4" style="margin-left: 30px">
|
|
|
|
<el-button
|
|
|
|
type="primary"
|
|
|
|
style="background-color: #c8161d"
|
|
|
|
@click="getDataList"
|
|
|
|
>
|
2025-05-26 10:41:35 +08:00
|
|
|
{{ '搜索' }}</el-button
|
2025-03-23 10:03:12 +08:00
|
|
|
>
|
2025-05-26 10:41:35 +08:00
|
|
|
<el-button @click="reset"> {{ '重置' }}</el-button>
|
2025-03-23 10:03:12 +08:00
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
<div class="openClose" @click="changeActive">
|
|
|
|
<i :class="isActive ? 'el-icon-arrow-up' : 'el-icon-arrow-down'" />
|
2025-05-26 10:41:35 +08:00
|
|
|
<div>{{ isActive ? '点击收起' : '点击展开' }}</div>
|
2025-03-23 10:03:12 +08:00
|
|
|
</div>
|
|
|
|
</el-form>
|
|
|
|
<div class="maintop">
|
|
|
|
<div class="mainbtn">
|
|
|
|
<el-button
|
|
|
|
size="small"
|
|
|
|
class="thebtn2"
|
|
|
|
v-hasButtons="['removeOrderExport']"
|
|
|
|
@click="exports"
|
|
|
|
>
|
2025-05-26 10:41:35 +08:00
|
|
|
{{ '导出' }}</el-button
|
2025-03-23 10:03:12 +08:00
|
|
|
>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<el-dropdown :hide-on-click="false">
|
|
|
|
<span class="el-dropdown-link kuang" style="margin-right: 10px">
|
2025-05-26 10:41:35 +08:00
|
|
|
{{ '筛选字段'
|
2025-03-23 10:03:12 +08:00
|
|
|
}}<i class="el-icon-arrow-down el-icon--right" />
|
|
|
|
</span>
|
|
|
|
<el-dropdown-menu
|
|
|
|
slot="dropdown"
|
|
|
|
style="overflow: auto; height: 70%"
|
|
|
|
>
|
|
|
|
<el-dropdown-item v-for="item in menuList" :key="item.id">
|
|
|
|
<el-checkbox
|
|
|
|
v-model="item.checked"
|
|
|
|
@change="getMenu($event, item.id)"
|
|
|
|
>{{ item.text }}</el-checkbox
|
|
|
|
></el-dropdown-item
|
|
|
|
>
|
|
|
|
</el-dropdown-menu>
|
|
|
|
</el-dropdown>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="maintable">
|
|
|
|
<div class="itemTrading">
|
|
|
|
<el-table
|
|
|
|
:data="tableData.censusSummaryList"
|
|
|
|
style="width: 100%"
|
|
|
|
v-loading="loading"
|
|
|
|
:header-cell-style="{ background: '#EEEEEE' }"
|
|
|
|
:row-class-name="tableRowClassName"
|
|
|
|
:summary-method="getSummaries"
|
|
|
|
show-summary
|
|
|
|
:height="isActive ? '565px' : '600px'"
|
|
|
|
@selection-change="handleSelectionChange"
|
|
|
|
>
|
|
|
|
<el-table-column type="selection" width="55" />
|
|
|
|
<el-table-column
|
|
|
|
align="center"
|
|
|
|
prop="approvalCode"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'签呈编号'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
align="center"
|
|
|
|
prop="orderCode"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'订单编号'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
align="center"
|
|
|
|
prop="orderTypeStr"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'订单类型'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
align="center"
|
|
|
|
prop="chargeTypeStr"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'撤单类型'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
align="center"
|
|
|
|
prop="customerTypeStr"
|
|
|
|
width="160"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'注册类型'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<!-- <el-table-column
|
|
|
|
align="center"
|
|
|
|
prop="relevancyMemberCode"
|
|
|
|
width="120"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'关联编号'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
align="center"
|
|
|
|
prop="relevancyDeptStr"
|
|
|
|
width="120"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'关联部门'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/> -->
|
|
|
|
<el-table-column
|
|
|
|
align="center"
|
|
|
|
prop="memberCode"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'会员编号'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
align="center"
|
|
|
|
prop="memberName"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'会员姓名'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
align="center"
|
|
|
|
prop="phone"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'联系方式'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
align="center"
|
|
|
|
prop="parentCode"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'推荐编号'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
align="center"
|
|
|
|
prop="parentName"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'推荐姓名'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<!-- <el-table-column
|
|
|
|
align="center"
|
|
|
|
prop="placeParentCode"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'安置编号'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
align="center"
|
|
|
|
prop="placeParentName"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'安置姓名'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
align="center"
|
|
|
|
prop="placeDeptStr"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'安置部门'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/> -->
|
|
|
|
<!-- <el-table-column
|
|
|
|
align="center"
|
|
|
|
prop="pkCenterCode"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'服务中心编号'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
align="center"
|
|
|
|
prop="pkCenterName"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'服务中心姓名'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/> -->
|
|
|
|
<el-table-column
|
|
|
|
align="center"
|
|
|
|
prop="orderAmount"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'消费金额' + `(${isLocalSymbol()})`"
|
2025-03-23 10:03:12 +08:00
|
|
|
:formatter="stateFormat"
|
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
align="center"
|
|
|
|
prop="orderAchieve"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'消费业绩' + `(${isLocalSymbol()})`"
|
2025-03-23 10:03:12 +08:00
|
|
|
:formatter="stateFormat"
|
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
v-if="menuList[1].checked == true"
|
|
|
|
align="center"
|
|
|
|
prop="orderAmountDollar"
|
|
|
|
width="130"
|
|
|
|
:formatter="stateFormat"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'消费金额' + `(${isLocals()})`"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
v-if="menuList[2].checked == true"
|
|
|
|
align="center"
|
|
|
|
prop="orderAchieveDollar"
|
|
|
|
width="130"
|
|
|
|
:formatter="stateFormat"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'消费业绩' + `(${isLocals()})`"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
v-if="menuList[3].checked == true"
|
|
|
|
align="center"
|
|
|
|
prop="vertexName"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'隶属体系'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<!-- <el-table-column
|
|
|
|
v-if="menuList[4].checked == true"
|
|
|
|
align="center"
|
|
|
|
prop="pkTeamName"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'隶属团队'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/> -->
|
|
|
|
<el-table-column
|
|
|
|
v-if="menuList[4].checked == true"
|
|
|
|
align="center"
|
|
|
|
prop="recName"
|
|
|
|
width="200"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'收货人'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
v-if="menuList[5].checked == true"
|
|
|
|
align="center"
|
|
|
|
prop="recPhone"
|
|
|
|
width="200"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'收货电话'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<!-- </el-table-column>-->
|
|
|
|
<!-- <!– <el-table-column–>-->
|
|
|
|
<!-- <!– align="center"–>-->
|
|
|
|
<!-- <!– prop=""–>-->
|
|
|
|
<!-- <!– width="130"–>-->
|
2025-05-26 10:41:35 +08:00
|
|
|
<!-- <!– :label="'收货电话'"–>-->
|
2025-03-23 10:03:12 +08:00
|
|
|
<!-- <!– />–>-->
|
|
|
|
<el-table-column
|
|
|
|
v-if="menuList[6].checked == true"
|
|
|
|
align="center"
|
|
|
|
prop="recProvinceStr"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'省'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
v-if="menuList[7].checked == true"
|
|
|
|
align="center"
|
|
|
|
prop="recCityStr"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'市'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
v-if="menuList[8].checked == true"
|
|
|
|
align="center"
|
|
|
|
prop="recCountyStr"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'区/县'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
v-if="menuList[9].checked == true"
|
|
|
|
align="center"
|
|
|
|
prop="recAddress"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'详细地址'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
align="center"
|
|
|
|
prop=""
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'产品名称'"
|
2025-03-23 10:03:12 +08:00
|
|
|
>
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<div v-for="item in scope.row.itemList">
|
|
|
|
{{ item.productName }}
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column
|
|
|
|
align="center"
|
|
|
|
prop=""
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'产品规格'"
|
2025-03-23 10:03:12 +08:00
|
|
|
>
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<div v-for="item in scope.row.itemList">
|
|
|
|
{{ item.specsName }}
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column
|
|
|
|
align="center"
|
|
|
|
prop=""
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'产品数量'"
|
2025-03-23 10:03:12 +08:00
|
|
|
>
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<div v-for="item in scope.row.itemList">
|
|
|
|
{{ item.quantity }}
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column
|
|
|
|
align="center"
|
|
|
|
prop="prices"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'产品总额' + `(${isLocalSymbol()})`"
|
2025-03-23 10:03:12 +08:00
|
|
|
:formatter="stateFormat"
|
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
align="center"
|
|
|
|
prop="postage"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'订单邮费' + `(${isLocalSymbol()})`"
|
2025-03-23 10:03:12 +08:00
|
|
|
:formatter="stateFormat"
|
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
align="center"
|
|
|
|
prop="orderAmount"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'订单总额' + `(${isLocalSymbol()})`"
|
2025-03-23 10:03:12 +08:00
|
|
|
:formatter="stateFormat"
|
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
v-if="menuList[10].checked == true"
|
|
|
|
align="center"
|
|
|
|
prop="pricesDollar"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'产品总额' + '($)'"
|
2025-03-23 10:03:12 +08:00
|
|
|
:formatter="stateFormat"
|
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
v-if="menuList[11].checked == true"
|
|
|
|
align="center"
|
|
|
|
prop="postageDollar"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'订单邮费' + '($)'"
|
2025-03-23 10:03:12 +08:00
|
|
|
:formatter="stateFormat"
|
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
v-if="menuList[12].checked == true"
|
|
|
|
align="center"
|
|
|
|
prop="orderAmountDollar"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'订单总额' + '($)'"
|
2025-03-23 10:03:12 +08:00
|
|
|
:formatter="stateFormat"
|
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
align="center"
|
|
|
|
prop="orderStatusStr"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'订单状态'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
v-if="menuList[13].checked == true"
|
|
|
|
align="center"
|
|
|
|
prop=""
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'物流公司'"
|
2025-03-23 10:03:12 +08:00
|
|
|
>
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<div v-for="item in scope.row.itemList">
|
|
|
|
{{ item.logisticsCompany }}
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column
|
|
|
|
v-if="menuList[14].checked == true"
|
|
|
|
align="center"
|
|
|
|
prop=""
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'物流单号'"
|
2025-03-23 10:03:12 +08:00
|
|
|
>
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<div v-for="item in scope.row.itemList">
|
|
|
|
{{ item.logisticsCode }}
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column
|
|
|
|
v-if="menuList[15].checked == true"
|
|
|
|
align="center"
|
|
|
|
prop="creationTime"
|
|
|
|
width="200"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'创建日期'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
v-if="menuList[16].checked == true"
|
|
|
|
align="center"
|
|
|
|
prop="payTime"
|
|
|
|
width="200"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'支付日期'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
v-if="menuList[17].checked == true"
|
|
|
|
align="center"
|
|
|
|
prop="deliveryTime"
|
|
|
|
width="200"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'发货日期'"
|
2025-03-23 10:03:12 +08:00
|
|
|
>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column
|
|
|
|
v-if="menuList[18].checked == true"
|
|
|
|
align="center"
|
|
|
|
prop="deliveryWayStr"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'发货方式'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
v-if="menuList[19].checked == true"
|
|
|
|
align="center"
|
|
|
|
prop="operateScopeStr"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'销售方式'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
v-if="menuList[20].checked == true"
|
|
|
|
align="center"
|
|
|
|
prop="tranTypeStr"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'运输方式'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
v-if="menuList[28].checked == true"
|
|
|
|
align="center"
|
|
|
|
prop="preSaleStatusStr"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'预售状态'"
|
2025-03-23 10:03:12 +08:00
|
|
|
>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column
|
|
|
|
v-if="menuList[22].checked == true"
|
|
|
|
align="center"
|
|
|
|
prop="payTypeStr"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'支付方式'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
v-if="menuList[23].checked == true"
|
|
|
|
align="center"
|
|
|
|
prop="cancelOrderTime"
|
|
|
|
width="200"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'撤单日期'"
|
2025-03-23 10:03:12 +08:00
|
|
|
>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column
|
|
|
|
v-if="menuList[24].checked == true"
|
|
|
|
align="center"
|
|
|
|
prop="creatorName"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'撤单人'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
v-if="menuList[21].checked == true"
|
|
|
|
align="center"
|
|
|
|
prop="approvalStatus"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'审核状态'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
v-if="menuList[25].checked == true"
|
|
|
|
align="center"
|
|
|
|
prop="lastInstanceDate"
|
|
|
|
width="200"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'终审日期'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
v-if="menuList[26].checked == true"
|
|
|
|
align="center"
|
|
|
|
prop="lastInstanceApprover"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'终审人'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
v-if="menuList[27].checked == true"
|
|
|
|
align="center"
|
|
|
|
prop="lastInstanceRemark"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'终审意见'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
align="center"
|
|
|
|
prop="lastInstanceStatus"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'终审状态'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
align="center"
|
|
|
|
prop="orderChargeLogSourceStr"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'来源'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<!-- <el-table-column
|
|
|
|
align="center"
|
|
|
|
prop="orderChargeLogSourceStr"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'来源'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
align="center"
|
|
|
|
prop="orderChargeLogSourceStr"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'来源'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
align="center"
|
|
|
|
prop="orderChargeLogSourceStr"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'来源'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
align="center"
|
|
|
|
prop="orderChargeLogSourceStr"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'来源'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
align="center"
|
|
|
|
prop="orderChargeLogSourceStr"
|
|
|
|
width="130"
|
2025-05-26 10:41:35 +08:00
|
|
|
:label="'来源'"
|
2025-03-23 10:03:12 +08:00
|
|
|
/> -->
|
|
|
|
<!-- <el-table-column v-for="item in menuList"-->
|
|
|
|
<!-- :key="item.id"-->
|
|
|
|
<!-- align="center"-->
|
|
|
|
<!-- width="180"-->
|
|
|
|
<!-- :prop="item.prop"-->
|
|
|
|
<!-- v-if="item.checked&&item.id != 0&&item.id < 32"-->
|
|
|
|
<!-- :label="item.text">-->
|
|
|
|
<!-- </el-table-column>-->
|
|
|
|
<!-- <el-table-column align="center"-->
|
|
|
|
<!-- prop="time"-->
|
2025-05-26 10:41:35 +08:00
|
|
|
<!-- :label="'操作'" fixed="right" >-->
|
2025-03-23 10:03:12 +08:00
|
|
|
<!-- <template slot-scope="scope">-->
|
|
|
|
<!-- <el-button @click="toFixed(scope.row.pkId)"-->
|
|
|
|
<!-- type="text"-->
|
|
|
|
<!-- size="small">-->
|
|
|
|
<!-- 修改-->
|
|
|
|
<!-- </el-button>-->
|
|
|
|
<!-- <el-button @click="toFixed(scope.row.pkId)"-->
|
|
|
|
<!-- type="text"-->
|
|
|
|
<!-- size="small">-->
|
|
|
|
<!-- 查看-->
|
|
|
|
<!-- </el-button>-->
|
|
|
|
<!-- <el-button @click="handleDelete(scope.row.pkId)"-->
|
|
|
|
<!-- type="text"-->
|
|
|
|
<!-- size="small"-->
|
|
|
|
<!-- style="color: #c73030">-->
|
|
|
|
<!-- 删除-->
|
|
|
|
<!-- </el-button>-->
|
|
|
|
<!-- </template>-->
|
|
|
|
<!-- </el-table-column>-->
|
|
|
|
</el-table>
|
|
|
|
</div>
|
|
|
|
<!-- <div class="heji">-->
|
|
|
|
<!-- <div-->
|
|
|
|
<!-- v-for="item in menuList"-->
|
|
|
|
<!-- v-if="item.checked && item.id != 0 && item.id > 13"-->
|
|
|
|
<!-- :key="item.id"-->
|
|
|
|
<!-- class="dis"-->
|
|
|
|
<!-- >-->
|
|
|
|
<!-- <div>{{ item.text }}</div>-->
|
|
|
|
<!-- <div>{{ tableData[item.prop] }}</div>-->
|
|
|
|
<!-- </div>-->
|
|
|
|
<!-- </div>-->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<pagination
|
|
|
|
v-show="total > 0"
|
|
|
|
:total="total"
|
|
|
|
:page.sync="queryParams.pageNum"
|
|
|
|
:limit.sync="queryParams.pageSize"
|
|
|
|
@pagination="getDataList"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import topBar from "@/components/topBar";
|
|
|
|
import * as api from "@/api/settle.js";
|
|
|
|
import * as api_s from "@/api/product.js";
|
|
|
|
import * as apis from "@/api/site.js";
|
|
|
|
import * as man from "@/api/manage.js";
|
|
|
|
import { classifyUpdate, classifySave } from "@/api/product";
|
|
|
|
import * as log from "@/api/logistics";
|
|
|
|
import * as del from "@/api/delivery";
|
|
|
|
import { getPlacedeptList } from "@/api/specialBusiness";
|
|
|
|
import { getorderStatus } from "@/api/member";
|
|
|
|
import { isLocals, isLocalSymbol } from "@/utils/numberToCurrency";
|
|
|
|
|
|
|
|
export default {
|
|
|
|
name: "Bzpz",
|
|
|
|
components: {
|
|
|
|
topBar,
|
|
|
|
},
|
|
|
|
filters: {
|
|
|
|
isAgree(val) {
|
|
|
|
if (!val) {
|
|
|
|
return this.$t("ENU_POPUP_TYPE_1");
|
|
|
|
} else {
|
|
|
|
return this.$t("ENU_POPUP_TYPE_2");
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
kdzcList: [
|
|
|
|
// {
|
|
|
|
// value: "1",
|
|
|
|
// label: this.$t('ENU_APPROVE_B_190'),
|
|
|
|
// },
|
|
|
|
// {
|
|
|
|
// value: "0",
|
|
|
|
// label: "实单注册",
|
|
|
|
// },
|
|
|
|
], // 注册类型
|
|
|
|
regionParams: {
|
|
|
|
label: "name",
|
|
|
|
value: "id",
|
|
|
|
children: "children",
|
|
|
|
expandTrigger: "hover",
|
|
|
|
},
|
|
|
|
isActive: false,
|
|
|
|
typeList: [
|
|
|
|
{
|
|
|
|
value: 0,
|
|
|
|
label: this.$t("ENU_NOTICE_WEBSITE_TYPE_1"),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
value: 1,
|
|
|
|
label: this.$t("ENU_NOTICE_WEBSITE_TYPE_2"),
|
|
|
|
},
|
|
|
|
],
|
|
|
|
digList: [
|
|
|
|
{
|
|
|
|
value: 0,
|
|
|
|
label: this.$t("ENU_POPUP_TYPE_1"),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
value: 1,
|
|
|
|
label: this.$t("ENU_POPUP_TYPE_2"),
|
|
|
|
},
|
|
|
|
],
|
|
|
|
menuList: [
|
|
|
|
{
|
|
|
|
id: 0,
|
|
|
|
text: this.$t("MN_F_T_948"),
|
|
|
|
checked: false,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 1,
|
|
|
|
text: this.$t("MN_F_T_1090") + "($)",
|
|
|
|
checked: true,
|
|
|
|
prop: "orderAmountDollar",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 2,
|
|
|
|
text: this.$t("w_0306") + "($)",
|
|
|
|
checked: true,
|
|
|
|
prop: "orderAchieveDollar",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 3,
|
|
|
|
text: this.$t("MN_F_T_829"),
|
|
|
|
checked: true,
|
|
|
|
prop: "vertexName",
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
// id: 4,
|
|
|
|
// text: this.$t("MN_F_T_122"),
|
|
|
|
// checked: true,
|
|
|
|
// prop: "pkTeamName",
|
|
|
|
// },
|
|
|
|
{
|
|
|
|
id: 4,
|
|
|
|
text: this.$t("MY_ORD_10"),
|
|
|
|
checked: true,
|
|
|
|
prop: "recName",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 5,
|
|
|
|
text: this.$t("w_0242"),
|
|
|
|
checked: true,
|
|
|
|
prop: "recPhone",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 6,
|
|
|
|
text: this.$t("MY_ORD_11"),
|
|
|
|
checked: true,
|
|
|
|
prop: "recProvinceStr",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 7,
|
|
|
|
text: this.$t("MY_ORD_12"),
|
|
|
|
checked: true,
|
|
|
|
prop: "recCityStr",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 8,
|
|
|
|
text: this.$t("MY_ORD_13"),
|
|
|
|
checked: true,
|
|
|
|
prop: "recCountyStr",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 9,
|
|
|
|
text: this.$t("S_C_27"),
|
|
|
|
checked: true,
|
|
|
|
prop: "recAddress",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 10,
|
|
|
|
text: this.$t("MN_F_T_1091") + "($)",
|
|
|
|
checked: true,
|
|
|
|
prop: "priceDollar",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 11,
|
|
|
|
text: this.$t("MN_F_T_237") + "($)",
|
|
|
|
checked: true,
|
|
|
|
prop: "postageDollar",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 12,
|
|
|
|
text: this.$t("MN_F_T_1092") + "($)",
|
|
|
|
checked: true,
|
|
|
|
prop: "orderAmountDollar",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 13,
|
|
|
|
text: this.$t("MY_ORD_21"),
|
|
|
|
checked: true,
|
|
|
|
prop: "",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 14,
|
|
|
|
text: this.$t("MN_F_T_226"),
|
|
|
|
checked: true,
|
|
|
|
prop: "",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 15,
|
|
|
|
text: this.$t("PER_DA_9"),
|
|
|
|
checked: true,
|
|
|
|
prop: "creationTime",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 16,
|
|
|
|
text: this.$t("MN_F_T_914"),
|
|
|
|
checked: true,
|
|
|
|
prop: "payTime",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 17,
|
|
|
|
text: this.$t("w_0430"),
|
|
|
|
checked: true,
|
|
|
|
prop: "deliveryTime",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 18,
|
|
|
|
text: this.$t("w_0061"),
|
|
|
|
checked: true,
|
|
|
|
prop: "deliveryWayStr",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 19,
|
|
|
|
text: this.$t("MN_F_T_1103"),
|
|
|
|
checked: true,
|
|
|
|
prop: "operateScopeStr",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 20,
|
|
|
|
text: this.$t("w_0063"),
|
|
|
|
checked: true,
|
|
|
|
prop: "tranTypeStr",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 21,
|
|
|
|
text: this.$t("MN_F_11"),
|
|
|
|
checked: true,
|
|
|
|
prop: "approvalStatus",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 22,
|
|
|
|
text: this.$t("w_0215"),
|
|
|
|
checked: true,
|
|
|
|
prop: "payTypeStr",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 23,
|
|
|
|
text: this.$t("MN_F_Y_2"),
|
|
|
|
checked: true,
|
|
|
|
prop: "cancelOrderTime",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 24,
|
|
|
|
text: this.$t("MN_F_T_1087"),
|
|
|
|
checked: true,
|
|
|
|
prop: "creatorName",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 25,
|
|
|
|
text: this.$t("MN_F_Y_3"),
|
|
|
|
checked: true,
|
|
|
|
prop: "lastInstanceDate",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 26,
|
|
|
|
text: this.$t("MN_F_T_1105"),
|
|
|
|
checked: true,
|
|
|
|
prop: "lastInstanceApprover",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 27,
|
|
|
|
text: this.$t("MN_F_T_1106"),
|
|
|
|
checked: true,
|
|
|
|
prop: "lastInstanceRemark",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 28,
|
|
|
|
text: this.$t("MN_F_T_253"),
|
|
|
|
checked: true,
|
|
|
|
prop: "preSaleStatusStr",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
creationTime: [],
|
|
|
|
creationTime1: [],
|
|
|
|
creationTime2: [],
|
|
|
|
creationTime3: [],
|
|
|
|
select: {},
|
|
|
|
// 查询参数
|
|
|
|
queryParams: {
|
|
|
|
pageNum: 1,
|
|
|
|
pageSize: 50,
|
|
|
|
},
|
|
|
|
addOrEdit: "",
|
|
|
|
total: 0,
|
|
|
|
dialogVisible: false,
|
|
|
|
loading: false,
|
|
|
|
tableData: {
|
|
|
|
censusSummaryList: [],
|
|
|
|
},
|
|
|
|
moren: "removeOrderList",
|
|
|
|
topList: [
|
|
|
|
{
|
|
|
|
name: this.$t("MN_F_T_32"),
|
|
|
|
path: "removeOrderList",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
form: {
|
|
|
|
name: "",
|
|
|
|
},
|
|
|
|
areaData: [],
|
|
|
|
rules: {
|
|
|
|
name: [
|
|
|
|
{ required: true, message: this.$t("MN_F_T_302"), trigger: "blur" },
|
|
|
|
],
|
|
|
|
},
|
|
|
|
shoppingAddress: [],
|
|
|
|
acList: [],
|
|
|
|
verList: [],
|
|
|
|
memberList: [],
|
|
|
|
yieldList: [],
|
|
|
|
yieldStatus: [],
|
|
|
|
countryList: [],
|
|
|
|
orderTypeList: [],
|
|
|
|
cancleTypeList: [],
|
|
|
|
pkMemberTeam: [],
|
|
|
|
pkVertex: [],
|
|
|
|
typeId: "",
|
|
|
|
paywayList: [],
|
|
|
|
presaleStatusList: [],
|
|
|
|
orderStatusList: [],
|
|
|
|
deptList: [],
|
|
|
|
transportTypeList: [],
|
|
|
|
gyList: [],
|
|
|
|
deliveryWayList: [],
|
|
|
|
sourceList: [],
|
|
|
|
};
|
|
|
|
},
|
|
|
|
mounted() {
|
|
|
|
// 获取下拉
|
|
|
|
this.getData();
|
|
|
|
// 获取列表
|
|
|
|
this.getDataList();
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
isLocalSymbol,
|
|
|
|
isLocals,
|
|
|
|
exports() {
|
|
|
|
this.download(
|
|
|
|
"/sale/manage/order-charge-log/export",
|
|
|
|
Object.assign({}, this.queryParams, this.select),
|
|
|
|
`${this.$t("MN_F_T_32")}-${new Date().getTime()}.xlsx`
|
|
|
|
);
|
|
|
|
},
|
|
|
|
handleChange(res) {
|
|
|
|
this.form.recProvince = res[0];
|
|
|
|
this.form.recCity = res[1];
|
|
|
|
this.form.recCounty = res[2];
|
|
|
|
},
|
|
|
|
// 展开折叠
|
|
|
|
changeActive() {
|
|
|
|
this.isActive = !this.isActive;
|
|
|
|
},
|
|
|
|
reset() {
|
|
|
|
this.select = {};
|
|
|
|
this.pkVertex = [];
|
|
|
|
this.pkMemberTeam = [];
|
|
|
|
this.typeId = "";
|
|
|
|
this.creationTime = [];
|
|
|
|
this.creationTime1 = [];
|
|
|
|
this.creationTime2 = [];
|
|
|
|
this.creationTime3 = [];
|
|
|
|
this.getDataList();
|
|
|
|
},
|
|
|
|
getMenu(e, id) {
|
|
|
|
if (e && id == 0) {
|
|
|
|
this.menuList.forEach((item) => {
|
|
|
|
this.$set(item, "checked", true);
|
|
|
|
});
|
|
|
|
} else if (!e && id == 0) {
|
|
|
|
this.menuList.forEach((item) => {
|
|
|
|
this.$set(item, "checked", false);
|
|
|
|
});
|
|
|
|
}
|
|
|
|
},
|
|
|
|
getData() {
|
|
|
|
del.getOrderStatus().then((res) => {
|
|
|
|
this.orderStatusList = res.data;
|
|
|
|
});
|
|
|
|
del.getPresaleStatus().then((res) => {
|
|
|
|
this.presaleStatusList = res.data;
|
|
|
|
});
|
|
|
|
log.getOrderPayType().then((res) => {
|
|
|
|
this.paywayList = res.data;
|
|
|
|
});
|
|
|
|
del.getTransportType().then((res) => {
|
|
|
|
this.transportTypeList = res.data;
|
|
|
|
});
|
|
|
|
api_s.supply_way().then((res) => {
|
|
|
|
this.gyList = res.data;
|
|
|
|
});
|
|
|
|
// 获取隶属体系
|
|
|
|
api.vertexList().then((res) => {
|
|
|
|
this.verList = res.data;
|
|
|
|
});
|
|
|
|
// 获取注册类型
|
|
|
|
getorderStatus().then((res) => {
|
|
|
|
this.kdzcList = res.data;
|
|
|
|
});
|
2025-05-26 10:41:35 +08:00
|
|
|
// 获取:label="'关联部门'"
|
2025-03-23 10:03:12 +08:00
|
|
|
getPlacedeptList().then((res) => {
|
|
|
|
this.deptList = res.data;
|
|
|
|
});
|
|
|
|
// 获取隶属团队
|
|
|
|
api.memberTeam().then((res) => {
|
|
|
|
this.memberList = res.rows;
|
|
|
|
});
|
|
|
|
// 获取收益类型
|
|
|
|
log.getYieldType().then((res) => {
|
|
|
|
this.yieldList = res.rows;
|
|
|
|
});
|
|
|
|
// 获取订单类型
|
|
|
|
log.getOrderType().then((res) => {
|
|
|
|
this.orderTypeList = res.data;
|
|
|
|
});
|
|
|
|
// 获取撤单类型
|
|
|
|
log.getCancleType().then((res) => {
|
|
|
|
this.cancleTypeList = res.data;
|
|
|
|
});
|
|
|
|
del.getDeliveryWayList().then((res) => {
|
|
|
|
this.deliveryWayList = res.data;
|
|
|
|
});
|
|
|
|
apis.areaList().then((res) => {
|
|
|
|
this.areaData = res.data;
|
|
|
|
});
|
|
|
|
man.noticeWebsite().then((res) => {
|
|
|
|
this.sourceList = res.data;
|
|
|
|
});
|
|
|
|
},
|
|
|
|
changeTime(val) {
|
|
|
|
if (!val) {
|
|
|
|
val = ["", ""];
|
|
|
|
}
|
|
|
|
this.select.startCreationTime = val[0] || "";
|
|
|
|
this.select.endCreationTime = val[1] || "";
|
|
|
|
},
|
|
|
|
changeTime1(val) {
|
|
|
|
if (!val) {
|
|
|
|
val = ["", ""];
|
|
|
|
}
|
|
|
|
this.select.startPayTime = val[0] || "";
|
|
|
|
this.select.endPayTime = val[1] || "";
|
|
|
|
},
|
|
|
|
changeTime2(val) {
|
|
|
|
if (!val) {
|
|
|
|
val = ["", ""];
|
|
|
|
}
|
|
|
|
this.select.startLastInstanceDate = val[0] || "";
|
|
|
|
this.select.endLastInstanceDate = val[1] || "";
|
|
|
|
},
|
|
|
|
changeTime3(val) {
|
|
|
|
if (!val) {
|
|
|
|
val = ["", ""];
|
|
|
|
}
|
|
|
|
this.select.startCancelOrderTime = val[0] || "";
|
|
|
|
this.select.endCancelOrderTime = val[1] || "";
|
|
|
|
},
|
|
|
|
// 点击修改
|
|
|
|
toFixed(id) {
|
|
|
|
this.addOrEdit = false;
|
|
|
|
this.dialogVisible = true;
|
|
|
|
this.$router.push({
|
|
|
|
path: "noticeList/details",
|
|
|
|
query: {
|
|
|
|
pkId: id,
|
|
|
|
},
|
|
|
|
});
|
|
|
|
},
|
|
|
|
getSummaries(param) {
|
|
|
|
const { columns, data } = param;
|
|
|
|
const sums = [];
|
|
|
|
columns.forEach((column, index) => {
|
|
|
|
if (index === 0) {
|
|
|
|
sums[index] = "";
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
// 测试提交
|
|
|
|
if (index === 1) {
|
|
|
|
sums[index] = "";
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
const values = data.map((item) => Number(item[column.property]));
|
|
|
|
if (!values.every((value) => isNaN(value))) {
|
|
|
|
sums[index] = values.reduce((prev, curr) => {
|
|
|
|
const value = Number(curr);
|
|
|
|
if (!isNaN(value)) {
|
|
|
|
return;
|
|
|
|
} else {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}, 0);
|
|
|
|
// sums[index] += ' 元'
|
|
|
|
} else {
|
|
|
|
sums[index] = "";
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
return sums;
|
|
|
|
},
|
|
|
|
// 删除
|
|
|
|
handleDelete(id) {
|
|
|
|
this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), {
|
|
|
|
confirmButtonText: this.$t("w_0035"),
|
|
|
|
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
|
|
|
type: "warning",
|
|
|
|
}).then(() => {
|
|
|
|
api.classifyDel(id).then((res) => {
|
|
|
|
this.getDataList();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
onSubmit(formName) {
|
|
|
|
this.$refs[formName].validate((valid) => {
|
|
|
|
if (valid) {
|
|
|
|
let url = "";
|
|
|
|
if (this.addOrEdit == true) {
|
|
|
|
url = classifySave;
|
|
|
|
} else {
|
|
|
|
url = classifyUpdate;
|
|
|
|
}
|
|
|
|
url(this.form).then((res) => {
|
|
|
|
if (res.code == 200) {
|
|
|
|
this.$message({
|
|
|
|
message: res.msg,
|
|
|
|
type: "success",
|
|
|
|
});
|
|
|
|
this.dialogVisible = false;
|
|
|
|
// 充值数据
|
|
|
|
this.$refs[formName].resetFields();
|
|
|
|
// 获取列表
|
|
|
|
this.getDataList();
|
|
|
|
}
|
|
|
|
});
|
|
|
|
} else {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
});
|
|
|
|
},
|
|
|
|
handleClose() {
|
|
|
|
this.dialogVisible = false;
|
|
|
|
this.$refs["form"].clearValidate();
|
|
|
|
this.$refs["form"].resetFields();
|
|
|
|
},
|
|
|
|
openDig() {
|
|
|
|
// 导出撤单列表
|
|
|
|
this.$router.push({
|
|
|
|
path: "noticeList/details",
|
|
|
|
});
|
|
|
|
},
|
|
|
|
getDataList() {
|
|
|
|
this.loading = true;
|
|
|
|
api_s
|
|
|
|
.orderChargeLog(Object.assign({}, this.queryParams, this.select))
|
|
|
|
.then((res) => {
|
|
|
|
res.rows.forEach((element) => {
|
|
|
|
if (element.approvalStatus == 1) {
|
|
|
|
element.approvalStatus = this.$t("ENU_APPROVE_S_3");
|
|
|
|
} else if (element.approvalStatus == 2) {
|
|
|
|
element.approvalStatus = this.$t("ENU_R_A_O_2");
|
|
|
|
} else if (element.approvalStatus == 3) {
|
|
|
|
element.approvalStatus = this.$t("ENU_R_A_O_3");
|
|
|
|
}
|
|
|
|
});
|
|
|
|
this.tableData.censusSummaryList = res.rows;
|
|
|
|
// console.error(this.tableData.censusSummaryList)
|
|
|
|
this.total = res.total;
|
|
|
|
this.loading = false;
|
|
|
|
});
|
|
|
|
},
|
|
|
|
handleSelectionChange(val) {},
|
|
|
|
handleExport() {
|
|
|
|
this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), {
|
|
|
|
confirmButtonText: this.$t("w_0035"),
|
|
|
|
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
|
|
|
type: "warning",
|
|
|
|
}).then((_) => {
|
|
|
|
// this.download(
|
|
|
|
// '/member/manager/trade/export',
|
|
|
|
// Object.assign({}, this.queryParams, this.select),
|
|
|
|
// `撤单列表${new Date().getTime()}.xlsx`
|
|
|
|
// )
|
|
|
|
});
|
|
|
|
},
|
|
|
|
tableRowClassName({ row, rowIndex }) {
|
|
|
|
if (rowIndex % 2 == 1) {
|
|
|
|
return "warning-row";
|
|
|
|
} else if (rowIndex % 2 == 0) {
|
|
|
|
return "success-row";
|
|
|
|
}
|
|
|
|
return "";
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
|
|
::v-deep .el-table__footer {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
::v-deep .el-dropdown-menu {
|
|
|
|
height: 1000px !important;
|
|
|
|
overflow: auto !important;
|
|
|
|
}
|
|
|
|
::v-deep .el-input__inner {
|
|
|
|
//text-align: center;
|
|
|
|
}
|
|
|
|
::v-deep .el-check_s .el-input__inner {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
::v-deep .el-cascader {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
//缩短间隔
|
|
|
|
::v-deep .el-form-item {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
::v-deep .el-table .warning-row {
|
|
|
|
background: #f9f9f9;
|
|
|
|
}
|
|
|
|
|
|
|
|
::v-deep .el-table .success-row {
|
|
|
|
background: #ffffff;
|
|
|
|
}
|
|
|
|
::v-deep .el-table thead {
|
|
|
|
color: #000000;
|
|
|
|
}
|
|
|
|
::v-deep .el-select {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.uploadIcon ::v-deep .el-upload--picture-card {
|
|
|
|
display: none !important; /* 上传按钮隐藏 */
|
|
|
|
}
|
|
|
|
.page {
|
|
|
|
padding: 10px 20px;
|
|
|
|
background: #f9f9f9;
|
|
|
|
font-size: 14px;
|
|
|
|
.main {
|
|
|
|
background: #f9f9f9;
|
|
|
|
//border-radius: 8px;
|
|
|
|
//box-shadow: 0px 2px 20px 0px rgba(238, 238, 238, 0.5);
|
|
|
|
//padding-top: 20px;
|
|
|
|
.maintop {
|
|
|
|
display: flex;
|
|
|
|
//padding: 10px 0;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
.mainbtn {
|
|
|
|
.thebtn1 {
|
|
|
|
background: #3181e5;
|
|
|
|
color: #ffffff;
|
|
|
|
}
|
|
|
|
.thebtn2 {
|
|
|
|
width: 68px;
|
|
|
|
height: 32px;
|
|
|
|
background: #ffad41;
|
|
|
|
color: #ffffff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.maintitle {
|
|
|
|
font-size: 10px;
|
|
|
|
font-family: MicrosoftYaHei;
|
|
|
|
color: #999999;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.tem {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
img {
|
|
|
|
width: 28px;
|
|
|
|
height: 20px;
|
|
|
|
margin-right: 3px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.isRed {
|
|
|
|
color: #ed1d25;
|
|
|
|
}
|
|
|
|
.isGreen {
|
|
|
|
color: #1ab62b;
|
|
|
|
}
|
|
|
|
.bgImg {
|
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.openClose {
|
|
|
|
margin-right: 10px;
|
|
|
|
color: #666666;
|
|
|
|
text-align: center;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
|
|
|
.kuang {
|
|
|
|
padding: 5px 20px;
|
|
|
|
background: rgba(255, 255, 255, 0);
|
|
|
|
border-radius: 4px;
|
|
|
|
border: 1px solid #cccccc;
|
|
|
|
}
|
|
|
|
.heji {
|
|
|
|
margin-top: 10px;
|
|
|
|
.dis {
|
|
|
|
display: flex;
|
|
|
|
justify-content: right;
|
|
|
|
padding: 5px 10px;
|
|
|
|
font-size: 14px;
|
|
|
|
color: #333333;
|
|
|
|
:nth-child(1) {
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: bold;
|
|
|
|
color: #333333;
|
|
|
|
margin-right: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
<style>
|
|
|
|
/* .itemTrading .el-table {
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
.itemTrading .el-table__body-wrapper,
|
|
|
|
.itemTrading .el-table__header-wrapper,
|
|
|
|
.itemTrading .el-table__footer-wrapper {
|
|
|
|
overflow: visible;
|
|
|
|
}
|
|
|
|
.itemTrading .el-table::after {
|
|
|
|
position: relative !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.body-theme-grenn .el-table--scrollable-x .el-table__body-wrapper {
|
|
|
|
overflow: visible;
|
|
|
|
} */
|
|
|
|
</style>
|