Commit 2c942651 by Jaxon

Merge branch 'feature/goods-shelf' into 'SAAS+V5.8.0'

Feature/goods shelf

See merge request !622
2 parents c1248381 e3228bfd
......@@ -294,6 +294,13 @@ export default {
padding: 10px 20px;
> .title {
border-bottom: 0;
height: 50px;
line-height: 50px;
padding: 0 20px;
font-size: 16px;
font-weight: 600;
color: #333333;
}
> .simp-filter-wrapper {
flex: 1;
......
......@@ -17,9 +17,9 @@
:key="item.targetMerchantType"
class="table-body">
<td class="merchant-name-wrapper">
<span :title="getMerchantTypeName(item)">
<div class="text-hide" :title="getMerchantTypeName(item)">
{{ getMerchantTypeName(item) }}
</span>
</div>
</td>
<template v-for="(colItem, colIndex) in tableCols">
<td :key="`${colIndex}colList`" class="radio-wrapper">
......@@ -177,7 +177,7 @@ export default {
color: #333333;
font-size: 14px;
&:first-child {
width: 150px;
width: 180px;
}
.required-star {
color: #f56c6c;
......@@ -190,12 +190,24 @@ export default {
padding: 18px 0;
}
.merchant-name-wrapper {
padding: 0 6px;
width: 188px;
line-height: 20px;
color: #666666;
font-size: 14px;
text-align: center;
}
.radio-wrapper {
.el-radio {
.el-radio__input {
&.is-checked {
.el-radio__inner {
background-color: #2a58ad;
border-color: #2a58ad;
}
}
}
}
text-align: center;
.el-form-item {
margin-bottom: 0 !important;
......
......@@ -6,12 +6,14 @@
prop-prefix="owningMerchantDistributionRulesMap"
title="费用归属设置"
disabled
:shelf-type="shelfType"
:table-cols="tableCols"
:table-rows="tableRows" />
<CostAttributionSetting :value="merchantDistributionRulesMap"
prop-prefix="merchantDistributionRulesMap"
title="实际分账设置"
disabled
:shelf-type="shelfType"
:table-cols="tableCols"
:table-rows="tableRows" />
</div>
......
......@@ -4,7 +4,7 @@
<el-form-item label="分账品类"
prop="specialDetail.categoryType">
<el-select v-model="form.categoryType"
style="width:530px"
style="width:414px"
@change="handleCategoryTypeChange">
<el-option v-for="item in options.categoryType"
:key="item.value"
......@@ -101,7 +101,7 @@
<el-form-item :prop="getTrafficSideRuleProp(item, 'expenseCategoryCalculateType')"
:rules="[{ required: true, message: '请选择分润模式', trigger: 'change' }]">
<el-select v-model="item.expenseCategoryCalculateType"
style="width:530px"
style="width:414px"
placeholder="请选择分润模式">
<el-option v-for="option in getExpenseCategoryCalculateTypeOptions(item.applicationObjectType)"
:key="option.expenseCategoryCalculateType"
......
......@@ -87,7 +87,7 @@
</el-form-item>
<!-- 批量模式用这个 -->
<el-form-item v-if="isBatchPublishMode(shelfType)"
label="流量方分账方1"
label="流量方分账方"
prop="realityShopLevel">
<el-select v-model="profitSharingForm.realityShopLevel"
style="width:530px"
......@@ -102,7 +102,7 @@
</el-form-item>
<!-- 单店模式 -->
<el-form-item v-if="isSingleShopMode(shelfType)"
label="流量方分账方2"
label="流量方分账方"
prop="realityShopMerchantId">
<el-select v-model="profitSharingForm.realityShopMerchantId"
:disabled="!useEdit "
......@@ -185,6 +185,7 @@
:edit-state="editState"
:base-scene-code="baseSceneCode"
:business-code="businessCode"
:shelf-type="shelfType"
:prefix="$data._prefix"
@update:specialDetail="(e) => profitSharingForm.specialDetail = e" />
</div>
......@@ -564,6 +565,7 @@ export default {
<style scoped lang="scss">
.profit-sharing-config-config {
background-color: white;
.body-wrapper {
> .title-wrapper {
display: flex;
......@@ -572,6 +574,12 @@ export default {
border-bottom: 1px solid #e5e5e5;
> .title {
border-bottom: 0;
height: 50px;
line-height: 50px;
padding: 0 20px;
font-size: 16px;
font-weight: 600;
color: #333333;
}
.select-wrapper {
flex-shrink: 0;
......
......@@ -4,7 +4,7 @@
<el-form-item label="分账品类"
prop="specialDetail.categoryType">
<el-select v-model="form.categoryType"
style="width:530px"
style="width:414px"
@change="handleCategoryTypeChange">
<el-option v-for="item in options.categoryType"
:key="item.value"
......@@ -102,7 +102,7 @@
:prop="getTrafficSideRuleProp(item, 'expenseCategoryCalculateType')"
label-width="154px">
<el-select v-model="item.expenseCategoryCalculateType"
style="width:530px"
style="width:414px"
placeholder="请选择对账模式">
<el-option v-for="(option, index) in getExpenseCategoryCalculateTypeOptions(item.applicationObjectType)"
:key="`${index}${option.label}`"
......
......@@ -447,6 +447,7 @@ export default {
<style scoped lang="scss">
.profit-sharing-config-config {
background-color: white;
.body-wrapper {
> .title-wrapper {
display: flex;
......@@ -456,6 +457,12 @@ export default {
box-sizing: border-box;
> .title {
border-bottom: 0;
height: 50px;
line-height: 50px;
padding: 0 20px;
font-size: 16px;
font-weight: 600;
color: #333333;
}
.select-wrapper {
flex-shrink: 0;
......
......@@ -84,7 +84,7 @@
<div v-if="hasMerchantIdList" class="tabs-wrapper">
<Product v-if="productDetail.productType === 1"
ref="productRefs"
:key="tabsActive"
:key="tabsActive + productDetail.productName"
:edit-state="editState"
:merchant-id-list="merchantIdList"
:base-scene-code="baseSceneCode"
......@@ -92,7 +92,7 @@
@update:upgradeGoods="handleProductUpdateUpgradeGoods" />
<Combo v-if="productDetail.productType === 2"
ref="packageRefs"
:key="tabsActive"
:key="tabsActive + productDetail.productName"
:prefix="$data._prefix"
:merchant-id-list="merchantIdList"
:edit-state="editState"
......@@ -471,6 +471,7 @@ export default {
<style scoped lang="scss">
.product-shelving-wrapper {
margin-bottom: 0;
background-color: white;
> .title-wrapper {
display: flex;
align-items: center;
......@@ -478,6 +479,12 @@ export default {
border-bottom: 1px solid #e5e5e5;
> .title {
border-bottom: 0;
height: 50px;
line-height: 50px;
padding: 0 20px;
font-size: 16px;
font-weight: 600;
color: #333333;
}
.select-wrapper {
flex-shrink: 0;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!