fix:玻纤分批次
This commit is contained in:
parent
1c9349287b
commit
ff3aa11c27
|
@ -81,7 +81,11 @@
|
||||||
label="批次号"
|
label="批次号"
|
||||||
prop="batch"
|
prop="batch"
|
||||||
min-width="120"
|
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
|
<el-table-column
|
||||||
label="部门/工段"
|
label="部门/工段"
|
||||||
prop="belong_dept_name"
|
prop="belong_dept_name"
|
||||||
|
@ -180,11 +184,21 @@
|
||||||
ref="inmRecordDialog"
|
ref="inmRecordDialog"
|
||||||
:cate = "cate_type"
|
:cate = "cate_type"
|
||||||
:process = "process"
|
:process = "process"
|
||||||
:mgroupId = "params.mgroupx"
|
:mgroupId = "mgroupId"
|
||||||
:deptId = " params.belong_dept"
|
:deptId = " params.belong_dept"
|
||||||
@success="handleinmSuccess"
|
@success="handleinmSuccess"
|
||||||
>
|
>
|
||||||
</save-dialog>
|
</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%'">
|
<el-drawer v-model="wprVisibleDrawer" :size="'70%'">
|
||||||
<template #header>
|
<template #header>
|
||||||
<h4>关联产品</h4>
|
<h4>关联产品</h4>
|
||||||
|
@ -246,6 +260,7 @@ import checkDialog from "./check_form.vue";
|
||||||
import showDrawer from "./check_drawer.vue";
|
import showDrawer from "./check_drawer.vue";
|
||||||
import scrapDialog from "./handover_form.vue";
|
import scrapDialog from "./handover_form.vue";
|
||||||
import saveDialog from "./inm_record.vue";
|
import saveDialog from "./inm_record.vue";
|
||||||
|
import handoverDialog from "./handover_form2.vue";
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
deptId: {
|
deptId: {
|
||||||
|
@ -274,7 +289,8 @@ export default {
|
||||||
materials,
|
materials,
|
||||||
checkDialog,
|
checkDialog,
|
||||||
showDrawer,
|
showDrawer,
|
||||||
scrapDialog
|
scrapDialog,
|
||||||
|
handoverDialog
|
||||||
},
|
},
|
||||||
name: "wmaterial",
|
name: "wmaterial",
|
||||||
data() {
|
data() {
|
||||||
|
@ -458,6 +474,14 @@ export default {
|
||||||
this.dialog.save = false;
|
this.dialog.save = false;
|
||||||
this.$refs.table.refresh();
|
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){
|
printMaterial(row,type){
|
||||||
let that = this;
|
let that = this;
|
||||||
|
|
|
@ -82,7 +82,11 @@
|
||||||
label="批次号"
|
label="批次号"
|
||||||
prop="batch"
|
prop="batch"
|
||||||
min-width="120"
|
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
|
<el-table-column
|
||||||
label="部门/工段"
|
label="部门/工段"
|
||||||
prop="belong_dept_name"
|
prop="belong_dept_name"
|
||||||
|
@ -186,6 +190,16 @@
|
||||||
@success="handleinmSuccess"
|
@success="handleinmSuccess"
|
||||||
>
|
>
|
||||||
</save-dialog>
|
</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%'">
|
<el-drawer v-model="wprVisibleDrawer" :size="'70%'">
|
||||||
<template #header>
|
<template #header>
|
||||||
<h4>关联产品</h4>
|
<h4>关联产品</h4>
|
||||||
|
@ -247,6 +261,7 @@ import checkDialog from "./check_form.vue";
|
||||||
import showDrawer from "./check_drawer.vue";
|
import showDrawer from "./check_drawer.vue";
|
||||||
import scrapDialog from "./handover_form.vue";
|
import scrapDialog from "./handover_form.vue";
|
||||||
import saveDialog from "./inm_record.vue";
|
import saveDialog from "./inm_record.vue";
|
||||||
|
import handoverDialog from "./handover_form2.vue";
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
deptId: {
|
deptId: {
|
||||||
|
@ -275,7 +290,8 @@ export default {
|
||||||
materials,
|
materials,
|
||||||
checkDialog,
|
checkDialog,
|
||||||
showDrawer,
|
showDrawer,
|
||||||
scrapDialog
|
scrapDialog,
|
||||||
|
handoverDialog
|
||||||
},
|
},
|
||||||
name: "wmaterial",
|
name: "wmaterial",
|
||||||
data() {
|
data() {
|
||||||
|
@ -454,6 +470,14 @@ export default {
|
||||||
that.wprList = res;
|
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) {
|
handleSaveSuccess(data, mode) {
|
||||||
this.dialog.save = false;
|
this.dialog.save = false;
|
||||||
|
|
Loading…
Reference in New Issue