pull/7/head^2
parent
5f182ea1fc
commit
6c66bd1374
|
@ -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(){
|
||||
|
|
Loading…
Reference in New Issue