Commit 1b91ee1e by chenwq

商品编辑-带货模式样式

1 parent ccf9d75f
...@@ -179,8 +179,10 @@ ...@@ -179,8 +179,10 @@
<el-radio-group :disabled="isDisabled" v-model="editForm[scope.scope.name]"> <el-radio-group :disabled="isDisabled" v-model="editForm[scope.scope.name]">
<div v-for="(n, idx) in baseData.takeGoodModeList" :key="idx"> <div v-for="(n, idx) in baseData.takeGoodModeList" :key="idx">
<el-radio :label="n.confId" class="take-good-mode-block"> <el-radio :label="n.confId" class="take-good-mode-block">
<span class="mode-radio">{{ n.confName }}</span> <div>
<span class="mode-radio radio-tip-txt" @click.stop.prevent="e => handleCancelBubble(e)">{{ scope.scope.tipObj[n.confId] }}</span> <span class="mode-radio">{{ n.confName }}</span>
<span class="mode-radio radio-tip-txt" @click.stop.prevent="e => handleCancelBubble(e)">{{ scope.scope.tipObj[n.confId] }}</span>
</div>
<el-form-item v-show="n.confId == '1'" prop="profitRatio" label="分润比例:"> <el-form-item v-show="n.confId == '1'" prop="profitRatio" label="分润比例:">
<el-input v-model="editForm.profitRatio" :disabled="editForm[scope.scope.name] != '1'" placeholder="请输入分润比例"><span slot="append">%</span></el-input> <el-input v-model="editForm.profitRatio" :disabled="editForm[scope.scope.name] != '1'" placeholder="请输入分润比例"><span slot="append">%</span></el-input>
<p class="edit-tips">此商品由门店帮卖货后获得的分成比例</p> <p class="edit-tips">此商品由门店帮卖货后获得的分成比例</p>
...@@ -723,6 +725,7 @@ export default { ...@@ -723,6 +725,7 @@ export default {
'1': '集团上架自己的商品分发到门店,每个月安装分润比例分成给门店', '1': '集团上架自己的商品分发到门店,每个月安装分润比例分成给门店',
'2': '门店需要配置零售价并上架商品,需要集团设置供货价给门店' '2': '门店需要配置零售价并上架商品,需要集团设置供货价给门店'
}, },
isHide: false,
isDisabled: false isDisabled: false
}, },
{ {
...@@ -1012,11 +1015,11 @@ export default { ...@@ -1012,11 +1015,11 @@ export default {
{ {
name: 'zoneId', name: 'zoneId',
pIdx: 0 pIdx: 0
},
{
name: 'takeGoodMode',
pIdx: 1
} }
// {
// name: 'supplyPrice',
// pIdx: 1
// }
] ]
this.hideOrShowAttr(attrObj) this.hideOrShowAttr(attrObj)
this.externalFormList.splice(3, 1) this.externalFormList.splice(3, 1)
...@@ -1627,13 +1630,13 @@ export default { ...@@ -1627,13 +1630,13 @@ export default {
.edit-pro .mode-radio { .edit-pro .mode-radio {
height: 32px; height: 32px;
line-height: 32px; line-height: 32px;
margin-right: 12px; margin-right: 8px;
} }
.edit-pro .take-good-mode-block .el-radio__input { .edit-pro .take-good-mode-block .el-radio__input {
height: 52px; height: 86px;
} }
.edit-pro .take-good-mode-block .el-radio__input.is-checked + .el-radio__label .radio-tip-txt { .edit-pro .take-good-mode-block .radio-tip-txt {
color: #606266; color: #999999;
} }
.edit-pro .wechat-container .wechat-footer { .edit-pro .wechat-container .wechat-footer {
position: absolute; position: absolute;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!