Commit 2dd0c25a by 张立顺

Merge branch 'develop' into 'master'

Develop

See merge request !51
2 parents 863af18a ef4b0bb0
...@@ -45,7 +45,8 @@ ...@@ -45,7 +45,8 @@
align="center"> align="center">
<span>线下对账</span> <span>线下对账</span>
</el-table-column> </el-table-column>
<el-table-column label="园区店名" <!-- <el-table-column label="园区店名" -->
<el-table-column label="服务对接"
prop="yqMerchantName" prop="yqMerchantName"
align="center" align="center"
width="170" /> width="170" />
...@@ -197,7 +198,8 @@ export default { ...@@ -197,7 +198,8 @@ export default {
isClear: true, isClear: true,
pickerOptions: 'rangePickerOptions' pickerOptions: 'rangePickerOptions'
}, { }, {
label: '园区店', label: '服务对接',
// label: '园区店',
name: 'yqMerchantId', name: 'yqMerchantId',
type: 'select', type: 'select',
isHide: !this.$store.state.d2admin.user.info.beSuper, isHide: !this.$store.state.d2admin.user.info.beSuper,
...@@ -209,7 +211,8 @@ export default { ...@@ -209,7 +211,8 @@ export default {
label: '商户名称', label: '商户名称',
name: 'merchantNameKeyWord', name: 'merchantNameKeyWord',
type: 'input', type: 'input',
placeholder: '请输入园区店/服务商/导流方名称', placeholder: '请输入服务对接/服务商/导流方名称',
// placeholder: '请输入园区店/服务商/导流方名称',
isClear: true, isClear: true,
keyFn: this.getList keyFn: this.getList
}, { }, {
...@@ -402,7 +405,8 @@ export default { ...@@ -402,7 +405,8 @@ export default {
const list = [ const list = [
...this.dowloadList, ...this.dowloadList,
{ {
name: '分账列表-线下分账(超管/园区店)', name: '分账列表-线下分账(超管/服务对接)',
// name: '分账列表-线下分账(超管/园区店)',
// uuid: JSON.parse(res).data, // uuid: JSON.parse(res).data,
// ifSuccess: false // ifSuccess: false
exportParam: JSON.stringify(params), exportParam: JSON.stringify(params),
......
...@@ -49,7 +49,8 @@ ...@@ -49,7 +49,8 @@
align="center"> align="center">
<span>线上分账</span> <span>线上分账</span>
</el-table-column> </el-table-column>
<el-table-column label="园区店名" <!-- <el-table-column label="园区店名" -->
<el-table-column label="服务对接"
prop="yqMerchantName" prop="yqMerchantName"
align="center" align="center"
width="170" /> width="170" />
...@@ -253,7 +254,8 @@ export default { ...@@ -253,7 +254,8 @@ export default {
optionLabel: 'confLabel', optionLabel: 'confLabel',
optionsName: 'divisionStatusList' optionsName: 'divisionStatusList'
}, { }, {
label: '园区店', label: '服务对接',
// label: '园区店',
name: 'yqMerchantId', name: 'yqMerchantId',
type: 'select', type: 'select',
isHide: !this.$store.state.d2admin.user.info.beSuper, isHide: !this.$store.state.d2admin.user.info.beSuper,
...@@ -265,7 +267,8 @@ export default { ...@@ -265,7 +267,8 @@ export default {
label: '商户名称', label: '商户名称',
name: 'merchantNameKeyWord', name: 'merchantNameKeyWord',
type: 'input', type: 'input',
placeholder: '请输入园区店/服务商/导流方名称', placeholder: '请输入服务对接/服务商/导流方名称',
// placeholder: '请输入园区店/服务商/导流方名称',
isClear: true, isClear: true,
keyFn: this.getList keyFn: this.getList
}, { }, {
...@@ -463,7 +466,7 @@ export default { ...@@ -463,7 +466,7 @@ export default {
const list = [ const list = [
...this.dowloadList, ...this.dowloadList,
{ {
name: '分账列表-线上分账(超管/园区店)', name: '分账列表-线上分账(超管/服务对接)',
exportParam: JSON.stringify(params), exportParam: JSON.stringify(params),
status: 'waiting', status: 'waiting',
timeid: new Date().getTime() timeid: new Date().getTime()
......
...@@ -154,7 +154,8 @@ ...@@ -154,7 +154,8 @@
</tr> </tr>
<tr v-if="detail.sceneType == 1 || detail.sceneType == 2"> <tr v-if="detail.sceneType == 1 || detail.sceneType == 2">
<td class="lb"> <td class="lb">
园区店 <!-- 园区店 -->
服务对接
</td> </td>
<td>{{ $$(detail.goodsOrder,'sellerMerchantName') }}</td> <td>{{ $$(detail.goodsOrder,'sellerMerchantName') }}</td>
<td class="lb"> <td class="lb">
......
...@@ -12,7 +12,8 @@ ...@@ -12,7 +12,8 @@
name="1" /> name="1" />
<!-- <el-tab-pane label="1.2次新车膨胀金活动" <!-- <el-tab-pane label="1.2次新车膨胀金活动"
name="2" /> --> name="2" /> -->
<el-tab-pane label="1.3售后直播众筹活动" <el-tab-pane v-if="!specialAccout"
label="1.3售后直播众筹活动"
name="3" /> name="3" />
</el-tabs> </el-tabs>
<el-card class="finance_list_summary" <el-card class="finance_list_summary"
...@@ -131,7 +132,7 @@ ...@@ -131,7 +132,7 @@
:search-form="searchForm" :search-form="searchForm"
:search-select-obj="searchSelectObj" :search-select-obj="searchSelectObj"
:form-data="showFormData" :form-data="showFormData"
:label-width="'100px'" :label-width="'150px'"
style="background: #fff;"> style="background: #fff;">
<div class="up-btns" <div class="up-btns"
style="bottom:10px; "> style="bottom:10px; ">
...@@ -158,7 +159,7 @@ ...@@ -158,7 +159,7 @@
</p> </p>
<p> <p>
累计分账金额:导流方{{ totalObj.totalShopProfitMoney }} 元, 累计分账金额:导流方{{ totalObj.totalShopProfitMoney }} 元,
园区店:{{ totalObj.totalYqProfitMoney }}元,平台方{{ 服务对接:{{ totalObj.totalYqProfitMoney }}元,平台方{{
totalObj.totalGlProfitMoney totalObj.totalGlProfitMoney
}} }}
元,服务商{{ totalObj.totalFranchiseeProfitMoney }} 元 元,服务商{{ totalObj.totalFranchiseeProfitMoney }} 元
...@@ -356,13 +357,16 @@ ...@@ -356,13 +357,16 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table-column> </el-table-column>
<el-table-column label="园区店" <!-- label="园区店" -->
<el-table-column label="服务对接"
align="center" align="center"
width="200"
prop="yqMerchantName"
v-if="yq_visible"> v-if="yq_visible">
<el-table-column prop="yqMerchantName" <!-- <el-table-column prop="yqMerchantName"
label="园区店名称" label="园区店名称"
width="170" width="170"
align="center" /> align="center" /> -->
<!-- 审计需求先屏蔽 --> <!-- 审计需求先屏蔽 -->
<!-- <el-table-column prop="yqProfitMoney" <!-- <el-table-column prop="yqProfitMoney"
label="园区店总金额" label="园区店总金额"
...@@ -470,20 +474,22 @@ ...@@ -470,20 +474,22 @@
</el-table-column> </el-table-column>
</el-table-column> --> </el-table-column> -->
<el-table-column label="平台方" <el-table-column label="平台方"
width="200"
prop="platformMerchantName"
align="center"> align="center">
<!-- 审计需求先屏蔽 --> <!-- 审计需求先屏蔽 -->
<!-- <el-table-column prop="glProfitMoney" <!-- <el-table-column prop="glProfitMoney"
label="平台方金额" label="平台方金额"
width="100" width="100"
align="center" /> --> align="center" /> -->
<el-table-column prop="platformMerchantName" <!-- <el-table-column prop="platformMerchantName"
label="平台方对象" label="平台方对象"
width="100" width="100"
align="center"> align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ (scope.row.platformMerchantName || (scope.row.platformMerchantId && scope.row.platformMerchantId != '-1')) ? scope.row.platformMerchantName : '嘀加智慧云' }}</span> <span>{{ (scope.row.platformMerchantName || (scope.row.platformMerchantId && scope.row.platformMerchantId != '-1')) ? scope.row.platformMerchantName : '嘀加智慧云' }}</span>
</template> </template>
</el-table-column> </el-table-column> -->
</el-table-column> </el-table-column>
<el-table-column label="订单类型" <el-table-column label="订单类型"
align="center" align="center"
...@@ -603,7 +609,8 @@ export default { ...@@ -603,7 +609,8 @@ export default {
pickerOptions: 'rangePickerOptions' pickerOptions: 'rangePickerOptions'
}, },
{ {
label: '园区店', label: '服务对接',
// label: '园区店',
name: 'yqMerchantId', name: 'yqMerchantId',
type: 'select', type: 'select',
optionList: [], optionList: [],
...@@ -622,7 +629,7 @@ export default { ...@@ -622,7 +629,7 @@ export default {
label: '流量来源', label: '流量来源',
name: 'merchantId', name: 'merchantId',
type: 'select', type: 'select',
noDataText: '请先选择园区店', noDataText: '请先选择服务对接',
optionList: [], optionList: [],
optionId: 'merchantId', optionId: 'merchantId',
optionLabel: 'merchantName', optionLabel: 'merchantName',
...@@ -632,7 +639,7 @@ export default { ...@@ -632,7 +639,7 @@ export default {
label: '商户名称', label: '商户名称',
name: 'merchantNameKeyWord', name: 'merchantNameKeyWord',
type: 'input', type: 'input',
placeholder: '请输入服务商/园区店/导流方名称', placeholder: '请输入服务商/服务对接/导流方名称',
isClear: true, isClear: true,
keyFn: this.keyDowmGetList keyFn: this.keyDowmGetList
}, },
...@@ -710,7 +717,7 @@ export default { ...@@ -710,7 +717,7 @@ export default {
optionLabel: 'name', optionLabel: 'name',
optionsName: 'channelTypeList' optionsName: 'channelTypeList'
}, { }, {
label: '园区店模式', label: '服务对接模式',
name: 'businessModel', name: 'businessModel',
type: 'select', type: 'select',
optionList: [], optionList: [],
......
...@@ -53,7 +53,7 @@ import outputValueDialog from './outputValueDialog' ...@@ -53,7 +53,7 @@ import outputValueDialog from './outputValueDialog'
import dayjs from 'dayjs' import dayjs from 'dayjs'
// import { getExportDailyReport } from '@api/index' // import { getExportDailyReport } from '@api/index'
// import { downLoadFile } from '@/common/util' // import { downLoadFile } from '@/common/util'
import { asyncExportExcel } from '@api/sys.base' // import { asyncExportExcel } from '@api/sys.base'
import { mapActions, mapState } from 'vuex' import { mapActions, mapState } from 'vuex'
export default { export default {
name: 'ReportDownloadsCom', name: 'ReportDownloadsCom',
...@@ -80,7 +80,10 @@ export default { ...@@ -80,7 +80,10 @@ export default {
computed: { computed: {
...mapState({ ...mapState({
dowloadList: (state) => state.d2admin.user.dowloadList dowloadList: (state) => state.d2admin.user.dowloadList
}) }),
specialAccout() {
return this.userInfo?.loginAccount?.loginAccout == '18123663366'
}
}, },
mounted() { mounted() {
}, },
......
...@@ -433,8 +433,11 @@ export default { ...@@ -433,8 +433,11 @@ export default {
return curBtns.some((item) => { return curBtns.some((item) => {
// 路由定义的权限id // 路由定义的权限id
return item.authId == '90701' return item.authId == '90701'
}) }) && !this.specialAccout
// return this.$store.getters['d2admin/auth/curBtns'] // return this.$store.getters['d2admin/auth/curBtns']
},
specialAccout() {
return this.userInfo?.loginAccount?.loginAccout == '18123663366'
} }
}, },
mounted() { mounted() {
......
...@@ -90,7 +90,8 @@ ...@@ -90,7 +90,8 @@
{{ detail.employeeName }} {{ detail.employeeName }}
</el-form-item> </el-form-item>
<div> <div>
<el-form-item label="园区店:"> <!-- <el-form-item label="园区店:"> -->
<el-form-item label="服务对接:">
{{ detail.sellerMerchantName }} {{ detail.sellerMerchantName }}
</el-form-item> </el-form-item>
<el-form-item label="转化员:"> <el-form-item label="转化员:">
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<d2-search ref="showSearch" <d2-search ref="showSearch"
class="show-search" class="show-search"
:search-form="searchForm" :search-form="searchForm"
:label-width="'100px'" :label-width="'150px'"
:form-data="showFormData" /> :form-data="showFormData" />
<div class="up-btns"> <div class="up-btns">
<el-button @click="handleSearch" <el-button @click="handleSearch"
...@@ -173,7 +173,8 @@ ...@@ -173,7 +173,8 @@
align="center" align="center"
width="170" width="170"
prop="merchantName" /> prop="merchantName" />
<el-table-column label="园区店" <!-- <el-table-column label="园区店" -->
<el-table-column label="服务对接"
align="center" align="center"
width="170" width="170"
prop="sellerMerchantName" /> prop="sellerMerchantName" />
...@@ -342,7 +343,8 @@ export default { ...@@ -342,7 +343,8 @@ export default {
isClear: true, isClear: true,
keyFn: this.keyDowmGetList keyFn: this.keyDowmGetList
}, { }, {
label: '园区店', // label: '园区店',
label: '服务对接',
name: 'yqMerchantId', name: 'yqMerchantId',
type: 'select', type: 'select',
optionList: [], optionList: [],
...@@ -362,7 +364,8 @@ export default { ...@@ -362,7 +364,8 @@ export default {
label: '流量来源', label: '流量来源',
name: 'merchantId', name: 'merchantId',
type: 'select', type: 'select',
noDataText: '请先选择园区店', noDataText: '请先选择服务对接',
// noDataText: '请先选择园区店',
optionList: [], optionList: [],
optionId: 'merchantId', optionId: 'merchantId',
optionLabel: 'merchantName', optionLabel: 'merchantName',
...@@ -398,7 +401,8 @@ export default { ...@@ -398,7 +401,8 @@ export default {
// optionsName: 'sourceChannelTypeList' // optionsName: 'sourceChannelTypeList'
optionsName: 'channelTypeList' optionsName: 'channelTypeList'
}, { }, {
label: '园区店模式', label: '服务对接模式',
// label: '园区店模式',
name: 'businessModel', name: 'businessModel',
type: 'select', type: 'select',
optionList: [], optionList: [],
......
...@@ -47,7 +47,8 @@ ...@@ -47,7 +47,8 @@
</el-button> </el-button>
<el-button type="primary" <el-button type="primary"
@click="batchUpdateYqMerchant"> @click="batchUpdateYqMerchant">
批量修改所属园区店 <!-- 批量修改所属园区店 -->
批量修改所属服务对接
</el-button> </el-button>
<el-button type="primary" <el-button type="primary"
@click="batchMarkAsNoUse"> @click="batchMarkAsNoUse">
...@@ -203,7 +204,8 @@ export default { ...@@ -203,7 +204,8 @@ export default {
optionLabel: 'confLabel', optionLabel: 'confLabel',
optionsName: 'inputStatusList' optionsName: 'inputStatusList'
}, { }, {
label: '园区店', label: '服务对接',
// label: '园区店',
name: 'yqMerchantId', name: 'yqMerchantId',
type: 'select', type: 'select',
isHide: !this.$store.state.d2admin.user.info.beSuper, isHide: !this.$store.state.d2admin.user.info.beSuper,
...@@ -265,12 +267,14 @@ export default { ...@@ -265,12 +267,14 @@ export default {
label: '终端编码', label: '终端编码',
prop: 'posTrmNo' prop: 'posTrmNo'
}, { }, {
label: '园区店', label: '服务对接',
// label: '园区店',
prop: 'yqMerchantName', prop: 'yqMerchantName',
width: '200px' width: '200px'
}, },
{ {
label: '园区店商户号', label: '商户号',
// label: '园区店商户号',
prop: 'yqMerchantId', prop: 'yqMerchantId',
width: '120px' width: '120px'
}, },
......
<!-- 设置用户隐私协议 --> <!-- 设置用户隐私协议 -->
<template> <template>
<d2-dialog title="批量修改所属园区店" <!-- <d2-dialog title="批量修改所属园区店" -->
<d2-dialog title="批量修改所属服务对接"
:is-visible="merchantVisible" :is-visible="merchantVisible"
class="merchantDailog" class="merchantDailog"
width="30%" width="30%"
...@@ -10,7 +11,8 @@ ...@@ -10,7 +11,8 @@
:model="infoForm" :model="infoForm"
:rules="formRules" :rules="formRules"
label-width="120px"> label-width="120px">
<el-form-item label="园区店:" <!-- <el-form-item label="园区店:" -->
<el-form-item label="服务对接:"
prop="yqMerchantId"> prop="yqMerchantId">
<el-select v-model="infoForm.yqMerchantId" <el-select v-model="infoForm.yqMerchantId"
filterable filterable
......
...@@ -27,6 +27,16 @@ ...@@ -27,6 +27,16 @@
:label="item.confId">{{ item.confLabel }}</el-radio> :label="item.confId">{{ item.confLabel }}</el-radio>
</el-radio-group> </el-radio-group>
</el-form-item> </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-form-item>
<el-button type="primary" <el-button type="primary"
@click="saveInfo">确认</el-button> @click="saveInfo">确认</el-button>
...@@ -58,7 +68,9 @@ export default { ...@@ -58,7 +68,9 @@ export default {
], ],
checkList: [0], checkList: [0],
manageTypeList: manageTypeList, manageTypeList: manageTypeList,
businessModel: '' businessModel: '',
installMerchantName: '',
marketingMerchantName: ''
} }
}, },
mounted() { mounted() {
...@@ -73,6 +85,8 @@ export default { ...@@ -73,6 +85,8 @@ export default {
GETYQMERCHANTCONFIGDETAIL(oParams).then((res) => { GETYQMERCHANTCONFIGDETAIL(oParams).then((res) => {
this.checkList = res.supportPayTypes || [] this.checkList = res.supportPayTypes || []
this.businessModel = res.businessModel this.businessModel = res.businessModel
this.installMerchantName = res.installMerchantName || ''
this.marketingMerchantName = res.marketingMerchantName || ''
this.onChange(this.checkList) this.onChange(this.checkList)
}) })
}, },
...@@ -140,10 +154,14 @@ export default { ...@@ -140,10 +154,14 @@ export default {
return false return false
} }
const oParams = {} const oParams = {
installMerchantName: this.installMerchantName,
marketingMerchantName: this.marketingMerchantName
}
oParams.yqMerchantId = this.$route.query.yqMerchantId oParams.yqMerchantId = this.$route.query.yqMerchantId
oParams.supportPayTypes = this.checkList oParams.supportPayTypes = this.checkList
oParams.businessModel = this.businessModel oParams.businessModel = this.businessModel
UPDATEYQMERCHANTCONFIG(oParams).then((res) => { UPDATEYQMERCHANTCONFIG(oParams).then((res) => {
console.log(res) console.log(res)
showToast({ showToast({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!