Commit 835c2e62 by 王志慧

commit

1 parent 7d605d62
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
</div> </div>
<div> <div>
发货数量: 发货数量:
<span>{{ item.purchaseNumber }}卷</span> <span>{{ item.purchaseNumber }}{{ membraneTypeList.includes(item.goodsType) ? `${item.purchaseNumber}卷` : `${item.purchaseNumber}件` }}</span>
</div> </div>
<div> <div>
可用库存数量: 可用库存数量:
...@@ -74,6 +74,7 @@ ...@@ -74,6 +74,7 @@
<script> <script>
import BigNumber from 'bignumber.js' import BigNumber from 'bignumber.js'
import * as dayjs from 'dayjs' import * as dayjs from 'dayjs'
import { membraneTypeList } from '@/utils/constants.js'
export default { export default {
name: 'DeliverAdd', name: 'DeliverAdd',
props: { props: {
...@@ -113,6 +114,7 @@ export default { ...@@ -113,6 +114,7 @@ export default {
} }
} }
return { return {
membraneTypeList: membraneTypeList,
dayjs: dayjs, dayjs: dayjs,
goodsList: [], goodsList: [],
storeUsageList: [], storeUsageList: [],
...@@ -315,9 +317,8 @@ export default { ...@@ -315,9 +317,8 @@ export default {
z-index: 9999999; z-index: 9999999;
position: static; position: static;
} }
/deep/ td.el-table__cell { /deep/ td.el-table__cell {
height: 64px; height: 64px;
} }
} }
</style> </style>
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
</div> </div>
<div> <div>
发货数量: 发货数量:
<span>{{ item.purchaseType == 2 ? `${item.purchaseNumber}件`:membraneTypeList.includes(item.goodsType) ? `${item.purchaseNumber}卷` : `${item.purchaseNumber}件` }}</span> <span>{{ membraneTypeList.includes(item.goodsType) ? `${item.purchaseNumber}卷` : `${item.purchaseNumber}件` }}</span>
</div> </div>
<div> <div>
可用库存数量: 可用库存数量:
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!