推线上

wr
Aaaaaaaa 2024-09-09 15:19:18 +08:00
parent 050afe93a0
commit 3d6f27c171
3 changed files with 12 additions and 5 deletions

View File

@ -152,6 +152,7 @@ export default {
} }
}); });
} }
} }
}; };
</script> </script>

View File

@ -165,6 +165,7 @@ import {
} from '@/api/market/orders' } from '@/api/market/orders'
import { diGui } from "@/api/market/orders"; import { diGui } from "@/api/market/orders";
import axios from 'axios' import axios from 'axios'
import item from '@/layout/components/Sidebar/Item.vue'
//jsjsjson, //jsjsjson,
@ -218,7 +219,11 @@ export default {
}; };
}, },
// data", // data",
computed: {}, computed: {
item() {
return item
}
},
//data", //data",
watch: {}, watch: {},
//", //",
@ -309,7 +314,7 @@ export default {
pay(row){ pay(row){
console.log(row) console.log(row)
window.open("http://localhost:9701/alipay/pay?productName="+row.productName +"&ordersNum="+row.ordersNum+"&ordersPrice="+row.ordersPrice) window.open("http://21.12.0.10/prod-api/market/alipay/pay?productName="+row.productName +"&ordersNum="+row.ordersNum+"&ordersPrice="+row.ordersPrice)
this.$message.success('付款成功') this.$message.success('付款成功')
updateByordersState1(ordersForm).then(response=>{ updateByordersState1(ordersForm).then(response=>{
alert(response.msg) alert(response.msg)
@ -331,6 +336,7 @@ export default {
this.$router.push({path:"/reclaim/index"}) this.$router.push({path:"/reclaim/index"})
} }
// getOut(){ // getOut(){
// axios.get('/market/orders/getOutAll'). // axios.get('/market/orders/getOutAll').
// then(response =>{ // then(response =>{

View File

@ -190,10 +190,10 @@ export default {
insertmoney(moneyForm){ insertmoney(moneyForm){
if (moneyForm.pay==1){ if (moneyForm.pay==1){
if (moneyForm.resource!=''){ if (moneyForm.resource!=''){
window.open("http://21.12.0.10:80/alipay/pay?ordersPrice="+moneyForm.resource) window.open("http://localhost:9701/alipay/pay?ordersPrice="+moneyForm.resource)
this.$message.success('付款成功') this.$message.success('付款成功')
}else { }else {
window.open("http://21.12.0.10:80/alipay/pay?ordersPrice="+moneyForm.resource) window.open("http://localhost:9701/alipay/pay?ordersPrice="+moneyForm.resource)
this.$message.success('付款成功') this.$message.success('付款成功')
} }