Commit a01ffe8e by huangqy

1

parent 9c668423
...@@ -31,7 +31,7 @@ export default { ...@@ -31,7 +31,7 @@ export default {
getGoodsStock() { getGoodsStock() {
getAction(window._CONFIG['domianURL'] + this.url, {storeCode: this.$route.query.storeCode}).then(res => { getAction(window._CONFIG['domianURL'] + this.url, {storeCode: this.$route.query.storeCode}).then(res => {
let data = [] let data = []
res.data.forEach(item => { res.data.filter(i => i.amount > 0).forEach(item => {
const obj = { const obj = {
name: item.goodsName, name: item.goodsName,
value: item.amount value: item.amount
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论