pull/7/head^2
parent
5f182ea1fc
commit
6c66bd1374
|
@ -41,7 +41,7 @@
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="购买信息">
|
<el-table-column label="购买信息">
|
||||||
<el-table-column label="订单编号" width="120" align="center">
|
<el-table-column label="订单编号" width="150" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span style="margin-left: 10px"> {{ scope.row.ordersNum }}</span>
|
<span style="margin-left: 10px"> {{ scope.row.ordersNum }}</span>
|
||||||
</template>
|
</template>
|
||||||
|
@ -53,7 +53,7 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
<el-table-column label="购买详情">
|
<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">
|
<template slot-scope="scope">
|
||||||
<span style="margin-left: 10px">{{ scope.row.productName }}</span>
|
<span style="margin-left: 10px">{{ scope.row.productName }}</span>
|
||||||
</template>
|
</template>
|
||||||
|
@ -69,7 +69,7 @@
|
||||||
<span style="margin-left: 10px">{{ scope.row.ordersSpecification }}</span>
|
<span style="margin-left: 10px">{{ scope.row.ordersSpecification }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="订单款项状态" width="110" align="center">
|
<el-table-column label="订单款项状态" width="130" align="center">
|
||||||
<template slot-scope="scope">
|
<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==0">待支付</span>
|
||||||
<span style="margin-left: 10px" v-if="scope.row.ordersState==1">已付款</span>
|
<span style="margin-left: 10px" v-if="scope.row.ordersState==1">已付款</span>
|
||||||
|
@ -108,7 +108,7 @@
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { ordersDelete, listreclaim } from '@/api/market/orders'
|
import { ordersDelete, listreclaim, updateByExist} from '@/api/market/orders'
|
||||||
import { diGui } 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){
|
||||||
ordersDelete(row.ordersId).then(
|
ordersDelete(row.ordersId).then(
|
||||||
|
@ -179,6 +203,7 @@ export default {
|
||||||
this.listreclaim()
|
this.listreclaim()
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
location.reload();
|
||||||
},
|
},
|
||||||
// 重置
|
// 重置
|
||||||
chong(){
|
chong(){
|
||||||
|
|
Loading…
Reference in New Issue