套餐合并预发布
This commit is contained in:
@@ -934,10 +934,11 @@
|
|||||||
* @param {Object} item
|
* @param {Object} item
|
||||||
*/
|
*/
|
||||||
async morloe(e, index, index1, item) {
|
async morloe(e, index, index1, item) {
|
||||||
|
this.skuBtnText = "添加到购物车";
|
||||||
|
this.isSpec = true;
|
||||||
//套餐处理
|
//套餐处理
|
||||||
if ( this.specifications.type == 'package'&&this.specifications.groupType == 1){
|
if ( this.specifications.type == 'package'&&this.specifications.groupType == 1){
|
||||||
// 当前分类下选中数量
|
// 当前分类下选中数量
|
||||||
this.isSpec = true;
|
|
||||||
let number = 0;
|
let number = 0;
|
||||||
this.skuidname = [];
|
this.skuidname = [];
|
||||||
this.groupProductldList = []
|
this.groupProductldList = []
|
||||||
@@ -978,8 +979,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
let querySpecList = [];
|
let querySpecList = [];
|
||||||
this.skuBtnText = "添加到购物车";
|
|
||||||
this.isSpec = true;
|
|
||||||
// 设置当前选中下标
|
// 设置当前选中下标
|
||||||
if (this.specifications.tagSnap[index].start != index1) {
|
if (this.specifications.tagSnap[index].start != index1) {
|
||||||
this.$set(this.specifications.tagSnap[index], 'start', index1)
|
this.$set(this.specifications.tagSnap[index], 'start', index1)
|
||||||
|
|||||||
@@ -634,10 +634,11 @@
|
|||||||
* @param {Object} item
|
* @param {Object} item
|
||||||
*/
|
*/
|
||||||
async morloe(e, index, index1, item) {
|
async morloe(e, index, index1, item) {
|
||||||
|
this.skuBtnText = "添加到购物车";
|
||||||
|
this.isSpec = true;
|
||||||
//套餐处理
|
//套餐处理
|
||||||
if ( this.specifications.type == 'package'&&this.specifications.groupType == 1){
|
if ( this.specifications.type == 'package'&&this.specifications.groupType == 1){
|
||||||
// 当前分类下选中数量
|
// 当前分类下选中数量
|
||||||
this.isSpec = true;
|
|
||||||
let number = 0;
|
let number = 0;
|
||||||
this.skuidname = [];
|
this.skuidname = [];
|
||||||
this.groupProductldList = []
|
this.groupProductldList = []
|
||||||
@@ -678,8 +679,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
let querySpecList = [];
|
let querySpecList = [];
|
||||||
this.skuBtnText = "添加到购物车";
|
|
||||||
this.isSpec = true;
|
|
||||||
// 设置当前选中下标
|
// 设置当前选中下标
|
||||||
if (this.specifications.tagSnap[index].start != index1) {
|
if (this.specifications.tagSnap[index].start != index1) {
|
||||||
this.$set(this.specifications.tagSnap[index], 'start', index1)
|
this.$set(this.specifications.tagSnap[index], 'start', index1)
|
||||||
|
|||||||
Reference in New Issue
Block a user