Commit 9b7189ee authored by 吴春's avatar 吴春

1

parent 8e9c7c75
......@@ -47,7 +47,7 @@ module.exports = function(ctx) {
vueRouterMode: 'history', // available values: 'hash', 'history'
env: ctx.dev ? {
API: 'http://192.168.5.46:8300/api',
API: 'http://192.168.5.57:5001/api',
// API: 'http://192.168.10.128:8300/api',
// API: 'https://eduapi.oytour.com/api',
API_ZC: 'http://192.168.5.238:8087/api',
......
......@@ -124,6 +124,10 @@
if(val&&val.length>0){
this.saveObj = val[0];
this.defaultCourse = val;
this.saveObj.OrderCourseList =[];
this.saveObj.OrderCourseList.push(JSON.parse(JSON.stringify(this.saveObj)));
this.saveObj.TextbookFee=0;
this.saveObj.CoursewareFee=0;
}
},
next() {
......
......@@ -122,7 +122,8 @@
SourceId: 1, //传入Id
SaleRemark: '', //备注
EnterId: 0, //市场人员
StuIds:''
StuIds:'',
OrderCourseList:[],
},
EnterName:'',
HelpEnterDisable:false,
......@@ -134,6 +135,7 @@
this.OrderMsg.SourceId = this.saveObj.Id;
this.OrderMsg.Unit_Price = this.saveObj.SellPrice;
this.OrderMsg.PreferPrice = this.OrderMsg.Unit_Price;
this.OrderMsg.OrderCourseList = JSON.parse(JSON.stringify(this.saveObj.OrderCourseList));
}
if(this.select&&this.select.length>0){
this.OrderMsg.EnterId = this.select[0].CreateBy;
......
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