智慧农业后台管理页面
guoshilong
2022-09-09 b662d9671bd6fa0b71c7f5dbf7cb80cd62e2d116
修复已出库待使用农资数量问题
1 files modified
3 ■■■■ changed files
src/views/stock/stockout.vue 3 ●●●● patch | view | raw | blame | history
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;