| | |
| | | <template> |
| | | <win-md class="stock-detail" :title="setting.title" @close="close" :width="'800px'"> |
| | | <win-md class="stock-detail" :title="setting.title" @close="close" :width="'800px'" :loading="loading"> |
| | | <div v-loading="loading"> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="8"> |
| | |
| | | {{ scope.row.unit }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="price" label="现有库存" align="center"> |
| | | <template slot-scope="scope"> |
| | | {{ scope.row.price }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="counts" label="调拨数量" align="center"> |
| | | <template slot-scope="scope"> |
| | | {{ scope.row.counts }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="price" label="金额" align="center"> |
| | | <template slot-scope="scope"> |
| | | {{ scope.row.price }} |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | </win-md> |
| | | </template> |
| | | <script> |
| | | import { transferDetail } from '@/api/stock/transfer'; |
| | | import {transferDetail} from '@/api/stock/transfer'; |
| | | import * as DateFormatter from '@/utils/DateFormatter'; |
| | | import winMd from '@/components/win/win-md'; |
| | | import transfer from '../../../mixins/transfer'; |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | loading: false, |
| | | loading: true, |
| | | detail: {}, |
| | | fileList:[] |
| | | }; |
| | |
| | | }, |
| | | }, |
| | | created() { |
| | | this.loading = true; |
| | | transferDetail({ id: this.setting.id }).then((res) => { |
| | | this.detail = res; |
| | | this.fileList = this.detail.procureDoc ? JSON.parse(this.detail.procureDoc) : []; |