doum
11 小时以前 1e4f8276eb86dde67135126cbb9bae19bb845823
admin/src/components/business/OperaCouponWindow.vue
@@ -1,7 +1,7 @@
<template>
  <GlobalWindow
      :title="title"
      width="60%"
      width="80%"
      :visible.sync="visible"
      :confirm-working="isWorking"
      @confirm="confirm"
@@ -152,7 +152,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 +177,7 @@
        applyCateIdList: [],
        type: 0,
        limitPrice: '',
        maxPrice:'',
        price: '',
        startDate: '',
        endDate: '',
@@ -183,7 +186,7 @@
        getMethod: '',
        integral: '',
        status: '',
        num: '',
        num: 0,
        info: ''
      },
      shops: [],
@@ -274,6 +277,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 +287,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(() => {