Commit a291d29b by 吕明尚

自营券增加过期天数

parent 784e4348
......@@ -283,7 +283,7 @@
<dict-tag :options="dict.type.store_order_type" :value="scope.row.orderType"/>
</template>
</el-table-column>
<el-table-column label="适用套餐" align="center" prop="packIds">
<el-table-column align="center" label="适用套餐" prop="packIds" width="150px">
<template slot-scope="scope">
<div v-if="scope.row.packIds">
<dict-tag :options="packList" :value="scope.row.packIds.split(',')"/>
......@@ -317,6 +317,8 @@
<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 align="center" label="过期天数" prop="expirationNumber"/>
<el-table-column label="备注" align="center" prop="remark"/>
<el-table-column align="center" class-name="small-padding fixed-width" fixed="right" label="操作">
<template slot-scope="scope">
......
......@@ -164,6 +164,7 @@
<el-table-column align="center" label="有效开始时段" prop="validStartTime" width="120px"/>
<el-table-column align="center" label="有效结束时段" prop="validEndTime" width="120px"/>
<el-table-column label="数量" align="center" prop="number"/>
<el-table-column align="center" label="过期天数" prop="expirationNumber"/>
<el-table-column align="center" label="已赠送数量" prop="givNumber" width="100px">
<template slot-scope="scope">
<div style="cursor: pointer;color: #00afff;" @click="onNavToCouponRecord(scope.row)">
......@@ -346,6 +347,9 @@
<el-input-number v-model="form.number" :min="1" :max="9999" label="优惠卷数量"/>
<!-- <el-input v-model="form.number" type="textarea" placeholder="请输入数量" />-->
</el-form-item>
<el-form-item label="过期天数" prop="expirationNumber">
<el-input-number v-model="form.expirationNumber" :max="365" :min="1" :step="1" label="过期天数"/>
</el-form-item>
<el-form-item label="说明" prop="remark">
<el-input v-model="form.remark" type="textarea" placeholder="请输入内容"/>
</el-form-item>
......@@ -424,6 +428,9 @@ export default {
number: [
{required: true, message: "数量不能为空", trigger: "blur"}
],
expirationNumber: [
{required: true, message: "过期天数不能为空", trigger: "blur"}
],
startDate: [
{required: true, message: "有效期开始不能为空", trigger: "change"}
],
......
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