Commit 0eae60d1 by 王志慧

commit

1 parent cc9d2a38
...@@ -27,12 +27,14 @@ ...@@ -27,12 +27,14 @@
</div> </div>
<div> <div>
可用库存数量: 可用库存数量:
<span>{{ item.stockNum }}</span> <span>{{ item.stockNum }}{{ membraneTypeList.includes(item.goodsType) ? `米` : `件` }}</span>
</div> </div>
</div> </div>
<el-form ref="addForm" :model="item" size="small"> <el-form ref="addForm" :model="item" size="small">
<GLTable :tableData="item.goodsWarehousingList" :noDataImg="url" :tableParams="tableParams" :hasPage="false"> <GLTable :tableData="item.goodsWarehousingList" :noDataImg="url" :tableParams="tableParams" :hasPage="false">
<template slot="increaseStockNum" slot-scope="scope">
<span>{{ membraneTypeList.includes(scope.scope.goodsType) ? `${scope.scope.increaseStockNum}卷` : `${scope.scope.increaseStockNum}件` }}</span>
</template>
</GLTable> </GLTable>
</el-form> </el-form>
</div> </div>
...@@ -74,8 +76,8 @@ export default { ...@@ -74,8 +76,8 @@ export default {
}, },
data() { data() {
return { return {
membraneTypeList:membraneTypeList, membraneTypeList: membraneTypeList,
dayjs:dayjs, dayjs: dayjs,
goodsList: [], goodsList: [],
storeUsageList: [], storeUsageList: [],
refByYqShopList: [], refByYqShopList: [],
...@@ -83,12 +85,13 @@ export default { ...@@ -83,12 +85,13 @@ export default {
tableOption: false, tableOption: false,
tableColumns: [ tableColumns: [
{ {
label: '入库数量/米', label: '入库数量',
prop: 'increaseStockNum', prop: 'increaseStockNum',
addHtml: 'increaseStockNum'
}, },
{ {
label: '入库仓库', label: '入库仓库',
prop: 'yqMerchantName', prop: 'yqMerchantName'
}, },
{ {
label: '入库门店', label: '入库门店',
...@@ -110,7 +113,7 @@ export default { ...@@ -110,7 +113,7 @@ export default {
this.detailInfo = res.data this.detailInfo = res.data
} }
}) })
}, }
} }
} }
</script> </script>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!