Commit ef4b0bb0 by 张立顺

Merge branch 'dev_v4.15.5' into 'develop'

Dev v4.15.5

See merge request !50
2 parents d56571ee 539a47df
......@@ -23,7 +23,7 @@
<div class="d2-container-content">
<d2-table-header :left-span="20">
<span slot="left">共<span class="count-txt">{{ countObj.orderCount }}</span>笔订单,累计线下分账金额<span
class="count-txt">{{ countObj.divisionMoneyCount }}</span>元。</span>
class="count-txt">{{ countObj.divisionMoneyCount }}</span>元。</span>
<auth-button category="Button" />
</d2-table-header>
<el-table :data="tableList">
......@@ -45,7 +45,8 @@
align="center">
<span>线下对账</span>
</el-table-column>
<el-table-column label="园区店名"
<!-- <el-table-column label="园区店名" -->
<el-table-column label="服务对接"
prop="yqMerchantName"
align="center"
width="170" />
......@@ -83,7 +84,7 @@
prop="actualDivisionPlatform"
align="center"
width="100px">
<!-- <span slot-scope="scope">{{scope.row.partnerMerchantName}}</span> -->
<!-- <span slot-scope="scope">{{scope.row.partnerMerchantName}}</span> -->
</el-table-column>
<el-table-column label="实际分账金额"
prop="glActualDivisionMoney"
......@@ -144,7 +145,7 @@
prop="orderType"
align="center">
<span
slot-scope="scope">{{ scope.row.goodsOrder ? baseData.orderTypeList.find(item => +item.confId === scope.row.goodsOrder.orderType).confLabel : '-' }}</span>
slot-scope="scope">{{ scope.row.goodsOrder ? baseData.orderTypeList.find(item => +item.confId === scope.row.goodsOrder.orderType).confLabel : '-' }}</span>
</el-table-column>
</el-table>
<el-pagination background
......@@ -197,7 +198,8 @@ export default {
isClear: true,
pickerOptions: 'rangePickerOptions'
}, {
label: '园区店',
label: '服务对接',
// label: '园区店',
name: 'yqMerchantId',
type: 'select',
isHide: !this.$store.state.d2admin.user.info.beSuper,
......@@ -209,7 +211,8 @@ export default {
label: '商户名称',
name: 'merchantNameKeyWord',
type: 'input',
placeholder: '请输入园区店/服务商/导流方名称',
placeholder: '请输入服务对接/服务商/导流方名称',
// placeholder: '请输入园区店/服务商/导流方名称',
isClear: true,
keyFn: this.getList
}, {
......@@ -402,7 +405,8 @@ export default {
const list = [
...this.dowloadList,
{
name: '分账列表-线下分账(超管/园区店)',
name: '分账列表-线下分账(超管/服务对接)',
// name: '分账列表-线下分账(超管/园区店)',
// uuid: JSON.parse(res).data,
// ifSuccess: false
exportParam: JSON.stringify(params),
......
......@@ -23,11 +23,11 @@
<div class="d2-container-content">
<d2-table-header :left-span="20">
<span slot="left">共<span class="count-txt">{{ countObj.orderCount }}</span>笔订单,累计分账金额<span
class="count-txt">{{ countObj.divisionMoneyCount }}</span>元,分账成功金额<span
class="count-txt">{{ countObj.divisionSuccessMoneyCount }}</span>元,分账中金额<span
class="count-txt">{{ countObj.inDivisionMoneyCount }}</span>元,分账失败金额<span
class="count-txt">{{ countObj.divisionFailureMoneyCount }}</span>元,异常分账金额<span
class="count-txt">{{ countObj.divisionExceptionMoneyCount }}</span>元。</span>
class="count-txt">{{ countObj.divisionMoneyCount }}</span>元,分账成功金额<span
class="count-txt">{{ countObj.divisionSuccessMoneyCount }}</span>元,分账中金额<span
class="count-txt">{{ countObj.inDivisionMoneyCount }}</span>元,分账失败金额<span
class="count-txt">{{ countObj.divisionFailureMoneyCount }}</span>元,异常分账金额<span
class="count-txt">{{ countObj.divisionExceptionMoneyCount }}</span>元。</span>
<auth-button category="Button" />
</d2-table-header>
<el-table :data="tableList">
......@@ -49,7 +49,8 @@
align="center">
<span>线上分账</span>
</el-table-column>
<el-table-column label="园区店名"
<!-- <el-table-column label="园区店名" -->
<el-table-column label="服务对接"
prop="yqMerchantName"
align="center"
width="170" />
......@@ -87,7 +88,7 @@
prop="actualDivisionPlatform"
align="center"
width="100px">
<!-- <span slot-scope="scope">{{scope.row.partnerMerchantName}}</span> -->
<!-- <span slot-scope="scope">{{scope.row.partnerMerchantName}}</span> -->
</el-table-column>
<el-table-column label="实际分账金额"
prop="glActualDivisionMoney"
......@@ -162,7 +163,7 @@
prop="orderType"
align="center">
<span
slot-scope="scope">{{ scope.row.goodsOrder ? baseData.orderTypeList.find(item => +item.confId === scope.row.goodsOrder.orderType).confLabel : '-' }}</span>
slot-scope="scope">{{ scope.row.goodsOrder ? baseData.orderTypeList.find(item => +item.confId === scope.row.goodsOrder.orderType).confLabel : '-' }}</span>
</el-table-column>
</el-table>
<el-pagination background
......@@ -253,7 +254,8 @@ export default {
optionLabel: 'confLabel',
optionsName: 'divisionStatusList'
}, {
label: '园区店',
label: '服务对接',
// label: '园区店',
name: 'yqMerchantId',
type: 'select',
isHide: !this.$store.state.d2admin.user.info.beSuper,
......@@ -265,7 +267,8 @@ export default {
label: '商户名称',
name: 'merchantNameKeyWord',
type: 'input',
placeholder: '请输入园区店/服务商/导流方名称',
placeholder: '请输入服务对接/服务商/导流方名称',
// placeholder: '请输入园区店/服务商/导流方名称',
isClear: true,
keyFn: this.getList
}, {
......@@ -463,7 +466,7 @@ export default {
const list = [
...this.dowloadList,
{
name: '分账列表-线上分账(超管/园区店)',
name: '分账列表-线上分账(超管/服务对接)',
exportParam: JSON.stringify(params),
status: 'waiting',
timeid: new Date().getTime()
......
......@@ -154,7 +154,8 @@
</tr>
<tr v-if="detail.sceneType == 1 || detail.sceneType == 2">
<td class="lb">
园区店
<!-- 园区店 -->
服务对接
</td>
<td>{{ $$(detail.goodsOrder,'sellerMerchantName') }}</td>
<td class="lb">
......
......@@ -12,7 +12,8 @@
name="1" />
<!-- <el-tab-pane label="1.2次新车膨胀金活动"
name="2" /> -->
<el-tab-pane label="1.3售后直播众筹活动"
<el-tab-pane v-if="!specialAccout"
label="1.3售后直播众筹活动"
name="3" />
</el-tabs>
<el-card class="finance_list_summary"
......@@ -131,7 +132,7 @@
:search-form="searchForm"
:search-select-obj="searchSelectObj"
:form-data="showFormData"
:label-width="'100px'"
:label-width="'150px'"
style="background: #fff;">
<div class="up-btns"
style="bottom:10px; ">
......@@ -158,7 +159,7 @@
</p>
<p>
累计分账金额:导流方{{ totalObj.totalShopProfitMoney }} 元,
园区店:{{ totalObj.totalYqProfitMoney }}元,平台方{{
服务对接:{{ totalObj.totalYqProfitMoney }}元,平台方{{
totalObj.totalGlProfitMoney
}}
元,服务商{{ totalObj.totalFranchiseeProfitMoney }} 元
......@@ -356,13 +357,16 @@
</template>
</el-table-column>
</el-table-column>
<el-table-column label="园区店"
<!-- label="园区店" -->
<el-table-column label="服务对接"
align="center"
width="200"
prop="yqMerchantName"
v-if="yq_visible">
<el-table-column prop="yqMerchantName"
<!-- <el-table-column prop="yqMerchantName"
label="园区店名称"
width="170"
align="center" />
align="center" /> -->
<!-- 审计需求先屏蔽 -->
<!-- <el-table-column prop="yqProfitMoney"
label="园区店总金额"
......@@ -470,20 +474,22 @@
</el-table-column>
</el-table-column> -->
<el-table-column label="平台方"
width="200"
prop="platformMerchantName"
align="center">
<!-- 审计需求先屏蔽 -->
<!-- <el-table-column prop="glProfitMoney"
label="平台方金额"
width="100"
align="center" /> -->
<el-table-column prop="platformMerchantName"
<!-- <el-table-column prop="platformMerchantName"
label="平台方对象"
width="100"
align="center">
<template slot-scope="scope">
<span>{{ (scope.row.platformMerchantName || (scope.row.platformMerchantId && scope.row.platformMerchantId != '-1')) ? scope.row.platformMerchantName : '嘀加智慧云' }}</span>
</template>
</el-table-column>
</el-table-column> -->
</el-table-column>
<el-table-column label="订单类型"
align="center"
......@@ -603,7 +609,8 @@ export default {
pickerOptions: 'rangePickerOptions'
},
{
label: '园区店',
label: '服务对接',
// label: '园区店',
name: 'yqMerchantId',
type: 'select',
optionList: [],
......@@ -622,7 +629,7 @@ export default {
label: '流量来源',
name: 'merchantId',
type: 'select',
noDataText: '请先选择园区店',
noDataText: '请先选择服务对接',
optionList: [],
optionId: 'merchantId',
optionLabel: 'merchantName',
......@@ -632,7 +639,7 @@ export default {
label: '商户名称',
name: 'merchantNameKeyWord',
type: 'input',
placeholder: '请输入服务商/园区店/导流方名称',
placeholder: '请输入服务商/服务对接/导流方名称',
isClear: true,
keyFn: this.keyDowmGetList
},
......@@ -710,7 +717,7 @@ export default {
optionLabel: 'name',
optionsName: 'channelTypeList'
}, {
label: '园区店模式',
label: '服务对接模式',
name: 'businessModel',
type: 'select',
optionList: [],
......
......@@ -53,7 +53,7 @@ import outputValueDialog from './outputValueDialog'
import dayjs from 'dayjs'
// import { getExportDailyReport } from '@api/index'
// import { downLoadFile } from '@/common/util'
import { asyncExportExcel } from '@api/sys.base'
// import { asyncExportExcel } from '@api/sys.base'
import { mapActions, mapState } from 'vuex'
export default {
name: 'ReportDownloadsCom',
......@@ -80,7 +80,10 @@ export default {
computed: {
...mapState({
dowloadList: (state) => state.d2admin.user.dowloadList
})
}),
specialAccout() {
return this.userInfo?.loginAccount?.loginAccout == '18123663366'
}
},
mounted() {
},
......
......@@ -85,7 +85,7 @@
<div class="top_card_md">
<span class="top_card_md_left">客户数(人)</span>
<span
class="top_card_md_right top_card_second">{{ totalData.totalCustomerNums }}</span>
class="top_card_md_right top_card_second">{{ totalData.totalCustomerNums }}</span>
</div>
<div class="top_card_bm">
<span class="top_card_bm_left">转化率</span>
......@@ -103,7 +103,7 @@
<div class="top_card_md">
<span class="top_card_md_left">已成交订单数(单)</span>
<span
class="top_card_md_right top_card_third">{{ totalData.totalOrderCounts }}</span>
class="top_card_md_right top_card_third">{{ totalData.totalOrderCounts }}</span>
</div>
<div class="top_card_bm">
<span class="top_card_bm_left">成交总额</span>
......@@ -121,7 +121,7 @@
<div class="top_card_md">
<span class="top_card_md_left">流水额(元)</span>
<span
class="top_card_md_right top_card_fourth">{{ totalData.totalFlowsMoney }}</span>
class="top_card_md_right top_card_fourth">{{ totalData.totalFlowsMoney }}</span>
</div>
<div class="top_card_bm">
<span class="top_card_bm_left">毛利</span>
......@@ -173,14 +173,14 @@
<div class="top_card_main top_card_main_multi">
<div class="top_card_md">
<span
class="top_card_md_right top_card_primary">{{ customerData.totalCustomerNums }}</span>
class="top_card_md_right top_card_primary">{{ customerData.totalCustomerNums }}</span>
</div>
<div class="top_card_bm"
v-show="customerType==='today'">
<span
class="top_card_bm_left">周同比:{{ $$(customerData,'onWeekCustomerNums') }}%</span>
class="top_card_bm_left">周同比:{{ $$(customerData,'onWeekCustomerNums') }}%</span>
<span
class="top_card_bm_right customer">日环比:{{ customerData.onDayCustomerNums }}%</span>
class="top_card_bm_right customer">日环比:{{ customerData.onDayCustomerNums }}%</span>
</div>
<div class="top_card_bm">
<span class="top_card_bm_left">日均新增客户(人)</span>
......@@ -197,13 +197,13 @@
<div class="top_card_main top_card_main_multi">
<div class="top_card_md">
<span
class="top_card_md_right top_card_second">{{ customerData.totalToShop }}</span>
class="top_card_md_right top_card_second">{{ customerData.totalToShop }}</span>
</div>
<div class="top_card_bm"
v-show="customerType==='today'">
<span class="top_card_bm_left">周同比:{{ customerData.onWeekToShop }}%</span>
<span
class="top_card_bm_right customer">日环比:{{ customerData.onDayToShop }}%</span>
class="top_card_bm_right customer">日环比:{{ customerData.onDayToShop }}%</span>
</div>
<div class="top_card_bm">
<span class="top_card_bm_left">日均到店数(人)</span>
......@@ -220,19 +220,19 @@
<div class="top_card_main top_card_main_multi">
<div class="top_card_md">
<span
class="top_card_md_right top_card_third">{{ customerData.upgradeTransfer }}%</span>
class="top_card_md_right top_card_third">{{ customerData.upgradeTransfer }}%</span>
</div>
<div class="top_card_bm"
v-show="customerType==='today'">
<span
class="top_card_bm_left">周同比:{{ customerData.onWeekUpgradeTransfer }}%</span>
class="top_card_bm_left">周同比:{{ customerData.onWeekUpgradeTransfer }}%</span>
<span
class="top_card_bm_right customer">日环比:{{ customerData.onDayUpgradeTransfer }}%</span>
class="top_card_bm_right customer">日环比:{{ customerData.onDayUpgradeTransfer }}%</span>
</div>
<div class="top_card_bm">
<span class="top_card_bm_left">日均转化率(比)</span>
<span
class="top_card_bm_right">{{ customerData.perDayUpgradeTransfer }}%</span>
class="top_card_bm_right">{{ customerData.perDayUpgradeTransfer }}%</span>
</div>
</div>
</div>
......@@ -433,8 +433,11 @@ export default {
return curBtns.some((item) => {
// 路由定义的权限id
return item.authId == '90701'
})
}) && !this.specialAccout
// return this.$store.getters['d2admin/auth/curBtns']
},
specialAccout() {
return this.userInfo?.loginAccount?.loginAccout == '18123663366'
}
},
mounted() {
......
......@@ -90,7 +90,8 @@
{{ detail.employeeName }}
</el-form-item>
<div>
<el-form-item label="园区店:">
<!-- <el-form-item label="园区店:"> -->
<el-form-item label="服务对接:">
{{ detail.sellerMerchantName }}
</el-form-item>
<el-form-item label="转化员:">
......
......@@ -6,7 +6,7 @@
<d2-search ref="showSearch"
class="show-search"
:search-form="searchForm"
:label-width="'100px'"
:label-width="'150px'"
:form-data="showFormData" />
<div class="up-btns">
<el-button @click="handleSearch"
......@@ -173,7 +173,8 @@
align="center"
width="170"
prop="merchantName" />
<el-table-column label="园区店"
<!-- <el-table-column label="园区店" -->
<el-table-column label="服务对接"
align="center"
width="170"
prop="sellerMerchantName" />
......@@ -342,7 +343,8 @@ export default {
isClear: true,
keyFn: this.keyDowmGetList
}, {
label: '园区店',
// label: '园区店',
label: '服务对接',
name: 'yqMerchantId',
type: 'select',
optionList: [],
......@@ -362,7 +364,8 @@ export default {
label: '流量来源',
name: 'merchantId',
type: 'select',
noDataText: '请先选择园区店',
noDataText: '请先选择服务对接',
// noDataText: '请先选择园区店',
optionList: [],
optionId: 'merchantId',
optionLabel: 'merchantName',
......@@ -398,7 +401,8 @@ export default {
// optionsName: 'sourceChannelTypeList'
optionsName: 'channelTypeList'
}, {
label: '园区店模式',
label: '服务对接模式',
// label: '园区店模式',
name: 'businessModel',
type: 'select',
optionList: [],
......
......@@ -47,7 +47,8 @@
</el-button>
<el-button type="primary"
@click="batchUpdateYqMerchant">
批量修改所属园区店
<!-- 批量修改所属园区店 -->
批量修改所属服务对接
</el-button>
<el-button type="primary"
@click="batchMarkAsNoUse">
......@@ -203,7 +204,8 @@ export default {
optionLabel: 'confLabel',
optionsName: 'inputStatusList'
}, {
label: '园区店',
label: '服务对接',
// label: '园区店',
name: 'yqMerchantId',
type: 'select',
isHide: !this.$store.state.d2admin.user.info.beSuper,
......@@ -265,12 +267,14 @@ export default {
label: '终端编码',
prop: 'posTrmNo'
}, {
label: '园区店',
label: '服务对接',
// label: '园区店',
prop: 'yqMerchantName',
width: '200px'
},
{
label: '园区店商户号',
label: '商户号',
// label: '园区店商户号',
prop: 'yqMerchantId',
width: '120px'
},
......
<!-- 设置用户隐私协议 -->
<template>
<d2-dialog title="批量修改所属园区店"
<!-- <d2-dialog title="批量修改所属园区店" -->
<d2-dialog title="批量修改所属服务对接"
:is-visible="merchantVisible"
class="merchantDailog"
width="30%"
......@@ -10,7 +11,8 @@
:model="infoForm"
:rules="formRules"
label-width="120px">
<el-form-item label="园区店:"
<!-- <el-form-item label="园区店:" -->
<el-form-item label="服务对接:"
prop="yqMerchantId">
<el-select v-model="infoForm.yqMerchantId"
filterable
......
......@@ -27,6 +27,16 @@
:label="item.confId">{{ item.confLabel }}</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item label="安装服务商:">
<el-input style="width:350px"
maxlength="50"
v-model.trim="installMerchantName"></el-input>
</el-form-item>
<el-form-item label="营销服务商:">
<el-input style="width:350px"
maxlength="50"
v-model.trim="marketingMerchantName"></el-input>
</el-form-item>
<el-form-item>
<el-button type="primary"
@click="saveInfo">确认</el-button>
......@@ -58,7 +68,9 @@ export default {
],
checkList: [0],
manageTypeList: manageTypeList,
businessModel: ''
businessModel: '',
installMerchantName: '',
marketingMerchantName: ''
}
},
mounted() {
......@@ -73,6 +85,8 @@ export default {
GETYQMERCHANTCONFIGDETAIL(oParams).then((res) => {
this.checkList = res.supportPayTypes || []
this.businessModel = res.businessModel
this.installMerchantName = res.installMerchantName || ''
this.marketingMerchantName = res.marketingMerchantName || ''
this.onChange(this.checkList)
})
},
......@@ -140,10 +154,14 @@ export default {
return false
}
const oParams = {}
const oParams = {
installMerchantName: this.installMerchantName,
marketingMerchantName: this.marketingMerchantName
}
oParams.yqMerchantId = this.$route.query.yqMerchantId
oParams.supportPayTypes = this.checkList
oParams.businessModel = this.businessModel
UPDATEYQMERCHANTCONFIG(oParams).then((res) => {
console.log(res)
showToast({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!