...
|
...
|
@@ -53,7 +53,7 @@ export default { |
|
|
methods: {
|
|
|
goDetail(product, index) {
|
|
|
if (this.yasParams && Object.keys(this.yasParams).length) {
|
|
|
this.yasDetail(product.product_id, index);
|
|
|
this.yasDetail(product, index);
|
|
|
}
|
|
|
|
|
|
this.$router.push({
|
...
|
...
|
@@ -102,7 +102,7 @@ export default { |
|
|
let DATA = [];
|
|
|
|
|
|
list.map((value, i) => {
|
|
|
const prdType = value.pre_sale_flag === 5 ? 2 : 1; //flag=5全新瑕疵,6二手
|
|
|
const prdType = value.sechondHandTypeName === '全新瑕疵' ? 2 : 1;
|
|
|
DATA.push({...this.yasParams, I_INDEX: i + index + 1, PRD_ID: value.product_id, PRD_TYPE: prdType});
|
|
|
});
|
|
|
|
...
|
...
|
@@ -116,9 +116,12 @@ export default { |
|
|
},
|
|
|
|
|
|
yasDetail(id, index) {
|
|
|
let { product_id, sechondHandTypeName } = product
|
|
|
let PRD_TYPE = value.sechondHandTypeName === '全新瑕疵' ? 2 : 1;
|
|
|
|
|
|
this.$store.dispatch('reportYas', {
|
|
|
params: {
|
|
|
param: {...this.yasParams, I_INDEX: index + 1, PRD_ID: id },
|
|
|
param: {...this.yasParams, I_INDEX: index + 1, PRD_ID: product_id, PRD_TYPE },
|
|
|
appop: this.yasEventName
|
|
|
}
|
|
|
});
|
...
|
...
|
|