Commit 5a61cad5 by 王志慧

commit

1 parent 08a2f7f8
...@@ -61,17 +61,14 @@ ...@@ -61,17 +61,14 @@
</div> </div>
</GLTable> </GLTable>
</el-form> </el-form>
</div> </div>
</template> </template>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button size="small" @click="dialogShow = false">关闭</el-button> <el-button size="small" @click="dialogShow = false">关闭</el-button>
<el-button type="primary" size="small" @click="handleSave">保存入库</el-button> <el-button type="primary" size="small" @click="handleSave">保存入库</el-button>
</span> </span>
</GLDialog> </GLDialog>
</template> </template>
<script> <script>
import BigNumber from 'bignumber.js' import BigNumber from 'bignumber.js'
import * as dayjs from 'dayjs' import * as dayjs from 'dayjs'
...@@ -287,7 +284,6 @@ export default { ...@@ -287,7 +284,6 @@ export default {
} }
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.detail-info { .detail-info {
display: flex; display: flex;
...@@ -304,13 +300,6 @@ export default { ...@@ -304,13 +300,6 @@ export default {
color: #5850ff; color: #5850ff;
cursor: pointer; cursor: pointer;
} }
.lookNumber {
font-size: 14px;
color: #5850ff;
cursor: pointer;
margin-left: 8px;
}
} }
.table-wrap { .table-wrap {
border: 1px solid #e5e5e5; border: 1px solid #e5e5e5;
...@@ -325,9 +314,5 @@ export default { ...@@ -325,9 +314,5 @@ export default {
/deep/ td.el-table__cell { /deep/ td.el-table__cell {
height: 64px; height: 64px;
} }
.message {
font-size: 14px;
color: #666666;
}
} }
</style> </style>
...@@ -24,14 +24,14 @@ ...@@ -24,14 +24,14 @@
<div> <div>
发货数量: 发货数量:
<span>{{ membraneTypeList.includes(item.goodsType) ? `${item.purchaseNumber}卷` : `${item.purchaseNumber}件` }}</span> <span>{{ membraneTypeList.includes(item.goodsType) ? `${item.purchaseNumber}卷` : `${item.purchaseNumber}件` }}</span>
<span class="lookNumber" @click="lookNumber(item.deliveryCardList)" v-if="item.deliveryCardList&&item.deliveryCardList.length > 0">查看卡号</span> <span class="lookNumber" @click="lookNumber(item.deliveryCardList)" v-if="item.deliveryCardList && item.deliveryCardList.length > 0">查看卡号</span>
</div> </div>
<div> <div>
可用库存数量: 可用库存数量:
<span>{{ item.stockNum }}{{ membraneTypeList.includes(item.goodsType) ? `米` : `件` }}</span> <span>{{ item.stockNum }}{{ membraneTypeList.includes(item.goodsType) ? `米` : `件` }}</span>
</div> </div>
</div> </div>
<el-form ref="addForm" :model="item" size="small" v-if="item.deliveryCardList===null"> <el-form ref="addForm" :model="item" size="small" v-if="item.deliveryCardList === null">
<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"> <template slot="increaseStockNum" slot-scope="scope">
<span>{{ membraneTypeList.includes(scope.scope.goodsType) ? `${scope.scope.increaseStockNum}米` : `${scope.scope.increaseStockNum}件` }}</span> <span>{{ membraneTypeList.includes(scope.scope.goodsType) ? `${scope.scope.increaseStockNum}米` : `${scope.scope.increaseStockNum}件` }}</span>
...@@ -135,8 +135,8 @@ export default { ...@@ -135,8 +135,8 @@ export default {
} }
}) })
}, },
lookNumber(data){ lookNumber(data) {
this.innerVisible =true this.innerVisible = true
this.tableData = data this.tableData = data
} }
} }
...@@ -171,4 +171,10 @@ export default { ...@@ -171,4 +171,10 @@ export default {
position: static; position: static;
} }
} }
.lookNumber {
font-size: 14px;
color: #5850ff;
cursor: pointer;
margin-left: 8px;
}
</style> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!