update:新增店铺内部运费,是否开启自配送开关

This commit is contained in:
lihaoyuan 2025-12-24 11:46:54 +08:00
parent 5e0239da35
commit 5419cba7e8

View File

@ -113,7 +113,41 @@
</el-radio> </el-radio>
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
<el-form-item label="E签宝合同" prop="esign_contract_file_url"> <el-form-item label="店铺内部运费(单位/分)" size="normal" prop="shopping_fee_inner" >
<div style="display: flex; align-items: center;">
<el-input
v-model="form.shopping_fee_inner"
placeholder="请输入店铺内部运费"
clearable
style="width: 200px;"
/>
<el-tooltip
content="0-使用平台的内部运费大于0使用店铺的内部运费"
placement="top"
effect="dark"
style="margin-left: 8px;"
>
<i class="el-icon-question" style="cursor: pointer; color: #909399; font-size: 14px;"></i>
</el-tooltip>
</div>
</el-form-item>
<el-form-item
label="是否开启自配送"
label-width="150px"
prop="is_delivery_self"
>
<el-switch
v-model="form.is_delivery_self"
:active-value="1"
:inactive-value="2"
@change="handleDeliveryStatus"
active-text="是"
inactive-text="否"
></el-switch>
</el-form-item>
<el-form-item label="E签宝合同" prop="esign_contract_file_url">
<template v-if="form.esign_contract_file_url"> <template v-if="form.esign_contract_file_url">
<el-button type="primary" size="small" @click="downloadContract" style="margin-right: 10px;"> <el-button type="primary" size="small" @click="downloadContract" style="margin-right: 10px;">
点击下载 点击下载
@ -408,6 +442,10 @@ export default {
] : [] ] : []
})); }));
}, },
handleDeliveryStatus(e){
this.form.is_delivery_self = e;
console.log("D",e)
},
handleChangeBizCategory(value) { handleChangeBizCategory(value) {
if (value && value.length === 2) { if (value && value.length === 2) {
const [bizCategoryId, bizSecondCategoryId] = value; const [bizCategoryId, bizSecondCategoryId] = value;