|
@@ -90,9 +90,9 @@ export default {
|
|
|
this.$set(this, `dealDetails`, res.data);
|
|
|
},
|
|
|
async onclick() {
|
|
|
- console.log(this.dealDetails);
|
|
|
- // const res = await this.newfetch(this.id);
|
|
|
- // console.log(res);
|
|
|
+ let product_id = this.dealDetails.product_id;
|
|
|
+ const res = await this.newfetch(product_id);
|
|
|
+ console.log(res.errcode);
|
|
|
// if (res.data.totaltype == '0') {
|
|
|
// this.$router.push({ path: '/market/marketlists', query: { totaltype: 0, id: this.dealDetails.product_id, column_name: '技术供求', display: 2 } });
|
|
|
// } else if (res.data.totaltype == '1') {
|