|
@@ -62,7 +62,7 @@
|
|
type: Array,
|
|
type: Array,
|
|
default: () => []
|
|
default: () => []
|
|
},
|
|
},
|
|
- skuList: {
|
|
|
|
|
|
+ skuListPopup: {
|
|
type: Array,
|
|
type: Array,
|
|
default: () => []
|
|
default: () => []
|
|
},
|
|
},
|
|
@@ -78,13 +78,14 @@
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
orderNum: 1,
|
|
orderNum: 1,
|
|
- payInfo: {}
|
|
|
|
|
|
+ payInfo: {},
|
|
|
|
+ skuList: []
|
|
};
|
|
};
|
|
},
|
|
},
|
|
|
|
|
|
created() {
|
|
created() {
|
|
this.payInfo = this.popupInfo
|
|
this.payInfo = this.popupInfo
|
|
- console.log(this.popupInfo);
|
|
|
|
|
|
+ this.skuList = this.skuListPopup
|
|
},
|
|
},
|
|
|
|
|
|
methods: {
|
|
methods: {
|
|
@@ -97,7 +98,6 @@
|
|
},
|
|
},
|
|
|
|
|
|
getSku(e, item, indexs) {
|
|
getSku(e, item, indexs) {
|
|
- console.log(item);
|
|
|
|
this.$set(item, 'txt', `${item.name}:${e}`)
|
|
this.$set(item, 'txt', `${item.name}:${e}`)
|
|
this.$set(item, 'actionIndex', indexs)
|
|
this.$set(item, 'actionIndex', indexs)
|
|
this.orderNum = 1
|
|
this.orderNum = 1
|