|
@@ -78,15 +78,16 @@
|
|
|
return
|
|
|
}
|
|
|
data.data.records.forEach(item => {
|
|
|
- this.options.push({
|
|
|
+ this.options.push({...item,
|
|
|
label: item.materialName,
|
|
|
value: item.materialId,
|
|
|
- materialId: item.materialId,
|
|
|
- cateId: item.cateId,
|
|
|
- categoryName: item.categoryName,
|
|
|
- specifications: item.specifications,
|
|
|
- unitName: item.unitName,
|
|
|
- lockCnt: item.lockCnt
|
|
|
+ // materialId: item.materialId,
|
|
|
+ // cateId: item.cateId,
|
|
|
+ // categoryName: item.categoryName,
|
|
|
+ // specifications: item.specifications,
|
|
|
+ specification: item.specifications
|
|
|
+ // unitName: item.unitName,
|
|
|
+ // lockCnt: item.lockCnt
|
|
|
})
|
|
|
})
|
|
|
} else {
|