修改标题logo新增锌层厚度字段
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 22 KiB |
@@ -35,7 +35,7 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
title: '镀锌机组管理系统',
|
||||
title: 'Galvanizing Line Management System',
|
||||
logo: logoImg
|
||||
}
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@ export default {
|
||||
// 4. Return formatted summary items / 返回格式化后的汇总项
|
||||
return [
|
||||
{ label: 'Total Entry Weight', value: totalEntryWeight.toFixed(1), unit: 't', type: 'weight' }, // 原料总重
|
||||
{ label: 'Total Zinc Removed', value: totalZincRemoved.toFixed(1), unit: 't', type: 'weight' }, // 去锌总理重
|
||||
// { label: 'Total Zinc Removed', value: totalZincRemoved.toFixed(1), unit: 't', type: 'weight' }, // 去锌总理重
|
||||
{ label: 'Total Exit Weight', value: totalExitWeight.toFixed(1), unit: 't', type: 'weight' }, // 产品总重
|
||||
{ label: 'Yield Rate', value: yieldRate, unit: '%', type: 'rate' }, // 成材率
|
||||
{ label: 'Total Entry Coils', value: totalEntryCoils, unit: 'coils', type: 'count' }, // 原料总卷数
|
||||
|
||||
@@ -115,6 +115,8 @@
|
||||
<!-- 拉伸试验 -->
|
||||
<th colspan="2" style="width: 8%;">Zinc-coating & Cold Bend</th>
|
||||
<!-- 锌层冷弯 -->
|
||||
<th style="width: 6%;">Zinc Coating Thickness</th>
|
||||
<!-- 锌层厚度 -->
|
||||
<th colspan="2" style="width: 8%;">Hardness</th>
|
||||
<!-- 硬度 -->
|
||||
<th rowspan="2" style="width: 6%;">Coating Weight (g/m²)</th>
|
||||
@@ -150,6 +152,8 @@
|
||||
<!-- 类型 -->
|
||||
<th style="width: 4%;">Value</th>
|
||||
<!-- 值 -->
|
||||
<th style="width: 6%;">Thickness</th>
|
||||
<!-- 厚度 -->
|
||||
<th style="width: 4%;">Types</th>
|
||||
<!-- 类型 -->
|
||||
<th style="width: 4%;">Value</th>
|
||||
@@ -177,6 +181,7 @@
|
||||
<td>{{ formatNumber(coil.rValue) }}</td>
|
||||
<td>{{ coil.zincCoatingType || '-' }}</td>
|
||||
<td>{{ coil.zincCoatingValue || '-' }}</td>
|
||||
<td>{{ formatNumber(coil.zincCoatingThickness) }}</td>
|
||||
<td>{{ coil.hardnessType || '-' }}</td>
|
||||
<td>{{ coil.hardnessValue || '-' }}</td>
|
||||
<td>{{ formatNumber(coil.coatingWeight) }}</td>
|
||||
@@ -349,6 +354,7 @@ export default {
|
||||
rValue: coil.rValue || '-',
|
||||
zincCoatingType: coil.zincCoatingType || '-',
|
||||
zincCoatingValue: coil.zincCoatingValue || (coil.weightTop && coil.weightBottom ? 'Qualified' : '-'),
|
||||
zincCoatingThickness: coil.zincCoatingThickness || coil.zincCoatingThickness || '-', // 添加锌层厚度字段
|
||||
hardnessType: coil.hardnessType || '-',
|
||||
hardnessValue: coil.hardnessValue || '-',
|
||||
coatingWeight: coil.coatingWeight || coil.weightTop || '-',
|
||||
|
||||
@@ -311,6 +311,13 @@
|
||||
<!-- 请输入屈服点 -->
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="Zinc Coating Thickness" prop="zincCoatingThickness">
|
||||
<!-- 锌层厚度 -->
|
||||
<el-input v-model="form.zincCoatingThickness" placeholder="Please enter zinc coating thickness" type="number" step="0.01" min="0"></el-input>
|
||||
<!-- 请输入锌层厚度 -->
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="Weight (t)" prop="entryWeight">
|
||||
<!-- 重量(t) -->
|
||||
@@ -525,6 +532,7 @@ export default {
|
||||
planType: "", // 计划类型(string,接口要求)
|
||||
originCoilid: "", // 原卷号(string,补充接口缺失字段)
|
||||
yieldPoint: null, // 屈服点(number,接口要求)
|
||||
zincCoatingThickness: null, // 锌层厚度
|
||||
entryWeight: null, // 入口重量(t)(number,接口要求)
|
||||
entryThick: null, // 入口厚度(mm)(number,接口要求)
|
||||
entryWidth: null, // 入口宽度(mm)(number,接口要求)
|
||||
@@ -898,6 +906,7 @@ export default {
|
||||
planType: "",
|
||||
originCoilid: "",
|
||||
yieldPoint: null,
|
||||
zincCoatingThickness: null,
|
||||
entryWeight: null,
|
||||
entryThick: null,
|
||||
entryWidth: null,
|
||||
@@ -1036,7 +1045,7 @@ export default {
|
||||
"exitWeight6", "headSampleLength", "tailSampleLength", "spmElongation", "spmRollforce",
|
||||
"spmBendingForce", "spmCrimpingRollMesh", "spmBillyRollMesh", "tlvElongation", "oilingTop",
|
||||
"oilingBottom", "aimWeightTop", "aimWeightBottom", "maxTolWeightTop", "maxTolWeightBottom",
|
||||
"headendGaugeLength", "tailendGaugeLength"
|
||||
"headendGaugeLength", "tailendGaugeLength", "zincCoatingThickness" // 添加锌层厚度字段
|
||||
];
|
||||
|
||||
numericFields.forEach((field) => {
|
||||
|
||||
Reference in New Issue
Block a user