From b662d9671bd6fa0b71c7f5dbf7cb80cd62e2d116 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Fri, 09 Sep 2022 11:23:25 +0800
Subject: [PATCH] 修复已出库待使用农资数量问题
---
src/views/stock/stockout.vue | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/views/stock/stockout.vue b/src/views/stock/stockout.vue
index 3786985..fb6343f 100644
--- a/src/views/stock/stockout.vue
+++ b/src/views/stock/stockout.vue
@@ -435,11 +435,12 @@
page.pageSize,
Object.assign(params, this.query)
).then((res) => {
+ console.log(res)
const data = res.data.data;
this.page.total = data.total;
this.data = data.records;
this.data.forEach((e)=>{
- e.amount1 = fixed.fixedNum(e.cnum)
+ e.amount1 = fixed.fixedNum(e.amount1)
e.cnum = fixed.fixedNum(e.cnum)
})
this.loading = false;
--
Gitblit v1.9.3