Commit 863af18a by 张立顺

Merge branch 'develop' into 'master'

Develop

See merge request !47
2 parents a7b3110f d56571ee
...@@ -255,7 +255,8 @@ ...@@ -255,7 +255,8 @@
分账金额 分账金额
</td> </td>
</tr> </tr>
<tr v-for="item in ledgerData"> <tr v-for="(item,index) in ledgerData"
:key="index">
<td> <td>
{{ item.expenseCategoryName }} {{ item.expenseCategoryName }}
</td> </td>
...@@ -271,7 +272,8 @@ ...@@ -271,7 +272,8 @@
<td>{{ item.expenseCategoryResult?('¥ '+item.expenseCategoryResult):'¥0' }}</td> <td>{{ item.expenseCategoryResult?('¥ '+item.expenseCategoryResult):'¥0' }}</td>
</tr> </tr>
</table> </table>
<table class="finnance_table" <!-- 审计需求先屏蔽 -->
<!-- <table class="finnance_table"
v-if="reconciliationData.length"> v-if="reconciliationData.length">
<tr> <tr>
<td colspan="5" <td colspan="5"
...@@ -311,7 +313,7 @@ ...@@ -311,7 +313,7 @@
</td> </td>
<td>{{ item.expenseCategoryResult?('¥ '+item.expenseCategoryResult):'¥0' }}</td> <td>{{ item.expenseCategoryResult?('¥ '+item.expenseCategoryResult):'¥0' }}</td>
</tr> </tr>
</table> </table> -->
<p style="text-align:left;"> <p style="text-align:left;">
<el-button type="primary" <el-button type="primary"
@click="handleClose"> @click="handleClose">
...@@ -407,7 +409,9 @@ export default { ...@@ -407,7 +409,9 @@ export default {
const calculateds = res.expenseCategoryCalculateds const calculateds = res.expenseCategoryCalculateds
if (calculateds && calculateds.length > 0) { if (calculateds && calculateds.length > 0) {
calculateds.forEach(item => { calculateds.forEach(item => {
if (item.ruleType == 1) { // 分账 // if (item.ruleType == 1) { // 分账
// 审计需求先加过滤
if (item.ruleType == 1 && item.expenseCategoryId == 1) { // 分账
this.ledgerData.push(item) this.ledgerData.push(item)
} else if (item.ruleType == 3) { // 对账 } else if (item.ruleType == 3) { // 对账
this.reconciliationData.push(item) this.reconciliationData.push(item)
......
...@@ -6,12 +6,12 @@ ...@@ -6,12 +6,12 @@
style="background: #E7EAEC;"> style="background: #E7EAEC;">
<!-- @tab-click="tabClick" --> <!-- @tab-click="tabClick" -->
<el-tabs v-model="searchForm.sceneType"> <el-tabs v-model="searchForm.sceneType">
<el-tab-pane label="1.0新车车损升级" <!-- <el-tab-pane label="1.0新车车损升级"
name="0" /> name="0" /> -->
<el-tab-pane label="1.1次新车精品升级" <el-tab-pane label="1.1次新车精品升级"
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 label="1.3售后直播众筹活动"
name="3" /> name="3" />
</el-tabs> </el-tabs>
...@@ -363,7 +363,8 @@ ...@@ -363,7 +363,8 @@
label="园区店名称" label="园区店名称"
width="170" width="170"
align="center" /> align="center" />
<el-table-column prop="yqProfitMoney" <!-- 审计需求先屏蔽 -->
<!-- <el-table-column prop="yqProfitMoney"
label="园区店总金额" label="园区店总金额"
align="center"> align="center">
<template slot-scope="scope"> <template slot-scope="scope">
...@@ -372,14 +373,15 @@ ...@@ -372,14 +373,15 @@
}}</span> }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="yqGrossProfit"
label="园区店毛利收益"
align="center" /> -->
</el-table-column>
<!-- <el-table-column prop="extraCost" <!-- <el-table-column prop="extraCost"
label="额外成本" label="额外成本"
align="center"> align="center">
</el-table-column> --> </el-table-column> -->
<el-table-column prop="yqGrossProfit"
label="园区店毛利收益"
align="center" />
</el-table-column>
<!-- <el-table-column label="服务商分账" <!-- <el-table-column label="服务商分账"
align="center" align="center"
v-show="userInfo.beSuper"> v-show="userInfo.beSuper">
...@@ -414,8 +416,6 @@ ...@@ -414,8 +416,6 @@
</el-table-column> </el-table-column>
</el-table-column> --> </el-table-column> -->
<!-- v-show="userInfo.beSuper" --> <!-- v-show="userInfo.beSuper" -->
<el-table-column label="服务商"
align="center">
<!-- <el-table-column prop="franchiseeProfitPer" <!-- <el-table-column prop="franchiseeProfitPer"
label="服务商比例" label="服务商比例"
width="100" width="100"
...@@ -428,6 +428,10 @@ ...@@ -428,6 +428,10 @@
}}</span> }}</span>
</template> </template>
</el-table-column> --> </el-table-column> -->
<!-- 审计需求先屏蔽 -->
<!-- <el-table-column label="服务商"
align="center">
<el-table-column prop="franchiseeProfitMoney" <el-table-column prop="franchiseeProfitMoney"
label="服务商总金额" label="服务商总金额"
width="110" width="110"
...@@ -464,13 +468,14 @@ ...@@ -464,13 +468,14 @@
}}</span> }}</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">
<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"
...@@ -506,6 +511,7 @@ ...@@ -506,6 +511,7 @@
<auth-button :data="scope" /> <auth-button :data="scope" />
</template> </template>
</el-table-column> </el-table-column>
</el-table-column>
</el-table> </el-table>
<el-pagination background <el-pagination background
@size-change="handleSizeChange" @size-change="handleSizeChange"
...@@ -769,14 +775,22 @@ export default { ...@@ -769,14 +775,22 @@ 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() {
if (this.$route.params.sceneType) { if (this.$route.params.sceneType) {
this.searchForm.sceneType = this.$route.params.sceneType this.searchForm.sceneType = this.$route.params.sceneType
} }
if (this.userInfo.beSuper) { if (this.specialAccout) {
// debugger
const itemName = ['sourceList', 'channelType', 'businessModel']
this.showFormData = this.showFormData.filter(item => !itemName.includes(item.name))
}
if (this.userInfo.beSuper || this.specialAccout) {
getParkStore({}).then(res => { getParkStore({}).then(res => {
res.forEach(item => { res.forEach(item => {
item.merchantId = item.merchantNo item.merchantId = item.merchantNo
......
...@@ -249,7 +249,7 @@ ...@@ -249,7 +249,7 @@
label="园区店名称" label="园区店名称"
width="170" width="170"
align="center" /> align="center" />
<el-table-column prop="yqProfitMoney" <!-- <el-table-column prop="yqProfitMoney"
label="园区店总金额" label="园区店总金额"
align="center"> align="center">
<template slot-scope="scope"> <template slot-scope="scope">
...@@ -258,14 +258,15 @@ ...@@ -258,14 +258,15 @@
}}</span> }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="yqGrossProfit"
label="园区店毛利收益"
align="center" /> -->
</el-table-column>
<!-- <el-table-column prop="extraCost" <!-- <el-table-column prop="extraCost"
label="额外成本" label="额外成本"
align="center"> align="center">
</el-table-column> --> </el-table-column> -->
<el-table-column prop="yqGrossProfit"
label="园区店毛利收益"
align="center" />
</el-table-column>
<!-- <el-table-column label="服务商分账" <!-- <el-table-column label="服务商分账"
align="center"> align="center">
<el-table-column prop="franchiseeMerchantName" <el-table-column prop="franchiseeMerchantName"
...@@ -295,9 +296,6 @@ ...@@ -295,9 +296,6 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table-column> --> </el-table-column> -->
<el-table-column label="服务商"
align="center"
v-show="userInfo.beSuper">
<!-- <el-table-column prop="franchiseeProfitPer" <!-- <el-table-column prop="franchiseeProfitPer"
label="服务商比例" label="服务商比例"
width="100" width="100"
...@@ -310,6 +308,11 @@ ...@@ -310,6 +308,11 @@
}}</span> }}</span>
</template> </template>
</el-table-column> --> </el-table-column> -->
<!-- <el-table-column label="服务商"
align="center"
v-show="userInfo.beSuper">
<el-table-column prop="franchiseeProfitMoneyForAudit" <el-table-column prop="franchiseeProfitMoneyForAudit"
label="服务商总金额" label="服务商总金额"
width="110" width="110"
...@@ -322,10 +325,7 @@ ...@@ -322,10 +325,7 @@
}}</span> }}</span>
</template> </template>
</el-table-column> </el-table-column>
<!-- <el-table-column prop="singlePartnerMerchantName"
label="服务商对象1"
width="100"
align="center" /> -->
<el-table-column prop="installCost" <el-table-column prop="installCost"
label="安装费金额" label="安装费金额"
width="100" width="100"
...@@ -338,10 +338,6 @@ ...@@ -338,10 +338,6 @@
}}</span> }}</span>
</template> </template>
</el-table-column> </el-table-column>
<!-- <el-table-column prop="installCostMerchantName"
label="服务商对象2"
width="100"
align="center" /> -->
<el-table-column prop="marketingCost" <el-table-column prop="marketingCost"
label="营销费金额" label="营销费金额"
width="100" width="100"
...@@ -354,22 +350,6 @@ ...@@ -354,22 +350,6 @@
}}</span> }}</span>
</template> </template>
</el-table-column> </el-table-column>
<!-- <el-table-column prop="rewardAndPenaltyCost"
label="奖惩费金额"
width="100"
align="center">
<template slot-scope="scope">
<span>{{
scope.row.rewardAndPenaltyCost === '¥0'
? '-'
: scope.row.rewardAndPenaltyCost
}}</span>
</template>
</el-table-column> -->
<!-- <el-table-column prop="marketingCostMerchantName"
label="服务商对象3"
width="100"
align="center" /> -->
<el-table-column prop="divisionType" <el-table-column prop="divisionType"
label="分账类型" label="分账类型"
align="center"> align="center">
...@@ -377,13 +357,13 @@ ...@@ -377,13 +357,13 @@
<span>{{ scope.row.divisionType ? baseData.divisionTypeList.find(item => +item.confId === scope.row.divisionType).confLabel : '-' }}</span> <span>{{ scope.row.divisionType ? baseData.divisionTypeList.find(item => +item.confId === scope.row.divisionType).confLabel : '-' }}</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">
<el-table-column prop="glProfitMoneyForAudit" <!-- <el-table-column prop="glProfitMoneyForAudit"
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"
......
...@@ -23,7 +23,8 @@ ...@@ -23,7 +23,8 @@
<el-form-item label="订单状态:"> <el-form-item label="订单状态:">
{{ statusOpts[detail.status] }} {{ statusOpts[detail.status] }}
</el-form-item> </el-form-item>
<el-form-item label="订单来源:"> <el-form-item label="订单来源:"
v-if="!specialAccout">
{{ detail.source==7 ? '系统导入' : '小程序订单' }} {{ detail.source==7 ? '系统导入' : '小程序订单' }}
</el-form-item> </el-form-item>
...@@ -227,6 +228,7 @@ export default { ...@@ -227,6 +228,7 @@ export default {
}, },
data() { data() {
return { return {
userInfo: this.$store.state.d2admin.user.info,
imgVisible: false, imgVisible: false,
detail: { detail: {
orderCode: '', orderCode: '',
...@@ -279,7 +281,11 @@ export default { ...@@ -279,7 +281,11 @@ export default {
} }
} }
}, },
computed: {
specialAccout() {
return this.userInfo?.loginAccount?.loginAccout == '18123663366'
}
},
mounted() { mounted() {
this.detail = this.$route.params.detail this.detail = this.$route.params.detail
this.signRefundFlag = this.$route.params.signRefundFlag this.signRefundFlag = this.$route.params.signRefundFlag
......
...@@ -177,13 +177,22 @@ ...@@ -177,13 +177,22 @@
align="center" align="center"
width="170" width="170"
prop="sellerMerchantName" /> prop="sellerMerchantName" />
<el-table-column label="安装服务商"
align="center"
width="170"
prop="installMerchantName" />
<el-table-column label="营销服务商"
align="center"
width="170"
prop="marketingMerchantName" />
<el-table-column label="销售顾问" <el-table-column label="销售顾问"
align="center" align="center"
prop="employeeName" /> prop="employeeName" />
<el-table-column label="转化人员" <el-table-column label="转化人员"
align="center" align="center"
prop="sellerName" /> prop="sellerName" />
<el-table-column label="订单来源" <el-table-column v-if="!specialAccout"
label="订单来源"
align="center" align="center"
prop="source"> prop="source">
<template slot-scope="scope"> <template slot-scope="scope">
...@@ -498,10 +507,22 @@ export default { ...@@ -498,10 +507,22 @@ export default {
dowloadList: (state) => state.d2admin.user.dowloadList, dowloadList: (state) => state.d2admin.user.dowloadList,
updateList: (state) => state.d2admin.user.updateList, updateList: (state) => state.d2admin.user.updateList,
updateRefesh: (state) => state.d2admin.user.updateRefesh updateRefesh: (state) => state.d2admin.user.updateRefesh
}) }),
specialAccout() {
return this.userInfo?.loginAccount?.loginAccout == '18123663366'
}
}, },
mounted() { mounted() {
if (this.userInfo.beSuper) { // 审计用账号特殊处理
// console.log(this.userInfo?.loginAccount?.loginAccout)
// const specialAccout =
// console.log(specialAccout)
if (this.specialAccout) {
// debugger
const itemName = ['sourceList', 'channelType', 'businessModel']
this.showFormData = this.showFormData.filter(item => !itemName.includes(item.name))
}
if (this.userInfo.beSuper || this.specialAccout) {
getParkStore({}).then(res => { getParkStore({}).then(res => {
res.forEach(item => { res.forEach(item => {
item.merchantId = item.merchantNo item.merchantId = item.merchantNo
......
...@@ -29,10 +29,10 @@ ...@@ -29,10 +29,10 @@
<el-button @click="handleConfirm" <el-button @click="handleConfirm"
size="small" size="small"
type="primary"> type="primary">
保存 返回
</el-button> </el-button>
<el-button size="small" <!-- <el-button size="small"
@click="handleReset"> 取消 </el-button> @click="handleReset"> 返回 </el-button> -->
</div> </div>
</div> </div>
</d2-Container> </d2-Container>
......
...@@ -72,6 +72,7 @@ ...@@ -72,6 +72,7 @@
v-else>暂无对账规则</p> v-else>暂无对账规则</p>
<p class="tips">快去设置看看~</p> <p class="tips">快去设置看看~</p>
</div> </div>
</div> </div>
</div> </div>
</d2-Container> </d2-Container>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!