add BatchDialog--detail
This commit is contained in:
@@ -33,12 +33,22 @@
|
||||
:total="total"
|
||||
layout="total, sizes, prev, pager, next, jumper"></el-pagination>
|
||||
|
||||
<!-- 编辑 -->
|
||||
<BatchDialogEdit
|
||||
v-if="editDialogVisible"
|
||||
ref="batchDialogEdit"
|
||||
:blender-order-id="blenderOrderId"
|
||||
@refreshDataList="getBatchList"
|
||||
@destroy="editDialogVisible = false" />
|
||||
|
||||
<!-- 查看详情 -->
|
||||
<BatchDialogDetail
|
||||
v-if="detailDialogVisible"
|
||||
ref="batchDialogDetail"
|
||||
:blender-order-id="blenderOrderId"
|
||||
@refreshDataList="getBatchList"
|
||||
@destroy="detailDialogVisible = false" />
|
||||
|
||||
<!-- footer -->
|
||||
<div slot="footer">
|
||||
<el-button @click="handleClose">取消</el-button>
|
||||
@@ -52,11 +62,12 @@ import TableTextComponent from "@/components/noTemplateComponents/detailComponen
|
||||
import TableOperaionComponent from "@/components/noTemplateComponents/operationComponent";
|
||||
import { timeFilter } from "@/utils/filters";
|
||||
import BatchDialogEdit from "./BatchDialog--edit.vue";
|
||||
import BatchDialogDetail from "./BatchDialog--detail.vue";
|
||||
// import { pick as __pick } from "@/utils/filters";
|
||||
|
||||
export default {
|
||||
name: "DialogList",
|
||||
components: { BaseListTable, BatchDialogEdit },
|
||||
name: "BatchDialog",
|
||||
components: { BaseListTable, BatchDialogEdit, BatchDialogDetail },
|
||||
props: {
|
||||
configs: {
|
||||
type: Object,
|
||||
@@ -70,6 +81,7 @@ export default {
|
||||
return {
|
||||
visible: false,
|
||||
editDialogVisible: false,
|
||||
detailDialogVisible: false,
|
||||
blenderOrderId: null, // 用来获取批次列表
|
||||
loading: false,
|
||||
limit: 20,
|
||||
|
||||
Reference in New Issue
Block a user