| | |
| | | data() { |
| | | return { |
| | | tableList: {}, |
| | | showcol: ["存储类别", "产品类别", "预留数量", "价值"], |
| | | showcol: [ "产品类别", "价值"], |
| | | // countcol: [ |
| | | // { label: "在库数量", unit: "" }, |
| | | // { label: "预留数量", unit: "" }, |
| | |
| | | { |
| | | label: "预留数量", |
| | | prop: "availableStore", |
| | | isShowColumn: true, |
| | | default: true, |
| | | default: false, |
| | | isShowColumn: showcol.includes("预留数量"), |
| | | unit: "", |
| | | textAlign:"right" |
| | | }, |
| | |
| | | pageSize: this.pagerOptions.pageSize, |
| | | keyWord:this.keyWord, |
| | | } |
| | | if(this.$route.params.positionId){ |
| | | params.positionId=this.$route.params.positionId |
| | | if(this.$route.params.locationId){ |
| | | params.locationId=this.$route.params.locationId |
| | | } |
| | | this.getLocationData(params) |
| | | } |