pull/7/head^2
Aaaaaaaa 2024-09-04 20:05:17 +08:00
parent f1fb67cf1f
commit 99f54f306a
3 changed files with 17 additions and 44 deletions

View File

@ -176,7 +176,7 @@
</el-table>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogVisible1 = false"> </el-button>
<el-button type="primary" @click="dialogVisible1 = false"> </el-button>
<el-button type="primary" @click="confirmSelection()"> </el-button>
</span>
</el-dialog>
@ -344,6 +344,7 @@ export default {
this.selectedRow = row;
},
confirmSelection() {
this.dialogVisible1=false
if (this.selectedRow) {
//
startPayment(this.selectedRow);

View File

@ -30,12 +30,13 @@
</div>
</el-card>
<br>
<br>
<button style="float: right; padding: 3px 10px" type="text" @click="reclaim"></button>
<br>
<el-card class="box-card" style="width: 94%;transform: translateX(3%);margin-top: 10px">
<div slot="header" class="clearfix">
<span>数据列表</span>
<button @click="add(1)" style="float: right; padding: 3px 10px" type="text">添加</button>
<button style="float: right; padding: 3px 10px" type="text" @click="getOut"></button>
</div>
@ -287,10 +288,9 @@ export default {
},
pay(row){
window.open("http://localhost:9701/alipay/pay?ordersNum=" +row.ordersNum +
"& orderSubject= "+row.productName + "& orderPrice="+row.ordersPrice)
console.log(row)
window.open("http://localhost:9701/alipay/pay?productName="+row.productName +"&ordersNum="+row.ordersNum+"&ordersPrice="+row.ordersPrice)
this.$message.success('付款成功')
this.load();
},
getOut(){
@ -298,8 +298,11 @@ export default {
...this.queryParams
}, `operlog_${new Date().getTime()}.xlsx`)
}
},
reclaim(){
this.$router.push({path:"/reclaim/index"})
}
// getOut(){
// axios.get('/market/orders/getOutAll').

View File

@ -112,39 +112,6 @@
</el-pagination>
</el-card>
<el-dialog
:title="addtitle"
:visible.sync="addordersoff"
width="50%"
:before-close="handleClose">
<div v-if="this.index==1">
<h2>管理员慎重填写</h2><br>
<el-form :model="ordersForm" status-icon :rules="rules" ref="ruleForm" label-width="100px" class="demo-ruleForm">
<el-form-item label="订单编号:" prop="ordersNum">
<el-input type="text" v-model="ordersForm.ordersNum" autocomplete="off"></el-input>
</el-form-item>
<el-form-item label="订单产品:" prop="ordersProduct">
<el-input type="text" v-model="ordersForm.ordersProduct" autocomplete="off"></el-input>
</el-form-item>
<el-form-item label="订单所属人:" prop="ordersUser">
<el-input type="text" v-model="ordersForm.ordersUser" autocomplete="off"></el-input>
</el-form-item>
<el-form-item label="订单金额:" prop="ordersPrice">
<el-input type="text" v-model="ordersForm.ordersPrice" autocomplete="off"></el-input>
</el-form-item>
<el-form-item label="订单规格:" prop="ordersSpecification">
<el-input type="text" v-model="ordersForm.ordersSpecification" autocomplete="off"></el-input>
</el-form-item>
</el-form>
<center>
<el-button @click="addordersoff = false"> </el-button>
<el-button type="primary" @click="addorders(ordersForm)"></el-button>
</center>
</div>
<span slot="footer" class="dialog-footer">
</span>
</el-dialog>
</div>
</template>
@ -242,14 +209,16 @@ export default {
.catch(_ => {});
},
pay(row){
window.open("http://localhost:9701/alipay/pay?subject=" + row.name
+ "&amp; traceNo=" + row.no + "&amp; totalAmount=" + row.ordersPrice)
this.$confirm(row.ordersNum,row.productName,row.ordersrice)
window.open("http://localhost:9701/alipay/pay?traceNo="+ row.ordersNum +"&subject="+row.productName +"&totalAmount="+row.ordersrice)
this.$message.success('付款成功')
this.load();
}
,
//
updateShop(orders){