Commit 25b6bf40 by zhangquan

Merge branch 'SAAS+V4.41-0708' of http://192.168.3.233:8090/saas_plus/dj-car-lif…

…e-system into SAAS+V4.41-0708
2 parents 236f4229 9cc02c84
......@@ -198,7 +198,7 @@ export default {
/** 新改逻辑:园区店选项只对精品升级/会员权益可见 */
this.yqCheckVisible = false
}
this.selectMerchant()
// this.selectMerchant()
},
methods: {
......
......@@ -53,7 +53,8 @@
<editStaff :ref="`recep-${i.id}`"
:key="i.id"
v-show="windowId == i.id"
:query-data="i.data" />
:query-data="i.data"
@backIndex="backIndex" />
</template>
</div>
</div>
......@@ -138,6 +139,10 @@ export default {
}
}
})
},
backIndex() {
this.windowId = -1
}
}
}
......
......@@ -133,13 +133,13 @@ export default {
maxlength: "11",
isClear: true
},
{
label: "商户",
name: "allMerchantName",
type: "input",
maxlength: "50",
isClear: true
},
// {
// label: "商户",
// name: "allMerchantName",
// type: "input",
// maxlength: "50",
// isClear: true
// },
{
label: "商户号",
name: "allMerchantId",
......
......@@ -74,11 +74,16 @@
</div>
<div class="type1">
<div class="type-name">商户名称:</div>
<div class="type-val">{{ items.shopMerchant.merchantName }}</div>
<div class="type-val">
<!-- {{ items.shopMerchant.merchantName }} -->
<text-popover :refName="'shopMerchantName'" :content="items.shopMerchant.merchantName || '-'" />
</div>
</div>
<div class="type1">
<div class="type-name">联系人:</div>
<div class="type-val">{{ items.shopMerchant.contactName }}</div>
<div class="type-val">
{{ items.shopMerchant.contactName }}
</div>
</div>
<div class="type1">
<div class="type-name">联系电话:</div>
......@@ -86,12 +91,15 @@
</div>
<div class="type1 type2">
<div class="type-name">地址:</div>
<el-tooltip class="item" effect="dark" placement="top">
<div class="type-val">
<text-popover :refName="'shopMerchantAddress'" :content="items.shopMerchant.address || '-'" />
</div>
<!-- <el-tooltip class="item" effect="dark" placement="top">
<template slot="content">
<div class="address-box">{{ items.shopMerchant.address }}</div>
</template>
<div class="type-val">{{ items.shopMerchant.address }}</div>
</el-tooltip>
</el-tooltip> -->
</div>
<div class="type1">
<div class="type-name">创建时间:</div>
......@@ -192,7 +200,10 @@
<div class="type1">
<div class="type-name">园区店名称:</div>
<!-- items.yqMerchant.merchantName -->
<div class="type-val">{{ $$(items.yqMerchant, 'merchantName') }}</div>
<div class="type-val">
<!-- {{ $$(items.yqMerchant, 'merchantName') }} -->
<text-popover :refName="'yqMerchantName'" :content="$$(items.yqMerchant, 'merchantName') || '-'" />
</div>
</div>
<div class="type1">
<div class="type-name">联系人:</div>
......@@ -208,12 +219,15 @@
<div class="type-name">地址:</div>
<!-- items.yqMerchant.address -->
<!-- <div class="type-val">{{ $$(items.yqMerchant, 'address') }}</div> -->
<el-tooltip class="item" effect="dark" placement="top">
<!-- <el-tooltip class="item" effect="dark" placement="top">
<template slot="content">
<div class="address-box">{{ $$(items.yqMerchant, 'address') }}</div>
</template>
<div class="type-val">{{ $$(items.yqMerchant, 'address') }}</div>
</el-tooltip>
</el-tooltip> -->
<div class="type-val">
<text-popover :refName="'yqMerchantAddress'" :content="$$(items.yqMerchant, 'address') || '-'" />
</div>
</div>
<div class="type1">
<div class="type-name">创建时间:</div>
......@@ -380,6 +394,7 @@
import dayjs from "dayjs"
import { entrydateUpdate } from '@api/merchant'
import { goodsSourceList } from "@/common/constant/merchant"
import textPopover from './textPopover.vue'
export default {
name: 'LedgerAccount',
props: {
......@@ -608,7 +623,9 @@ export default {
return res
}
},
components: {},
components: {
textPopover
},
computed: {}
}
......
......@@ -299,12 +299,20 @@ $color: #2a58ad;
.type-name {
text-align: right;
width: 90px;
flex-shrink: 0;
}
.type-val {
flex: 1;
display: flex;
// flex: 1;
// display: flex;
// color: #1d1d1d;
flex-shrink: 0;
color: #1d1d1d;
display: inline-block !important;
width: calc(100% - 90px);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.type-color {
......
......@@ -629,12 +629,20 @@ $color: #2a58ad;
.type-name {
text-align: right;
width: 90px;
flex-shrink: 0;
}
.type-val {
flex: 1;
display: flex;
// flex: 1;
// display: flex;
// color: #1d1d1d;
color: #1d1d1d;
flex-shrink: 0;
display: inline-block !important;
width: calc(100% - 90px);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.type-color {
......
......@@ -39,8 +39,8 @@
</div>
<div class="type1 type2 right">
<div class="type-val val-center">
<span>导流方分润{{ getShop4sDeductChargeFlag(item.shop4sDeductChargeFlag) }}</span>;
<span>服务商分润{{ getShop4sDeductChargeFlag(item.partnerDeductChargeFlag) }}</span>
<span :class="{'isRed': item.shop4sDeductChargeFlagChanged}">导流方分润{{ getShop4sDeductChargeFlag(item.shop4sDeductChargeFlag) }}</span>;
<span :class="{'isRed': item.partnerDeductChargeFlagChanged}">服务商分润{{ getShop4sDeductChargeFlag(item.partnerDeductChargeFlag) }}</span>
</div>
</div>
</div>
......@@ -200,7 +200,7 @@
<template v-if="subItem.targetType == 3">
<div class="detail-i">其它费用</div>
<div class="detail-i more flex8">
<div class="flex_box" :class="{'isRed': ininItem.isCost && ininItem.diffTypes && ininItem.diffTypes.length }" v-for="(ininItem, initIdx) in item.expenseCategoryRuleTargetTypeGroups.find(ele => ele.targetType == 3).expenseCategoryRuleLevels" :key="initIdx">
<div class="flex_box" v-for="(ininItem, initIdx) in item.expenseCategoryRuleTargetTypeGroups.find(ele => ele.targetType == 3).expenseCategoryRuleLevels" :key="initIdx">
<template v-if="ininItem.nodeType == 1">
<div class="detail-i" :class="{ 'isRed': filterIsRed(ininItem, 1) }">{{ ininItem.expenseCategoryName }}</div>
<div class="detail-i" :class="{ 'isRed': filterIsRed(ininItem, 2) }">{{ ininItem.calculateMode == 1 ? '按品类计算' :
......@@ -311,6 +311,10 @@ export default {
{
name: 'thirdPartyCostFlag',
text: '第三方成本'
},
{
name: 'commission',
text: '手续费'
}
],
detailInfo: {}
......@@ -329,7 +333,7 @@ export default {
copyValue?.goodsTypeGroupRules?.map(item => {
let otherObj = {}
this.otherCostList.map(otherItem => {
if (item?.[otherItem.name] == 'Y') {
if (item?.[otherItem.name] == 'Y' || otherItem.name == 'commission') {
otherObj = item?.merchantDistributionRules?.find(ele => ele.expenseCategoryName == otherItem.text) || {}
otherObj.nodeType = 1 // 不可拓展类目
otherObj.isCost = true
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!