|
|
|
@ -285,7 +285,7 @@ |
|
|
|
|
<el-tab-pane :name="2"> |
|
|
|
|
<template #label> |
|
|
|
|
<div class="sa-flex" :class="validateData['2']?'is-error':''"> |
|
|
|
|
发货设置 |
|
|
|
|
其他配置 |
|
|
|
|
<el-icon v-if="validateData['2']" class="ml-1"> |
|
|
|
|
<warning-filled /> |
|
|
|
|
</el-icon> |
|
|
|
@ -312,6 +312,16 @@ |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
</el-tab-pane> |
|
|
|
|
<el-tab-pane :name="5"> |
|
|
|
|
<template #label> |
|
|
|
|
<div class="sa-flex" :class="validateData['5']?'is-error':''"> |
|
|
|
|
等级价格配置 |
|
|
|
|
<el-icon v-if="validateData['5']" class="ml-1"> |
|
|
|
|
<warning-filled /> |
|
|
|
|
</el-icon> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
</el-tab-pane> |
|
|
|
|
</el-tabs> |
|
|
|
|
</el-header> |
|
|
|
|
<el-main> |
|
|
|
@ -321,9 +331,9 @@ |
|
|
|
|
<div class="sa-flex mb-4"> |
|
|
|
|
<img v-if="!(state.type=='edit' && form.model.type=='virtual')" class="goods-type" :class="form.model.type=='normal'?'is-active':''" |
|
|
|
|
src="/assets/addons/shopro/img/goods/normal.png" @click="onChangeGoodsType('normal')" /> |
|
|
|
|
<img v-if="!(state.type=='edit' && form.model.type=='normal')" class="goods-type" :class="form.model.type=='virtual'?'is-active':''" |
|
|
|
|
src="/assets/addons/shopro/img/goods/virtual.png" |
|
|
|
|
@click="onChangeGoodsType('virtual')" /> |
|
|
|
|
<!-- <img v-if="!(state.type=='edit' && form.model.type=='normal')" class="goods-type" :class="form.model.type=='virtual'?'is-active':''"--> |
|
|
|
|
<!-- src="/assets/addons/shopro/img/goods/virtual.png"--> |
|
|
|
|
<!-- @click="onChangeGoodsType('virtual')" />--> |
|
|
|
|
</div> |
|
|
|
|
<el-form-item label="商品标题" prop="title"> |
|
|
|
|
<el-input class="sa-w-360" v-model="form.model.title" placeholder="请输入商品标题"></el-input> |
|
|
|
@ -414,11 +424,11 @@ |
|
|
|
|
<div class="sa-flex"> |
|
|
|
|
<el-radio-group :disabled="state.type == 'edit'" v-model="form.model.is_sku"> |
|
|
|
|
<el-radio :label="0">单规格</el-radio> |
|
|
|
|
<el-radio :label="1">多规格</el-radio> |
|
|
|
|
<!-- <el-radio :label="1">多规格</el-radio>--> |
|
|
|
|
</el-radio-group> |
|
|
|
|
<div class="warning"> |
|
|
|
|
如商品参与了拼团、秒杀、积分等活动,切换规格,可能导致活动规格不可用 |
|
|
|
|
</div> |
|
|
|
|
<!-- <div class="warning">--> |
|
|
|
|
<!-- 如商品参与了拼团、秒杀、积分等活动,切换规格,可能导致活动规格不可用--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
<template v-if="form.model.is_sku == 1"> |
|
|
|
@ -788,18 +798,13 @@ |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item v-if="form.model.dispatch_type == 'shopZt'" label="自提地址" prop="dispatch_id"> |
|
|
|
|
<div class="sa-w-360"> |
|
|
|
|
<el-checkbox-group v-model="ruleForm.type"> |
|
|
|
|
<el-checkbox value="Online activities" name="type"> |
|
|
|
|
南京仓 |
|
|
|
|
</el-checkbox> |
|
|
|
|
<el-checkbox value="Promotion activities" name="type"> |
|
|
|
|
江宁仓 |
|
|
|
|
</el-checkbox> |
|
|
|
|
<el-checkbox value="Offline activities" name="type"> |
|
|
|
|
南站仓 |
|
|
|
|
</el-checkbox> |
|
|
|
|
<el-checkbox value="Simple brand exposure" name="type"> |
|
|
|
|
雨花仓 |
|
|
|
|
<el-checkbox-group v-model="form.model.warehouse_ids"> |
|
|
|
|
<el-checkbox style="width: 230px;" |
|
|
|
|
v-for="item in form.model.shop_name_list" |
|
|
|
|
:key="item.id" |
|
|
|
|
:label="item.id" |
|
|
|
|
> |
|
|
|
|
{{item.name}} |
|
|
|
|
</el-checkbox> |
|
|
|
|
</el-checkbox-group> |
|
|
|
|
</div> |
|
|
|
@ -897,6 +902,43 @@ |
|
|
|
|
</el-form-item> |
|
|
|
|
</div> |
|
|
|
|
</el-form> |
|
|
|
|
<el-form :model="form.model" :rules="form.rules" ref="formRef5" label-width="100px"> |
|
|
|
|
<div v-show="state.activeStep==5"> |
|
|
|
|
<el-form-item label="会员用户" prop="user_price"> |
|
|
|
|
<el-input class="sa-w-360" v-model="form.model.user_price" placeholder="请输入会员价格" type="number"> |
|
|
|
|
<template #append>元</template> |
|
|
|
|
</el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="初级代理" prop="level1_price"> |
|
|
|
|
<el-input class="sa-w-360" v-model="form.model.level1_price" placeholder="请输入初级代理价格" type="number"> |
|
|
|
|
<template #append>元</template> |
|
|
|
|
</el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="中级代理" prop="level2_price"> |
|
|
|
|
<el-input class="sa-w-360" v-model="form.model.level2_price" placeholder="请输入中级代理价格" type="number"> |
|
|
|
|
<template #append>元</template> |
|
|
|
|
</el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="高级代理" prop="level3_price"> |
|
|
|
|
<el-input class="sa-w-360" v-model="form.model.level3_price" placeholder="请输入高级代理价格" type="number"> |
|
|
|
|
<template #append>元</template> |
|
|
|
|
</el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="公司账号" prop="company_price"> |
|
|
|
|
<el-input class="sa-w-360" v-model="form.model.company_price" placeholder="请输入高级代理价格" type="number"> |
|
|
|
|
<template #append>元</template> |
|
|
|
|
</el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
<el-form-item label="设为新人大礼包"> |
|
|
|
|
<el-radio-group v-model="form.model.is_new_user"> |
|
|
|
|
<el-radio :label=1>是</el-radio> |
|
|
|
|
<el-radio :label=0>否</el-radio> |
|
|
|
|
</el-radio-group> |
|
|
|
|
</el-form-item> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
</el-form> |
|
|
|
|
</el-scrollbar> |
|
|
|
|
</el-main> |
|
|
|
|
<el-footer class="sa-footer--submit sa-flex sa-row-right"> |
|
|
|
|