Commit 6f05f31d authored by 吴春's avatar 吴春

1

parent e84815a9
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
<div class="q-mb-sm text-accent"> <div class="q-mb-sm text-accent">
<span class="text-primary" v-if="mode === 1">班级:</span> <span class="text-primary" v-if="mode === 1">班级:</span>
<span v-if="mode === 1">{{ saveObj.ClassName }}</span> <span v-if="mode === 1">{{ saveObj.ClassName }}</span>
<span> <!-- <span>
<span class="q-ml-md text-primary">课程:</span> <span class="q-ml-md text-primary">课程:</span>
{{ saveObj.CourseName }} {{ saveObj.CourseName }}
</span> </span> -->
</div> </div>
<div class="row q-mb-md"> <div class="row q-mb-md">
<div class="col-10 flex"> <div class="col-10 flex">
...@@ -21,7 +21,38 @@ ...@@ -21,7 +21,38 @@
<q-toggle v-model="OrderMsg.IsChaBan" :true-value="1" :false-value="0" label="插班报入" /> <q-toggle v-model="OrderMsg.IsChaBan" :true-value="1" :false-value="0" label="插班报入" />
</div> </div>
</div> </div>
<template v-if="OrderMsg.OrderCourseList&&OrderMsg.OrderCourseList.length>0">
<div class="q-mb-sm text-accent q-mr-lg" style="margin-bottom:24px;">
<div class="column items-center " style="width:100%;text-align:center;border:1px solid #f5f6f7;">
<table class="sticky-tow-column-table sticky-two-header-table" ref="PlanTable" style="border-collapse:collapse;margin-top:0;width:100%;border: 1 solid #000000;">
<thead>
<tr>
<th v-if="mode==1">班级</th>
<th >课程</th>
<th v-if="mode==1">老师</th>
<th v-if="mode==1">上课时间</th>
<th v-if="mode!=1">所属科目</th>
<th v-if="mode!=1">售价</th>
<th v-if="mode!=1">价格类型</th>
<th v-if="mode==2">教材费</th>
<th v-if="mode==2">课件费</th>
</tr>
</thead>
<tr v-for="(item, index) in OrderMsg.OrderCourseList" :key="index" style="height:40px;">
<td v-if="mode==1" > {{item.ClassName}} </td>
<td> {{item.CourseName}} </td>
<td v-if="mode==1" > {{item.TeacherName}} </td>
<td v-if="mode==1" > {{item.OpenTime}} </td>
<td v-if="mode!=1" >{{item.CourseSubjectName}}</td>
<td v-if="mode!=1" >{{item.SellPrice}}</td>
<td v-if="mode!=1" >{{item.SellPriceType==1?"课程总价":"课时单价"}}</td>
<td v-if="mode==2" >{{item.TextbookFee}}</td>
<td v-if="mode==2" >{{item.CoursewareFee}}</td>
</tr>
</table>
</div>
</div>
</template>
<!-- 一个约课、班课 --> <!-- 一个约课、班课 -->
<div class="column items-center"> <div class="column items-center">
<div class="col row wrap q-mr-lg q-col-gutter-md"> <div class="col row wrap q-mr-lg q-col-gutter-md">
...@@ -141,8 +172,7 @@ ...@@ -141,8 +172,7 @@
label="备注" /> label="备注" />
</div> </div>
</div> </div>
<div class="dialog-out-close" @click="closeEditOrder" <div class="dialog-out-close" @click="closeEditOrder"
style="height:40px !important;border-top-left-radius: 4px !important;border-bottom-left-radius: 4px !important;"> style="height:40px !important;border-top-left-radius: 4px !important;border-bottom-left-radius: 4px !important;">
<q-icon name="iconfont icon-jujue1" size="26px" /> <q-icon name="iconfont icon-jujue1" size="26px" />
...@@ -186,7 +216,7 @@ ...@@ -186,7 +216,7 @@
default: null default: null
}, },
mode: { mode: {
type: Number, //1:约课,2:班课 type: Number, //1:约课,2:班课,3-Vip
default: 1 default: 1
}, },
//订单类型 //订单类型
......
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