...
|
...
|
@@ -49,7 +49,7 @@ export default { |
|
|
methods: {
|
|
|
goDetail(product, index) {
|
|
|
if (this.yasParams && Object.keys(this.yasParams).length) {
|
|
|
this.yasDetail(product.product_id, index);
|
|
|
this.yasDetail({ item: product, index });
|
|
|
}
|
|
|
|
|
|
this.$router.push({
|
...
|
...
|
@@ -100,7 +100,7 @@ export default { |
|
|
list.forEach((value, i) => {
|
|
|
const prdType = value.pre_sale_flag === 5 ? 2 : 1; // flag=5全新瑕疵,6二手
|
|
|
|
|
|
DATA.push({ ...this.yasParams, I_INDEX: i + index + 1, PRD_ID: value.product_id, PRD_TYPE: prdType });
|
|
|
DATA.push({ ...this.yasParams, I_INDEX: i + index + 1, PRD_SKUP: value.skup, PRD_ID: value.product_id, PRD_TYPE: prdType });
|
|
|
});
|
|
|
|
|
|
this.$store.dispatch('reportYas', {
|
...
|
...
|
@@ -112,10 +112,10 @@ export default { |
|
|
}
|
|
|
},
|
|
|
|
|
|
yasDetail(id, index) {
|
|
|
yasDetail({ item, index }) {
|
|
|
this.$store.dispatch('reportYas', {
|
|
|
params: {
|
|
|
param: { ...this.yasParams, I_INDEX: index + 1, PRD_ID: id },
|
|
|
param: { ...this.yasParams, I_INDEX: index + 1, PRD_ID: item.product_id, PRD_SKUP: item.skup },
|
|
|
appop: this.yasEventName
|
|
|
}
|
|
|
});
|
...
|
...
|
|