diff --git a/src/views/wpm_bx/inmIn.vue b/src/views/wpm_bx/inmIn.vue
index cb1baca6..9b2758f6 100644
--- a/src/views/wpm_bx/inmIn.vue
+++ b/src/views/wpm_bx/inmIn.vue
@@ -81,7 +81,11 @@
label="批次号"
prop="batch"
min-width="120"
- >
+ >
+
+
+
+
关联产品
@@ -246,6 +260,7 @@ import checkDialog from "./check_form.vue";
import showDrawer from "./check_drawer.vue";
import scrapDialog from "./handover_form.vue";
import saveDialog from "./inm_record.vue";
+import handoverDialog from "./handover_form2.vue";
export default {
props: {
deptId: {
@@ -274,7 +289,8 @@ export default {
materials,
checkDialog,
showDrawer,
- scrapDialog
+ scrapDialog,
+ handoverDialog
},
name: "wmaterial",
data() {
@@ -458,6 +474,14 @@ export default {
this.dialog.save = false;
this.$refs.table.refresh();
},
+ //分批mtype:20
+ rowClick(row){
+ this.dialog.handover = true;
+ this.type = 10;
+ this.$nextTick(() => {
+ this.$refs.handoverDialog.open("add",row,20);
+ });
+ },
//打印物料标签
printMaterial(row,type){
let that = this;
diff --git a/src/views/wpm_bx/inmOut.vue b/src/views/wpm_bx/inmOut.vue
index d1b70a58..81bce226 100644
--- a/src/views/wpm_bx/inmOut.vue
+++ b/src/views/wpm_bx/inmOut.vue
@@ -82,7 +82,11 @@
label="批次号"
prop="batch"
min-width="120"
- >
+ >
+
+
+
+
关联产品
@@ -247,6 +261,7 @@ import checkDialog from "./check_form.vue";
import showDrawer from "./check_drawer.vue";
import scrapDialog from "./handover_form.vue";
import saveDialog from "./inm_record.vue";
+import handoverDialog from "./handover_form2.vue";
export default {
props: {
deptId: {
@@ -275,7 +290,8 @@ export default {
materials,
checkDialog,
showDrawer,
- scrapDialog
+ scrapDialog,
+ handoverDialog
},
name: "wmaterial",
data() {
@@ -454,6 +470,14 @@ export default {
that.wprList = res;
})
},
+ //分批mtype:20
+ rowClick(row){
+ this.dialog.handover = true;
+ this.type = 10;
+ this.$nextTick(() => {
+ this.$refs.handoverDialog.open("add",row,20);
+ });
+ },
//本地更新数据
handleSaveSuccess(data, mode) {
this.dialog.save = false;