|
|
|
@ -1073,6 +1073,7 @@ export default { |
|
|
|
|
async addCourse() { |
|
|
|
|
if (this.courseSelection.length > 0) { |
|
|
|
|
let that = this; |
|
|
|
|
const { orderType } = this.form |
|
|
|
|
let fn = function(e) { |
|
|
|
|
let obj = { |
|
|
|
|
dataOrCourseId: e.cid,// id |
|
|
|
@ -1082,7 +1083,7 @@ export default { |
|
|
|
|
endTime: "", // 终止 |
|
|
|
|
remainingPeriod: "",// 剩余期限 |
|
|
|
|
marketValue: e.marketPrice,// 市场价 |
|
|
|
|
finalPrice: "",// 成交价 |
|
|
|
|
finalPrice: orderType === 2 ? 0 : '',// 成交价 |
|
|
|
|
discountRate: "",// 折扣率 |
|
|
|
|
accountNum: "",// 账号数 |
|
|
|
|
totalAmount: "",// 总价 |
|
|
|
@ -1185,6 +1186,7 @@ export default { |
|
|
|
|
async addPlatform() { |
|
|
|
|
if (this.platformSelect.length > 0) { |
|
|
|
|
let that = this; |
|
|
|
|
const { orderType } = this.form |
|
|
|
|
let fn = function(e) { |
|
|
|
|
let obj = { |
|
|
|
|
dataOrCourseId: e.id,// id |
|
|
|
@ -1194,10 +1196,10 @@ export default { |
|
|
|
|
endTime: "", // 终止 |
|
|
|
|
remainingPeriod: "",// 剩余期限 |
|
|
|
|
marketValue: e.market,// 市场价 |
|
|
|
|
finalPrice: "",// 成交价 |
|
|
|
|
finalPrice: '',// 成交价 |
|
|
|
|
discountRate: "",// 折扣率 |
|
|
|
|
accountNum: "",// 账号数 |
|
|
|
|
totalAmount: "",// 总价 |
|
|
|
|
totalAmount: orderType === 2 ? 0 : '',// 总价 |
|
|
|
|
isEnable: 1, // 启用否:1启用,0禁用 |
|
|
|
|
ship: 0,// 发货否(0未发货,1已发货,默认不发货) |
|
|
|
|
authority: 0,// 数据平台权限 |
|
|
|
|