This commit is contained in:
gboy 2024-04-01 18:56:59 +08:00
parent d3695f3da3
commit 476dec13e8
4 changed files with 48 additions and 0 deletions

View File

@ -137,7 +137,11 @@ export default {
type_name: "", type_name: "",
type_info: "", type_info: "",
is_margin: 1, is_margin: 1,
is_service: 1,
is_goods: 1,
margin: 0, margin: 0,
service_cost: 0,
goods_cost: 0,
auth: [], auth: [],
description: "", description: "",
}, },

View File

@ -145,7 +145,11 @@ export default {
type_info: info.type_info, type_info: info.type_info,
mark: info.mark, mark: info.mark,
is_margin: info.is_margin || 0, is_margin: info.is_margin || 0,
is_service: info.is_service || 0,
is_goods: info.is_goods || 0,
margin: info.margin || 0, margin: info.margin || 0,
service_cost: info.service_cost || 0,
goods_cost: info.goods_cost || 0,
auth: info.auth_ids, auth: info.auth_ids,
description: info.description, description: info.description,
update_time: info.update_time, update_time: info.update_time,

View File

@ -37,6 +37,38 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row class="mt20">
<el-col :span="12">
<el-form-item label="店铺技术服务费:">
<el-radio-group v-model="formValidate.is_service">
<el-radio :label="0" class="radio"></el-radio>
<el-radio :label="1"></el-radio>
</el-radio-group>
<span v-if="formValidate.is_service == 1">
<el-input
v-model="formValidate.service_cost"
placeholder="请填写技术服务费"
style="width:120px;margin-left: 8px;"
/>
</span>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="店铺上架费:">
<el-radio-group v-model="formValidate.is_goods">
<el-radio :label="0" class="radio"></el-radio>
<el-radio :label="1"></el-radio>
</el-radio-group>
<span v-if="formValidate.is_goods == 1">
<el-input
v-model="formValidate.goods_cost"
placeholder="请填写上架费"
style="width:120px;margin-left: 8px;"
/>
</span>
</el-form-item>
</el-col>
</el-row>
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="店铺类型要求:"> <el-form-item label="店铺类型要求:">

View File

@ -14,6 +14,14 @@
<div>店铺保证金</div> <div>店铺保证金</div>
<div class="value">{{typeData.is_margin ? typeData.margin+'元' : '无'}}</div> <div class="value">{{typeData.is_margin ? typeData.margin+'元' : '无'}}</div>
</li> </li>
<li class="item">
<div>店铺技术服务费</div>
<div class="value">{{typeData.is_service ? typeData.service_cost+'元' : '无'}}</div>
</li>
<li class="item">
<div>店铺上架费</div>
<div class="value">{{typeData.is_goods ? typeData.goods_cost+'元' : '无'}}</div>
</li>
<li class="item"> <li class="item">
<div>店铺类型要求</div> <div>店铺类型要求</div>
<div class="value">{{typeData.type_info}}</div> <div class="value">{{typeData.type_info}}</div>