diff --git a/src/views/business/businessHandling/index.vue b/src/views/business/businessHandling/index.vue index 204967ab..3131fc4e 100644 --- a/src/views/business/businessHandling/index.vue +++ b/src/views/business/businessHandling/index.vue @@ -813,6 +813,7 @@ export default { // console.log('🚀 ~ changeTypeName ~ type:', type) row.unitName = type.unitName row.typeName = type.name + row.unitValue = type.unitValue }, // 获取标准配置 async getStandardConfigList() { @@ -990,7 +991,7 @@ export default { // 将新项添加到数组开头,实现倒序 this.equipmentList.unshift({ ...typeData, - preNum: 0 + preNum: '' }) this.deviceType.push(lastSelected) this.$message({ @@ -1054,7 +1055,7 @@ export default { maTypeName: '', typeId: '', typeName: '', - preNum: 0, + preNum: '', remark: '', typeList: [] }) diff --git a/src/views/material/lease/apply/component/addToolsApply.vue b/src/views/material/lease/apply/component/addToolsApply.vue index 2b4ba4fb..682a8e6c 100644 --- a/src/views/material/lease/apply/component/addToolsApply.vue +++ b/src/views/material/lease/apply/component/addToolsApply.vue @@ -810,7 +810,7 @@ export default { // 将新项添加到数组开头,实现倒序 this.equipmentList.unshift({ ...typeData, - preNum: 0 + preNum: '' }); this.deviceType.push(lastSelected); this.$message({