Commit a7cf751b authored by zhengke's avatar zhengke

1

parent 3e3510b9
...@@ -24,86 +24,99 @@ ...@@ -24,86 +24,99 @@
<q-btn color="accent" size="sm" class="q-mr-md" icon="add" label="新增就业" @click="EditStudy(null)" /> <q-btn color="accent" size="sm" class="q-mr-md" icon="add" label="新增就业" @click="EditStudy(null)" />
</div> </div>
</template> </template>
<template v-slot:body-cell-SupplierName="props"> <template v-slot:body="props">
<q-td> <q-tr>
<div>{{props.row.SupplierName}}</div> <q-td>
<div> <div>{{props.row.SupplierName}}</div>
<a :href="props.row.SupplierContract" style="color:#2961FE;text-decoration:none;" <div>
v-if="props.row.SupplierContract" target="_blank"> <a :href="props.row.SupplierContract" style="color:#2961FE;text-decoration:none;"
查看合同 v-if="props.row.SupplierContract" target="_blank">
</a> 查看合同
</div> </a>
</q-td>
</template>
<template v-slot:body-cell-PreferentialList="props">
<q-td :props="props" style="padding-right:0px">
<div v-for="x in props.value">
<div class="border-bottom" v-if="x.PriceDiscountType == 1">
{{ x.BuyNum }}{{ x.SendNum }}
</div>
<div class="border-bottom" v-if="x.PriceDiscountType == 2">
单人报名享{{ 100 - x.PriceMoney }}折优惠
</div>
<div class="border-bottom" v-if="x.PriceDiscountType == 3">
双人报名享{{ 100 - x.PriceMoney }}折优惠
</div> </div>
<div class="border-bottom" v-if="x.PriceDiscountType == 4"> </q-td>
续费享{{ 100 - x.PriceMoney }}折优惠 <template v-slot:body-cell-PreferentialList="props">
<q-td :props="props" style="padding-right:0px">
<div v-for="x in props.value">
<div class="border-bottom" v-if="x.PriceDiscountType == 1">
{{ x.BuyNum }}{{ x.SendNum }}
</div>
<div class="border-bottom" v-if="x.PriceDiscountType == 2">
单人报名享{{ 100 - x.PriceMoney }}折优惠
</div>
<div class="border-bottom" v-if="x.PriceDiscountType == 3">
双人报名享{{ 100 - x.PriceMoney }}折优惠
</div>
<div class="border-bottom" v-if="x.PriceDiscountType == 4">
续费享{{ 100 - x.PriceMoney }}折优惠
</div>
<div class="remark-font" v-if="x.PriceDiscountType == 0">
暂无优惠政策
</div>
</div> </div>
<div class="remark-font" v-if="x.PriceDiscountType == 0"> <div v-if="!props.value || props.value.length == 0">
暂无优惠政策 <div class="remark-font">暂无优惠政策</div>
</div> </div>
</div> </q-td>
<div v-if="!props.value || props.value.length == 0"> </template>
<div class="remark-font">暂无优惠政策</div> <template v-slot:body-cell-PreferentialListSellCommission="props">
</div> <q-td :props="props" style="padding-right:0px;padding-left:0px">
</q-td> <div v-for="x in props.value">
</template> <div class="border-bottom" style="padding-left: 16px;padding-right: 16px"
<template v-slot:body-cell-PreferentialListSellCommission="props"> :class="{ 'text-red': x.SaleCommissionType == 1 }" v-if="x.PriceDiscountType != 0">
<q-td :props="props" style="padding-right:0px;padding-left:0px"> {{ x.SaleCommissionType == 1 ? "¥" : ""
<div v-for="x in props.value"> }}{{ x.SaleCommissionMoney
<div class="border-bottom" style="padding-left: 16px;padding-right: 16px" }}{{ x.SaleCommissionType == 0 ? "%" : "" }}
:class="{ 'text-red': x.SaleCommissionType == 1 }" v-if="x.PriceDiscountType != 0"> </div>
{{ x.SaleCommissionType == 1 ? "¥" : "" <div v-if="x.PriceDiscountType == 0">
}}{{ x.SaleCommissionMoney <div class="remark-font">暂无佣金信息</div>
}}{{ x.SaleCommissionType == 0 ? "%" : "" }} </div>
</div> </div>
<div v-if="x.PriceDiscountType == 0"> <div v-if="!props.value || props.value.length == 0">
<div class="remark-font">暂无佣金信息</div> <div class="remark-font">暂无佣金信息</div>
</div> </div>
</div> </q-td>
<div v-if="!props.value || props.value.length == 0"> </template>
<div class="remark-font">暂无佣金信息</div> <template v-slot:body-cell-PreferentialListB2BCommission="props">
</div> <q-td :props="props" style="padding-left:0px">
</q-td> <div v-for="x in props.value">
</template> <div class="border-bottom" style="padding-left: 16px" :class="{ 'text-red': x.B2BCommissionType == 1 }"
<template v-slot:body-cell-PreferentialListB2BCommission="props"> v-if="x.PriceDiscountType != 0">
<q-td :props="props" style="padding-left:0px"> {{ x.B2BCommissionType == 1 ? "¥" : ""
<div v-for="x in props.value"> }}{{ x.B2BCommissionMoney
<div class="border-bottom" style="padding-left: 16px" :class="{ 'text-red': x.B2BCommissionType == 1 }" }}{{ x.B2BCommissionType == 0 ? "%" : "" }}
v-if="x.PriceDiscountType != 0"> </div>
{{ x.B2BCommissionType == 1 ? "¥" : "" <div v-if="x.PriceDiscountType == 0">
}}{{ x.B2BCommissionMoney <div class="remark-font">暂无佣金信息</div>
}}{{ x.B2BCommissionType == 0 ? "%" : "" }} </div>
</div> </div>
<div v-if="x.PriceDiscountType == 0"> <div v-if="!props.value || props.value.length == 0">
<div class="remark-font">暂无佣金信息</div> <div class="remark-font">暂无佣金信息</div>
</div> </div>
</q-td>
</template>
<template v-slot:body-cell-Id="props">
<q-td :props="props">
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="编辑"
@click="EditStudy(props.row)" />
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="价格设置"
@click="EditStudyPrice(props.row)" />
<q-btn v-if="props.row.SaleState==1||props.row.SaleState==4" flat size="xs" icon="edit" color="accent"
style="font-weight:400" label="申请审核" @click="applyApply(props.row)" />
</q-td>
</template>
</q-tr>
<q-tr :props="props">
<q-td colspan="100%" class="bg-grey-2">
<div class="flex row items-start">
<q-badge color="negative" class="q-mr-md">
备注:
</q-badge>
<div>{{props.row.Remark}}}</div>
</div> </div>
<div v-if="!props.value || props.value.length == 0">
<div class="remark-font">暂无佣金信息</div>
</div>
</q-td>
</template>
<template v-slot:body-cell-Id="props">
<q-td :props="props">
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="编辑"
@click="EditStudy(props.row)" />
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="价格设置"
@click="EditStudyPrice(props.row)" />
<q-btn v-if="props.row.SaleState==1||props.row.SaleState==4" flat size="xs" icon="edit" color="accent"
style="font-weight:400" label="申请审核" @click="applyApply(props.row)" />
</q-td> </q-td>
</q-tr>
</template> </template>
<template v-slot:bottom> <template v-slot:bottom>
<q-pagination class="full-width justify-end" v-model="msg.pageIndex" color="primary" :max="PageCount" <q-pagination class="full-width justify-end" v-model="msg.pageIndex" color="primary" :max="PageCount"
......
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