| | |
| | | <!-- <span style="font-weight:bold;cursor:default;"> |
| | | <a style="cursor:default;">{{ row.no }}</a>单据详情 |
| | | </span> --> |
| | | 物料类型: {{ materialType }} |
| | | <div style="margin-top: 10px;"> |
| | | <a-table :columns="columns" :data-source="list" row-key="id" :pagination="false" :scroll="{ x: true }"> |
| | | <template slot="index" slot-scope="text, record, index">{{ index + 1 }}</template> |
| | |
| | | <script> |
| | | import { WmsOrderRukuDetail } from '@/api/modular/main/WmsOrderManage' |
| | | import showList from './index.vue' |
| | | |
| | | import { |
| | | WmsContainerPackagingPage, |
| | | WmsContainerPackagingDelete, |
| | | WmsContainerPackagingToExcel |
| | | } from '@/api/modular/main/WmsBase/WmsContainerPackagingManage' |
| | | export default { |
| | | name: 'wmsOrderRukuManagementDetailDrawer', |
| | | emits: ['update:visible'], |
| | |
| | | showSizeChanger: true, |
| | | total: 0, |
| | | size: 'small' |
| | | } |
| | | }, |
| | | materialType:'' |
| | | } |
| | | }, |
| | | |
| | |
| | | this.afterClsoe() |
| | | } |
| | | }, |
| | | initShow() { |
| | | initShow(materialType) { |
| | | this.materialType = materialType |
| | | this.loading = true |
| | | this.getList(() => { |
| | | this.loading = false |
| | |
| | | }, |
| | | getList(row) { |
| | | let params = { id: row.id } |
| | | WmsOrderRukuDetail(params) |
| | | WmsContainerPackagingPage({ |
| | | // materialTypeCode: 'test2' |
| | | materialTypeCode: this.materialType |
| | | }) |
| | | .then(d => { |
| | | this.list = d.data.rows || [] |
| | | this.$emit('update:visible', true) |