物料附属属性调整

yangwl
陈恒杰 4 months ago
parent e7be6ae684
commit ad7d0b714e

@ -25,14 +25,14 @@
<!-- @keyup.enter.native="handleQuery"-->
<!-- />-->
<!-- </el-form-item>-->
<el-form-item label="标准效率" prop="iei">
<el-input
v-model="queryParams.iei"
placeholder="请输入标准效率"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<!-- <el-form-item label="标准效率" prop="iei">-->
<!-- <el-input-->
<!-- v-model="queryParams.iei"-->
<!-- placeholder="请输入标准效率"-->
<!-- clearable-->
<!-- @keyup.enter.native="handleQuery"-->
<!-- />-->
<!-- </el-form-item>-->
<!-- <el-form-item label="标准用人" prop="manStandar">-->
<!-- <el-input-->
<!-- v-model="queryParams.manStandar"-->
@ -191,8 +191,16 @@
<el-table v-loading="loading" :data="attachedList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="主键ID" align="center" prop="id" />
<el-table-column label="产品编号" align="center" prop="productCode" />
<!-- <el-table-column label="主键ID" align="center" prop="id" />-->
<!-- 序号 -->
<el-table-column
type="index"
width="50"
align="center"
:index="indexMethod"
label="序号"
/>
<el-table-column label="产品编号" align="center" prop="productCode" width="150"/>
<el-table-column label="品类" align="center" prop="category" />
<el-table-column label="每PC单圈" align="center" prop="pc" />
<el-table-column label="标准效率" align="center" prop="iei" />
@ -209,7 +217,7 @@
<el-table-column label="吸塑" align="center" prop="pvc" />
<el-table-column label="支架盘" align="center" prop="supportPlate" />
<el-table-column label="其它" align="center" prop="other" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="130">
<template slot-scope="scope">
<el-button
size="mini"
@ -243,9 +251,24 @@
<el-form-item label="产品编号" prop="productCode">
<el-input v-model="form.productCode" placeholder="请输入产品编号" />
</el-form-item>
<!-- <el-form-item label="品类" prop="category">-->
<!-- <el-input v-model="form.category" placeholder="请输入品类" />-->
<!-- </el-form-item>-->
<el-form-item label="品类" prop="category">
<el-input v-model="form.category" placeholder="请输入品类" />
<el-select v-model="form.category" placeholder="请输入品类请输入品类" clearable>
<el-option
v-for="dict in dict.type.sys_category"
:key="dict.value"
:label="dict.label"
:value="dict.value"
/>
</el-select>
</el-form-item>
<el-form-item label="每PC单圈" prop="pc">
<el-input v-model="form.pc" placeholder="请输入每PC单圈" />
</el-form-item>
@ -305,6 +328,7 @@ import { listAttached, getAttached, delAttached, addAttached, updateAttached } f
export default {
name: "Attached",
dicts: ['sys_category'],
data() {
return {
//
@ -358,6 +382,9 @@ export default {
this.getList();
},
methods: {
indexMethod(index) {
return index + 1;
},
/** 查询物料附属信息列表 */
getList() {
this.loading = true;

Loading…
Cancel
Save