Commit 561fa599 authored by 吴春's avatar 吴春

1

parent ee3cd3f3
......@@ -200,9 +200,7 @@
<template v-if="item.OrderType == 1">
<div v-if="item.ClassList&&item.ClassList.length>0">
课程名称:
<span v-for="(itemc, indexc) in item.ClassList">
{{indexc>1?',':""}}{{ itemc.CourseName }}
</span>
<span v-for="(itemc, indexc) in item.ClassList">{{indexc>0?',':""}}{{itemc.CourseName }}</span>
</div>
<div v-else="item.CourseName">
课程名称:{{ item.CourseName }}
......
......@@ -297,22 +297,28 @@ export default {
// 选择班级
selectClass(val) {
this.selectedCourseList = []
if (val.length > 0) {
this.saveObj = val[0];
this.saveObj.Unit_Price = this.saveObj.SellPrice;
this.defaultCourse = val;
this.saveObj.OrderCourseList =[];
this.saveObj.OrderCourseList.push(JSON.parse(JSON.stringify(this.saveObj)));
console.log("this.saveObj.OrderCourseList",this.saveObj.OrderCourseList);
this.saveObj.TextbookFee=0;
this.saveObj.CoursewareFee=0;
} else {
this.saveObj = {};
this.saveObj.Unit_Price = 0;
this.defaultCourse = [];
}
},
// 选择课程
selectCourse(val) {
this.selectedCourseList = []
if (val.length > 0) {
// this.saveObj = val[0];
// this.saveObj.Unit_Price = this.saveObj.SellPrice;
this.selectedCourseList = val;
}
this.saveObj = {};
......@@ -322,10 +328,8 @@ export default {
this.selectedCourseList.forEach((item,index) => {
if(index==0){
this.saveObj = JSON.parse(JSON.stringify(item));
console.log("this.saveObj111",this.saveObj);
this.saveObj.Unit_Price = item.SellPrice;
this.saveObj.PreferPrice = item.SellPrice;
console.log("this.saveObj111.Unit_Price",this.saveObj.Unit_Price);
}
else{
this.saveObj.CourseName+=","+item.CourseName
......
......@@ -196,6 +196,7 @@
/>
</template>
<q-input
v-if="mode!=1"
filled
stack-label
:dense="false"
......@@ -207,6 +208,7 @@
label="课件费"
/>
<q-input
v-if="mode!=1"
filled
stack-label
:dense="false"
......@@ -348,6 +350,7 @@
label="协助老师"
/> -->
<q-select
v-if="mode!=1"
v-model="OrderMsg.HelpEnterId"
:options="AssistList"
filled
......
......@@ -82,7 +82,7 @@ export default {
Vue.prototype.domainManager = function () {
//let domainUrl = 'http://192.168.10.214';
let domainUrl = 'http://192.168.5.34';
let domainUrl = 'http://192.168.5.57';
let viewFileUrl = 'http://192.168.5.214:8120';
let mallUrl = "http://192.168.5.2:8088";
......
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