feat(bonus): 奖金模块删除无用字段
This commit is contained in:
parent
60979b89ce
commit
7c451fdd18
|
@ -16,7 +16,7 @@ export default {
|
|||
const permissions = buttons || []
|
||||
if (value && value instanceof Array && value.length > 0) {
|
||||
const permissionFlag = value
|
||||
const hasPermissions = permissions.some(permission => {
|
||||
const hasPermissions = permissions?.some(permission => {
|
||||
return all_permission === permission || permissionFlag.includes(permission)
|
||||
})
|
||||
if (!hasPermissions) {
|
||||
|
|
|
@ -93,20 +93,6 @@
|
|||
"navigationBarBackgroundColor": "#fff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/information/dailyApplication/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "日常申请",
|
||||
"navigationBarBackgroundColor": "#fff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/information/dailyApplication/onlineSign",
|
||||
"style": {
|
||||
"navigationBarTitleText": "在线签呈",
|
||||
"navigationBarBackgroundColor": "#fff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/information/cancleProduct/index",
|
||||
"style": {
|
||||
|
|
|
@ -1,481 +0,0 @@
|
|||
<!--
|
||||
* @Descripttion:
|
||||
* @version:
|
||||
* @Author: 王三华
|
||||
* @Date: 2023-10-09 15:37:13
|
||||
-->
|
||||
<template>
|
||||
<view class="content">
|
||||
<view class="header_a">
|
||||
<view class="header">
|
||||
<img @click="isTop = true" src="@/assets/images/search.png" alt="" />
|
||||
<view class="sendSign" v-hasButtons="['DailyZxqc']" @click="sendSign"
|
||||
>发起签呈</view
|
||||
>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zhan"></view>
|
||||
<view class="kuang">
|
||||
<view class="kuang_i" v-for="(item, index) in tableData" :key="index">
|
||||
<view class="tit1">签呈标题:{{ item.approvalBusinessVal }}</view>
|
||||
<view class="tit1">情况说明:{{ item.remark }}</view>
|
||||
|
||||
<u-steps :current="item.approvalIndex" dot class="xian">
|
||||
<u-steps-item
|
||||
v-for="(ctem, cndex) in item.detailList"
|
||||
:key="cndex"
|
||||
:title="ctem.nickName"
|
||||
:desc="ctem.deptName"
|
||||
>
|
||||
</u-steps-item>
|
||||
</u-steps>
|
||||
<view class="kuang_if">
|
||||
<view class="tit1">签呈状态</view>
|
||||
<view :class="item.approveStatus == 0 ? 'tit3' : 'tit2'">{{
|
||||
item.approveStatusVal
|
||||
}}</view>
|
||||
</view>
|
||||
<view class="timeCss">
|
||||
<view>
|
||||
<view class="tit3">创建日期:{{ item.creationTime }}</view>
|
||||
<view class="tit3">终审时间:{{ item.endTime }}</view>
|
||||
</view>
|
||||
<view class="timeCss_r">
|
||||
<u-button
|
||||
size="mini"
|
||||
class="kung_b"
|
||||
type="primary"
|
||||
v-hasButtons="['DailySee']"
|
||||
@click="openSign(item.approvalCode)"
|
||||
:plain="true"
|
||||
text="查看签呈"
|
||||
></u-button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 顶部搜索 -->
|
||||
<u-popup :show="isTop" mode="top" @close="isTop = false">
|
||||
<view class="tt">
|
||||
<u--form
|
||||
labelPosition="left"
|
||||
labelWidth="auto"
|
||||
:model="select"
|
||||
ref="uForm"
|
||||
>
|
||||
<u-row gutter="10">
|
||||
<u-col span="6">
|
||||
<u-form-item label="签呈标题">
|
||||
<u--input
|
||||
fontSize="12"
|
||||
v-model="select.approvalBusinessVal"
|
||||
></u--input>
|
||||
</u-form-item>
|
||||
</u-col>
|
||||
<u-col span="6">
|
||||
<u-form-item :label="'签呈状态'">
|
||||
<picker
|
||||
:range="approveStatusList"
|
||||
range-key="label"
|
||||
@change="bindPickerChange1"
|
||||
>
|
||||
<u--input
|
||||
disabled
|
||||
fontSize="12"
|
||||
disabledColor="#ffffff"
|
||||
v-model="select.approveStatusVal"
|
||||
suffixIcon="arrow-down"
|
||||
suffixIconStyle="font-size: 12px;"
|
||||
></u--input>
|
||||
</picker>
|
||||
</u-form-item>
|
||||
</u-col>
|
||||
</u-row>
|
||||
<u-row gutter="10">
|
||||
<u-col span="12">
|
||||
<u-form-item
|
||||
:label="'创建日期'"
|
||||
@click="(isData = true), (setTime = 0)"
|
||||
>
|
||||
<u--input
|
||||
disabled
|
||||
fontSize="12"
|
||||
disabledColor="#ffffff"
|
||||
v-model="select.creationTimeVal"
|
||||
suffixIcon="arrow-down"
|
||||
suffixIconStyle="font-size: 12px;"
|
||||
></u--input>
|
||||
</u-form-item>
|
||||
</u-col>
|
||||
</u-row>
|
||||
<u-row gutter="10">
|
||||
<u-col span="12">
|
||||
<u-form-item
|
||||
:label="'终审日期'"
|
||||
@click="(isData = true), (setTime = 1)"
|
||||
>
|
||||
<u--input
|
||||
disabled
|
||||
fontSize="12"
|
||||
disabledColor="#ffffff"
|
||||
v-model="select.endTimeVal"
|
||||
suffixIcon="arrow-down"
|
||||
suffixIconStyle="font-size: 12px;"
|
||||
></u--input>
|
||||
</u-form-item>
|
||||
</u-col>
|
||||
</u-row>
|
||||
</u--form>
|
||||
<view class="footer">
|
||||
<u-button
|
||||
@click="getList1"
|
||||
color="#C8161D"
|
||||
text="搜索"
|
||||
class="btnn"
|
||||
></u-button>
|
||||
<u-button @click="reset" text="重置"></u-button>
|
||||
</view>
|
||||
</view>
|
||||
</u-popup>
|
||||
<u-calendar
|
||||
@close="isData = false"
|
||||
:closeOnClickOverlay="true"
|
||||
:show="isData"
|
||||
:allowSameDay="true"
|
||||
mode="range"
|
||||
:maxDate="calendar.maxDate"
|
||||
:minDate="calendar.minDate"
|
||||
:monthNum="calendar.monthNum"
|
||||
@confirm="confirm"
|
||||
></u-calendar>
|
||||
<u-datetime-picker
|
||||
:show="isDataTime"
|
||||
@confirm="getBirth"
|
||||
@cancel="isDataTime = false"
|
||||
:minDate="minDate"
|
||||
:maxDate="todayData"
|
||||
v-model="birthDate"
|
||||
mode="date"
|
||||
></u-datetime-picker>
|
||||
<!-- 悬浮球 -->
|
||||
<drag-button />
|
||||
<export-ball
|
||||
ref="exportBall"
|
||||
v-hasButtons="['DailyExport']"
|
||||
@handleExport="handleExport"
|
||||
/>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import * as api from "@/api/manage.js";
|
||||
import { isLocals, isLocalSymbol } from "@/util/numberToCurrency";
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
select: {},
|
||||
isTop: false,
|
||||
isData: false,
|
||||
isDataTime: false,
|
||||
total: 0,
|
||||
queryParams: {
|
||||
pageNum: 1,
|
||||
pageSize: 20,
|
||||
},
|
||||
tableData: [],
|
||||
approveStatusList: [],
|
||||
calendar: {
|
||||
minDate: "",
|
||||
maxDate: "",
|
||||
monthNum: 25,
|
||||
},
|
||||
minDate: "",
|
||||
todayData: "",
|
||||
birthDate: "",
|
||||
};
|
||||
},
|
||||
onLoad(options) {
|
||||
// 获取下拉
|
||||
this.getData();
|
||||
this.chooseTimed();
|
||||
this.todayData = Date.now();
|
||||
this.minDate = Number(new Date("1950-01-01"));
|
||||
},
|
||||
onShow() {
|
||||
this.queryParams.pageNum = 1;
|
||||
this.tableData = []
|
||||
this.getDataList();
|
||||
},
|
||||
methods: {
|
||||
isLocalSymbol,
|
||||
isLocals,
|
||||
// 设置默认日期,最大值为今天,最小值为去年今天
|
||||
chooseTimed() {
|
||||
let date = new Date();
|
||||
let year = date.getFullYear();
|
||||
let month = date.getMonth() + 1;
|
||||
let day = date.getDate();
|
||||
if (month <= 9) {
|
||||
month = "0" + month;
|
||||
}
|
||||
if (day <= 9) {
|
||||
day = "0" + day;
|
||||
}
|
||||
let minyear = year - 1;
|
||||
let maxyear = year + 1;
|
||||
this.calendar.minDate = minyear + "-" + month + "-" + day;
|
||||
this.calendar.maxDate = maxyear + "-" + month + "-" + day;
|
||||
},
|
||||
getDataList() {
|
||||
api
|
||||
.customList(Object.assign({}, this.queryParams, this.select))
|
||||
.then((res) => {
|
||||
this.tableData = this.tableData.concat(res.rows);
|
||||
this.tableData.forEach((item) => {
|
||||
if (item.approveStatus == 4 || item.approveStatus == 5) {
|
||||
item.approvalIndex = item.detailList.length - 1;
|
||||
}
|
||||
});
|
||||
this.total = res.total;
|
||||
});
|
||||
},
|
||||
getData() {
|
||||
api.approvalStatus().then((res) => {
|
||||
this.approveStatusList = res.data;
|
||||
});
|
||||
},
|
||||
|
||||
getBirth(e) {
|
||||
this.select.birthDate = this.$moment(e.value).format("YYYY-MM-DD");
|
||||
this.isDataTime = false;
|
||||
},
|
||||
onReachBottom() {
|
||||
this.queryParams.pageNum++;
|
||||
this.getDataList();
|
||||
},
|
||||
getList1() {
|
||||
this.tableData = [];
|
||||
this.queryParams.pageNum = 1;
|
||||
this.isTop = false;
|
||||
this.getDataList();
|
||||
},
|
||||
openSign(id) {
|
||||
uni.navigateTo({
|
||||
url: "/pages/index/onlineSign?id=" + id + "&index=" + 1,
|
||||
});
|
||||
},
|
||||
sendSign() {
|
||||
uni.navigateTo({
|
||||
url: "/pages/information/dailyApplication/onlineSign",
|
||||
});
|
||||
},
|
||||
reset() {
|
||||
this.select = {};
|
||||
},
|
||||
handleExport() {
|
||||
let url = "/system/manage/approval-business/custom-export";
|
||||
let obj = Object.assign({}, this.select, this.queryParams);
|
||||
this.$refs.exportBall.handleExport(
|
||||
url,
|
||||
obj,
|
||||
`日常申请${new Date().getTime()}`
|
||||
);
|
||||
},
|
||||
bindPickerChange1(e) {
|
||||
this.$set(
|
||||
this.select,
|
||||
"approveStatusVal",
|
||||
this.approveStatusList[e.detail.value].label
|
||||
);
|
||||
this.$set(
|
||||
this.select,
|
||||
"approveStatus",
|
||||
this.approveStatusList[e.detail.value].value
|
||||
);
|
||||
},
|
||||
|
||||
confirm(e) {
|
||||
if (this.setTime == 0) {
|
||||
this.$set(this.select, "creationTime", [e[0], e[e.length - 1]]);
|
||||
this.$set(
|
||||
this.select,
|
||||
"creationTimeVal",
|
||||
e[0] + " 至 " + e[e.length - 1]
|
||||
);
|
||||
} else if (this.setTime == 1) {
|
||||
this.$set(this.select, "endTime", [e[0], e[e.length - 1]]);
|
||||
this.$set(this.select, "endTimeVal", e[0] + " 至 " + e[e.length - 1]);
|
||||
}
|
||||
this.isData = false;
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.content {
|
||||
background: #f9f9f9;
|
||||
// padding: 20rpx;
|
||||
}
|
||||
.header_a {
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
z-index: 10;
|
||||
}
|
||||
.header {
|
||||
margin: 20rpx;
|
||||
background: #ffffff;
|
||||
box-shadow: 0px 2px 10px 0px rgba(204, 204, 204, 0.4);
|
||||
border-radius: 10px 10px 10px 10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 30rpx 40rpx;
|
||||
img {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
}
|
||||
.sendSign {
|
||||
font-size: 14px;
|
||||
}
|
||||
.zhan {
|
||||
height: 130rpx;
|
||||
}
|
||||
.kuang {
|
||||
background: #ffffff;
|
||||
padding: 14rpx 22rpx;
|
||||
box-shadow: 0px 2px 10px 0px rgba(204, 204, 204, 0.4);
|
||||
border-radius: 10px 10px 10px 10px;
|
||||
margin: 20rpx 24rpx;
|
||||
.kuang_t {
|
||||
font-size: 12px;
|
||||
font-family: PingFang SC-Semibold, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #999;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
view {
|
||||
padding-bottom: 4rpx;
|
||||
}
|
||||
.old {
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
.act {
|
||||
margin-right: 20rpx;
|
||||
font-size: 14px;
|
||||
font-family: PingFang SC-Semibold, PingFang SC;
|
||||
font-weight: 600;
|
||||
color: #333333;
|
||||
border-bottom: 4rpx solid #1678ff;
|
||||
}
|
||||
}
|
||||
.kuang_i {
|
||||
border-bottom: 2rpx solid rgba(0, 0, 0, 0.05);
|
||||
padding: 20rpx 0 40rpx 0;
|
||||
// border: 1px solid rgba(0,0,0,0.05);
|
||||
.xian {
|
||||
margin: 20rpx 0;
|
||||
}
|
||||
.kuang_if {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.tit1 {
|
||||
font-size: 12px;
|
||||
font-family: PingFang SC-Medium, PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #333333;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.tit2 {
|
||||
font-size: 12px;
|
||||
font-family: PingFang SC-Regular, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #ed1d25;
|
||||
}
|
||||
.tit3 {
|
||||
font-size: 10px;
|
||||
font-family: PingFang SC-Regular, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #999999;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
}
|
||||
.timeCss {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.timeCss_r {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.kung_b {
|
||||
margin-left: 10rpx;
|
||||
width: 140rpx;
|
||||
// margin-top: 10rpx;
|
||||
}
|
||||
}
|
||||
.tt {
|
||||
padding: 20rpx;
|
||||
margin-top: 40px;
|
||||
}
|
||||
.tftable {
|
||||
font-size: 12px;
|
||||
border-collapse: collapse;
|
||||
border-radius: 10px;
|
||||
width: 100%;
|
||||
background: #fff;
|
||||
border: 1px solid #f9f9f9;
|
||||
// margin-top: 20rpx;
|
||||
// border-right:1px solid #ccc;border-bottom:1px solid #F00;
|
||||
outline: none;
|
||||
td {
|
||||
font-size: 11px;
|
||||
font-family: PingFang SC-Medium, PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #999;
|
||||
padding: 20rpx 40rpx;
|
||||
width: 50%;
|
||||
// height: 60px;
|
||||
border-left: 1px solid #333;
|
||||
border-bottom: 1px solid #333;
|
||||
}
|
||||
td:nth-child(odd) {
|
||||
border-left: 1px solid #f9f9f9;
|
||||
}
|
||||
tr :nth-child(2) {
|
||||
color: #333333;
|
||||
}
|
||||
}
|
||||
.che {
|
||||
padding: 20rpx 40rpx;
|
||||
}
|
||||
.tt {
|
||||
padding: 20rpx;
|
||||
margin-top: 40px;
|
||||
}
|
||||
::v-deep .u-transition {
|
||||
z-index: 998 !important;
|
||||
}
|
||||
.footer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 20rpx 60rpx;
|
||||
.btnn {
|
||||
margin-right: 40rpx;
|
||||
}
|
||||
}
|
||||
::v-deep .u-input {
|
||||
padding: 0 9px !important;
|
||||
}
|
||||
::v-deep .u-form-item__body__left__content__label {
|
||||
font-size: 12px;
|
||||
}
|
||||
::v-deep .u-form-item__body {
|
||||
padding: 5px 0;
|
||||
}
|
||||
</style>
|
|
@ -1,535 +0,0 @@
|
|||
<!--
|
||||
* @Descripttion:
|
||||
* @version:
|
||||
* @Author: 王三华
|
||||
* @Date: 2023-10-18 09:55:41
|
||||
-->
|
||||
<!--
|
||||
* @Descripttion:
|
||||
* @version:
|
||||
* @Author: 王三华
|
||||
* @Date: 2023-10-11 10:12:16
|
||||
-->
|
||||
<template>
|
||||
<view class="contain">
|
||||
<view class="kuang">
|
||||
<table class="tftable" border="1">
|
||||
<tr>
|
||||
<td colspan="4">
|
||||
<view class="tab_t">
|
||||
<view>{{ '编号' }} :</view>
|
||||
<view>
|
||||
<u-radio-group v-model="allData.signType" placement="row">
|
||||
<u-radio
|
||||
:customStyle="{ marginRight: '10rpx' }"
|
||||
v-for="(item, index) in checkList"
|
||||
:key="index"
|
||||
:label="item.label"
|
||||
:name="item.value"
|
||||
>
|
||||
</u-radio>
|
||||
</u-radio-group>
|
||||
</view>
|
||||
</view>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" width="20%">{{ '发起部门' }}</td>
|
||||
<td align="center" width="30%">{{ allData.signData.deptName }}</td>
|
||||
<td align="center" width="20%">{{ '发起人' }}</td>
|
||||
<td align="center" width="30%">{{ allData.signData.userName }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" width="20%">{{ '主旨' }}</td>
|
||||
<td align="center" width="30%">
|
||||
<view class="remark">
|
||||
<u--textarea
|
||||
v-model="allData.signData.approvalBusinessVal"
|
||||
></u--textarea>
|
||||
</view>
|
||||
</td>
|
||||
<td align="center" width="20%">{{ '日期' }}</td>
|
||||
<td align="center" width="30%">
|
||||
{{ allData.signData.creationTime }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" width="20%">{{ '审批流程' }}</td>
|
||||
<td colspan="3">
|
||||
<view class="disFlex">
|
||||
<view
|
||||
v-for="(ctem, cndex) in allData.signData.detailList"
|
||||
:key="cndex"
|
||||
class="disFlex_i"
|
||||
>
|
||||
<picker
|
||||
:range="approbalList"
|
||||
range-key="nickName"
|
||||
@change="bindPickerChange1($event, cndex)"
|
||||
>
|
||||
<u--input
|
||||
fontSize="12"
|
||||
disabled
|
||||
disabledColor="#ffffff"
|
||||
v-model="ctem.pkApproverVal"
|
||||
suffixIcon="arrow-down"
|
||||
suffixIconStyle="font-size: 12px;"
|
||||
></u--input>
|
||||
</picker>
|
||||
</view>
|
||||
<view class="disFlex1">
|
||||
<u-icon
|
||||
@click="delData"
|
||||
v-show="allData.signData.detailList.length > 0"
|
||||
name="minus-circle"
|
||||
size="18"
|
||||
></u-icon>
|
||||
<u-icon @click="addData" name="plus-circle" size="18"></u-icon>
|
||||
</view>
|
||||
</view>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" width="20%">{{ '抄送人' }}</td>
|
||||
<td colspan="3">
|
||||
<view class="disFlex">
|
||||
<view
|
||||
v-for="(ctem, cndex) in allData.signData.sendList"
|
||||
:key="cndex"
|
||||
class="disFlex_i"
|
||||
>
|
||||
<picker
|
||||
:range="userAllList"
|
||||
range-key="nickName"
|
||||
@change="bindPickerChange2($event, cndex)"
|
||||
>
|
||||
<u--input
|
||||
fontSize="12"
|
||||
disabled
|
||||
disabledColor="#ffffff"
|
||||
v-model="ctem.pkSendVal"
|
||||
suffixIcon="arrow-down"
|
||||
suffixIconStyle="font-size: 12px;"
|
||||
></u--input>
|
||||
</picker>
|
||||
</view>
|
||||
<view class="disFlex1">
|
||||
<u-icon
|
||||
@click="delData1"
|
||||
v-show="allData.signData.sendList.length > 0"
|
||||
name="minus-circle"
|
||||
size="18"
|
||||
></u-icon>
|
||||
<u-icon @click="addData1" name="plus-circle" size="18"></u-icon>
|
||||
</view>
|
||||
</view>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" width="20%">{{ '情况说明' }}</td>
|
||||
<td colspan="3">
|
||||
<view class="remark">
|
||||
<u--textarea
|
||||
v-model="allData.remark"
|
||||
:placeholder="'请输入'"
|
||||
></u--textarea>
|
||||
</view>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" width="20%">{{ '附件' }}</td>
|
||||
<td colspan="3">
|
||||
<view class="remark">
|
||||
<u-upload
|
||||
:fileList="fileList"
|
||||
@afterRead="afterRead"
|
||||
@delete="deletePic"
|
||||
name="1"
|
||||
multiple
|
||||
></u-upload>
|
||||
</view>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</view>
|
||||
<view class="zhan"></view>
|
||||
<view class="footer_a">
|
||||
<view class="footer">
|
||||
<u-button @click="cancelCz" color="#CCCCCC" text="取消"></u-button>
|
||||
<u-button
|
||||
@click="saveDate"
|
||||
color="#70BEFE"
|
||||
text="确认"
|
||||
class="btnn"
|
||||
></u-button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import * as api from "@/api/manage";
|
||||
import onlineSign from "@/assets/onlineSign.json";
|
||||
import { getToken } from "@/config/auth.js";
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
headers: {
|
||||
Authorization: getToken(),
|
||||
},
|
||||
uploadImgUrl: process.env.VUE_APP_BASE_API + "/system/upload", // 上传的图片服务器地址
|
||||
allData: {
|
||||
remark: "",
|
||||
signType: 1,
|
||||
fileList: [],
|
||||
signData: {
|
||||
detailList: [],
|
||||
},
|
||||
approvalBusiness: "",
|
||||
},
|
||||
onlineSign,
|
||||
approbalList: [],
|
||||
userAllList: [],
|
||||
checkList: [],
|
||||
fileList: [],
|
||||
};
|
||||
},
|
||||
onLoad(options) {
|
||||
this.allData.signData = {
|
||||
detailList: [],
|
||||
sendList: [],
|
||||
};
|
||||
this.getSignData([0]);
|
||||
},
|
||||
methods: {
|
||||
getSignData(arr) {
|
||||
api.signData(arr).then((res) => {
|
||||
this.allData.signData = res.data[0];
|
||||
// 签呈表头数据添加到数组
|
||||
this.$set(this.allData, "signType", 1);
|
||||
this.$set(this.allData, "remark", "");
|
||||
this.$set(this.allData, "fileList", []);
|
||||
this.allData.signData.detailList.forEach((item) => {
|
||||
item.pkApproverVal = item.approver + "(" + item.approverDept + ")";
|
||||
});
|
||||
this.allData.signData.sendList.forEach((item) => {
|
||||
item.pkSendVal = item.send + "(" + item.sendDept + ")";
|
||||
});
|
||||
|
||||
this.$forceUpdate();
|
||||
this.getApprove();
|
||||
this.getSignType();
|
||||
});
|
||||
},
|
||||
getApprove() {
|
||||
// 审批人
|
||||
api.approvalUser().then((res) => {
|
||||
this.approbalList = res.data;
|
||||
});
|
||||
// 抄送人
|
||||
api.userAll().then((res) => {
|
||||
this.userAllList = res.data;
|
||||
});
|
||||
},
|
||||
// 签呈类型
|
||||
getSignType() {
|
||||
api.signType().then((res) => {
|
||||
this.checkList = res.data;
|
||||
});
|
||||
},
|
||||
saveDate() {
|
||||
this.allData.userIdList = this.allData.signData.detailList.map((item) => {
|
||||
return item.pkApprover;
|
||||
});
|
||||
this.allData.userIdList = this.allData.userIdList.filter((item) => item);
|
||||
// 抄送流程
|
||||
this.allData.sendIdList = this.allData.signData.sendList.map((item) => {
|
||||
return item.pkSend;
|
||||
});
|
||||
this.allData.sendIdList = this.allData.sendIdList.filter((item) => item);
|
||||
this.allData.fileList = this.fileList.map((item) => {
|
||||
return item.url;
|
||||
});
|
||||
if (this.allData.signData.approvalBusinessVal == "") {
|
||||
uni.showToast({
|
||||
title: "请输入主旨",
|
||||
icon: 'none',
|
||||
});
|
||||
return false;
|
||||
}
|
||||
if (this.allData.userIdList.length == 0) {
|
||||
uni.showToast({
|
||||
title: "请选择审批流程",
|
||||
icon: 'none',
|
||||
});
|
||||
return false;
|
||||
}
|
||||
if (this.allData.sendIdList.length == 0) {
|
||||
uni.showToast({
|
||||
title: "请选择抄送人",
|
||||
icon: 'none',
|
||||
});
|
||||
return false;
|
||||
}
|
||||
let obj = {
|
||||
signType: this.allData.signType,
|
||||
remark: this.allData.remark,
|
||||
fileList: this.allData.fileList,
|
||||
userIdList: this.allData.userIdList,
|
||||
approvalBusinessVal: this.allData.signData.approvalBusinessVal,
|
||||
sendIdList: this.allData.sendIdList,
|
||||
};
|
||||
api.submitCustom(obj).then((res) => {
|
||||
if (res.code == 200) {
|
||||
uni.showToast({
|
||||
title: res.msg,
|
||||
icon: "none",
|
||||
duration: 1500,
|
||||
});
|
||||
this.cancelCz();
|
||||
}
|
||||
});
|
||||
},
|
||||
cancelCz() {
|
||||
setTimeout(() => {
|
||||
uni.navigateBack({ delta: 2 });
|
||||
}, 1500);
|
||||
},
|
||||
// 审批流
|
||||
bindPickerChange1(e, index) {
|
||||
this.$set(
|
||||
this.allData.signData.detailList[index],
|
||||
"pkApproverVal",
|
||||
this.approbalList[e.detail.value].nickName +
|
||||
"(" +
|
||||
this.approbalList[e.detail.value].deptName +
|
||||
")"
|
||||
);
|
||||
this.$set(
|
||||
this.allData.signData.detailList[index],
|
||||
"pkApprover",
|
||||
this.approbalList[e.detail.value].userId
|
||||
);
|
||||
this.$forceUpdate();
|
||||
},
|
||||
// 抄送人
|
||||
bindPickerChange2(e, index) {
|
||||
this.$set(
|
||||
this.allData.signData.sendList[index],
|
||||
"pkSendVal",
|
||||
this.userAllList[e.detail.value].nickName +
|
||||
"(" +
|
||||
this.userAllList[e.detail.value].deptName +
|
||||
")"
|
||||
);
|
||||
this.$set(
|
||||
this.allData.signData.sendList[index],
|
||||
"pkSend",
|
||||
this.userAllList[e.detail.value].userId
|
||||
);
|
||||
this.$forceUpdate();
|
||||
},
|
||||
addData() {
|
||||
let arr = JSON.parse(JSON.stringify(this.allData.signData.detailList));
|
||||
arr.push({
|
||||
pkApprover: "",
|
||||
});
|
||||
this.$set(this.allData.signData, "detailList", arr);
|
||||
this.$forceUpdate();
|
||||
},
|
||||
delData() {
|
||||
this.allData.signData.detailList.pop();
|
||||
this.$forceUpdate();
|
||||
},
|
||||
// 抄送
|
||||
addData1() {
|
||||
let arr = JSON.parse(JSON.stringify(this.allData.signData.sendList));
|
||||
arr.push({
|
||||
pkSend: "",
|
||||
});
|
||||
this.$set(this.allData.signData, "sendList", arr);
|
||||
this.$forceUpdate();
|
||||
},
|
||||
delData1() {
|
||||
this.allData.signData.sendList.pop();
|
||||
this.$forceUpdate();
|
||||
},
|
||||
// 删除图片
|
||||
deletePic(event) {
|
||||
this.fileList.splice(event.index, 1);
|
||||
},
|
||||
// 新增图片
|
||||
async afterRead(event) {
|
||||
// 当设置 multiple 为 true 时, file 为数组格式,否则为对象格式
|
||||
let lists = [].concat(event.file);
|
||||
let fileListLen = this.fileList.length;
|
||||
lists.map((item) => {
|
||||
this.fileList.push({
|
||||
...item,
|
||||
status: "uploading",
|
||||
message: "上传中",
|
||||
});
|
||||
});
|
||||
for (let i = 0; i < lists.length; i++) {
|
||||
const result = await this.uploadFilePromise(lists[i].url);
|
||||
let item = this.fileList[fileListLen];
|
||||
this.fileList.splice(
|
||||
fileListLen,
|
||||
1,
|
||||
Object.assign(item, {
|
||||
status: "success",
|
||||
message: "",
|
||||
url: result.data.url,
|
||||
})
|
||||
);
|
||||
fileListLen++;
|
||||
}
|
||||
},
|
||||
uploadFilePromise(url) {
|
||||
return new Promise((resolve, reject) => {
|
||||
let a = uni.uploadFile({
|
||||
url: this.uploadImgUrl, // 仅为示例,非真实的接口地址
|
||||
filePath: url,
|
||||
name: "file",
|
||||
header: this.headers,
|
||||
formData: {
|
||||
user: "test",
|
||||
},
|
||||
success: (res) => {
|
||||
setTimeout(() => {
|
||||
resolve(JSON.parse(res.data));
|
||||
}, 1000);
|
||||
},
|
||||
});
|
||||
});
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.contain {
|
||||
// background: #f9f9f9;
|
||||
}
|
||||
.kuang {
|
||||
padding: 20rpx 24rpx;
|
||||
background: #f9f9f9;
|
||||
box-shadow: 0px 2px 10px 0px rgba(204, 204, 204, 0.4);
|
||||
border-radius: 10px 10px 10px 10px;
|
||||
}
|
||||
.tftable {
|
||||
font-size: 12px;
|
||||
border-collapse: collapse;
|
||||
border-radius: 10px;
|
||||
width: 100%;
|
||||
background: #fff;
|
||||
border: 1px solid #f9f9f9;
|
||||
tr td {
|
||||
font-size: 11px;
|
||||
font-family: PingFang SC-Medium, PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #333333;
|
||||
padding: 30rpx 0px;
|
||||
border: 1px solid #333;
|
||||
|
||||
// height: 60px;
|
||||
}
|
||||
}
|
||||
.tab_t {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 0 20rpx;
|
||||
}
|
||||
::v-deep .u-radio__text {
|
||||
font-size: 11px !important;
|
||||
font-family: PingFang SC-Medium, PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #333333;
|
||||
}
|
||||
.bigk {
|
||||
margin-left: 20rpx;
|
||||
}
|
||||
.hui {
|
||||
font-size: 11px;
|
||||
font-family: PingFang SC-Medium, PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #999999;
|
||||
margin-bottom: 10rpx;
|
||||
}
|
||||
.hei {
|
||||
margin-bottom: 10rpx;
|
||||
}
|
||||
.fj {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-left: 20rpx;
|
||||
img {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
border-radius: 10px 10px 10px 10px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
}
|
||||
.spbox {
|
||||
// display: flex;
|
||||
// align-items: center;
|
||||
// justify-content: flex-end;
|
||||
// flex-wrap: wrap;
|
||||
// justify-content: space-between;
|
||||
// margin-top: 20px;
|
||||
}
|
||||
.spbox1 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
// justify-content: space-between;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
.zhan {
|
||||
height: 150rpx;
|
||||
}
|
||||
.footer_a {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
// height: 83px;
|
||||
padding: 30rpx 0;
|
||||
background: #ffffff;
|
||||
box-shadow: 0px 2px 10px 0px rgba(204, 204, 204, 0.4);
|
||||
}
|
||||
.footer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0 60rpx;
|
||||
.btnn {
|
||||
margin-left: 40rpx;
|
||||
}
|
||||
}
|
||||
.disFlex {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
padding: 0 20rpx;
|
||||
}
|
||||
.disFlex_i {
|
||||
margin-bottom: 10rpx;
|
||||
}
|
||||
.disFlex1 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 10rpx;
|
||||
}
|
||||
::v-deep .u-input {
|
||||
padding: 0 9px !important;
|
||||
}
|
||||
::v-deep .u-form-item__body__left__content__label {
|
||||
font-size: 12px;
|
||||
}
|
||||
::v-deep .u-form-item__body {
|
||||
padding: 5px 0;
|
||||
}
|
||||
.remark {
|
||||
padding: 0 20rpx;
|
||||
}
|
||||
</style>
|
|
@ -51,229 +51,93 @@
|
|||
<td align="right">{{ '直推收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.directIncomeOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[1].checked==true &&allTxt.directIncome">
|
||||
<td align="right">{{ '直推收益' }}($)</td>
|
||||
<td align="left">{{ item.directIncome }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.expandIncomeOri">
|
||||
<td align="right">{{ '拓展收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.expandIncomeOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[2].checked==true &&allTxt.expandIncome">
|
||||
<td align="right">{{ '拓展收益' }}($)</td>
|
||||
<td align="left">{{ item.expandIncome }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.coachIncomeOri">
|
||||
<td align="right">{{ '辅导收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.coachIncomeOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[3].checked==true&&allTxt.coachIncome">
|
||||
<td align="right">{{ '辅导收益' }}($)</td>
|
||||
<td align="left">{{ item.coachIncome }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.shareIncomeOri">
|
||||
<td align="right">{{ '分红收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.shareIncomeOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[4].checked==true &&allTxt.shareIncome">
|
||||
<td align="right">{{ '分红收益' }}($)</td>
|
||||
<td align="left">{{ item.shareIncome }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.serviceIncomeOri">
|
||||
<td align="right">{{ '报单收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.serviceIncomeOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[5].checked==true &&allTxt.serviceIncome">
|
||||
<td align="right">{{ '服务收益' }}($)</td>
|
||||
<td align="left">{{ item.serviceIncome }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.cloudDirectIncomeOri">
|
||||
<td align="right">{{ '云代直推收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.cloudDirectIncomeOri }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="menuList[6].checked==true &&allTxt.cloudDirectIncome">
|
||||
<td align="right">{{ '云代直推收益' }}($)</td>
|
||||
<td align="left">{{ item.cloudDirectIncome }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.cloudPurIncomeOri">
|
||||
<td align="right">{{ '云代首购收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.cloudPurIncomeOri }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="menuList[7].checked==true &&allTxt.cloudPurIncome">
|
||||
<td align="right">{{ '云代首购收益' }}($)</td>
|
||||
<td align="left">{{ item.cloudPurIncome }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.cloudRepurIncomeOri">
|
||||
<td align="right">{{ '云代复购收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.cloudRepurIncomeOri }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="menuList[8].checked==true &&allTxt.cloudRepurIncome">
|
||||
<td align="right">{{ '云代复购收益' }}($)</td>
|
||||
<td align="left">{{ item.cloudRepurIncome }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.repurPushIncomeOri">
|
||||
<td align="right">{{ '复购推荐收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.repurPushIncomeOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.repurPushIncome">
|
||||
<td align="right">{{ '复购推荐收益' }}($)</td>
|
||||
<td align="left">{{ item.repurPushIncome }}</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr v-if="allTxt.repurRangeIncomeOri">
|
||||
<td align="right">{{ '复购级差收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.repurRangeIncomeOri }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="menuList[9].checked==true &&allTxt.repurRangeIncome">
|
||||
<td align="right">{{ '复购级差收益' }}($)</td>
|
||||
<td align="left">{{ item.repurRangeIncome }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.repurExpandIncomeOri">
|
||||
<td align="right">{{ '复购拓展收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.repurExpandIncomeOri }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="menuList[10].checked==true &&allTxt.repurExpandIncome">
|
||||
<td align="right">{{ '复购拓展收益' }}($)</td>
|
||||
<td align="left">{{ item.repurExpandIncome }}</td>
|
||||
|
||||
<tr v-if="allTxt.repurCoachIncome">
|
||||
<td align="right">{{ '复购辅导收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.repurCoachIncome }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.repurCouponOri">
|
||||
<td align="right">{{ '复购券' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.repurCouponOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[11].checked==true &&allTxt.repurCoupon">
|
||||
<td align="right">{{ '复购券' }}($)</td>
|
||||
<td align="left">{{ item.repurCoupon }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.repurCouponShareOri">
|
||||
<td align="right">{{ '复购券均分' }}</td>
|
||||
<td align="left">{{ item.repurCouponShareOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.repurCouponShare">
|
||||
<td align="right">{{ '复购券均分' }}($)</td>
|
||||
<td align="left">{{ item.repurCouponShare }}</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr v-if="allTxt.backPointsOri">
|
||||
<td align="right">{{ '商城重消' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.backPointsOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[12].checked==true &&allTxt.backPoints">
|
||||
<td align="right">{{ '商城重消' }}($)</td>
|
||||
<td align="left">{{ item.backPoints }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.serviceSpendOri">
|
||||
<td align="right">{{ '平台服务费' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.serviceSpendOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.serviceSpend">
|
||||
<td align="right">{{ '平台服务费' }}($)</td>
|
||||
<td align="left">{{ item.serviceSpend }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.globalPointsOri">
|
||||
<td align="right">{{ '环球积分' }}</td>
|
||||
<td align="right">直推级差({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.globalPointsOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.globalPoints">
|
||||
<td align="right">{{ '环球积分' }}($)</td>
|
||||
<td align="left">{{ item.globalPoints }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.carAwardPointsOri">
|
||||
<td align="right">{{ '车奖积分' }}</td>
|
||||
<td align="left">{{ item.carAwardPointsOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.carAwardPoints">
|
||||
<td align="right">{{ '车奖积分' }}($)</td>
|
||||
<td align="left">{{ item.carAwardPoints }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.storeIncomeOri">
|
||||
<td align="right">{{ '店铺收益' }}</td>
|
||||
<td align="left">{{ item.storeIncomeOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.storeIncome">
|
||||
<td align="right">{{ '店铺收益' }}($)</td>
|
||||
<td align="left">{{ item.storeIncome }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.hiFunIncomeOri">
|
||||
<td align="right">{{ '嗨粉推荐收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.hiFunIncomeOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.hiFunIncome">
|
||||
<td align="right">{{ '嗨粉推荐收益' }}($)</td>
|
||||
<td align="left">{{ item.hiFunIncome }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.makerDirectIncomeOri">
|
||||
<td align="right">{{ '创客空间直推收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.makerDirectIncomeOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.makerDirectIncome">
|
||||
<td align="right">{{ '创客空间直推收益' }}($)</td>
|
||||
<td align="left">{{ item.makerDirectIncome }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.makerShareIncomeOri">
|
||||
<td align="right">{{ '创客共享收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.makerShareIncomeOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.makerShareIncome">
|
||||
<td align="right">{{ '创客共享收益' }}($)</td>
|
||||
<td align="left">{{ item.makerShareIncome }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.purRealSubtotalOri">
|
||||
<td align="right">{{ '首购实发小计' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.purRealSubtotalOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[14].checked==true &&allTxt.purRealSubtotal">
|
||||
<td align="right">{{ '首购实发小计' }}($)</td>
|
||||
<td align="left">{{ item.purRealSubtotal }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.cloudRealSubtotalOri">
|
||||
<td align="right">{{ '云代实发小计' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.cloudRealSubtotalOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[15].checked==true &&allTxt.cloudRealSubtotal">
|
||||
<td align="right">{{ '云代实发小计' }}($)</td>
|
||||
<td align="left">{{ item.cloudRealSubtotal }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.repurRealSubtotalOri">
|
||||
<td align="right">{{ '复购实发小计' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.repurRealSubtotalOri }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="menuList[16].checked==true &&allTxt.repurRealSubtotal">
|
||||
<td align="right">{{ '复购实发小计' }}($)</td>
|
||||
<td align="left">{{ item.repurRealSubtotal }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.repurCouponSubtotalOri">
|
||||
<td align="right">{{ '复购券实发小计' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.repurCouponSubtotalOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.repurCouponSubtotal">
|
||||
<td align="right">{{ '复购券实发小计' }}($)</td>
|
||||
<td align="left">{{ item.repurCouponSubtotal }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.makerRealSubtotalOri">
|
||||
<td align="right">{{ '创客空间实发小计' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.makerRealSubtotalOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.makerRealSubtotal">
|
||||
<td align="right">{{ '创客空间实发小计' }}($)</td>
|
||||
<td align="left">{{ item.makerRealSubtotal }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.realIncomeTotalOri">
|
||||
<td align="right">{{ '实发收益总计' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.realIncomeTotalOri }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="menuList[17].checked==true &&allTxt.realIncomeTotal">
|
||||
<td align="right">{{ '实发收益总计' }}($)</td>
|
||||
<td align="left">{{ item.realIncomeTotal }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</view>
|
||||
<!-- 侧边弹框 -->
|
||||
|
@ -353,219 +217,89 @@
|
|||
<td align="right">{{ '直推收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.directIncomeOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[1].checked==true &&allTxt.directIncome">
|
||||
<td align="right">{{ '直推收益' }}($)</td>
|
||||
<td align="left">{{ item.directIncome }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.expandIncomeOri">
|
||||
<td align="right">{{ '拓展收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.expandIncomeOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[2].checked==true &&allTxt.expandIncome">
|
||||
<td align="right">{{ '拓展收益' }}($)</td>
|
||||
<td align="left">{{ item.expandIncome }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.coachIncomeOri">
|
||||
<td align="right">{{ '辅导收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.coachIncomeOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[3].checked==true&&allTxt.coachIncome">
|
||||
<td align="right">{{ '辅导收益' }}($)</td>
|
||||
<td align="left">{{ item.coachIncome }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.shareIncomeOri">
|
||||
<td align="right">{{ '分红收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.shareIncomeOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[4].checked==true &&allTxt.shareIncome">
|
||||
<td align="right">{{ '分红收益' }}($)</td>
|
||||
<td align="left">{{ item.shareIncome }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.serviceIncomeOri">
|
||||
<td align="right">{{ '报单收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.serviceIncomeOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[5].checked==true &&allTxt.serviceIncome">
|
||||
<td align="right">{{ '服务收益' }}($)</td>
|
||||
<td align="left">{{ item.serviceIncome }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.cloudDirectIncomeOri">
|
||||
<td align="right">{{ '云代直推收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.cloudDirectIncomeOri }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="menuList[6].checked==true &&allTxt.cloudDirectIncome">
|
||||
<td align="right">{{ '云代直推收益' }}($)</td>
|
||||
<td align="left">{{ item.cloudDirectIncome }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.cloudPurIncomeOri">
|
||||
<td align="right">{{ '云代首购收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.cloudPurIncomeOri }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="menuList[7].checked==true &&allTxt.cloudPurIncome">
|
||||
<td align="right">{{ '云代首购收益' }}($)</td>
|
||||
<td align="left">{{ item.cloudPurIncome }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.cloudRepurIncomeOri">
|
||||
<td align="right">{{ '云代复购收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.cloudRepurIncomeOri }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="menuList[8].checked==true &&allTxt.cloudRepurIncome">
|
||||
<td align="right">{{ '云代复购收益' }}($)</td>
|
||||
<td align="left">{{ item.cloudRepurIncome }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.repurPushIncomeOri">
|
||||
<td align="right">{{ '复购推荐收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.repurPushIncomeOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.repurPushIncome">
|
||||
<td align="right">{{ '复购推荐收益' }}($)</td>
|
||||
<td align="left">{{ item.repurPushIncome }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.repurRangeIncomeOri">
|
||||
<td align="right">{{ '复购级差收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.repurRangeIncomeOri }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="menuList[9].checked==true &&allTxt.repurRangeIncome">
|
||||
<td align="right">{{ '复购级差收益' }}($)</td>
|
||||
<td align="left">{{ item.repurRangeIncome }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.repurExpandIncomeOri">
|
||||
<td align="right">{{ '复购拓展收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.repurExpandIncomeOri }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="menuList[10].checked==true &&allTxt.repurExpandIncome">
|
||||
<td align="right">{{ '复购拓展收益' }}($)</td>
|
||||
<td align="left">{{ item.repurExpandIncome }}</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr v-if="allTxt.repurCouponOri">
|
||||
<td align="right">{{ '复购券' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.repurCouponOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[11].checked==true &&allTxt.repurCoupon">
|
||||
<td align="right">{{ '复购券' }}($)</td>
|
||||
<td align="left">{{ item.repurCoupon }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.repurCouponShareOri">
|
||||
<td align="right">{{ '复购券均分' }}</td>
|
||||
<td align="left">{{ item.repurCouponShareOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.repurCouponShare">
|
||||
<td align="right">{{ '复购券均分' }}($)</td>
|
||||
<td align="left">{{ item.repurCouponShare }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.backPointsOri">
|
||||
<td align="right">{{ '商城重消' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.backPointsOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[12].checked==true &&allTxt.backPoints">
|
||||
<td align="right">{{ '商城重消' }}($)</td>
|
||||
<td align="left">{{ item.backPoints }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.serviceSpendOri">
|
||||
<td align="right">{{ '平台服务费' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.serviceSpendOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.serviceSpend">
|
||||
<td align="right">{{ '平台服务费' }}($)</td>
|
||||
<td align="left">{{ item.serviceSpend }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.globalPointsOri">
|
||||
<td align="right">{{ '环球积分' }}</td>
|
||||
<td align="right">直推级差({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.globalPointsOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.globalPoints">
|
||||
<td align="right">{{ '环球积分' }}($)</td>
|
||||
<td align="left">{{ item.globalPoints }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.carAwardPointsOri">
|
||||
<td align="right">{{ '车奖积分' }}</td>
|
||||
<td align="left">{{ item.carAwardPointsOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.carAwardPoints">
|
||||
<td align="right">{{ '车奖积分' }}($)</td>
|
||||
<td align="left">{{ item.carAwardPoints }}</td>
|
||||
<td align="right">{{ '车奖积分' }}</td>
|
||||
<td align="left">{{ item.carAwardPointsOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.storeIncomeOri">
|
||||
<td align="right">{{ '店铺收益' }}</td>
|
||||
<td align="left">{{ item.storeIncomeOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.storeIncome">
|
||||
<td align="right">{{ '店铺收益' }}($)</td>
|
||||
<td align="left">{{ item.storeIncome }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.hiFunIncomeOri">
|
||||
<td align="right">{{ '嗨粉推荐收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.hiFunIncomeOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.hiFunIncome">
|
||||
<td align="right">{{ '嗨粉推荐收益' }}($)</td>
|
||||
<td align="left">{{ item.hiFunIncome }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.makerDirectIncomeOri">
|
||||
<td align="right">{{ '创客空间直推收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.makerDirectIncomeOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.makerDirectIncome">
|
||||
<td align="right">{{ '创客空间直推收益' }}($)</td>
|
||||
<td align="left">{{ item.makerDirectIncome }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.makerShareIncomeOri">
|
||||
<td align="right">{{ '创客共享收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.makerShareIncomeOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.makerShareIncome">
|
||||
<td align="right">{{ '创客共享收益' }}($)</td>
|
||||
<td align="left">{{ item.makerShareIncome }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.purRealSubtotalOri">
|
||||
<td align="right">{{ '首购实发小计' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.purRealSubtotalOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[14].checked==true &&allTxt.purRealSubtotal">
|
||||
<td align="right">{{ '首购实发小计' }}($)</td>
|
||||
<td align="left">{{ item.purRealSubtotal }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.cloudRealSubtotalOri">
|
||||
<td align="right">{{ '云代实发小计' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.cloudRealSubtotalOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[15].checked==true &&allTxt.cloudRealSubtotal">
|
||||
<td align="right">{{ '云代实发小计' }}($)</td>
|
||||
<td align="left">{{ item.cloudRealSubtotal }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.repurRealSubtotalOri">
|
||||
<td align="right">{{ '复购实发小计' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.repurRealSubtotalOri }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="menuList[16].checked==true &&allTxt.repurRealSubtotal">
|
||||
<td align="right">{{ '复购实发小计' }}($)</td>
|
||||
<td align="left">{{ item.repurRealSubtotal }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.repurCouponSubtotalOri">
|
||||
<td align="right">{{ '复购券实发小计' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.repurCouponSubtotalOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.repurCouponSubtotal">
|
||||
<td align="right">{{ '复购券实发小计' }}($)</td>
|
||||
<td align="left">{{ item.repurCouponSubtotal }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.makerRealSubtotalOri">
|
||||
<td align="right">{{ '创客空间实发小计' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.makerRealSubtotalOri }}</td>
|
||||
<td align="right">{{ '复购券实发小计' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.repurCouponSubtotalOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.makerRealSubtotal">
|
||||
<td align="right">{{ '创客空间实发小计' }}($)</td>
|
||||
<td align="left">{{ item.makerRealSubtotal }}</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr v-if="allTxt.realIncomeTotalOri">
|
||||
<td align="right">{{ '实发收益总计' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.realIncomeTotalOri }}</td>
|
||||
|
@ -626,7 +360,7 @@
|
|||
</u-row>
|
||||
<u-row gutter="10">
|
||||
<u-col span="12">
|
||||
<u-form-item :label="'操作日期'"
|
||||
<u-form-item label="结算日期"
|
||||
@click="isData=true">
|
||||
<u--input disabled
|
||||
fontSize="12"
|
||||
|
@ -880,8 +614,11 @@ export default {
|
|||
this.getAll([0])
|
||||
this.todayData = Date.now()
|
||||
this.minDate = Number(new Date('1950-01-01'))
|
||||
//查询会员信息
|
||||
this.getMemberList()
|
||||
this.getList()
|
||||
},
|
||||
onReachBottom() {
|
||||
this.queryParams.pageNum++
|
||||
this.getList()
|
||||
},
|
||||
methods: {
|
||||
isLocalSymbol,
|
||||
|
@ -987,12 +724,9 @@ export default {
|
|||
this.allTxt = obj
|
||||
})
|
||||
},
|
||||
onReachBottom() {
|
||||
this.queryParams.pageNum++
|
||||
this.getMemberList()
|
||||
},
|
||||
|
||||
//查询会员信息
|
||||
getMemberList() {
|
||||
getList() {
|
||||
api
|
||||
.queryBonusDetail(Object.assign({}, this.queryParams, this.select))
|
||||
.then((res) => {
|
||||
|
@ -1014,7 +748,6 @@ export default {
|
|||
}
|
||||
}
|
||||
})
|
||||
console.log('obj', obj)
|
||||
this.totalPrice = [obj]
|
||||
})
|
||||
},
|
||||
|
@ -1022,7 +755,7 @@ export default {
|
|||
this.tableData = []
|
||||
this.queryParams.pageNum = 1
|
||||
this.isTop = false
|
||||
this.getMemberList()
|
||||
this.getList()
|
||||
},
|
||||
reset() {
|
||||
this.select = {}
|
||||
|
|
|
@ -1,9 +1,3 @@
|
|||
<!--
|
||||
* @Descripttion:
|
||||
* @version:
|
||||
* @Author: 王三华
|
||||
* @Date: 2023-10-16 13:59:22
|
||||
-->
|
||||
<template>
|
||||
<view class="content">
|
||||
<view class="header_a">
|
||||
|
@ -31,65 +25,29 @@
|
|||
<td align="right">{{ '注册金额' }}(¥)</td>
|
||||
<td align="left">{{ item.registerAmount | toThousandthAndKeepDecimal }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.registerAmountDollar">
|
||||
<td align="right">{{ '注册金额' }}($)</td>
|
||||
<td align="left">{{ item.registerAmountDollar | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.registerAmountLocality">
|
||||
<td align="right">{{ '注册金额' }}({{ isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.registerAmountLocality | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr v-if="allTxt.registerPv">
|
||||
<td align="right">{{ '注册业绩' }}(¥)</td>
|
||||
<td align="left">{{ item.registerPv | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.registerPvDollar">
|
||||
<td align="right">{{ '注册业绩' }}($)</td>
|
||||
<td align="left">{{ item.registerPvDollar | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.registerPvLocality">
|
||||
<td align="right">{{ '注册业绩' }}({{ isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.registerPvLocality | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.upgradeAmount">
|
||||
<td align="right">{{ '升级金额' }}(¥)</td>
|
||||
<td align="left">{{ item.upgradeAmount | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.upgradeAmountDollar">
|
||||
<td align="right">{{ '升级金额' }}($)</td>
|
||||
<td align="left">{{ item.upgradeAmountDollar | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.upgradeAmountLocality">
|
||||
<td align="right">{{ '升级金额' }}({{ isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.upgradeAmountLocality | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.upgradePv">
|
||||
<td align="right">{{ '升级业绩' }}(¥)</td>
|
||||
<td align="left">{{ item.upgradePv | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.upgradePvDollar">
|
||||
<td align="right">{{ '升级业绩' }}($)</td>
|
||||
<td align="left">{{ item.upgradePvDollar | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.upgradePvLocality">
|
||||
<td align="right">{{ '升级业绩' }}({{ isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.upgradePvLocality | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr v-if="allTxt.firstPurchaseAmount">
|
||||
<td align="right">{{ '首购金额' }}(¥)</td>
|
||||
<td align="left">{{ item.firstPurchaseAmount | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.firstPurchaseAmountDollar">
|
||||
<td align="right">{{ '首购金额' }}($)</td>
|
||||
<td align="left">{{ item.firstPurchaseAmountDollar | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.firstPurchaseAmountLocality">
|
||||
<td align="right">{{ '首购金额' }}({{ isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.firstPurchaseAmountLocality | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr v-if="allTxt.firstPurchasePv">
|
||||
<td align="right">{{ '首购业绩' }}(¥)</td>
|
||||
|
@ -104,109 +62,24 @@
|
|||
<td align="left">{{ item.firstPurchasePvLocality | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.tripartiteAmount">
|
||||
<td align="right">{{ '三方'+'金额' }}(¥)</td>
|
||||
<td align="left">{{ item.tripartiteAmount | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.tripartiteAmountDollar">
|
||||
<td align="right">{{ '三方'+'金额' }}($)</td>
|
||||
<td align="left">{{ item.tripartiteAmountDollar | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.tripartiteAmountLocality">
|
||||
<td align="right">{{ '三方'+'金额' }}({{ isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.tripartiteAmountLocality | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.tripartitePv">
|
||||
<td align="right">{{ '三方'+'业绩' }}(¥)</td>
|
||||
<td align="left">{{ item.tripartitePv | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.tripartitePvDollar">
|
||||
<td align="right">{{ '三方'+'业绩' }}($)</td>
|
||||
<td align="left">{{ item.tripartitePvDollar | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.tripartitePvLocality">
|
||||
<td align="right">{{ '三方'+'业绩' }}({{ isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.tripartitePvLocality | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.fansAmount">
|
||||
<td align="right">{{ '海粉金额' }}(¥)</td>
|
||||
<td align="left">{{ item.fansAmount | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.fansAmountDollar">
|
||||
<td align="right">{{ '海粉金额' }}($)</td>
|
||||
<td align="left">{{ item.fansAmountDollar| toThousandthAndKeepDecimal }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.fansAmountLocality">
|
||||
<td align="right">{{ '海粉金额' }}({{ isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.fansAmountLocality | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.hiFunPv">
|
||||
<td align="right">{{ '海粉业绩' }}(¥)</td>
|
||||
<td align="left">{{ item.hiFunPv | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.hiFunPvDollar">
|
||||
<td align="right">{{ '海粉业绩' }}($)</td>
|
||||
<td align="left">{{ item.hiFunPvDollar | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.hiFunPvLocality">
|
||||
<td align="right">{{ '海粉业绩' }}({{ isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.hiFunPvLocality | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.repurchaseAmount">
|
||||
<td align="right">{{ '复购金额' }}(¥)</td>
|
||||
<td align="left">{{ item.repurchaseAmount | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.repurchaseAmountDollar">
|
||||
<td align="right">{{ '复购金额' }}($)</td>
|
||||
<td align="left">{{ item.repurchaseAmountDollar | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.repurchaseAmountLocality">
|
||||
<td align="right">{{ '复购金额' }}({{ isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.repurchaseAmountLocality | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.repurchasePv">
|
||||
<td align="right">{{ '复购业绩' }}(¥)</td>
|
||||
<td align="left">{{ item.repurchasePv | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.repurchasePvDollar">
|
||||
<td align="right">{{ '复购业绩' }}($)</td>
|
||||
<td align="left">{{ item.repurchasePvDollar | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.repurchasePvLocality">
|
||||
<td align="right">{{ '复购业绩' }}({{ isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.repurchasePvLocality | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.amountTotal">
|
||||
<td align="right">{{ '金额总计' }}(¥)</td>
|
||||
<td align="left">{{ item.amountTotal | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.amountTotalDollar">
|
||||
<td align="right">{{ '金额总计' }}($)</td>
|
||||
<td align="left">{{ item.amountTotalDollar | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.amountTotalLocality">
|
||||
<td align="right">{{ '金额总计' }}({{ isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.amountTotalLocality | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.pvTotal">
|
||||
<td align="right">{{ '业绩汇总' }}(¥)</td>
|
||||
<td align="left">{{ item.pvTotal | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.pvTotalDollar">
|
||||
<td align="right">{{ '业绩汇总' }}($)</td>
|
||||
<td align="left">{{ item.pvTotalDollar | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.pvTotalLocality">
|
||||
<td align="right">{{ '业绩汇总' }}({{ isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.pvTotalLocality | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</view>
|
||||
<view class="kuang">小计</view>
|
||||
|
@ -704,6 +577,7 @@ export default {
|
|||
margin: 20rpx;
|
||||
background: #f9f9f9;
|
||||
border-radius: 10px 10px 10px 10px;
|
||||
box-shadow: 0px 2px 10px 6px rgba(204, 204, 204, .8);
|
||||
}
|
||||
.table_f {
|
||||
display: flex;
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
<!--
|
||||
* @Descripttion:
|
||||
* @version:
|
||||
* @Author: 王三华
|
||||
* @Date: 2023-10-09 15:37:13
|
||||
-->
|
||||
|
||||
<template>
|
||||
<view class="content">
|
||||
<view class="header_a">
|
||||
|
@ -23,171 +18,143 @@
|
|||
<table class="tftable"
|
||||
border="1">
|
||||
<tr v-if="allTxt.period">
|
||||
<td align="right">{{ '结算期数' }}</td>
|
||||
<td align="right">结算期数</td>
|
||||
<td align="left">{{ item.period }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.settleDate">
|
||||
<td align="right">{{ '结算日期' }}</td>
|
||||
<td align="right">结算日期</td>
|
||||
<td align="left">{{ item.settleDate }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.orderCode">
|
||||
<td align="right">{{ '订单编号' }}</td>
|
||||
<td align="right">订单编号</td>
|
||||
<td align="left">{{ item.orderCode }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.orderTypeVal">
|
||||
<td align="right">{{ '订单类型' }}</td>
|
||||
<td align="right">订单类型</td>
|
||||
<td align="left">{{ item.orderTypeVal }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.sourceCountryName">
|
||||
<td align="right">{{ '来源国家' }}</td>
|
||||
<td align="right">来源国家</td>
|
||||
<td align="left">{{ item.sourceCountryName }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.sourceMemberCode">
|
||||
<td align="right">{{ '来源编号' }}</td>
|
||||
<td align="right">来源编号</td>
|
||||
<td align="left">{{ item.sourceMemberCode }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.sourceMemberName">
|
||||
<td align="right">{{ '来源姓名' }}</td>
|
||||
<td align="right">来源姓名</td>
|
||||
<td align="left">{{ item.sourceMemberName }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.orderAmount">
|
||||
<td align="right">{{ '来源金额' }}({{isLocalSymbol() }})</td>
|
||||
<td align="right">来源金额({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.orderAmount | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.orderAchieveOri">
|
||||
<td align="right">{{ '来源业绩' }}({{isLocalSymbol() }})</td>
|
||||
<td align="right">来源业绩({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.orderAchieveOri | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.orderAmountDollar">
|
||||
<td align="right">{{ '来源金额' }}($)</td>
|
||||
<td align="left">{{ item.orderAmountDollar | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.orderAchieve">
|
||||
<td align="right">{{ '来源业绩' }}($)</td>
|
||||
<td align="left">{{ item.orderAchieve | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.settleCountry">
|
||||
<td align="right">{{ '结算国家' }}</td>
|
||||
<td align="right">结算国家</td>
|
||||
<td align="left">{{ item.settleCountry }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.memberCode">
|
||||
<td align="right">{{ '收益编号' }}</td>
|
||||
<td align="right">收益编号</td>
|
||||
<td align="left">{{ item.memberCode }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.memberName">
|
||||
<td align="right">{{ '收益姓名' }}</td>
|
||||
<td align="right">收益姓名</td>
|
||||
<td align="left">{{ item.memberName }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.pkSettleGradeVal">
|
||||
<td align="right">{{ '结算等级' }}</td>
|
||||
<td align="right">结算等级</td>
|
||||
<td align="left">{{ item.pkSettleGradeVal }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.pkAwardsVal">
|
||||
<td align="right">{{ '荣誉奖衔' }}</td>
|
||||
<td align="right">荣誉奖衔</td>
|
||||
<td align="left">{{ item.pkAwardsVal }}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[9].checked == true &&allTxt.round">
|
||||
<td align="right">{{ '直推轮数' }}</td>
|
||||
<td align="right">直推轮数</td>
|
||||
<td align="left">{{ item.round }}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[10].checked == true &&allTxt.second">
|
||||
<td align="right">{{ '直推次数' }}</td>
|
||||
<td align="right">直推次数</td>
|
||||
<td align="left">{{ item.second }}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[11].checked == true &&allTxt.currentTouch">
|
||||
<td align="right">{{ '当前碰次' }}</td>
|
||||
<td align="right">当前碰次</td>
|
||||
<td align="left">{{ item.currentTouch }}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[12].checked == true &&allTxt.expandTouch">
|
||||
<td align="right">{{ '拓展碰次' }}</td>
|
||||
<td align="right">拓展碰次</td>
|
||||
<td align="left">{{ item.expandTouch }}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[13].checked == true &&allTxt.currentGeneration">
|
||||
<td align="right">{{ '当前代数' }}</td>
|
||||
<td align="right">当前代数</td>
|
||||
<td align="left">{{ item.currentGeneration }}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[14].checked == true &&allTxt.coachGeneration">
|
||||
<td align="right">{{ '辅导代数' }}</td>
|
||||
<td align="right">辅导代数</td>
|
||||
<td align="left">{{ item.coachGeneration }}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[1].checked == true &&allTxt.expandNoCappingOri">
|
||||
<td align="right">{{ '拓展无封' }}({{isLocalSymbol()}})</td>
|
||||
<td align="right">拓展无封({{isLocalSymbol()}})</td>
|
||||
<td align="left">{{ item.expandNoCappingOri | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[2].checked == true &&allTxt.expandCappingOri">
|
||||
<td align="right">{{ '拓展封顶' }}({{isLocalSymbol()}})</td>
|
||||
<td align="right">拓展封顶({{isLocalSymbol()}})</td>
|
||||
<td align="left">{{ item.expandCappingOri | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[3].checked == true &&allTxt.expandNormalHalfOri">
|
||||
<td align="right">{{ '拓展正常减半' }}({{isLocalSymbol()}})</td>
|
||||
<td align="right">拓展正常减半({{isLocalSymbol()}})</td>
|
||||
<td align="left">{{ item.expandNormalHalfOri | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[4].checked == true &&allTxt.expandNormalRealOri">
|
||||
<td align="right">{{ '拓展实际减半' }}({{isLocalSymbol()}})</td>
|
||||
<td align="right">拓展实际减半({{isLocalSymbol()}})</td>
|
||||
<td align="left">{{ item.expandNormalRealOri | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.pretaxIncomeOri">
|
||||
<td align="right">{{ '税前收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="right">税前收益({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.pretaxIncomeOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.realIncomeOri">
|
||||
<td align="right">{{ '实际收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="right">实际收益({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.realIncomeOri | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[5].checked == true &&allTxt.expandNoCapping">
|
||||
<td align="right">{{ '拓展无封' }}($)</td>
|
||||
<td align="left">{{ item.expandNoCapping | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[6].checked == true &&allTxt.expandCapping">
|
||||
<td align="right">{{ '拓展封顶' }}($)</td>
|
||||
<td align="left">{{ item.expandCapping | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[7].checked == true &&allTxt.expandNormalHalf">
|
||||
<td align="right">{{ '拓展正常减半' }}($)</td>
|
||||
<td align="left">{{ item.expandNormalHalf }}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[8].checked == true &&allTxt.expandNormalReal">
|
||||
<td align="right">{{ '拓展实际减半' }}($)</td>
|
||||
<td align="left">{{ item.expandNormalReal | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.pretaxIncome">
|
||||
<td align="right">{{ '税前收益' }}($)</td>
|
||||
<td align="left">{{ item.pretaxIncome | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.realIncome">
|
||||
<td align="right">{{ '实际收益' }}($)</td>
|
||||
<td align="left">{{ item.realIncome | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.bonusName">
|
||||
<td align="right">{{ '收益类型' }}</td>
|
||||
<td align="right">收益类型</td>
|
||||
<td align="left">{{ item.bonusName }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.incomeStatusVal">
|
||||
<td align="right">{{ '收益状态' }}</td>
|
||||
<td align="right">收益状态</td>
|
||||
<td align="left">{{ item.incomeStatusVal }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.vertexName">
|
||||
<td align="right">{{ '隶属体系' }}</td>
|
||||
<td align="right">隶属体系</td>
|
||||
<td align="left">{{ item.vertexName }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.teamName">
|
||||
<td align="right">{{ '隶属团队' }}</td>
|
||||
<td align="right">隶属团队</td>
|
||||
<td align="left">{{ item.teamName }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.remark">
|
||||
<td align="right">{{ '奖金说明' }}</td>
|
||||
<td align="left">{{ item.remark }}</td>
|
||||
<td align="right">奖金说明</td>
|
||||
<td align="left">
|
||||
<span class="remark">
|
||||
{{ item.remark }}
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.incomeRatio">
|
||||
<td align="right">{{ '收益占比' }}(%)</td>
|
||||
<td align="right">收益占比(%)</td>
|
||||
<td align="left">{{ item.incomeRatio }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.incomeDialRatio">
|
||||
<td align="right">{{ '收益拨比' }}(%)</td>
|
||||
<td align="right">收益拨比(%)</td>
|
||||
<td align="left">{{ item.incomeDialRatio }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.orderDialRatio">
|
||||
<td align="right">{{ '订单拨比' }}(%)</td>
|
||||
<td align="right">订单拨比(%)</td>
|
||||
<td align="left">{{ item.orderDialRatio }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -1,9 +1,3 @@
|
|||
<!--
|
||||
* @Descripttion:
|
||||
* @version:
|
||||
* @Author: 王三华
|
||||
* @Date: 2023-10-09 15:37:13
|
||||
-->
|
||||
<template>
|
||||
<view class="content">
|
||||
<view class="header_a">
|
||||
|
@ -11,9 +5,7 @@
|
|||
<img @click="isTop=true"
|
||||
src="@/assets/images/search.png"
|
||||
alt="">
|
||||
<img @click="isFont=true"
|
||||
src="@/assets/images/change.png"
|
||||
alt="">
|
||||
|
||||
</view>
|
||||
</view>
|
||||
<view class="zhan"></view>
|
||||
|
@ -30,230 +22,86 @@
|
|||
<td align="right">{{ '直推收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.directIncomeOri | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[1].checked==true &&allTxt.directIncome">
|
||||
<td align="right">{{ '直推收益' }}($)</td>
|
||||
<td align="left">{{ item.directIncome | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.expandIncomeOri">
|
||||
<td align="right">{{ '拓展收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.expandIncomeOri | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[2].checked==true &&allTxt.expandIncome">
|
||||
<td align="right">{{ '拓展收益' }}($)</td>
|
||||
<td align="left">{{ item.expandIncome | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.coachIncomeOri">
|
||||
<td align="right">{{ '辅导收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.coachIncomeOri | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[3].checked==true&&allTxt.coachIncome">
|
||||
<td align="right">{{ '辅导收益' }}($)</td>
|
||||
<td align="left">{{ item.coachIncome | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.shareIncomeOri">
|
||||
<td align="right">{{ '分红收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.shareIncomeOri | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[4].checked==true &&allTxt.shareIncome">
|
||||
<td align="right">{{ '分红收益' }}($)</td>
|
||||
<td align="left">{{ item.shareIncome | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.serviceIncomeOri">
|
||||
<td align="right">{{ '报单收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.serviceIncomeOri | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[5].checked==true &&allTxt.serviceIncome">
|
||||
<td align="right">{{ '报单收益' }}($)</td>
|
||||
<td align="left">{{ item.serviceIncome | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.cloudDirectIncomeOri">
|
||||
<td align="right">{{ '云代直推收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.cloudDirectIncomeOri | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="menuList[6].checked==true &&allTxt.cloudDirectIncome">
|
||||
<td align="right">{{ '云代直推收益' }}($)</td>
|
||||
<td align="left">{{ item.cloudDirectIncome | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.cloudPurIncomeOri">
|
||||
<td align="right">{{ '云代首购收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.cloudPurIncomeOri | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="menuList[7].checked==true &&allTxt.cloudPurIncome">
|
||||
<td align="right">{{ '云代首购收益' }}($)</td>
|
||||
<td align="left">{{ item.cloudPurIncome | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.cloudRepurIncomeOri">
|
||||
<td align="right">{{ '云代复购收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.cloudRepurIncomeOri | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="menuList[8].checked==true &&allTxt.cloudRepurIncome">
|
||||
<td align="right">{{ '云代复购收益' }}($)</td>
|
||||
<td align="left">{{ item.cloudRepurIncome | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.repurPushIncomeOri">
|
||||
<td align="right">{{ '复购推荐收益' }}</td>
|
||||
<td align="left">{{ item.repurPushIncomeOri | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.repurPushIncome">
|
||||
<td align="right">{{ '复购推荐收益' }}($)</td>
|
||||
<td align="left">{{ item.repurPushIncome | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.repurRangeIncomeOri">
|
||||
<td align="right">{{ '复购级差收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.repurRangeIncomeOri | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="menuList[9].checked==true &&allTxt.repurRangeIncome">
|
||||
<td align="right">{{ '复购级差收益' }}($)</td>
|
||||
<td align="left">{{ item.repurRangeIncome | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.repurExpandIncomeOri">
|
||||
<td align="right">{{ '复购拓展收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.repurExpandIncomeOri | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.repurCoachIncome">
|
||||
<td align="right">{{ '复购辅导收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.repurCoachIncome | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.repurCouponOri">
|
||||
<td align="right">{{ '复购券' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.repurCouponOri | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="menuList[10].checked==true &&allTxt.repurExpandIncome">
|
||||
<td align="right">{{ '复购拓展收益' }}($)</td>
|
||||
<td align="left">{{ item.repurExpandIncome | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[11].checked==true &&allTxt.repurCoupon">
|
||||
<td align="right">{{ '复购券' }}($)</td>
|
||||
<td align="left">{{ item.repurCoupon }}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.repurCouponShareOri">
|
||||
<td align="right">{{ '复购券均分' }}</td>
|
||||
<td align="left">{{ item.repurCouponShareOri }}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.repurCouponShare">
|
||||
<td align="right">{{ '复购券均分' }}($)</td>
|
||||
<td align="left">{{ item.repurCouponShare }}</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr v-if="allTxt.backPointsOri">
|
||||
<td align="right">{{ '商城重消' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.backPointsOri | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[12].checked==true &&allTxt.backPoints">
|
||||
<td align="right">{{ '商城重消' }}($)</td>
|
||||
<td align="left">{{ item.backPoints | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.serviceSpendOri">
|
||||
<td align="right">{{ '平台服务费' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.serviceSpendOri | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.serviceSpend">
|
||||
<td align="right">{{ '平台服务费' }}($)</td>
|
||||
<td align="left">{{ item.serviceSpend | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.globalPointsOri">
|
||||
<td align="right">{{ '环球积分' }}</td>
|
||||
<td align="left">{{ item.globalPointsOri | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.globalPoints">
|
||||
<td align="right">{{ '环球积分' }}($)</td>
|
||||
<td align="left">{{ item.globalPoints | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr v-if="allTxt.carAwardPointsOri">
|
||||
<td align="right">{{ '车奖积分' }}</td>
|
||||
<td align="left">{{ item.carAwardPointsOri | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.carAwardPoints">
|
||||
<td align="right">{{ '车奖积分' }}($)</td>
|
||||
<td align="left">{{ item.carAwardPoints | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.storeIncomeOri">
|
||||
<td align="right">{{ '店铺收益' }}</td>
|
||||
<td align="left">{{ item.storeIncomeOri | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.storeIncome">
|
||||
<td align="right">{{ '店铺收益' }}($)</td>
|
||||
<td align="left">{{ item.storeIncome | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.hiFunIncome">
|
||||
<td align="right">{{ '嗨粉推荐收益' }}($)</td>
|
||||
<td align="left">{{ item.hiFunIncome | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.hiFunIncomeOri">
|
||||
<td align="right">{{ '嗨粉推荐收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.hiFunIncomeOri | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.makerDirectIncomeOri">
|
||||
<td align="right">{{ '创客空间直推收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.makerDirectIncomeOri | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.makerDirectIncome">
|
||||
<td align="right">{{ '创客空间直推收益' }}($)</td>
|
||||
<td align="left">{{ item.makerDirectIncome | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.makerShareIncomeOri">
|
||||
<td align="right">{{ '创客共享收益' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.makerShareIncomeOri | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.makerShareIncome">
|
||||
<td align="right">{{ '创客共享收益' }}($)</td>
|
||||
<td align="left">{{ item.makerShareIncome | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.purRealSubtotalOri">
|
||||
<td align="right">{{ '首购实发小计' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.purRealSubtotalOri | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[14].checked==true &&allTxt.purRealSubtotal">
|
||||
<td align="right">{{ '首购实发小计' }}($)</td>
|
||||
<td align="left">{{ item.purRealSubtotal | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.cloudRealSubtotalOri">
|
||||
<td align="right">{{ '云代实发小计' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.cloudRealSubtotalOri | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="menuList[15].checked==true &&allTxt.cloudRealSubtotal">
|
||||
<td align="right">{{ '云代实发小计' }}($)</td>
|
||||
<td align="left">{{ item.cloudRealSubtotal | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr v-if="allTxt.repurRealSubtotalOri">
|
||||
<td align="right">{{ '复购实发小计' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.repurRealSubtotalOri | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="menuList[16].checked==true &&allTxt.repurRealSubtotal">
|
||||
<td align="right">{{ '复购实发小计' }}($)</td>
|
||||
<td align="left">{{ item.repurRealSubtotal | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.repurCouponSubtotalOri">
|
||||
<td align="right">{{ '复购券实发小计' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.repurCouponSubtotalOri | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.repurCouponSubtotal">
|
||||
<td align="right">{{ '复购券实发小计' }}($)</td>
|
||||
<td align="left">{{ item.repurCouponSubtotal | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.makerRealSubtotalOri">
|
||||
<td align="right">{{ '创客空间实发小计' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.makerRealSubtotalOri | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
<tr v-if="allTxt.makerRealSubtotal">
|
||||
<td align="right">{{ '创客空间实发小计' }}($)</td>
|
||||
<td align="left">{{ item.makerRealSubtotal | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.realIncomeTotalOri">
|
||||
<td align="right">{{ '实发收益总计' }}({{isLocalSymbol() }})</td>
|
||||
<td align="left">{{ item.realIncomeTotalOri | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="menuList[17].checked==true &&allTxt.realIncomeTotal">
|
||||
<td align="right">{{ '实发收益总计' }}($)</td>
|
||||
<td align="left">{{ item.realIncomeTotal | toThousandthAndKeepDecimal}}</td>
|
||||
</tr>
|
||||
|
||||
<tr v-if="allTxt.settleDate">
|
||||
<td align="right">{{ '结算时间' }}</td>
|
||||
<td align="left">{{ item.settleDate }}</td>
|
||||
|
@ -270,37 +118,7 @@
|
|||
:text="'奖金明细'"></u-button>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 侧边弹框 -->
|
||||
<u-popup :show="isFont"
|
||||
mode="right"
|
||||
@close="isFont=false">
|
||||
<view class="che">
|
||||
<u-checkbox-group v-model="selectAll"
|
||||
@change="getAll"
|
||||
placement="column"
|
||||
activeColor="#ED1D25">
|
||||
<u-checkbox :customStyle="{marginBottom: '8px'}"
|
||||
v-for="(item, index) in allList"
|
||||
:key="index"
|
||||
:label="item.text"
|
||||
:name="item.id">
|
||||
</u-checkbox>
|
||||
</u-checkbox-group>
|
||||
<u-checkbox-group v-model="selected"
|
||||
@change="getMenu"
|
||||
placement="column"
|
||||
activeColor="#ED1D25">
|
||||
<u-checkbox :customStyle="{marginBottom: '8px'}"
|
||||
v-for="(item, index) in menuList"
|
||||
:key="index"
|
||||
v-show="index!=0"
|
||||
:label="item.text"
|
||||
:name="item.id">
|
||||
</u-checkbox>
|
||||
</u-checkbox-group>
|
||||
</view>
|
||||
</u-popup>
|
||||
<!-- 顶部搜索 -->
|
||||
|
||||
<u-popup :show="isTop"
|
||||
mode="top"
|
||||
@close="isTop=false">
|
||||
|
@ -429,116 +247,6 @@ export default {
|
|||
checked: false,
|
||||
},
|
||||
],
|
||||
menuList: [
|
||||
{
|
||||
id: 0,
|
||||
text: '全选',
|
||||
checked: true,
|
||||
},
|
||||
{
|
||||
id: 21,
|
||||
text: '直推收益' + '($)',
|
||||
checked: true,
|
||||
prop: 'firstBuyAmountDollar',
|
||||
},
|
||||
{
|
||||
id: 22,
|
||||
text: '拓展收益' + '($)',
|
||||
checked: true,
|
||||
prop: 'expandIncome',
|
||||
},
|
||||
{
|
||||
id: 23,
|
||||
text: '辅导收益' + '($)',
|
||||
checked: true,
|
||||
prop: 'coachIncome',
|
||||
},
|
||||
{
|
||||
id: 24,
|
||||
text: '分红收益' + '($)',
|
||||
checked: true,
|
||||
prop: 'shareIncome',
|
||||
},
|
||||
{
|
||||
id: 25,
|
||||
text: '报单收益' + '($)',
|
||||
checked: true,
|
||||
prop: 'serviceIncome',
|
||||
},
|
||||
{
|
||||
id: 26,
|
||||
text: '云代直推收益' + '($)',
|
||||
checked: true,
|
||||
prop: 'cloudDirectIncome',
|
||||
},
|
||||
{
|
||||
id: 27,
|
||||
text: '云代首购收益' + '($)',
|
||||
checked: true,
|
||||
prop: 'cloudPurIncome',
|
||||
},
|
||||
{
|
||||
id: 28,
|
||||
text: '云代复购收益' + '($)',
|
||||
checked: true,
|
||||
prop: 'cloudRepurIncome',
|
||||
},
|
||||
{
|
||||
id: 39,
|
||||
text: '复购级差收益' + '($)',
|
||||
checked: true,
|
||||
prop: 'repurRangeIncome',
|
||||
},
|
||||
{
|
||||
id: 30,
|
||||
text: '复购拓展收益' + '($)',
|
||||
checked: true,
|
||||
prop: 'repurExpandIncome',
|
||||
},
|
||||
{
|
||||
id: 31,
|
||||
text: '复购券',
|
||||
checked: true,
|
||||
prop: 'repurCoupon',
|
||||
flag: 1,
|
||||
},
|
||||
{
|
||||
id: 32,
|
||||
text: '商城重消' + '($)',
|
||||
checked: true,
|
||||
prop: 'backPoints',
|
||||
},
|
||||
{
|
||||
id: 35,
|
||||
text: '平台服务费' + '($)',
|
||||
checked: true,
|
||||
prop: 'backPoints',
|
||||
},
|
||||
{
|
||||
id: 44,
|
||||
text: '首购实发小计' + '($)',
|
||||
checked: true,
|
||||
prop: 'purRealSubtotal',
|
||||
},
|
||||
{
|
||||
id: 45,
|
||||
text: '云代实发小计' + '($)',
|
||||
checked: true,
|
||||
prop: 'cloudRealSubtotal',
|
||||
},
|
||||
{
|
||||
id: 46,
|
||||
text: '复购实发小计' + '($)',
|
||||
checked: true,
|
||||
prop: 'repurRealSubtotal',
|
||||
},
|
||||
{
|
||||
id: 47,
|
||||
text: '实发收益总计' + '($)',
|
||||
checked: true,
|
||||
prop: 'realIncomeTotal',
|
||||
},
|
||||
],
|
||||
allTxt: {},
|
||||
vertexList: [],
|
||||
memberteamList: [],
|
||||
|
@ -562,7 +270,6 @@ export default {
|
|||
// 获取下拉
|
||||
this.getData()
|
||||
this.chooseTimed()
|
||||
this.getAll([0])
|
||||
this.todayData = Date.now()
|
||||
this.minDate = Number(new Date('1950-01-01'))
|
||||
},
|
||||
|
@ -606,36 +313,7 @@ export default {
|
|||
'/pages/settlementCenter/bonusDetail?settleDate=' + item.settleDate,
|
||||
})
|
||||
},
|
||||
// 全选
|
||||
getAll(e) {
|
||||
if (e.length > 0) {
|
||||
this.menuList.forEach((item) => {
|
||||
this.$set(item, 'checked', true)
|
||||
this.selected.push(item.id)
|
||||
})
|
||||
} else {
|
||||
this.menuList.forEach((item) => {
|
||||
this.$set(item, 'checked', false)
|
||||
})
|
||||
this.$set(this, 'selected', [])
|
||||
}
|
||||
},
|
||||
// 单选
|
||||
getMenu(e) {
|
||||
this.menuList.forEach((item) => {
|
||||
this.$set(item, 'checked', false)
|
||||
e.forEach((ctem) => {
|
||||
if (item.id == ctem) {
|
||||
this.$set(item, 'checked', true)
|
||||
}
|
||||
})
|
||||
})
|
||||
if (e.length == this.menuList.length) {
|
||||
this.$set(this, 'selectAll', [0])
|
||||
} else {
|
||||
this.$set(this, 'selectAll', [])
|
||||
}
|
||||
},
|
||||
|
||||
getUserRole() {
|
||||
infor.getRoleMenu('totalBonus').then((res) => {
|
||||
let obj = {}
|
||||
|
|
|
@ -41,11 +41,7 @@ export const constantRoutes = [
|
|||
name: 'OrderBusiness',
|
||||
meta: { title: '订单业务' },
|
||||
},
|
||||
{
|
||||
path: '/pages/information/dailyApplication/index',
|
||||
name: 'DailyApplication',
|
||||
meta: { title: '日常申请' },
|
||||
},
|
||||
|
||||
{
|
||||
path: '/pages/information/realInfo',
|
||||
name: 'RealInfo',
|
||||
|
|
Loading…
Reference in New Issue