Commit f12229c9 authored by 仇晓婷's avatar 仇晓婷

Merge branch 'product' of http://git.mes123.com/zhouyx/mes-ui into product

parents d6048a1a 40912b67
This diff is collapsed.
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<Button type="primary" @click="add">新增</Button> <Button type="primary" @click="add">新增</Button>
</template> </template>
</DataGrid> </DataGrid>
<Modal v-model="modal" :title="title" width="1200" :fullscreen="full" footer-hide> <Modal v-model="modal" :title="title" width="1200" :fullscreen="full" :footer-hide="initBtn">
<component :is="detail" :eid="curId" @on-close="cancel" @on-ok="ok" /> <component :is="detail" :eid="curId" @on-close="cancel" @on-ok="ok" />
</Modal> </Modal>
</div> </div>
...@@ -48,6 +48,7 @@ export default { ...@@ -48,6 +48,7 @@ export default {
}, },
modal: false, modal: false,
full: false, full: false,
initBtn: true,
title: "新增", title: "新增",
detail: null, detail: null,
curId: 0, curId: 0,
...@@ -213,6 +214,7 @@ export default { ...@@ -213,6 +214,7 @@ export default {
add() { add() {
this.curId = 0; this.curId = 0;
this.full = false; this.full = false;
this.initBtn = true;
this.title = "新增"; this.title = "新增";
this.detail = () => import("./add"); this.detail = () => import("./add");
this.modal = true; this.modal = true;
...@@ -227,6 +229,7 @@ export default { ...@@ -227,6 +229,7 @@ export default {
this.curId = id; this.curId = id;
this.title = "详情"; this.title = "详情";
this.full = false; this.full = false;
this.initBtn = false;
this.detail = () => import("./detail"); this.detail = () => import("./detail");
this.modal = true; this.modal = true;
}, },
...@@ -234,6 +237,7 @@ export default { ...@@ -234,6 +237,7 @@ export default {
this.curId = id; this.curId = id;
this.title = "编辑"; this.title = "编辑";
this.full = false; this.full = false;
this.initBtn = true;
this.detail = () => import("./edit"); this.detail = () => import("./edit");
this.modal = true; this.modal = true;
}, },
...@@ -241,6 +245,7 @@ export default { ...@@ -241,6 +245,7 @@ export default {
this.curId = row.id; this.curId = row.id;
this.title = "处理文件:" + row.name; this.title = "处理文件:" + row.name;
this.full = true; this.full = true;
this.initBtn = true;
this.detail = () => import("./process"); this.detail = () => import("./process");
this.modal = true; this.modal = true;
}, },
......
This diff is collapsed.
...@@ -102,10 +102,10 @@ export default { ...@@ -102,10 +102,10 @@ export default {
op: "mesCode,productName,drawnNumber", op: "mesCode,productName,drawnNumber",
value: null, value: null,
}, },
// status: { DispatchStatus: {
// op: "In", op: "In",
// value: [12, 14, 5, 7, -1] value: [12, 14, 5, 7, -1]
// } }
}, },
downUrl: fileUrlDown, downUrl: fileUrlDown,
columns: [{ columns: [{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment