|
|
|
@ -778,12 +778,18 @@ |
|
|
|
|
<div v-show="state.activeStep==2"> |
|
|
|
|
<template v-if="form.model.type=='normal'"> |
|
|
|
|
<el-form-item label="配送方式"> |
|
|
|
|
<el-radio-group v-model="form.model.dispatch_type"> |
|
|
|
|
<el-radio label="express">物流快递</el-radio> |
|
|
|
|
<el-radio label="shopZt">到店自提</el-radio> |
|
|
|
|
</el-radio-group> |
|
|
|
|
<!-- <el-radio-group v-model="form.model.dispatch_type">--> |
|
|
|
|
<!-- <el-radio label="express">物流快递</el-radio>--> |
|
|
|
|
<!-- <el-radio label="shopZt">到店自提</el-radio>--> |
|
|
|
|
<!-- </el-radio-group>--> |
|
|
|
|
|
|
|
|
|
<el-checkbox-group v-model="form.model.dispatch_type"> |
|
|
|
|
<el-checkbox label="express">物流快递</el-checkbox> |
|
|
|
|
<el-checkbox label="shopZt">到店自提</el-checkbox> |
|
|
|
|
</el-checkbox-group> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item v-if="form.model.dispatch_type == 'express'" label="物流快递" prop="dispatch_id"> |
|
|
|
|
<!-- <el-form-item v-if="form.model.dispatch_type == 'express'" label="物流快递" prop="dispatch_id">--> |
|
|
|
|
<el-form-item label="物流快递" prop="dispatch_id"> |
|
|
|
|
<div class="sa-w-360"> |
|
|
|
|
<el-select v-model="form.model.dispatch_id" placeholder="请选择物流快递"> |
|
|
|
|
<el-option v-for="item in dispatch.select" :key="item.id" :label="item.name" |
|
|
|
@ -796,7 +802,8 @@ |
|
|
|
|
{/if} |
|
|
|
|
</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item v-if="form.model.dispatch_type == 'shopZt'" label="自提地址" prop="dispatch_id"> |
|
|
|
|
<!-- <el-form-item v-if="form.model.dispatch_type == 'shopZt'" label="自提地址" prop="dispatch_id">--> |
|
|
|
|
<el-form-item label="自提地址" prop="dispatch_id"> |
|
|
|
|
<div class="sa-w-360"> |
|
|
|
|
<el-checkbox-group v-model="form.model.warehouse_ids"> |
|
|
|
|
<el-checkbox style="width: 230px;" |
|
|
|
@ -809,9 +816,9 @@ |
|
|
|
|
</el-checkbox-group> |
|
|
|
|
</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="货到付款"> |
|
|
|
|
<el-switch v-model="form.model.is_offline" :active-value="1" :inactive-value="0"></el-switch> |
|
|
|
|
</el-form-item> |
|
|
|
|
<!-- <el-form-item label="货到付款">--> |
|
|
|
|
<!-- <el-switch v-model="form.model.is_offline" :active-value="1" :inactive-value="0"></el-switch>--> |
|
|
|
|
<!-- </el-form-item>--> |
|
|
|
|
</template> |
|
|
|
|
<template v-if="form.model.type=='virtual'"> |
|
|
|
|
<el-form-item label="配送方式"> |
|
|
|
|