|
|
@@ -120,7 +120,14 @@ export default {
|
|
|
minWidth: 90
|
|
|
},
|
|
|
|
|
|
+ {
|
|
|
+ prop: 'inventoryQuantity',
|
|
|
+ label: '库存',
|
|
|
+ showOverflowTooltip: true,
|
|
|
+
|
|
|
+ },
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
@@ -149,7 +156,7 @@ export default {
|
|
|
|
|
|
pageNum: page,
|
|
|
size: limit,
|
|
|
- categoryLevelId: 1,
|
|
|
+ categoryLevelId: this.categoryLevelId,
|
|
|
|
|
|
});
|
|
|
return res;
|
|
|
@@ -223,6 +230,7 @@ export default {
|
|
|
if (this.type == 'add') {
|
|
|
_arr = this.selection.map(m => {
|
|
|
m.categoryId = m.id
|
|
|
+ m.unit = m.measuringUnit
|
|
|
delete m.id
|
|
|
return {
|
|
|
...m
|