change - 修改质检项信息

master
yinq 1 year ago
parent cc2a3fabb9
commit 80c46d2d00

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

Loading…
Cancel
Save