pull/7/head^2
Aaaaaaaa 2024-09-06 09:05:56 +08:00
parent 5f182ea1fc
commit 6c66bd1374
1 changed files with 30 additions and 5 deletions

View File

@ -28,7 +28,7 @@
</el-card>
<br>
<button style="float: right; padding: 3px 10px" type="text" @click="orderslist"></button>
<br>
<br>
<el-card class="box-card" style="width: 94%;transform: translateX(3%);margin-top: 10px">
<div slot="header" class="clearfix">
<span>回收站列表</span>
@ -41,7 +41,7 @@
</template>
</el-table-column>
<el-table-column label="购买信息">
<el-table-column label="订单编号" width="120" align="center">
<el-table-column label="订单编号" width="150" align="center">
<template slot-scope="scope">
<span style="margin-left: 10px"> {{ scope.row.ordersNum }}</span>
</template>
@ -53,7 +53,7 @@
</el-table-column>
<el-table-column label="购买详情">
<el-table-column prop="province" label="购买接口" width="150" align="center">
<el-table-column prop="province" label="购买接口" width="200" align="center">
<template slot-scope="scope">
<span style="margin-left: 10px">{{ scope.row.productName }}</span>
</template>
@ -69,7 +69,7 @@
<span style="margin-left: 10px">{{ scope.row.ordersSpecification }}</span>
</template>
</el-table-column>
<el-table-column label="订单款项状态" width="110" align="center">
<el-table-column label="订单款项状态" width="130" align="center">
<template slot-scope="scope">
<span style="margin-left: 10px" v-if="scope.row.ordersState==0"></span>
<span style="margin-left: 10px" v-if="scope.row.ordersState==1"></span>
@ -108,7 +108,7 @@
<script>
import { ordersDelete, listreclaim } from '@/api/market/orders'
import { ordersDelete, listreclaim, updateByExist} from '@/api/market/orders'
import { diGui } from "@/api/market/orders";
@ -171,6 +171,30 @@ export default {
}
)
},
showConfirmDialog() {
},
//
handleEdit(row){
this.$confirm('你确定要执行此操作吗?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
//
console.log('用户点击了确定');
updateByExist(row.ordersId).then(
res =>{
this.$message.success(res.msg)
this.listreclaim()
}
)
}).catch(() => {
//
console.log('用户点击了取消');
});
location.reload();
},
//
ordersDelete(row){
ordersDelete(row.ordersId).then(
@ -179,6 +203,7 @@ export default {
this.listreclaim()
}
)
location.reload();
},
//
chong(){