Commit 1c51a199 authored by 黄奎's avatar 黄奎

机票采购修改

parent 58099078
......@@ -901,7 +901,7 @@
<el-row :gutter="0">
<el-col :span="8">
<div class="TCID_cont PingFangSC">
{{$t('visa.v_tuanhao')}}<span v-if="item.TCNUM!=''">{{item.TCNUM}}</span>
{{$t('visa.v_tuanhao')}}<span v-if="item.TCNUM!=''">{{item.TCID}}{{item.TCNUM}}</span>
</div>
</el-col>
<el-col :span="4">
......
......@@ -131,84 +131,85 @@
<th>{{$t('hotel.hotel_remark')}}</th>
<th>{{$t('system.table_operation')}}</th>
</tr>
<tr v-for="(item,index) in DataList" v-loading="loading">
<td>{{item.couponsName}}</td>
<td>{{item.couponCount}}</td>
<td>
<span class="_couponReceiveCount"
@click="item.couponReceiveCount === 0 ? '' : goDetail('CouponDetail', item)">{{item.couponReceiveCount}}</span>
</td>
<td>{{(item.couponCount - item.couponReceiveCount) > 0 ? (item.couponCount - item.couponReceiveCount) : 0 }}
</td>
<td>{{item.branchName}}</td>
<td>{{item.lineId <= 0 ? $t('pub.unlimitedSel') : item.lineName}}</td>
<td>{{item.lineteamId <= 0 ? $t('pub.unlimitedSel') : item.lineTeamName}}</td>
<td>{{item.couponsType ===1 ? $t('active.cl_dyquan') : $t('active.cl_zkquan')}}</td>
<td>{{item.useCondition}}</td>
<td>{{item.denomination}}</td>
<td>{{item.overlapUse === 0 ? $t('active.cl_byxu') : $t('active.cl_yuncu')}}</td>
<td>{{item.effectDate}}</td>
<td>
<span v-if="item.couponEffectStatus === 1" style="color: green">{{$t('active.cl_sxzhong')}}</span>
<span v-if="item.couponEffectStatus === 2" style="color: gray">{{$t('active.cl_wsxiao')}}</span>
<span v-if="item.couponEffectStatus === 3" style="color: red">{{$t('active.cl_ygqi')}}</span>
</td>
<tbody v-loading="loading">
<tr v-for="(item,index) in DataList" :key="index">
<td>{{item.couponsName}}</td>
<td>{{item.couponCount}}</td>
<td>
<span class="_couponReceiveCount"
@click="item.couponReceiveCount === 0 ? '' : goDetail('CouponDetail', item)">{{item.couponReceiveCount}}</span>
</td>
<td>{{(item.couponCount - item.couponReceiveCount) > 0 ? (item.couponCount - item.couponReceiveCount) : 0 }}
</td>
<td>{{item.branchName}}</td>
<td>{{item.lineId <= 0 ? $t('pub.unlimitedSel') : item.lineName}}</td>
<td>{{item.lineteamId <= 0 ? $t('pub.unlimitedSel') : item.lineTeamName}}</td>
<td>{{item.couponsType ===1 ? $t('active.cl_dyquan') : $t('active.cl_zkquan')}}</td>
<td>{{item.useCondition}}</td>
<td>{{item.denomination}}</td>
<td>{{item.overlapUse === 0 ? $t('active.cl_byxu') : $t('active.cl_yuncu')}}</td>
<td>{{item.effectDate}}</td>
<td>
<span v-if="item.couponEffectStatus === 1" style="color: green">{{$t('active.cl_sxzhong')}}</span>
<span v-if="item.couponEffectStatus === 2" style="color: gray">{{$t('active.cl_wsxiao')}}</span>
<span v-if="item.couponEffectStatus === 3" style="color: red">{{$t('active.cl_ygqi')}}</span>
</td>
<td>{{item.expirationDate}}</td>
<td>
<span v-if="item.couponsUseScope == 1">{{$t('MarketingActi.alltongyong')}}</span>
<span v-if="item.couponsUseScope == 2">{{$t('active.cl_team')}}</span>
<span v-if="item.couponsUseScope == 3">{{$t('active.cl_qianzheng')}}</span>
<span v-if="item.couponsUseScope == 4">{{$t('active.cl_jipiao')}}</span>
<span v-if="item.couponsUseScope == 5">{{$t('scen.sc_piao')}}</span>
<span v-if="item.couponsUseScope == 6">{{$t('MarketingActi.car')}}</span>
</td>
<td>
<span v-if="item.couponStatus == 1" style="color: green">{{$t('pub.normalSel')}}</span>
<span v-if="item.couponStatus == 2" style="color: gray">{{$t('active.ld_jinyong')}}</span>
<span v-if="item.couponStatus == 3" style="color: red">{{$t('system.ph_shanchu')}}</span>
</td>
<td>
<span v-if="item.activityIsEnding=='0'">未结束</span>
<span v-if="item.activityIsEnding=='1'">已结束</span>
</td>
<td>{{item.redemptionPrice}}</td>
<td>
<p>{{$t('system.table_begTime')}}{{item.activityStartDate}}</p>
<p>{{$t('MarketingActi.endTime')}}{{item.activityEndDate}}</p>
</td>
<td>{{item.remark}}</td>
<td class="text_al_left">
<el-tooltip class="item" effect="dark" :content="$t('pub.updateMsg')" placement="top">
<el-button v-if="item.couponEffectStatus === 2 && item.couponStatus === 1" type="primary"
icon="el-icon-edit" circle
@click="outerVisible=true,dialogTitle=$t('pub.updateMsg'),updateData(item),getCompany(),getCouponPlatformEnum()">
</el-button>
</el-tooltip>
<el-tooltip class="item" effect="dark" :content="$t('active.cl_jyCoupon')" placement="top">
<el-button v-if="item.couponStatus !== 2" type="danger" icon="iconfont icon-jinyong" circle
@click="deleteItem(item, 2)"></el-button>
</el-tooltip>
<el-tooltip class="item" effect="dark" :content="$t('active.cl_hfCoupon')" placement="top">
<el-button v-if="item.couponStatus === 2" type="success" icon="iconfont icon-huifu" circle
@click="deleteItem(item, 3)"></el-button>
</el-tooltip>
<el-tooltip class="item" effect="dark" :content="$t('active.cl_deleteCoupon')" placement="top">
<el-button v-if="item.couponStatus === 2" type="danger" icon="iconfont icon-img_delete_small" circle
@click="deleteItem(item)"></el-button>
</el-tooltip>
<td>{{item.expirationDate}}</td>
<td>
<span v-if="item.couponsUseScope == 1">{{$t('MarketingActi.alltongyong')}}</span>
<span v-if="item.couponsUseScope == 2">{{$t('active.cl_team')}}</span>
<span v-if="item.couponsUseScope == 3">{{$t('active.cl_qianzheng')}}</span>
<span v-if="item.couponsUseScope == 4">{{$t('active.cl_jipiao')}}</span>
<span v-if="item.couponsUseScope == 5">{{$t('scen.sc_piao')}}</span>
<span v-if="item.couponsUseScope == 6">{{$t('MarketingActi.car')}}</span>
</td>
<td>
<span v-if="item.couponStatus == 1" style="color: green">{{$t('pub.normalSel')}}</span>
<span v-if="item.couponStatus == 2" style="color: gray">{{$t('active.ld_jinyong')}}</span>
<span v-if="item.couponStatus == 3" style="color: red">{{$t('system.ph_shanchu')}}</span>
</td>
<td>
<span v-if="item.activityIsEnding=='0'">未结束</span>
<span v-if="item.activityIsEnding=='1'">已结束</span>
</td>
<td>{{item.redemptionPrice}}</td>
<td>
<p>{{$t('system.table_begTime')}}{{item.activityStartDate}}</p>
<p>{{$t('MarketingActi.endTime')}}{{item.activityEndDate}}</p>
</td>
<td>{{item.remark}}</td>
<td class="text_al_left">
<el-tooltip class="item" effect="dark" :content="$t('pub.updateMsg')" placement="top">
<el-button v-if="item.couponEffectStatus === 2 && item.couponStatus === 1" type="primary"
icon="el-icon-edit" circle
@click="outerVisible=true,dialogTitle=$t('pub.updateMsg'),updateData(item),getCompany(),getCouponPlatformEnum()">
</el-button>
</el-tooltip>
<el-tooltip class="item" effect="dark" :content="$t('active.cl_jyCoupon')" placement="top">
<el-button v-if="item.couponStatus !== 2" type="danger" icon="iconfont icon-jinyong" circle
@click="deleteItem(item, 2)"></el-button>
</el-tooltip>
<el-tooltip class="item" effect="dark" :content="$t('active.cl_hfCoupon')" placement="top">
<el-button v-if="item.couponStatus === 2" type="success" icon="iconfont icon-huifu" circle
@click="deleteItem(item, 3)"></el-button>
</el-tooltip>
<el-tooltip class="item" effect="dark" :content="$t('active.cl_deleteCoupon')" placement="top">
<el-button v-if="item.couponStatus === 2" type="danger" icon="iconfont icon-img_delete_small" circle
@click="deleteItem(item)"></el-button>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="修改当日活动库存" placement="top">
<el-button type="primary" icon="el-icon-edit" circle style="padding:6px;" @click="updateKucundialog=true">
</el-button>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="修改当日活动库存" placement="top">
<el-button type="primary" icon="el-icon-edit" circle style="padding:6px;" @click="updateKucundialog=true">
</el-button>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="修改" placement="top">
<el-button v-if="EditBtn" type="danger" icon="iconfont icon-xiugai" circle style="padding:4px;"
@click="outerVisible=true,EditItem(item)"></el-button>
</el-tooltip>
</td>
</tr>
<el-tooltip class="item" effect="dark" content="修改" placement="top">
<el-button v-if="EditBtn" type="danger" icon="iconfont icon-xiugai" circle style="padding:4px;"
@click="outerVisible=true,EditItem(item)"></el-button>
</el-tooltip>
</td>
</tr>
</tbody>
</table>
<div class="noDataNotice" v-if="DataList.length<1">
<i class="iconfont icon-kong"></i>
......@@ -403,7 +404,6 @@
<el-form-item label="订单类型" prop="lineId">
<el-select filterable v-model="addMsg.expansionModel.orderType">
<el-option label="小包团" :value="2"></el-option>
</el-select>
</el-form-item>
</el-col>
......
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