From 3d8dc67eb42a4e606907eae43824c37e1ab9810f Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期二, 03 三月 2026 15:54:26 +0800
Subject: [PATCH] 经销商管理
---
admin/src/components/business/OperaCouponWindow.vue | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/admin/src/components/business/OperaCouponWindow.vue b/admin/src/components/business/OperaCouponWindow.vue
index a762bfe..90814dd 100644
--- a/admin/src/components/business/OperaCouponWindow.vue
+++ b/admin/src/components/business/OperaCouponWindow.vue
@@ -1,7 +1,6 @@
<template>
<GlobalWindow
:title="title"
- width="60%"
:visible.sync="visible"
:confirm-working="isWorking"
@confirm="confirm"
@@ -152,7 +151,9 @@
}
}
const numRule = (rule, value, callBack) => {
- if (value < 0) {
+ if (value ==='') {
+ callBack(new Error())
+ } else if (value < 0) {
callBack(new Error())
} else {
callBack()
@@ -175,6 +176,7 @@
applyCateIdList: [],
type: 0,
limitPrice: '',
+ maxPrice:'',
price: '',
startDate: '',
endDate: '',
@@ -183,7 +185,7 @@
getMethod: '',
integral: '',
status: '',
- num: '',
+ num: 0,
info: ''
},
shops: [],
@@ -274,6 +276,8 @@
this.getDate = []
this.form.startDate = ''
this.form.endDate = ''
+ this.form.validDays=''
+ this.form.maxPrice =''
this.applyDataList = []
this.form.applyIdList = []
this.form.applyCateIdList = []
@@ -282,7 +286,7 @@
this.form.price = null
this.form.startDate = null
this.form.endDate = null
- this.form.num = 1
+ this.form.num = 0
// 鏂板缓
if (target == null) {
this.$nextTick(() => {
--
Gitblit v1.9.3