|
@@ -313,13 +313,13 @@
|
|
|
getToBeCount() {// 根据模型ID获取待删除数量和待补充数量
|
|
|
let equipComDelList = [],
|
|
|
toBeAdded = []
|
|
|
- // this.equipComDelList = [];
|
|
|
+ this.equipComDelList = [];
|
|
|
this.LostFloorName.forEach(item => {
|
|
|
if (item.CurrentModelId) {
|
|
|
equipComDelList.push({
|
|
|
ModelId: item.CurrentModelId
|
|
|
});
|
|
|
- // this.equipComDelList.push(item.CurrentModelId)
|
|
|
+ this.equipComDelList.push(item.CurrentModelId)
|
|
|
} else {
|
|
|
item.flag = 'lost';
|
|
|
item.FloorName = `${item.Note + item.FloorName}`
|
|
@@ -353,7 +353,6 @@
|
|
|
this.toBeDelCount = 0;
|
|
|
this.toBeSuppCount = 0;
|
|
|
res.Content.forEach(item => {
|
|
|
-
|
|
|
if (item.Count > 0) {
|
|
|
this.toBeDelCount += 1;
|
|
|
}
|
|
@@ -368,7 +367,7 @@
|
|
|
this.toBeSuppCount += 1;
|
|
|
}
|
|
|
this.LostFloorName.forEach(it => {
|
|
|
- if (item.ModelId === it.CurrentModelId) {
|
|
|
+ if (item.ModelId === it.Id) {
|
|
|
it.toBeSupplement = item.Count;
|
|
|
}
|
|
|
})
|