Commit 24fe855c by 黑潮

fix: card

parent c09d8767
......@@ -236,7 +236,7 @@
</el-form-item>
<el-form-item prop="cardCodeCount" :label="form.useCustomCode ? '默认数量' : '新建数量'">
<div v-show="!form.useCustomCode"><el-input-number controls-position="right" :min="0" :max="10000000" :disabled="isEdit || isInfo" class="w200" v-model="form.cardCodeCount"></el-input-number><span class="fz13 gray">优惠券创建数量,如不填,则默认为100,000张</span></div>
<div v-show="!form.useCustomCode"><el-input-number controls-position="right" :min="0" :max="10000000" :disabled="isEdit || isInfo" class="w200" v-model="form.cardCodeCount" @change="val => !val && (form.cardCodeCount = 0)"></el-input-number><span class="fz13 gray">优惠券创建数量,如不填,则默认为100,000张</span></div>
<div v-show="form.useCustomCode"><el-input-number controls-position="right" :min="0" :max="100000" disabled class="w200" :value="form.customCodeEnd - form.customCodeBegin + 1"></el-input-number><span class="fz13 gray">优惠券创建数量,如不填,则默认为100,000张</span></div>
</el-form-item>
......
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