| | |
| | | <template> |
| | | <win-lg class="stock-detail" :title="setting.title" @close="close" :width="'800px'" :loading="loading"> |
| | | <win-md class="stock-detail" :title="setting.title" @close="close" :width="'800px'" :loading="loading"> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="8"> |
| | | <span>分发单号:</span> |
| | |
| | | /> |
| | | </span> |
| | | </div> |
| | | </win-lg> |
| | | </win-md> |
| | | </template> |
| | | <script> |
| | | import {transferDetail} from '@/api/stock/transfer'; |
| | | import winLg from '@/components/win/win-lg'; |
| | | import winMd from '@/components/win/win-md'; |
| | | import * as DateFormatter from '@/utils/DateFormatter'; |
| | | import {getDownUrl} from '@/utils/base'; |
| | | import Viewer from 'viewerjs'; |
| | |
| | | return de |
| | | } |
| | | }, |
| | | components: { winLg }, |
| | | components: {winMd}, |
| | | props: { |
| | | setting: { |
| | | type: Object, |
| | | default: () => {}, |
| | | default: () => { |
| | | }, |
| | | }, |
| | | }, |
| | | data() { |
| | | return { |
| | | loading:false, |
| | | loading: true, |
| | | fileList: [], |
| | | detail: { |
| | | baseCategoryName: '', |
| | |
| | | created() { |
| | | transferDetail({ id: this.setting.id }).then((res) => { |
| | | this.detail = res; |
| | | this.loading = false |
| | | this.fileList = this.detail.procureDoc ? JSON.parse(this.detail.procureDoc) : []; |
| | | this.$nextTick(() => { |
| | | this.initPreviewImg(); |
| | |
| | | </script> |
| | | <style lang="scss" scoped> |
| | | @import url(../../../../styles/store.scss); |
| | | |
| | | .card3 { |
| | | padding: 10px; |
| | | margin-top: 10px; |
| | | border-radius: 2px; |
| | | background: #ffffff; |
| | | } |
| | | .img-box{ |
| | | width: 100px; |
| | | height: 100px; |
| | | } |
| | | .img-box .img{ |
| | | width: 100px; |
| | | height: 100px; |
| | | } |
| | | </style> |