Commit 45ea268b by 吕明尚

套餐增加排序字段

parent 4088de28
...@@ -104,6 +104,7 @@ ...@@ -104,6 +104,7 @@
<el-table-column label="套餐名称" align="center" prop="name" width="150px"/> <el-table-column label="套餐名称" align="center" prop="name" width="150px"/>
<el-table-column label="时长" align="center" prop="duration" /> <el-table-column label="时长" align="center" prop="duration" />
<el-table-column label="金额" align="center" prop="price" /> <el-table-column label="金额" align="center" prop="price" />
<el-table-column label="排序" align="center" prop="sort"/>
<el-table-column label="套餐开始时段" align="center" prop="packaStartPeriod" /> <el-table-column label="套餐开始时段" align="center" prop="packaStartPeriod" />
<el-table-column label="套餐结束时段" align="center" prop="packaEndPeriod" /> <el-table-column label="套餐结束时段" align="center" prop="packaEndPeriod" />
<el-table-column label="是否首次下单可用" align="center" prop="firstOrderAvailable" > <el-table-column label="是否首次下单可用" align="center" prop="firstOrderAvailable" >
...@@ -159,6 +160,10 @@ ...@@ -159,6 +160,10 @@
<el-form-item label="套餐结束时段" prop="packaEndPeriod"> <el-form-item label="套餐结束时段" prop="packaEndPeriod">
<el-input-number v-model="form.packaEndPeriod" :min="0" :max="23" label="套餐开始时段"/> <el-input-number v-model="form.packaEndPeriod" :min="0" :max="23" label="套餐开始时段"/>
</el-form-item> </el-form-item>
<el-form-item label="排序" prop="sort">
<!--指定0到23范围的数字-->
<el-input-number v-model="form.sort" :min="0" :max="23" label="排序"/>
</el-form-item>
<el-form-item label="是否首次下单可用" prop="firstOrderAvailable"> <el-form-item label="是否首次下单可用" prop="firstOrderAvailable">
<el-radio-group v-model="form.firstOrderAvailable"> <el-radio-group v-model="form.firstOrderAvailable">
<el-radio <el-radio
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment