diff --git a/src/views/modules/warehouse/location.vue b/src/views/modules/warehouse/location.vue index 43f3b99..066fb83 100644 --- a/src/views/modules/warehouse/location.vue +++ b/src/views/modules/warehouse/location.vue @@ -2,11 +2,11 @@
-
- - - -
+ + + + + 查询 新增 @@ -108,7 +108,7 @@ @size-change="sizeChangeHandle" @current-change="currentChangeHandle" :current-page="queryHeaderData.page" - :page-sizes="[5, 10, 20]" + :page-sizes="[20, 50, 100]" :page-size="queryHeaderData.size" :total="queryHeaderData.totalCount" layout="total, sizes, prev, pager, next, jumper"> @@ -148,27 +148,31 @@ - - - - - - - - - - - - - - 位置组编码 - - - - - + + + + + + + + + + + + + + + + + + + - + + + + + @@ -292,7 +296,7 @@ warehouseId: '', active: '', page:1, - size:5, + size:50, totalCount:0 }, setUp: { @@ -477,22 +481,22 @@ status: true, fixed: '', }, - { - userId: this.$store.state.user.name, - serialNumber: 'location2601StrlocationGroupDesc', - tableId: this.$route.meta.menuId + 'LOTI01', - tableName: "locationTable", - columnProp: "locationGroupDesc", - headerAlign: "center", - align: "center", - columnLabel: "位置组描述", - columnHidden: false, - columnImage: false, - columnSortable: false, - sortLv: 0, - status: true, - fixed: '', - }, + // { + // userId: this.$store.state.user.name, + // serialNumber: 'location2601StrlocationGroupDesc', + // tableId: this.$route.meta.menuId + 'LOTI01', + // tableName: "locationTable", + // columnProp: "locationGroupDesc", + // headerAlign: "center", + // align: "center", + // columnLabel: "位置组描述", + // columnHidden: false, + // columnImage: false, + // columnSortable: false, + // sortLv: 0, + // status: true, + // fixed: '', + // }, { userId: this.$store.state.user.name, serialNumber: 'location2601StrlocationGroupDesc', @@ -509,70 +513,70 @@ status: true, fixed: '', }, - { - userId: this.$store.state.user.name, - serialNumber: 'location2601StrActive', - tableId: this.$route.meta.menuId + 'LOTI01', - tableName: "locationTable", - columnProp: "hold", - headerAlign: "center", - align: "center", - columnLabel: "货舱", - columnHidden: false, - columnImage: false, - columnSortable: false, - sortLv: 0, - status: true, - fixed: '', - }, - { - userId: this.$store.state.user.name, - serialNumber: 'location2601StrActive', - tableId: this.$route.meta.menuId + 'LOTI01', - tableName: "locationTable", - columnProp: "row", - headerAlign: "center", - align: "center", - columnLabel: "行", - columnHidden: false, - columnImage: false, - columnSortable: false, - sortLv: 0, - status: true, - fixed: '', - }, - { - userId: this.$store.state.user.name, - serialNumber: 'location2601StrActive', - tableId: this.$route.meta.menuId + 'LOTI01', - tableName: "locationTable", - columnProp: "storey", - headerAlign: "center", - align: "center", - columnLabel: "层", - columnHidden: false, - columnImage: false, - columnSortable: false, - sortLv: 0, - status: true, - fixed: '', - }, - { - userId: this.$store.state.user.name, - serialNumber: 'location2601StrActive', - tableId: this.$route.meta.menuId + 'LOTI01', - tableName: "locationTable", - columnProp: "box", - headerAlign: "center", - align: "center", - columnLabel: "箱", - columnHidden: false, - columnImage: false, - columnSortable: false, - sortLv: 0, - status: true, - fixed: '', - }, + // { + // userId: this.$store.state.user.name, + // serialNumber: 'location2601StrActive', + // tableId: this.$route.meta.menuId + 'LOTI01', + // tableName: "locationTable", + // columnProp: "hold", + // headerAlign: "center", + // align: "center", + // columnLabel: "货舱", + // columnHidden: false, + // columnImage: false, + // columnSortable: false, + // sortLv: 0, + // status: true, + // fixed: '', + // }, + // { + // userId: this.$store.state.user.name, + // serialNumber: 'location2601StrActive', + // tableId: this.$route.meta.menuId + 'LOTI01', + // tableName: "locationTable", + // columnProp: "row", + // headerAlign: "center", + // align: "center", + // columnLabel: "行", + // columnHidden: false, + // columnImage: false, + // columnSortable: false, + // sortLv: 0, + // status: true, + // fixed: '', + // }, + // { + // userId: this.$store.state.user.name, + // serialNumber: 'location2601StrActive', + // tableId: this.$route.meta.menuId + 'LOTI01', + // tableName: "locationTable", + // columnProp: "storey", + // headerAlign: "center", + // align: "center", + // columnLabel: "层", + // columnHidden: false, + // columnImage: false, + // columnSortable: false, + // sortLv: 0, + // status: true, + // fixed: '', + // }, + // { + // userId: this.$store.state.user.name, + // serialNumber: 'location2601StrActive', + // tableId: this.$route.meta.menuId + 'LOTI01', + // tableName: "locationTable", + // columnProp: "box", + // headerAlign: "center", + // align: "center", + // columnLabel: "箱", + // columnHidden: false, + // columnImage: false, + // columnSortable: false, + // sortLv: 0, + // status: true, + // fixed: '', + // }, { userId: this.$store.state.user.name, serialNumber: 'location2601StrActive', @@ -845,31 +849,31 @@ this.setUp.saveButton = false return } - if (!this.saveHeaderData.hold) { - this.$message.warning('请输入货舱!!') - this.setUp.saveButton = false - return - } - if (!this.saveHeaderData.row) { - this.$message.warning('请输入行!') - this.setUp.saveButton = false - return - } - if (!this.saveHeaderData.storey) { - this.$message.warning('请输入层!') - this.setUp.saveButton = false - return - } - if (!this.saveHeaderData.box) { - this.$message.warning('请输入箱!') - this.setUp.saveButton = false - return - } - if (!this.saveHeaderData.locationGroupId) { - this.$message.warning('请选择位置组编码!') - this.setUp.saveButton = false - return - } + // if (!this.saveHeaderData.hold) { + // this.$message.warning('请输入货舱!!') + // this.setUp.saveButton = false + // return + // } + // if (!this.saveHeaderData.row) { + // this.$message.warning('请输入行!') + // this.setUp.saveButton = false + // return + // } + // if (!this.saveHeaderData.storey) { + // this.$message.warning('请输入层!') + // this.setUp.saveButton = false + // return + // } + // if (!this.saveHeaderData.box) { + // this.$message.warning('请输入箱!') + // this.setUp.saveButton = false + // return + // } + // if (!this.saveHeaderData.locationGroupId) { + // this.$message.warning('请选择位置组编码!') + // this.setUp.saveButton = false + // return + // } saveLocation(this.saveHeaderData).then(({data}) => { this.setUp.saveButton = false if (data.code == 0) { @@ -898,13 +902,13 @@ this.saveHeaderData.warehouseId = '' this.saveHeaderData.active = 'Y' this.saveHeaderData.hide = 'N' - this.saveHeaderData.locationGroupId = '' - this.saveHeaderData.locationGroupDesc = '' + this.saveHeaderData.locationGroupId = 'CS1' + this.saveHeaderData.locationGroupDesc = '第一个位置组' this.saveHeaderData.hold = '' this.saveHeaderData.row = '' this.saveHeaderData.storey = '' this.saveHeaderData.box = '' - this.saveHeaderData.locationType = '' + this.saveHeaderData.locationType = 'PICKING' if (row) { console.log("2 =" + row) this.setUp.readonlyFlag = true @@ -1204,10 +1208,10 @@ } }, created() { - this.getTableUserColumn() - this.getSysLanguageParamList() - this.getFunctionButtonList() - this.favoriteIsOk() + // this.getTableUserColumn() + // this.getSysLanguageParamList() + // this.getFunctionButtonList() + // this.favoriteIsOk() } } diff --git a/src/views/modules/warehouse/warehouse.vue b/src/views/modules/warehouse/warehouse.vue index a2e8ee1..54d5a40 100644 --- a/src/views/modules/warehouse/warehouse.vue +++ b/src/views/modules/warehouse/warehouse.vue @@ -1,10 +1,10 @@