feat: 原料入库显示是否检验
This commit is contained in:
parent
89b64277f9
commit
f19911987d
|
@ -46,7 +46,7 @@
|
|||
<div class="right-panel">
|
||||
<el-input
|
||||
v-model="query.search"
|
||||
placeholder="编号"
|
||||
placeholder="编号/物料信息等"
|
||||
clearable
|
||||
style="margin-right: 5px"
|
||||
></el-input>
|
||||
|
@ -81,6 +81,11 @@
|
|||
{{ stateDict[scope.row.state] }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="是否检验" width="80">
|
||||
<template #default="scope">
|
||||
<el-tag v-if="scope.row.is_tested" type="success">是</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="出/入库日期" prop="inout_date">
|
||||
</el-table-column>
|
||||
<el-table-column label="执行部门" prop="belong_dept_name">
|
||||
|
@ -96,7 +101,7 @@
|
|||
label="操作"
|
||||
fixed="right"
|
||||
align="center"
|
||||
width="150px"
|
||||
width="200px"
|
||||
>
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
|
|
|
@ -145,7 +145,6 @@
|
|||
</el-form-item>
|
||||
<el-form-item
|
||||
label="仓库执行人"
|
||||
v-if="form.type == 'do_in' || form.type == 'do_out'"
|
||||
>
|
||||
<el-select
|
||||
v-model="form.mio_user"
|
||||
|
@ -217,6 +216,7 @@ export default {
|
|||
mounted() {},
|
||||
methods: {
|
||||
init() {
|
||||
this.getDeptUser();
|
||||
var type = this.form.type;
|
||||
if (type == "pur_in") {
|
||||
this.getPuOrderOptions();
|
||||
|
@ -226,7 +226,6 @@ export default {
|
|||
this.getCustomerOptions();
|
||||
} else if (type == "do_in" || type == "do_out") {
|
||||
this.getDeptOptions();
|
||||
this.getDeptUser();
|
||||
this.getmgroupOptions();
|
||||
this.getgetDeptUsers();
|
||||
} else if (type == "other_in") {
|
||||
|
|
|
@ -103,6 +103,8 @@
|
|||
</el-table-column>
|
||||
<el-table-column label="数量" prop="count">
|
||||
</el-table-column>
|
||||
<el-table-column label="检验" prop="test_date" v-if="cate=='mainso'">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="组合件信息"
|
||||
v-if="cate == 'good'"
|
||||
|
|
Loading…
Reference in New Issue