|
@@ -265,27 +265,27 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
async onSubmit() {
|
|
|
- console.log(this.user.uid);
|
|
|
- let form = {};
|
|
|
- form.userid = this.user.uid;
|
|
|
- form.username = this.user.name;
|
|
|
- form.product_id = this.detailInfo.id;
|
|
|
- form.product_name = this.detailInfo.name;
|
|
|
- form.market_userid = this.detailInfo.userid;
|
|
|
- form.market_username = this.detailInfo.contact_user;
|
|
|
- form.status = '0';
|
|
|
- console.log(form);
|
|
|
- let res = await this.transactioncreate(form);
|
|
|
- this.$checkRes(res, '发起洽谈交易成功', '交易失败');
|
|
|
- let shenhe = {};
|
|
|
- shenhe.result = '0';
|
|
|
- console.log(res.data.id);
|
|
|
+ // console.log(this.user.uid);
|
|
|
+ // let form = {};
|
|
|
+ // form.userid = this.user.uid;
|
|
|
+ // form.username = this.user.name;
|
|
|
+ // form.product_id = this.detailInfo.id;
|
|
|
+ // form.product_name = this.detailInfo.name;
|
|
|
+ // form.market_userid = this.detailInfo.userid;
|
|
|
+ // form.market_username = this.detailInfo.contact_user;
|
|
|
+ // form.status = '0';
|
|
|
+ // console.log(form);
|
|
|
+ // let res = await this.transactioncreate(form);
|
|
|
+ // this.$checkRes(res, '发起洽谈交易成功', '交易失败');
|
|
|
+ // let shenhe = {};
|
|
|
+ // shenhe.result = '0';
|
|
|
+ // console.log(res.data.id);
|
|
|
|
|
|
- shenhe.transaction_id = res.data.id;
|
|
|
- shenhe.userid = this.detailInfo.userid;
|
|
|
- shenhe.product_id = this.detailInfo.userid;
|
|
|
- console.log(shenhe);
|
|
|
- let ress = await this.tranauditcreate(shenhe);
|
|
|
+ // shenhe.transaction_id = res.data.id;
|
|
|
+ // shenhe.userid = this.detailInfo.userid;
|
|
|
+ // shenhe.product_id = this.detailInfo.userid;
|
|
|
+ // console.log(shenhe);
|
|
|
+ // let ress = await this.tranauditcreate(shenhe);
|
|
|
this.$router.push({ path: '/live/hall/dock/dockDetail', query: { id: this.detailInfo.id } });
|
|
|
},
|
|
|
},
|