|
|
|
|
@ -202,16 +202,28 @@
|
|
|
|
|
<!-- </el-popover>-->
|
|
|
|
|
|
|
|
|
|
<template v-if="scope.row.status === 0">
|
|
|
|
|
<Poptip
|
|
|
|
|
popper-class="pop-class-confirm"
|
|
|
|
|
v-model="isShowSku"
|
|
|
|
|
transfer
|
|
|
|
|
confirm
|
|
|
|
|
title="确认要删除订单?"
|
|
|
|
|
@on-ok="deleteSchedule(scope.row)"
|
|
|
|
|
>
|
|
|
|
|
<Button size="small" type="primary" ghost>删除</Button>
|
|
|
|
|
</Poptip>
|
|
|
|
|
<el-popover
|
|
|
|
|
trigger="click"
|
|
|
|
|
:ref="`el-pop-${scope.row.id}`"
|
|
|
|
|
placement="top"
|
|
|
|
|
width="200">
|
|
|
|
|
<p>确认要删除排版?</p>
|
|
|
|
|
<div style="text-align: right; margin: 0">
|
|
|
|
|
<el-button size="mini" type="text" @click="$refs[`el-pop-${scope.row.id}`].doClose()">取消</el-button>
|
|
|
|
|
<el-button type="primary" size="mini" @click="deleteSchedule(scope.row)">确定</el-button>
|
|
|
|
|
</div>
|
|
|
|
|
<el-button size="small" type="primary" slot="reference">删除</el-button>
|
|
|
|
|
</el-popover>
|
|
|
|
|
<!-- <Poptip-->
|
|
|
|
|
<!-- popper-class="pop-class-confirm"-->
|
|
|
|
|
<!-- v-model="isShowSku"-->
|
|
|
|
|
<!-- transfer-->
|
|
|
|
|
<!-- confirm-->
|
|
|
|
|
<!-- title="确认要删除订单?"-->
|
|
|
|
|
<!-- @on-ok="deleteSchedule(scope.row)"-->
|
|
|
|
|
<!-- >-->
|
|
|
|
|
<!-- <Button size="small" type="primary" ghost>删除</Button>-->
|
|
|
|
|
<!-- </Poptip>-->
|
|
|
|
|
</template>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
@ -230,6 +242,8 @@ import {
|
|
|
|
|
} from "@/api/schedule";
|
|
|
|
|
import { getList } from "@/api/serveDetail";
|
|
|
|
|
import { debounce } from "@/utils";
|
|
|
|
|
import PopupManager from "element-ui/lib/utils/popup/popup-manager"
|
|
|
|
|
PopupManager.zIndex = 5000;
|
|
|
|
|
export default {
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
@ -461,7 +475,7 @@ export default {
|
|
|
|
|
type: "success",
|
|
|
|
|
message: "删除成功",
|
|
|
|
|
});
|
|
|
|
|
this.getList();
|
|
|
|
|
this.getSchedules();
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
show(e) {
|
|
|
|
|
|