Commit 0eae60d1 by 王志慧

commit

1 parent cc9d2a38
......@@ -11,7 +11,7 @@
</div>
<div>
发货时间:
<span>{{ dayjs(detailInfo.deliveryDate).format('YYYY-MM-DD HH:mm:ss') }}</span>
<span>{{ dayjs(detailInfo.deliveryDate).format('YYYY-MM-DD HH:mm:ss') }}</span>
</div>
</div>
<template v-for="(item, index) in detailInfo.deliveryDetailList">
......@@ -22,17 +22,19 @@
<span>{{ item.upgradeGoodsName }}</span>
</div>
<div>
发货数量:
<span>{{ membraneTypeList.includes(item.goodsType) ? `${item.purchaseNumber}卷` : `${item.purchaseNumber}件` }}</span>
发货数量:
<span>{{ membraneTypeList.includes(item.goodsType) ? `${item.purchaseNumber}卷` : `${item.purchaseNumber}件` }}</span>
</div>
<div>
可用库存数量:
<span>{{ item.stockNum }}</span>
<span>{{ item.stockNum }}{{ membraneTypeList.includes(item.goodsType) ? `米` : `件` }}</span>
</div>
</div>
<el-form ref="addForm" :model="item" size="small">
<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>
</el-form>
</div>
......@@ -74,8 +76,8 @@ export default {
},
data() {
return {
membraneTypeList:membraneTypeList,
dayjs:dayjs,
membraneTypeList: membraneTypeList,
dayjs: dayjs,
goodsList: [],
storeUsageList: [],
refByYqShopList: [],
......@@ -83,12 +85,13 @@ export default {
tableOption: false,
tableColumns: [
{
label: '入库数量/米',
label: '入库数量',
prop: 'increaseStockNum',
addHtml: 'increaseStockNum'
},
{
label: '入库仓库',
prop: 'yqMerchantName',
prop: 'yqMerchantName'
},
{
label: '入库门店',
......@@ -110,7 +113,7 @@ export default {
this.detailInfo = res.data
}
})
},
}
}
}
</script>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!