fix:玻纤分批次

This commit is contained in:
shijing 2025-06-25 15:23:57 +08:00
parent 1c9349287b
commit ff3aa11c27
2 changed files with 53 additions and 5 deletions

View File

@ -81,7 +81,11 @@
label="批次号"
prop="batch"
min-width="120"
></el-table-column>
>
<!-- <template #default="scope">
<el-link @click="rowClick(scope.row)" type="primary">{{scope.row.batch}}</el-link>
</template> -->
</el-table-column>
<el-table-column
label="部门/工段"
prop="belong_dept_name"
@ -180,11 +184,21 @@
ref="inmRecordDialog"
:cate = "cate_type"
:process = "process"
:mgroupId = "params.mgroupx"
:mgroupId = "mgroupId"
:deptId = " params.belong_dept"
@success="handleinmSuccess"
>
</save-dialog>
<handover-dialog
v-if="dialog.handover"
ref="handoverDialog"
:type="type"
:mgroupName="mgroupName"
:mgroupId="mgroupId"
@success="handleScrapSuccess"
@closed="dialog.handover = false"
>
</handover-dialog>
<el-drawer v-model="wprVisibleDrawer" :size="'70%'">
<template #header>
<h4>关联产品</h4>
@ -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;

View File

@ -82,7 +82,11 @@
label="批次号"
prop="batch"
min-width="120"
></el-table-column>
>
<!-- <template #default="scope">
<el-link @click="rowClick(scope.row)" type="primary">{{scope.row.batch}}</el-link>
</template> -->
</el-table-column>
<el-table-column
label="部门/工段"
prop="belong_dept_name"
@ -186,6 +190,16 @@
@success="handleinmSuccess"
>
</save-dialog>
<handover-dialog
v-if="dialog.handover"
ref="handoverDialog"
:type="type"
:mgroupName="mgroupName"
:mgroupId="mgroupId"
@success="handleScrapSuccess"
@closed="dialog.handover = false"
>
</handover-dialog>
<el-drawer v-model="wprVisibleDrawer" :size="'70%'">
<template #header>
<h4>关联产品</h4>
@ -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;