代课下单套餐下单修改
This commit is contained in:
parent
ac74254ed5
commit
5f6c6d6635
|
|
@ -56,7 +56,7 @@ export default {
|
||||||
})
|
})
|
||||||
this.disabledshow = !this.listdata.proGroupVo.every((element, num) => element.number == this.multipleSelection[num].length);
|
this.disabledshow = !this.listdata.proGroupVo.every((element, num) => element.number == this.multipleSelection[num].length);
|
||||||
} catch (error) { }
|
} catch (error) { }
|
||||||
|
|
||||||
this.$set(this.listdata.proGroupVo, index, { ...this.listdata.proGroupVo[index], alertshow: this.listdata.proGroupVo[index].number != this.multipleSelection[index].length ? true : false });
|
this.$set(this.listdata.proGroupVo, index, { ...this.listdata.proGroupVo[index], alertshow: this.listdata.proGroupVo[index].number != this.multipleSelection[index].length ? true : false });
|
||||||
},
|
},
|
||||||
confirm() {
|
confirm() {
|
||||||
|
|
@ -73,6 +73,12 @@ export default {
|
||||||
})
|
})
|
||||||
} catch (error) { }
|
} catch (error) { }
|
||||||
this.multipleSelection = []
|
this.multipleSelection = []
|
||||||
|
console.log(item)
|
||||||
|
// 不用选套餐
|
||||||
|
if (item.groupType == 0) {
|
||||||
|
this.$emit("dialogpackageconfirm", this.listdata, [item.proGroupVo[0].goods]);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
this.disabledshow = true
|
this.disabledshow = true
|
||||||
console.log(this.listdata, this.multipleSelection);
|
console.log(this.listdata, this.multipleSelection);
|
||||||
this.show = true;
|
this.show = true;
|
||||||
|
|
|
||||||
|
|
@ -1902,7 +1902,7 @@ export default {
|
||||||
},
|
},
|
||||||
//套餐下单
|
//套餐下单
|
||||||
async dialogpackageconfirm(item, multipleSelection) {
|
async dialogpackageconfirm(item, multipleSelection) {
|
||||||
this.goodsClick(item, 1, true, multipleSelection.flatMap(subArray => subArray.map(item => item.proId)))
|
this.goodsClick(item, 1, true, multipleSelection.flatMap(subArray => subArray.map(item => item.proId)))
|
||||||
},
|
},
|
||||||
//挂账人支付确认
|
//挂账人支付确认
|
||||||
guazhangPayConfirm(guazhangren, price) {
|
guazhangPayConfirm(guazhangren, price) {
|
||||||
|
|
@ -2039,7 +2039,7 @@ export default {
|
||||||
},
|
},
|
||||||
quansConfirm(e, goodsPayPriceMap) {
|
quansConfirm(e, goodsPayPriceMap) {
|
||||||
console.log(e);
|
console.log(e);
|
||||||
// this.createOrder.discount = 1;
|
// this.createOrder.discount = 1;
|
||||||
this.points.selected = "";
|
this.points.selected = "";
|
||||||
e.map((v, index) => {
|
e.map((v, index) => {
|
||||||
return {
|
return {
|
||||||
|
|
@ -3438,8 +3438,8 @@ export default {
|
||||||
},
|
},
|
||||||
reset() {
|
reset() {
|
||||||
// this.goods.list = [];
|
// this.goods.list = [];
|
||||||
this.isAllWaitCall=false;
|
this.isAllWaitCall = false;
|
||||||
this.selQuan=[];
|
this.selQuan = [];
|
||||||
this.guazhangRen = "";
|
this.guazhangRen = "";
|
||||||
this.order.status = "";
|
this.order.status = "";
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue