mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +08:00
90 lines
4.6 KiB
HTML
90 lines
4.6 KiB
HTML
<div id="editCouponPropertyPoolModel" class="modal fade" role="dialog" aria-labelledby="exampleModalLabel"
|
|
aria-hidden="true">
|
|
<div class="modal-dialog modal-lg">
|
|
<div class="modal-content">
|
|
<div class="modal-body">
|
|
<h3 class="m-t-none m-b "><span>
|
|
<vc:i18n name="修改" namespace="editCouponPropertyPool"></vc:i18n>
|
|
</span></h3>
|
|
<div class="ibox-content">
|
|
<div>
|
|
<div>
|
|
<div class="form-group row">
|
|
<label class="col-sm-2 col-form-label"><span>
|
|
<vc:i18n name='优惠券名称' namespace='editCouponPropertyPool'></vc:i18n>
|
|
</span> </label>
|
|
<div class="col-sm-10">
|
|
<input v-model="editCouponPropertyPoolInfo.couponName" type="text"
|
|
:placeholder="vc.i18n('必填,请填写优惠券名称','editCouponPropertyPool')" class="form-control">
|
|
</div>
|
|
</div>
|
|
<div class="form-group row">
|
|
<label class="col-sm-2 col-form-label"><span>
|
|
<vc:i18n name='用途' namespace='editCouponPropertyPool'></vc:i18n>
|
|
</span> </label>
|
|
<div class="col-sm-10">
|
|
<select class="custom-select" v-model="editCouponPropertyPoolInfo.toType" @change="_editChangeToType()">
|
|
<option selected disabled value="">{{vc.i18n('必填,请选择用途','editCouponPropertyPool')}}</option>
|
|
</option>
|
|
<option value="1011">{{vc.i18n('购物','editCouponPropertyPool')}}
|
|
</option>
|
|
<option value="2002">{{vc.i18n('缴费','editCouponPropertyPool')}}
|
|
</option>
|
|
<option value="3003">{{vc.i18n('维修劵','editCouponPropertyPool')}}
|
|
</option>
|
|
<option value="4004">{{vc.i18n('停车劵','editCouponPropertyPool')}}
|
|
</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class="form-group row" v-for="(item,index) in editCouponPropertyPoolInfo.toTypes" :key="index">
|
|
<label class="col-sm-2 col-form-label">{{item.name}}</label>
|
|
<div class="col-sm-10">
|
|
<input v-model="item.columnValue" type="text" :placeholder="item.remark" class="form-control">
|
|
</div>
|
|
</div>
|
|
<div class="form-group row">
|
|
<label class="col-sm-2 col-form-label"><span>
|
|
<vc:i18n name='数量' namespace='editCouponPropertyPool'></vc:i18n>
|
|
</span> </label>
|
|
<div class="col-sm-10">
|
|
<input v-model="editCouponPropertyPoolInfo.stock" type="text"
|
|
:placeholder="vc.i18n('必填,请填写数量','editCouponPropertyPool')" class="form-control">
|
|
</div>
|
|
</div>
|
|
<div class="form-group row">
|
|
<label class="col-sm-2 col-form-label"><span>
|
|
<vc:i18n name='有效期' namespace='editCouponPropertyPool'></vc:i18n>
|
|
</span> </label>
|
|
<div class="col-sm-10">
|
|
<input v-model="editCouponPropertyPoolInfo.validityDay" type="text"
|
|
:placeholder="vc.i18n('必填,请填写有效期','editCouponPropertyPool')" class="form-control">
|
|
</div>
|
|
</div>
|
|
<div class="form-group row">
|
|
<label class="col-sm-2 col-form-label"><span>
|
|
<vc:i18n name='使用说明' namespace='editCouponPropertyPool'></vc:i18n>
|
|
</span></label>
|
|
<div class="col-sm-10">
|
|
<textarea :placeholder="vc.i18n('必填,请填写使用说明','editCouponPropertyPool')" class="form-control"
|
|
v-model="editCouponPropertyPoolInfo.remark"></textarea>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="ibox-content">
|
|
<button class="btn btn-primary float-right" type="button" v-on:click="editCouponPropertyPool()"><i
|
|
class="fa fa-check"></i> <span>
|
|
<vc:i18n name="保存"></vc:i18n>
|
|
</span></button>
|
|
<button type="button" class="btn btn-warning float-right" style="margin-right:20px;"
|
|
data-dismiss="modal"><span>
|
|
<vc:i18n name="取消"></vc:i18n>
|
|
</span></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> |