Commit 5ed0c17b authored by liudong1993's avatar liudong1993
parents 5adb9166 6259d74b
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
<el-option :label="$t('pub.pleaseSel')" value="0"></el-option> <el-option :label="$t('pub.pleaseSel')" value="0"></el-option>
<el-option :label="$t('active.cl_wsyong')" value="1"></el-option> <el-option :label="$t('active.cl_wsyong')" value="1"></el-option>
<el-option :label="$t('active.cl_ysyong')" value="2"></el-option> <el-option :label="$t('active.cl_ysyong')" value="2"></el-option>
<el-option :label="$t('active.cl_yzfei')" value="3"></el-option> <!-- <el-option :label="$t('active.cl_yzfei')" value="3"></el-option> -->
</el-select> </el-select>
</span> </span>
</li> </li>
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
<li> <li>
<span> <span>
<em>使用时间</em> <em>使用时间</em>
<el-date-picker class="h34" v-model="UseDate" @change="timeAdd(1)" type="daterange" <el-date-picker class="h34" v-model="UseDate" @change="timeAdd(2)" type="daterange"
value-format="yyyy-MM-dd"> value-format="yyyy-MM-dd">
</el-date-picker> </el-date-picker>
</span> </span>
...@@ -70,14 +70,14 @@ ...@@ -70,14 +70,14 @@
<li> <li>
<span> <span>
<em>过期时间</em> <em>过期时间</em>
<el-date-picker class="h34" v-model="ExpirationDate" @change="timeAdd(1)" type="daterange" <el-date-picker class="h34" v-model="ExpirationDate" @change="timeAdd(3)" type="daterange"
value-format="yyyy-MM-dd"> value-format="yyyy-MM-dd">
</el-date-picker> </el-date-picker>
</span> </span>
</li> </li>
<li> <li>
<input type="button" class="hollowFixedBtn" :value="$t('pub.searchBtn')" @click="resetPageIndex(),getList()"> <input type="button" class="hollowFixedBtn" :value="$t('pub.searchBtn')" @click="resetPageIndex(),getList(),getCountList()">
</li> </li>
</ul> </ul>
</div> </div>
...@@ -89,9 +89,8 @@ ...@@ -89,9 +89,8 @@
CountData.allUCount CountData.allUCount
}}</span>&nbsp;&nbsp;&nbsp;&nbsp;未使用数:<span class="colorE95252">{{ }}</span>&nbsp;&nbsp;&nbsp;&nbsp;未使用数:<span class="colorE95252">{{
CountData.allNCount CountData.allNCount
}}</span>&nbsp;&nbsp;&nbsp;&nbsp;作废数:<span class="colorE95252">{{
CountData.allFCount
}}</span> }}</span>
</div> </div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0"> <table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
<tr> <tr>
...@@ -118,9 +117,10 @@ ...@@ -118,9 +117,10 @@
{{item.couponsName}}</td> {{item.couponsName}}</td>
<td>{{item.couponsType==1?("满"+item.useCondition+"元减"+item.denomination+"元"):("满"+item.useCondition+"打"+item.denomination+"折")}}</td> <td>{{item.couponsType==1?("满"+item.useCondition+"元减"+item.denomination+"元"):("满"+item.useCondition+"打"+item.denomination+"折")}}</td>
<td> <td>
<span v-if="item.useState == 1" style="color: green">{{$t('active.cl_wsyong')}}</span> <span v-if="item.useState == 1" style="color: green">{{$t('active.cl_wsyong')}}</span>
<span v-if="item.useState == 2" style="color: gary">{{$t('active.cl_ysyong')}}</span> <span v-else style="color: grey">{{$t('active.cl_ysyong')}}</span>
<span v-if="item.useState == 3" style="color: red">{{$t('active.cl_yzfei')}}</span> <!-- <span v-if="item.useState == 3" style="color: red">{{$t('active.cl_yzfei')}}</span> -->
</td> </td>
<td>{{item.acessDate }}</td> <td>{{item.acessDate }}</td>
<td>{{item.effectDate }}{{item.expirationDate }}</td> <td>{{item.effectDate }}{{item.expirationDate }}</td>
...@@ -209,8 +209,8 @@ ...@@ -209,8 +209,8 @@
this.EUseDate = ''; this.EUseDate = '';
return return
} }
this.SUseDate = this.UseDate[0]; this.msg.SUseDate = this.UseDate[0];
this.EUseDate = this.UseDate[1]; this.msg.EUseDate = this.UseDate[1];
} }
if (t == 3) { //有效期 if (t == 3) { //有效期
if (!this.ExpirationDate) { if (!this.ExpirationDate) {
...@@ -271,7 +271,8 @@ ...@@ -271,7 +271,8 @@
this.apipost("coupon_post_GetDropDowmList", { this.apipost("coupon_post_GetDropDowmList", {
"CouponsName": "", "CouponsName": "",
"BranchId": -1, "BranchId": -1,
"CustomerType":this.msg.CustomerType "CustomerType":this.msg.CustomerType,
"QGuoQi":1,
}, res => { }, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.CouponList = res.data.data; this.CouponList = res.data.data;
......
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