diff --git a/src/api/inventory/invPlace.js b/src/api/inventory/invPlace.js new file mode 100644 index 00000000..9c9cf58e --- /dev/null +++ b/src/api/inventory/invPlace.js @@ -0,0 +1,25 @@ +import axios from "../../utils/request"; + +export function getPlaceDetailList(params) { + return axios({ + url: "/spms/inv/product/getPlaceDetailList", + method: "get", + params: params + }); +} + +export function bindInvSpace(data) { + return axios({ + url: "/spms/inv/product/bindInvSpace", + method: "post", + data: data + }); +} + +export function checkCodeSpace(data) { + return axios({ + url: "/spms/inv/product/checkCodeSpace", + method: "post", + data: data + }); +} diff --git a/src/views/inventory/InvPlace.vue b/src/views/inventory/InvPlace.vue index 6e5319ca..62cec8e7 100644 --- a/src/views/inventory/InvPlace.vue +++ b/src/views/inventory/InvPlace.vue @@ -31,7 +31,7 @@ 重置 查询 - 摆放 + 摆放 @@ -61,8 +61,112 @@ > + + + + + 提交 + + + + + + + + {{ item.name }} + + + + + + + + + + {{ item.name }} + + + + + + + + + + + + + 添加 + + + + + + + + + + + + + + @@ -70,8 +174,7 @@ diff --git a/src/views/inventory/InvStatistics.vue b/src/views/inventory/InvStatistics.vue index 54512f3c..5d6e48d9 100644 --- a/src/views/inventory/InvStatistics.vue +++ b/src/views/inventory/InvStatistics.vue @@ -127,17 +127,6 @@ show-overflow-tooltip width="120"> - - - - - - - - @@ -173,7 +147,7 @@ import {isBlank} from "@/utils/strUtil"; import invProductsDetail from "@/views/inventory/InvProductsDetail.vue"; export default { - name: "InvProducts", + name: "InvStatistics", data() { return { showSearch: true, @@ -193,26 +167,9 @@ export default { total: 0, invList: [], loading: false, - deleteData: { - id: "", - status: 10, - }, corpLoading: false, - dialogVisible: false, fromOptions: [], showSup: false, - detailDialogVisible: false, - inputQuery: { - cpmctymc: null, - nameCode: null, - batchNo: null, - ggxh: null, - productionDate: null, - expireDate: null, - supId: null, - deptCode: null, - invCode: null - } }; }, methods: { @@ -308,27 +265,8 @@ export default { this.findMethod(value); } }, - detailDialog(row) { - this.detailDialogVisible = true; - this.inputQuery = { - relId: row.relIdFk, - cpmctymc: row.cpmctymc, - nameCode: row.nameCode, - batchNo: row.batchNo, - ggxh: row.ggxh, - productionDate: row.productionDate, - expireDate: row.expireDate, - supId: row.supId, - deptCode: row.deptCode, - invCode: row.invCode - } - }, - closeDetailDialog() { - this.detailDialogVisible = false; - }, }, components: { - invProductsDetail }, mounted() { document.body.ondrop = function (event) {