| | |
| | | </el-table-column> |
| | | <el-table-column prop="price" label="单价" align="center"> |
| | | <template slot-scope="scope"> |
| | | {{ scope.row.price }} |
| | | {{ scope.row.price | formatPrice }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="counts" label="入库数量" align="center"> |
| | |
| | | </el-table-column> |
| | | <el-table-column prop="counts" label="金额" align="center"> |
| | | <template slot-scope="scope"> |
| | | {{ (scope.row.price * scope.row.counts).toFixed(2) }} |
| | | {{ scope.row.price * scope.row.counts | formatPrice}} |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | if (!time) return '-'; |
| | | return DateFormatter.LongToDateTime(time); |
| | | }, |
| | | formatPrice(price) { |
| | | return price / 100 |
| | | } |
| | | }, |
| | | created() { |
| | | procureDetail({ id: this.setting.id }).then((res) => { |
| | |
| | | </script> |
| | | <style lang="scss" scoped> |
| | | @import url(../../index.scss); |
| | | .el-dialog { |
| | | z-index: 1100 !important; |
| | | } |
| | | >>> .el-dialog { |
| | | z-index: 1100 !important; |
| | | } |
| | | </style> |