diff --git a/src/views/wpm_bx/index.vue b/src/views/wpm_bx/index.vue
index cd553579..61ba9631 100644
--- a/src/views/wpm_bx/index.vue
+++ b/src/views/wpm_bx/index.vue
@@ -81,6 +81,13 @@
:mgroup_code="mgroup_code"
:mgroupMtype = "mgroupMtype"
>
+
@@ -89,10 +96,11 @@ import inmIn from "./inmIn.vue";
import inmOut from "./inmOut.vue";
import mlogs from "./mlogs.vue";
import mtask from "./mtask.vue";
+import record from "./../wpm_gx/inmrecord.vue";
import handover from "./handover.vue";
export default {
name: "bx",
- components: { inmIn, mlogs, mtask, handover,inmOut },
+ components: { inmIn, mlogs, mtask, handover,inmOut,record },
data() {
return {
mgroups:[],
@@ -118,6 +126,12 @@ export default {
let paths = this.$route.path;
let arr = paths.split("/");
this.mgroup_code = arr[2];
+ if(this.mgroup_code=='chengpingneiwaichujian'||this.mgroup_code=='guangzhuichengpjianc'||
+ this.mgroup_code=='chengpneizhifujian'||this.mgroup_code=='chengpingxinengjiance'||
+ this.mgroup_code=='chenpjianchicunjiance'||this.mgroup_code=='chengpwaiguanfujianyi'||
+ this.mgroup_code=='chengpwaiguanfujianer'){
+ this.options.push('出入库记录');
+ }
console.log('this.mgroup_code',this.mgroup_code);
that.getMgroups(this.mgroup_code);
},
diff --git a/src/views/wpm_gx/inm_record.vue b/src/views/wpm_gx/inm_record.vue
index ea6e606e..20f9c3a7 100644
--- a/src/views/wpm_gx/inm_record.vue
+++ b/src/views/wpm_gx/inm_record.vue
@@ -157,22 +157,28 @@
hideDo
stripe
>
-
-
- {{ scope.row.material_name }}
-
-
-
-
-
-
-
-
+
+
+ {{ scope.row.material_name }}
+
+
+
+
+
+
+
+
+
+ 删除
+
+
@@ -514,6 +520,18 @@ export default {
this.$refs.saveDialog.open("edit").setData(row);
});
},
+ table_del(row){
+ let that = this;
+ this.$confirm(`确定删除吗?`, "提示", {
+ type: "warning",
+ }).then(() => {
+ that.$API.inm.mioitem.delete.req(row.id).then((res) => {
+ that.$message.success("删除成功");
+ that.$refs.tables.refresh();
+ return res;
+ });
+ }).catch(() => {});
+ },
table_submit() {
let that = this;
that.$API.inm.mio.submit.req(that.mioId).then((res) => {
diff --git a/src/views/wpm_gx/inmrecord.vue b/src/views/wpm_gx/inmrecord.vue
index 31fde791..fdfc902e 100644
--- a/src/views/wpm_gx/inmrecord.vue
+++ b/src/views/wpm_gx/inmrecord.vue
@@ -3,20 +3,17 @@
领料
入库
-
退还入库