This commit is contained in:
2024-11-25 18:41:39 +08:00
parent a80c644265
commit 04e3ed7462
4 changed files with 16 additions and 2 deletions

View File

@@ -315,6 +315,19 @@
<div class="kong" v-if="!scope.row.id">-</div>
</templete>
</el-table-column>
<el-table-column
prop="updateBy"
label="轧制人员"
>
<templete slot-scope="scope">
<el-input v-if="scope.row.id && scope.row.state!=3" v-model="scope.row.updateBy"
placeholder="请输入该批号的轧制人员"
></el-input>
<el-input v-if="scope.row.id && scope.row.state==3 " placeholder="该批次发生异常" disabled></el-input>
<div class="kong" v-if="!scope.row.id">-</div>
</templete>
</el-table-column>
</el-table>
<span slot="footer" class="dialog-footer">
<!-- <el-button @click="dialogVisible = false"> </el-button>-->
@@ -447,7 +460,7 @@ export default {
}
// 表示这是第一次穷尽
if (this.finalFlag == 0) {
if (this.finalFlag === 0) {
// 检测是否穷尽
this.checkFinal()

View File

@@ -54,7 +54,7 @@
<el-table v-loading="loading" :data="materialList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="序号" align="center" type="index" />
<el-table-column label="工艺" align="center" prop="technology" />
<el-table-column label="物料id" align="center" prop="materialId" />
<el-table-column label="状态">
<template slot-scope="scope">
<el-tag v-if="scope.row.state===0" type="info">未开始</el-tag>
@@ -70,6 +70,7 @@
<el-table-column label="厚度" align="center" prop="width" />
<el-table-column label="最终厚度" align="center" prop="finalWidth" />
<el-table-column label="最终直径" align="center" prop="finalDiameter" />
<el-table-column label="轧制人员" align="center" prop="updateBy" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button