From a5e8a318a71a246e77755d81b343b93b9d55f3b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=AC=A3=E6=82=A6?= <2289014031@qq.com> Date: Wed, 11 Sep 2024 12:24:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/market/orders/index.vue | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/views/market/orders/index.vue b/src/views/market/orders/index.vue index 62e4f16..c8fc7c9 100644 --- a/src/views/market/orders/index.vue +++ b/src/views/market/orders/index.vue @@ -186,7 +186,8 @@ export default { pageNum:1, pageSize:10, total:1, - typeId:0 + ordersId:3, + productId:3 }, arr:[], type:[], @@ -318,14 +319,15 @@ export default { }, pay(row){ + console.log(row) - updateByordersState1(row.ordersId,row.productId).then( - res =>{ - this.$message.success(res.msg) + updateByordersState1(this.orders).then(res =>{ + this.orders.ordersId=this.orders.ordersId; + this.orders.productId=this.orders.productId; + window.open("http://21.12.0.10:80/prod-api/market/alipay/pay?productName="+row.productName +"&ordersNum="+row.ordersNum+"&ordersPrice="+row.ordersPrice) + this.$message.success('付款成功') } ) - window.open("http://21.12.0.10:80/prod-api/market/alipay/pay?productName="+row.productName +"&ordersNum="+row.ordersNum+"&ordersPrice="+row.ordersPrice) - this.$message.success('付款成功') },