| | |
| | | </el-dialog> |
| | | </template> |
| | | <script> |
| | | import { getIfsLocationByGroup } from '@/api/warehouse/location' |
| | | import { getIfsLocationByGroupCopyAll } from '@/api/warehouse/location' |
| | | import { updateBatchPalletTransportsMaterial } from '@/api/warehouse/pallettransports' |
| | | export default { |
| | | components: {}, |
| | |
| | | innerVisible: false, |
| | | isSubmit: false, |
| | | dataForm: { |
| | | locationNo: null, |
| | | locationDesc: null |
| | | locationNo: '', |
| | | locationDesc: '' |
| | | }, |
| | | ifsLocationData: [], |
| | | currLocationRow: null |
| | |
| | | // 查询ifs库位列表 |
| | | queryLocation() { |
| | | this.ifsLocationData = [] |
| | | getIfsLocationByGroup({ |
| | | getIfsLocationByGroupCopyAll({ |
| | | locationNo: this.dataForm.locationNo, |
| | | locationDesc: this.dataForm.locationDesc |
| | | }).then((response) => { |
| | | if (response.data.code === 0) { |
| | | const _data = response.data.data |
| | | const _data = response.data.data.LIST_INFO |
| | | this.ifsLocationData = _data.map((item, index) => { |
| | | return { |
| | | id: index + 1, |
| | |
| | | saveSelectRow() { |
| | | this.isSubmit = true |
| | | const transportsMaterials = [] |
| | | console.log(`output->this.transportsList`,this.transportsList) |
| | | this.transportsList.forEach((item) => { |
| | | transportsMaterials.push({ |
| | | id: item.id, |