【代码优化】商城:优惠劵的描述字段新增
parent
7414a044a6
commit
15bd591c1b
|
@ -10,6 +10,18 @@
|
||||||
<el-form-item label="优惠券名称" prop="name">
|
<el-form-item label="优惠券名称" prop="name">
|
||||||
<el-input v-model="formData.name" placeholder="请输入优惠券名称" />
|
<el-input v-model="formData.name" placeholder="请输入优惠券名称" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="优惠券描述" prop="description">
|
||||||
|
<el-input
|
||||||
|
v-model="formData.description"
|
||||||
|
:autosize="{ minRows: 2, maxRows: 2 }"
|
||||||
|
:clearable="true"
|
||||||
|
:show-word-limit="true"
|
||||||
|
class="w-1/1!"
|
||||||
|
maxlength="512"
|
||||||
|
placeholder="请输入优惠券描述"
|
||||||
|
type="textarea"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item label="优惠劵类型" prop="productScope">
|
<el-form-item label="优惠劵类型" prop="productScope">
|
||||||
<el-radio-group v-model="formData.productScope">
|
<el-radio-group v-model="formData.productScope">
|
||||||
<el-radio
|
<el-radio
|
||||||
|
@ -172,18 +184,6 @@
|
||||||
/>
|
/>
|
||||||
天有效
|
天有效
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="优惠券描述" prop="description">
|
|
||||||
<el-input
|
|
||||||
v-model="formData.description"
|
|
||||||
:autosize="{ minRows: 2, maxRows: 2 }"
|
|
||||||
:clearable="true"
|
|
||||||
:show-word-limit="true"
|
|
||||||
class="w-100!"
|
|
||||||
maxlength="64"
|
|
||||||
placeholder="请输入优惠券描述"
|
|
||||||
type="textarea"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
|
||||||
</el-form>
|
</el-form>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<el-button :disabled="formLoading" type="primary" @click="submitForm">确 定</el-button>
|
<el-button :disabled="formLoading" type="primary" @click="submitForm">确 定</el-button>
|
||||||
|
|
Loading…
Reference in New Issue