修改bug
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<!--
|
||||
* @Author: zwq
|
||||
* @Date: 2021-11-18 14:16:25
|
||||
* @LastEditors: DY
|
||||
* @LastEditTime: 2023-12-14 14:03:27
|
||||
* @LastEditors: zhp
|
||||
* @LastEditTime: 2024-03-08 09:14:38
|
||||
* @Description:
|
||||
-->
|
||||
<template>
|
||||
@@ -224,6 +224,7 @@ export default {
|
||||
this.equipmentList.forEach((ele) => {
|
||||
if (val === ele.id) {
|
||||
this.dataForm.equipmentCode = ele.code
|
||||
console.log(this.dataForm.equipmentCode);
|
||||
}
|
||||
})
|
||||
},
|
||||
@@ -336,16 +337,17 @@ export default {
|
||||
pageSize:10
|
||||
}).then(response => {
|
||||
this.dataForm = response.data
|
||||
this.getCode(response.data.equipmentId)
|
||||
// this.dataForm.unit = String(this.dataForm.unit)
|
||||
// this.dataForm.ValueType = String(this.dataForm.ValueType)
|
||||
// this.dataForm.productType = String(this.dataForm.productType)
|
||||
});
|
||||
// 获取产品属性列表
|
||||
this.getList();
|
||||
this.getList()
|
||||
} else {
|
||||
if (this.urlOptions.isGetCode) {
|
||||
this.getCode()
|
||||
}
|
||||
// if (this.urlOptions.isGetCode) {
|
||||
// this.getCode()
|
||||
// }
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user