| | |
| | | |
| | | // 查询业务类型列表 |
| | | export const getOperationType = async (data) => { |
| | | return await axios.get(`/api-wms/v1/operationType/operationType`, { |
| | | params: data |
| | | }) |
| | | } |
| | | // 查询业务类型列表--内部调拨 |
| | | export const getListTransfer = async (data) => { |
| | | return await axios.get(`/api-wms/v1/operationType/listTransfer`, { |
| | | params: data |
| | | }) |
| | |
| | | console.log("历史") |
| | | this.$router.push({ |
| | | name: "inventoryAdjustmentHistory", |
| | | params: { locationId: row.locationId, productId: row.productId } |
| | | params: { locationId: row.locationId, productId: row.productId,baseOperationType:row.baseOperationType} |
| | | }) |
| | | } |
| | | }, |
| | |
| | | this.setTable() |
| | | this.locationId = this.$route.params.locationId |
| | | this.productId = this.$route.params.productId |
| | | this.baseOperationType=this.$route.params.baseOperationType |
| | | this.getData() |
| | | }, |
| | | methods: { |
| | |
| | | locationId: this.locationId, |
| | | page: this.pagerOptions.currPage, |
| | | pageSize: this.pagerOptions.pageSize, |
| | | productId: this.productId |
| | | productId: this.productId, |
| | | baseOperationType:this.baseOperationType |
| | | }).then((res) => { |
| | | if (res.code === 200) { |
| | | const list = res.data.map((item) => { |
| | |
| | | updateOperation, |
| | | updateStatus, |
| | | deleteOperation, |
| | | getOperationType |
| | | getListTransfer |
| | | } from "@/api/overview/overview" |
| | | import { getCompanyList } from "@/api/common/other" |
| | | export default { |
| | |
| | | this.getLocationList() |
| | | this.receiptType = this.editConfig.title === "查看" ? this.editConfig.infomation.operationTypeName : this.addName |
| | | if (this.showOperationType) { |
| | | this.getOperationType() |
| | | this.getListTransfer() |
| | | } |
| | | }, |
| | | methods: { |
| | |
| | | }) |
| | | }, |
| | | // 获取仓库类型 |
| | | async getOperationType() { |
| | | await getOperationType({ |
| | | async getListTransfer() { |
| | | await getListTransfer({ |
| | | keyword: "", |
| | | page: 0, |
| | | pageSize: 0 |