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