|
@@ -1770,6 +1770,7 @@ export default {
|
|
})
|
|
})
|
|
},
|
|
},
|
|
calcPrice () {
|
|
calcPrice () {
|
|
|
|
+
|
|
let amount = 0,
|
|
let amount = 0,
|
|
marketPrice = 0,
|
|
marketPrice = 0,
|
|
goodsGroupIds = {},
|
|
goodsGroupIds = {},
|
|
@@ -1778,6 +1779,21 @@ export default {
|
|
contractGoodsIds = ""; // 合同所需要的商品Id (只需要乐器编号)
|
|
contractGoodsIds = ""; // 合同所需要的商品Id (只需要乐器编号)
|
|
// 课程 this.topfor payfor checkfor
|
|
// 课程 this.topfor payfor checkfor
|
|
let mgs = this.lookPreviewRow.yuji;
|
|
let mgs = this.lookPreviewRow.yuji;
|
|
|
|
+ let check = [];
|
|
|
|
+ for (let i in this.checkfor) {
|
|
|
|
+ if (this.checkfor[i] && i != 'submit') {
|
|
|
|
+ check.push(this.checkfor[i].ischeck)
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ let checkFlag = false
|
|
|
|
+ check.forEach(item => {
|
|
|
|
+ checkFlag = checkFlag || item
|
|
|
|
+ })
|
|
|
|
+ console.log(mgs, 'yuji')
|
|
|
|
+ if (!checkFlag) {
|
|
|
|
+ marketPrice += Number(parseFloat(mgs))
|
|
|
|
+ //
|
|
|
|
+ }
|
|
|
|
|
|
let coursePrice = Number(mgs)
|
|
let coursePrice = Number(mgs)
|
|
let csi = this.checkfor;
|
|
let csi = this.checkfor;
|