diff --git a/pages/massif/agrSpecs.vue b/pages/massif/agrSpecs.vue index 1ad60ed..dbda1fc 100644 --- a/pages/massif/agrSpecs.vue +++ b/pages/massif/agrSpecs.vue @@ -227,7 +227,7 @@ export default { }) if(res.statu){ this.$provise.emit("forming_agr", list=>{ - this.specs.list=res.data.listSpec.map(v=>{ + this.specs.list=res.data.map(v=>{ v.number-=list.reduce((a,b)=>a+(b.inventoryId==v.id?b.inputQuantity:0),0) return v }).filter(v=>v.number>0) diff --git a/pages/stock/mana.vue b/pages/stock/mana.vue index 133b23f..4cce1bf 100644 --- a/pages/stock/mana.vue +++ b/pages/stock/mana.vue @@ -144,7 +144,7 @@ {{v.agriculturalGoods}} {{v.substanceName}} ({{v.specDescribe}}) - 补货量≥{{v.replenishment}}{{v.unit}} + 补货量≥{{v.replenishment}}{{v.packgeUnit}} {{v.detailType}}