fix:6车间车间库存添加中间检验

This commit is contained in:
shijing 2025-02-14 15:52:18 +08:00
parent 37929680b1
commit d41ebfed13
1 changed files with 28 additions and 21 deletions

View File

@ -223,9 +223,7 @@
prop="submit_time"
>
<template #default="scope">
<span v-if="scope.row.submit_time"
></span
>
<span v-if="scope.row.submit_time"></span>
<span v-else></span>
</template>
</el-table-column>
@ -233,14 +231,13 @@
label="操作"
fixed="right"
align="left"
width="60"
>
<template #default="scope">
<el-button
link
type="primary"
@click.stop="
handover_submit(scope.row)
"
@click.stop="handover_submit(scope.row)"
v-auth="'handover.submit'"
v-if="scope.row.submit_time == null"
>
@ -298,7 +295,6 @@
:params="paramsWm"
:query="queryWm"
stripe
hidePagination
>
<el-table-column label="物料名" prop="material">
<template #default="scope">
@ -315,21 +311,19 @@
{{ scope.row.material_.model }}
</template>
</el-table-column>
<el-table-column
label="已到工序"
prop="material"
>
<template #default="scope">{{
scope.row.material_.process_name
}}</template>
<el-table-column label="已到工序" prop="material">
<template #default="scope">
{{scope.row.material_.process_name}}
</template>
</el-table-column>
<el-table-column label="批次" prop="batch">
<el-table-column label="批次" prop="batch" show-overflow-tooltip>
</el-table-column>
<el-table-column
label="数量"
prop="count"
width="80"
>
<el-table-column label="数量" prop="count" width="80">
</el-table-column>
<el-table-column label="操作" fixed="right" align="right" width="55">
<template #default="scope">
<el-link link type="primary" @click.stop="inm_test(scope.row)">检验</el-link>
</template>
</el-table-column>
</scTable>
</el-main>
@ -338,6 +332,11 @@
</el-container>
</el-main>
</el-container>
<middle-dialog
ref="inmTestDialog"
v-if="dialogInmTest"
@closed="dialogInmTest = false">
</middle-dialog>
<showDrawer
ref="showDrawer"
v-if="visibleDrawer"
@ -363,6 +362,7 @@
</template>
<script>
import middleDialog from "./middle_test.vue";
import handoverDialog from "./handover_form.vue";
import showDrawer from "./mlog_dept6_detail.vue";
import materials from "./../mtm/materials.vue";
@ -370,6 +370,7 @@ export default {
components: {
showDrawer,
materials,
middleDialog,
handoverDialog
},
data() {
@ -406,7 +407,6 @@ export default {
paramsWm: {
belong_dept__name: "6车间",
count__gte: 1,
page: 0,
},
queryWm: {
search: "",
@ -427,6 +427,7 @@ export default {
materialType: "wm",
visibleDrawer: false,
dialogHandover:false,
dialogInmTest:false,
};
},
mounted() {
@ -536,6 +537,12 @@ export default {
this.$refs.handoverDialog.open('add');
})
},
inm_test(row){
this.dialogInmTest = true;
this.$nextTick(() => {
this.$refs.inmTestDialog.open().setData(row);
})
},
},
};
</script>