feat(wms/coil): 增加排产厚度字段
1. 新增排产厚度字段到钢卷信息列表、报表列配置、分条/合并/录入页面 2. 优化部分代码格式与换行,修复多余空格问题 3. 调整表单布局,将排产厚度表单项加入对应页面
This commit is contained in:
@@ -190,10 +190,10 @@
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<el-form-item label="长度(m)" prop="length" class="form-item-half">
|
||||
<el-input-number :controls="false" v-model="targetCoil.length" placeholder="请输入长度" type="number"
|
||||
:step="0.01" :disabled="readonly">
|
||||
<template slot="append">米</template>
|
||||
<el-form-item label="实测宽度(mm)" prop="actualWidth" class="form-item-half">
|
||||
<el-input-number :controls="false" v-model="targetCoil.actualWidth" placeholder="请输入实测宽度"
|
||||
type="number" :step="0.01" :disabled="readonly">
|
||||
<template slot="append">mm</template>
|
||||
</el-input-number>
|
||||
</el-form-item>
|
||||
<el-form-item label="实测长度(m)" prop="actualLength" class="form-item-half">
|
||||
@@ -211,9 +211,9 @@
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<el-form-item label="实测宽度(mm)" prop="actualWidth" class="form-item-half">
|
||||
<el-input-number :controls="false" v-model="targetCoil.actualWidth" placeholder="请输入实测宽度"
|
||||
type="number" :step="0.01" :disabled="readonly">
|
||||
<el-form-item label="排产厚度(mm)" prop="scheduleThickness">
|
||||
<el-input-number :controls="false" v-model="targetCoil.scheduleThickness" placeholder="请输入排产厚度"
|
||||
type="number" :step="0.001">
|
||||
<template slot="append">mm</template>
|
||||
</el-input-number>
|
||||
</el-form-item>
|
||||
@@ -272,13 +272,14 @@
|
||||
<div style="display: flex; align-items: center; gap: 8px;">
|
||||
<div class="abnormal-container">
|
||||
<div v-for="(abnormal, index) in abnormals" :key="index"
|
||||
:class="['abnormal-item', { inherited: abnormal._inherited }]"
|
||||
@click="editAbnormal(index)">
|
||||
:class="['abnormal-item', { inherited: abnormal._inherited }]" @click="editAbnormal(index)">
|
||||
<div class="abnormal-content">
|
||||
<div class="abnormal-info">
|
||||
<div class="abnormal-position">{{ getAbnormalPositionText(abnormal.position) }}</div>
|
||||
<div class="abnormal-code">{{ getAbnormalCodeText(abnormal.defectCode) }}</div>
|
||||
<div v-if="abnormal._inherited" class="abnormal-inherit-tip">继承 · {{ abnormal.processSource }}</div>
|
||||
<div v-if="abnormal._inherited" class="abnormal-inherit-tip">继承 · {{ abnormal.processSource
|
||||
}}
|
||||
</div>
|
||||
</div>
|
||||
<el-button type="danger" size="mini" icon="el-icon-close" class="abnormal-delete"
|
||||
@click.stop="deleteAbnormal(index)"></el-button>
|
||||
@@ -324,13 +325,11 @@
|
||||
<el-table :data="parent.abnormalList" border stripe size="small" style="width: 100%">
|
||||
<el-table-column width="50">
|
||||
<template slot="header">
|
||||
<el-checkbox :indeterminate="parent.isIndeterminate"
|
||||
:value="parent.checkedAll"
|
||||
<el-checkbox :indeterminate="parent.isIndeterminate" :value="parent.checkedAll"
|
||||
@change="val => handleParentSelectAll(parent, val)" />
|
||||
</template>
|
||||
<template slot-scope="scope">
|
||||
<el-checkbox v-model="scope.row._selected"
|
||||
@change="() => recalcParentCheckState(parent)" />
|
||||
<el-checkbox v-model="scope.row._selected" @change="() => recalcParentCheckState(parent)" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="缺陷描述" prop="remark" show-overflow-tooltip />
|
||||
|
||||
Reference in New Issue
Block a user