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