Commit 3a413087 authored by 吴春's avatar 吴春

1

parent 1fcf10cd
...@@ -132,6 +132,16 @@ ...@@ -132,6 +132,16 @@
<el-option :label="$t('op.smallteam')" :value="10"></el-option> <el-option :label="$t('op.smallteam')" :value="10"></el-option>
</el-select> </el-select>
</span> </span>
</li>
<li>
<span>
<em>{{$t('objFill.v102.fafangkeix')}}</em>
<el-select filterable v-model="msg.CustomerType">
<el-option :label="$t('system.ph_buxian')" value="-1"></el-option>
<el-option :label="$t('Operation.Op_fellow')" value="0"></el-option>
<el-option :label="$t('Operation.Op_direct')" value="1"></el-option>
</el-select>
</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()">
...@@ -169,7 +179,7 @@ ...@@ -169,7 +179,7 @@
</tr> </tr>
<tbody v-loading="loading"> <tbody v-loading="loading">
<tr v-for="(item,index) in DataList" :key="index"> <tr v-for="(item,index) in DataList" :key="index">
<td><span style="color:red;">({{item.customerType==0?$t('Operation.Op_fellow'): $t('Operation.Op_direct')}})</span> {{item.couponsName}}</td> <td>{{item.couponsName}}<span style="color:red;">({{item.customerType==0?$t('Operation.Op_fellow'): $t('Operation.Op_direct')}})</span> </td>
<td>{{item.couponCount}}</td> <td>{{item.couponCount}}</td>
<td> <td>
<span class="_couponReceiveCount" <span class="_couponReceiveCount"
...@@ -609,6 +619,7 @@ ...@@ -609,6 +619,7 @@
groupId: '', groupId: '',
branchId: '', branchId: '',
couponsUseScope: "", couponsUseScope: "",
CustomerType:"-1",
}, },
rules: { rules: {
branchId: [{ branchId: [{
...@@ -824,6 +835,9 @@ ...@@ -824,6 +835,9 @@
this.addMsg = Object.assign({}, item); this.addMsg = Object.assign({}, item);
console.log("item",item.customerType); console.log("item",item.customerType);
if (item.couponPriceLists || item.lineId || item.lineteamId || item.effectDate || item.expirationDate) { if (item.couponPriceLists || item.lineId || item.lineteamId || item.effectDate || item.expirationDate) {
if(item.lineId>0){
this.getLineTeamList(item.lineId);
}
this.getTravelPrciePageList() this.getTravelPrciePageList()
} }
}, },
......
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