Commit f398d111 authored by 黄奎's avatar 黄奎

页面修改

parent 402471c5
This diff is collapsed.
......@@ -18,7 +18,7 @@
<q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat
class="sticky-column-table sticky-right-column-table" separator="none" :data="dataList" :columns="columns"
row-key="name" :visible-columns="visibleColumns">
<template v-slot:top="props">
<template v-slot:top>
<div class="col-2 q-table__title">留学就业产品</div>
<q-space />
<div class="page-option">
......@@ -50,52 +50,49 @@
{{props.row.B2BReNewRatio}}{{props.row.CommissionReType==1?'%':''}}
</q-td>
</template>
<template v-slot:body-cell-SchoolRebateRatio="props">
<template v-slot:body-cell-SchoolRebateRatio="props">
<q-td>
{{props.row.SchoolRebateRatio}}{{props.row.CommissionReType==1?'%':''}}
</q-td>
</template>
<template v-slot:body-cell-SchoolReNewRatio="props">
<template v-slot:body-cell-SchoolReNewRatio="props">
<q-td>
{{props.row.SchoolReNewRatio}}{{props.row.CommissionReType==1?'%':''}}
</q-td>
</template>
<template v-slot:body-cell-TransIntroductceRatio="props">
<template v-slot:body-cell-TransIntroductceRatio="props">
<q-td>
{{props.row.TransIntroductceRatio}}{{props.row.CommissionReType==1?'%':''}}
</q-td>
</template>
<template v-slot:body-cell-TransIntroductceReNewRatio="props">
<template v-slot:body-cell-TransIntroductceReNewRatio="props">
<q-td>
{{props.row.TransIntroductceReNewRatio}}{{props.row.CommissionReType==1?'%':''}}
</q-td>
</template>
<template v-slot:body-cell-InnerRecommendRatio="props">
<template v-slot:body-cell-InnerRecommendRatio="props">
<q-td>
{{props.row.InnerRecommendRatio}}{{props.row.CommissionReType==1?'%':''}}
</q-td>
</template>
<template v-slot:body-cell-InnerRecommendReNewRatio="props">
<template v-slot:body-cell-InnerRecommendReNewRatio="props">
<q-td>
{{props.row.InnerRecommendReNewRatio}}{{props.row.CommissionReType==1?'%':''}}
</q-td>
</template>
<template v-slot:body-cell-B2CRbRatio="props">
<template v-slot:body-cell-B2CRbRatio="props">
<q-td>
{{props.row.B2CRbRatio}}{{props.row.CommissionReType==1?'%':''}}
</q-td>
</template>
<template v-slot:body-cell-B2CRNRatio="props">
<template v-slot:body-cell-B2CRNRatio="props">
<q-td>
{{props.row.B2CRNRatio}}{{props.row.CommissionReType==1?'%':''}}
</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 v-for="(x,xIndex) in props.value" :key="xIndex">
<div class="border-bottom" v-if="x.PriceDiscountType == 1">
{{ x.BuyNum }}{{ x.SendNum }}
</div>
......@@ -135,7 +132,7 @@
</template>
<template v-slot:body-cell-PreferentialListSellCommission="props">
<q-td :props="props" style="padding-right:0px;padding-left:0px">
<div v-for="x in props.value">
<div v-for="(x,xIndex) in props.value" :key="xIndex+10000">
<div class="border-bottom" style="padding-left: 16px;padding-right: 16px"
:class="{ 'text-red': x.SaleCommissionType == 1 }" v-if="x.PriceDiscountType != 0">
{{ x.SaleCommissionType == 1 ? "¥" : ""
......@@ -153,7 +150,7 @@
</template>
<template v-slot:body-cell-PreferentialListB2BCommission="props">
<q-td :props="props" style="padding-left:0px">
<div v-for="x in props.value">
<div v-for="(x,xIndex) in props.value" :key="xIndex+20000">
<div class="border-bottom" style="padding-left: 16px" :class="{ 'text-red': x.B2BCommissionType == 1 }"
v-if="x.PriceDiscountType != 0">
{{ x.B2BCommissionType == 1 ? "¥" : ""
......@@ -183,8 +180,8 @@
<q-dialog v-model="showForm" persistent>
<quotationstudy-form :obj="null" @save="showForm=false"></quotationstudy-form>
</q-dialog>
<studyorderForm v-if="isShowOrderForm" :save-obj="studyObj" :orderType="2" :modityOrderType="1" @close="cloStudyform"
@save="refreshPage()"></studyorderForm>
<studyorderForm v-if="isShowOrderForm" :save-obj="studyObj" :orderType="2" :modityOrderType="1"
@close="cloStudyform" @save="refreshPage()"></studyorderForm>
</div>
</div>
</template>
......@@ -227,14 +224,14 @@
align: 'left'
},
{
name:'ProductTypeName',
label:'类型',
name: 'ProductTypeName',
label: '类型',
field: 'ProductTypeName',
align: 'left'
},
{
name:'StudyCountryName',
label:'留学国家',
name: 'StudyCountryName',
label: '留学国家',
field: 'StudyCountryName',
align: 'left'
},
......@@ -244,13 +241,6 @@
field: 'Type',
align: 'left'
},
// {
// name: 'SuggestPrice',
// label: '建议卖价',
// field: 'SuggestPrice',
// align: 'left',
// field: row => row.SuggestPrice.toFixed(2)
// },
{
name: 'SellPrice',
label: '实际卖价',
......@@ -258,7 +248,7 @@
align: 'left',
field: row => row.SellPrice.toFixed(2)
},
{
{
name: "B2CRatio",
required: true,
label: "直客优惠",
......@@ -342,28 +332,7 @@
align: "left",
field: (row) => row.B2CRNRatio
},
// {
// name: "PreferentialList",
// required: true,
// label: "优惠政策",
// align: "left",
// field: row => row.PreferentialList
// },
// {
// name: "PreferentialListSellCommission",
// required: true,
// label: "销售佣金",
// align: "left",
// field: row => row.PreferentialList
// },
// {
// name: "PreferentialListB2BCommission",
// required: true,
// label: "同行佣金",
// align: "left",
// field: row => row.PreferentialList
// },
{
{
name: 'Remark',
label: '备注',
field: 'Remark',
......@@ -393,7 +362,8 @@
],
//表格可见列
visibleColumns: [
'Name', 'ProductTypeName', 'StudyCountryName','Type', 'SuggestPrice', 'SellPrice', "PreferentialList", "PreferentialListSellCommission",
'Name', 'ProductTypeName', 'StudyCountryName', 'Type', 'SuggestPrice', 'SellPrice', "PreferentialList",
"PreferentialListSellCommission",
"PreferentialListB2BCommission",
"EducationCommission", 'SaleStateName', 'Id',
], //可见列
......@@ -459,7 +429,6 @@
},
}
}
</script>
<style scoped>
.border-bottom {
......@@ -467,9 +436,7 @@
padding-bottom: 5px;
margin-bottom: 5px;
}
</style>
<style lang="sass">
@import url('~assets/css/table.sass')
</style>
</style>
\ No newline at end of file
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