feat: 更新应用版本至1.3.25并优化功能

- 更新config.js、manifest.json等文件中的版本号至1.3.25
- 在editby.vue页面添加品名、规格等钢卷信息展示
- 调整easycode.vue中otherTypes的过滤条件
- 修改klp-header.vue中的镀锌机组名称
- 更新update.js中的静态版本号
This commit is contained in:
砂糖
2026-01-27 09:45:06 +08:00
parent 8e3a26448a
commit 2f47047ae6
7 changed files with 33 additions and 9 deletions

View File

@@ -229,7 +229,7 @@
otherTypes() {
return this.types.filter(item => {
const value = parseInt(item.dictValue);
return value < 100 || value > 199;
return value < 100 || (value > 199 && value < 400);
});
}
},

View File

@@ -1,6 +1,22 @@
<template>
<view class="typing-container">
<view class="info-grid">
<view class="info-item">
<text class="item-label">品名</text>
<text class="item-value">{{ coilDetail.itemName }}</text>
</view>
<view class="info-item">
<text class="item-label">规格</text>
<text class="item-value">{{ coilDetail.itemSpecification }}</text>
</view>
<view class="info-item">
<text class="item-label">材质</text>
<text class="item-value">{{ coilDetail.itemMaterial }}</text>
</view>
<view class="info-item">
<text class="item-label">厂家</text>
<text class="item-value">{{ coilDetail.itemManufacturer }}</text>
</view>
<view class="info-item">
<text class="item-label">入场钢卷号</text>
<text class="item-value">{{ coilDetail.enterCoilNo || '-' }}</text>
@@ -93,7 +109,8 @@
data() {
return {
form: {},
coilDetail: {},
coilDetail: {
},
loading: false,
}
},
@@ -107,8 +124,14 @@
fetchCoil(coilId) {
getMaterialCoil(coilId).then(res => {
this.form = res.data;
this.coilDetail = res.data;
console.log(this.form, '钢卷信息')
this.coilDetail = {
...res.data,
itemName: res.data.materialType == '成品' ? res.data.product.productName : res.data.rawMaterial.rawMaterialName,
itemSpecification: res.data.materialType == '成品' ? res.data.product.specification : res.data.rawMaterial.specification,
itemManufacturer: res.data.materialType == '成品' ? res.data.product.manufacturer : res.data.rawMaterial.manufacturer,
itemMaterial: res.data.materialType == '成品' ? res.data.product.material : res.data.rawMaterial.material
};
console.log('钢卷信息', this.form, )
})
},
// 获取设备信息(原有方法不变)