|
|
@@ -13,7 +13,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="right_main">
|
|
|
- {{ operationType }}
|
|
|
+ <pickDetails></pickDetails>
|
|
|
</div>
|
|
|
</div>
|
|
|
<footBtn @footBtn="footBtn"></footBtn>
|
|
|
@@ -35,6 +35,7 @@
|
|
|
import productionResource from './components/productionResource/index.vue';
|
|
|
|
|
|
import picking from './components/picking/index.vue';
|
|
|
+ import pickDetails from './components/picking/details.vue';
|
|
|
export default {
|
|
|
components: {
|
|
|
Search,
|
|
|
@@ -42,7 +43,8 @@
|
|
|
produceOrder,
|
|
|
productionResource,
|
|
|
|
|
|
- picking
|
|
|
+ picking,
|
|
|
+ pickDetails
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
@@ -66,6 +68,14 @@
|
|
|
footBtn(t) {
|
|
|
this.operationType = t;
|
|
|
if (t == 'pick') {
|
|
|
+ if (
|
|
|
+ Object.keys(this.$store.state.user.taskObj).length === 0 &&
|
|
|
+ this.$store.state.user.taskObj.constructor === Object
|
|
|
+ ) {
|
|
|
+ this.$message.warning('请选择工序');
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+
|
|
|
if (this.workListIds.length == 0) {
|
|
|
this.$message.warning('请选择工单列表');
|
|
|
return false;
|
|
|
@@ -168,6 +178,5 @@
|
|
|
min-width: 640px;
|
|
|
height: calc((100vh - 70px - 50px - 80px - 12px));
|
|
|
margin-top: 6px;
|
|
|
- background: blueviolet;
|
|
|
}
|
|
|
</style>
|