Commit 77c95e63 authored by 周远喜's avatar 周远喜

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

parents d674128c bafd6ab3
...@@ -161,7 +161,9 @@ export default { ...@@ -161,7 +161,9 @@ export default {
maxnum: 1, maxnum: 1,
chaiModal: false, chaiModal: false,
orderId: 0, orderId: 0,
routingHeaderId: 0 quantity: 0,
routingHeaderId: 0,
detailId: 0
}; };
}, },
created() { created() {
...@@ -215,6 +217,7 @@ export default { ...@@ -215,6 +217,7 @@ export default {
u.chai = false; u.chai = false;
}); });
this.result = r.result; this.result = r.result;
this.quantity = r.result.quantity;
} }
}); });
}, },
...@@ -300,7 +303,7 @@ export default { ...@@ -300,7 +303,7 @@ export default {
}, },
//下发 //下发
lowerHair() { lowerHair() {
if (this.orderId) { if (this.orderId || this.quantity) {
var items = []; var items = [];
var obj = {}; var obj = {};
if (this.mode == 1) { if (this.mode == 1) {
...@@ -355,7 +358,7 @@ export default { ...@@ -355,7 +358,7 @@ export default {
}); });
} }
} else { } else {
this.$Message.info("请先选择排产订单设置工序"); this.$Message.info("请先选择排产订单设置工序");
} }
}, },
closeOk() { closeOk() {
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
<Icon type="ios-undo-outline" />详情页面 <Icon type="ios-undo-outline" />详情页面
</a>--> </a>-->
<Card class="h100"> <Card class="h100">
<DataGrid :columns="columns" ref="grid" :action="action"> <DataGrid :columns="columns" ref="grid" :action="action" class="card_box">
<template slot="easySearch"> <template slot="easySearch">
<Form ref="formInline" :model="easySearch" inline> <Form ref="formInline" :model="easySearch" inline>
<FormItem prop="keys"> <FormItem prop="keys">
......
...@@ -103,5 +103,16 @@ ...@@ -103,5 +103,16 @@
left: 44%; left: 44%;
} }
} }
}
.lay100 {
height: calc(100vh - 105px);
background-color: #F5F6FA;
.con{
padding: 5px 5px 0px 10px;
.h100{
overflow-y: auto;
}
}
} }
\ No newline at end of file
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