Commit 0b8a007b by 吕明尚

时长劵增加有效时段

parent 4dad6a8c
...@@ -299,6 +299,8 @@ ...@@ -299,6 +299,8 @@
<span>{{ parseTime(scope.row.endDate, '{y}-{m}-{d}') }}</span> <span>{{ parseTime(scope.row.endDate, '{y}-{m}-{d}') }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="有效开始时段" align="center" prop="validStartTime" width="180"/>
<el-table-column label="有效结束时段" align="center" prop="validEndTime" width="180"/>
<el-table-column label="数量" align="center" prop="number"/> <el-table-column label="数量" align="center" prop="number"/>
<el-table-column label="备注" align="center" prop="remark"/> <el-table-column label="备注" align="center" prop="remark"/>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
......
...@@ -151,6 +151,8 @@ ...@@ -151,6 +151,8 @@
<span>{{ parseTime(scope.row.endDate, '{y}-{m}-{d}') }}</span> <span>{{ parseTime(scope.row.endDate, '{y}-{m}-{d}') }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="有效开始时段" align="center" prop="validStartTime" width="180"/>
<el-table-column label="有效结束时段" align="center" prop="validEndTime" width="180"/>
<el-table-column label="数量" align="center" prop="number"/> <el-table-column label="数量" align="center" prop="number"/>
<el-table-column label="已赠送数量" align="center" prop="givNumber"> <el-table-column label="已赠送数量" align="center" prop="givNumber">
<template slot-scope="scope"> <template slot-scope="scope">
...@@ -275,6 +277,28 @@ ...@@ -275,6 +277,28 @@
placeholder="请选择有效期结束"> placeholder="请选择有效期结束">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
<el-form-item label="有效开始时段" prop="validStartTime">
<el-time-select clearable
v-model="form.validStartTime"
:picker-options="{
start: '00:00',
step: '01:00',
end: '23:00'
}"
placeholder="选择开始时段">
</el-time-select>
</el-form-item>
<el-form-item label="有效结束时段" prop="validEndTime">
<el-time-select clearable
v-model="form.validEndTime"
:picker-options="{
start: '00:00',
step: '01:00',
end: '23:00'
}"
placeholder="选择结束时段">
</el-time-select>
</el-form-item>
<el-form-item label="数量" prop="number"> <el-form-item label="数量" prop="number">
<el-input-number v-model="form.number" :min="1" :max="9999" label="优惠卷数量"/> <el-input-number v-model="form.number" :min="1" :max="9999" label="优惠卷数量"/>
<!-- <el-input v-model="form.number" type="textarea" placeholder="请输入数量" />--> <!-- <el-input v-model="form.number" type="textarea" placeholder="请输入数量" />-->
......
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