From c5d4228bc9c0e4cbc84bd3629be79316c19b2e7a Mon Sep 17 00:00:00 2001
From: sjz-mxj <1375998991@qq.com>
Date: Tue, 14 Feb 2023 21:12:24 +0800
Subject: [PATCH] =?UTF-8?q?type:refactor=20commit:=E8=8E=B7=E5=8F=96?=
=?UTF-8?q?=E8=BF=94=E5=9B=9E=E5=80=BC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/massif/agrSpecs.vue | 2 +-
pages/stock/mana.vue | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
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}}