|
|
@ -121,7 +121,7 @@
|
|
|
|
<dict-tag :options="dict.type.material_subclass" :value="scope.row.materialSubclass"/>
|
|
|
|
<dict-tag :options="dict.type.material_subclass" :value="scope.row.materialSubclass"/>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<!-- <el-table-column label="工厂编号" align="center" prop="plantCode" v-if="columns[6].visible"/>-->
|
|
|
|
<el-table-column label="所属工位" align="center" prop="stationName" v-if="columns[6].visible"/>
|
|
|
|
<el-table-column label="启用标识" align="center" prop="isFlag" v-if="columns[8].visible">
|
|
|
|
<el-table-column label="启用标识" align="center" prop="isFlag" v-if="columns[8].visible">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<dict-tag :options="dict.type.is_flag" :value="scope.row.isFlag"/>
|
|
|
|
<dict-tag :options="dict.type.is_flag" :value="scope.row.isFlag"/>
|
|
|
@ -197,7 +197,16 @@
|
|
|
|
<!-- <el-form-item label="工厂编号" prop="plantCode">-->
|
|
|
|
<!-- <el-form-item label="工厂编号" prop="plantCode">-->
|
|
|
|
<!-- <el-input v-model="form.plantCode" placeholder="请输入工厂编号" />-->
|
|
|
|
<!-- <el-input v-model="form.plantCode" placeholder="请输入工厂编号" />-->
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
|
|
|
<el-form-item label="所属工位">
|
|
|
|
|
|
|
|
<el-select v-model="form.stationCode" placeholder="请输入所属工位">
|
|
|
|
|
|
|
|
<el-option
|
|
|
|
|
|
|
|
v-for="item in findStationList"
|
|
|
|
|
|
|
|
:key="item.productLineCode"
|
|
|
|
|
|
|
|
:label="item.productLineName"
|
|
|
|
|
|
|
|
:value="item.productLineCode"
|
|
|
|
|
|
|
|
></el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="启用标识" prop="isFlag">
|
|
|
|
<el-form-item label="启用标识" prop="isFlag">
|
|
|
|
<el-radio-group v-model="form.isFlag">
|
|
|
|
<el-radio-group v-model="form.isFlag">
|
|
|
|
<el-radio
|
|
|
|
<el-radio
|
|
|
@ -219,7 +228,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
import { listQualityInspectionItem, getQualityInspectionItem, delQualityInspectionItem, addQualityInspectionItem, updateQualityInspectionItem } from "@/api/base/qualityInspectionItem";
|
|
|
|
import { listQualityInspectionItem, getQualityInspectionItem, delQualityInspectionItem, addQualityInspectionItem, updateQualityInspectionItem } from "@/api/base/qualityInspectionItem";
|
|
|
|
|
|
|
|
import { findProductLineList } from '@//api/base/productLine'
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
name: "QualityInspectionItem",
|
|
|
|
name: "QualityInspectionItem",
|
|
|
|
dicts: ['is_flag','material_categories','material_subclass'],
|
|
|
|
dicts: ['is_flag','material_categories','material_subclass'],
|
|
|
@ -271,19 +280,23 @@ export default {
|
|
|
|
{ key: 3, label: `父级编号`, visible: true },
|
|
|
|
{ key: 3, label: `父级编号`, visible: true },
|
|
|
|
{ key: 4, label: `物料大类`, visible: true },
|
|
|
|
{ key: 4, label: `物料大类`, visible: true },
|
|
|
|
{ key: 5, label: `物料小类`, visible: true },
|
|
|
|
{ key: 5, label: `物料小类`, visible: true },
|
|
|
|
// { key: 6, label: `工厂编号`, visible: true },
|
|
|
|
{ key: 6, label: `工厂编号`, visible: true },
|
|
|
|
{ key: 7, label: `备注`, visible: true },
|
|
|
|
{ key: 7, label: `备注`, visible: true },
|
|
|
|
{ key: 8, label: `启用标识`, visible: true },
|
|
|
|
{ key: 8, label: `启用标识`, visible: true },
|
|
|
|
{ key: 9, label: `创建人`, visible: true },
|
|
|
|
{ key: 9, label: `创建人`, visible: true },
|
|
|
|
{ key: 10, label: `创建时间`, visible: true },
|
|
|
|
{ key: 10, label: `创建时间`, visible: true },
|
|
|
|
{ key: 11, label: `更新人`, visible: true },
|
|
|
|
{ key: 11, label: `更新人`, visible: true },
|
|
|
|
{ key: 12, label: `更新时间`, visible: true },
|
|
|
|
{ key: 12, label: `更新时间`, visible: true },
|
|
|
|
]
|
|
|
|
],
|
|
|
|
|
|
|
|
// 工位选项
|
|
|
|
|
|
|
|
findStationList: []
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
|
created() {
|
|
|
|
created() {
|
|
|
|
|
|
|
|
findProductLineList({productLineType: 2}).then(response => {
|
|
|
|
|
|
|
|
this.findStationList = response.data;
|
|
|
|
|
|
|
|
});
|
|
|
|
this.getList();
|
|
|
|
this.getList();
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
|
|
|
|
|
|
|
|