diff --git a/fe/PC/src/api/wms-pad.js b/fe/PC/src/api/wms-pad.js index b3a298c15..cbba4e86f 100644 --- a/fe/PC/src/api/wms-pad.js +++ b/fe/PC/src/api/wms-pad.js @@ -26,4 +26,13 @@ export function pageLockToLogout(params) { method: 'get', params: params, }) +} + +// 库移-查看余额 +export function inventoryBalanceUsableList(params) { + return request({ + url: baseURL + 'wms/inventory/inventory-balance/usable-list', + method: 'get', + params: params, + }) } \ No newline at end of file diff --git a/fe/PC/src/components/currenDescriptions/index.vue b/fe/PC/src/components/currenDescriptions/index.vue index 8ccd0b4e8..ca6677a2c 100644 --- a/fe/PC/src/components/currenDescriptions/index.vue +++ b/fe/PC/src/components/currenDescriptions/index.vue @@ -35,6 +35,13 @@ {{ propsData[item.prop] | trigger(item.filters,"label", item.dictType) }} + + {{ propsData[item.prop] | trigger(item.filters,"label", item.dictType) }} + {{ propsData[item.prop]?propsData[item.prop][item.showProp]:false | trigger(item.filters,"label") }} diff --git a/fe/PC/src/components/currenForm/index.vue b/fe/PC/src/components/currenForm/index.vue index d7e86fe1e..bfc004c3c 100644 --- a/fe/PC/src/components/currenForm/index.vue +++ b/fe/PC/src/components/currenForm/index.vue @@ -253,7 +253,7 @@ @change="radioChange(item.prop,$event)" > {{ ra.label }}= scrollHeight - 30) { + let page = Number(JSON.stringify(this.padListPager.currentPage + 1)) + if(Number(page) > Number(this.padListPager.totalPage))return + console.log('翻页') + this.getPadList(page); + } + }, + // 初始化列表参数 + initPadParams(page = 1){ this.padListParams={ sorting: null, maxResultCount: this.padListPager.pageSize, @@ -32,6 +56,28 @@ export const padListPageMixins = { } } }, + // 获取列表 + getPadList(page=1){ + if(this.padListLoading)return + console.log('请求页数',page) + if(page != 1 && (Number(page) > Number(this.padListPager.totalPage)))return + this.padListLoading = true + this.padListParams.skipCount = this.padListPager.pageSize * (Number(page) - 1), + getPageList(this.padListParams,this.listUrl,true).then(res => { + if(page == 1){this.padListData = []} + this.padListData = [ + ...this.padListData, + ...res.items, + ]; + this.padListPager.totalCount = res.totalCount + this.padListPager.totalPage = Math.ceil(res.totalCount / this.padListPager.pageSize) + this.padListLoading = false + this.padListPager.currentPage = page + }).catch(err => { + this.padListLoading = false + console.log(err) + }) + }, // 查询条件拼接 intSearchFilters(){ let _filters = [] @@ -49,5 +95,16 @@ export const padListPageMixins = { }); return _filters }, + // 清空筛选条件 + clearSearchHandle(ifFlesh){ + console.log(100) + for(let i in this.searchFormData){ + this.searchFormData[i] = "" + } + if(ifFlesh){ + this.initPadParams() + this.getPadList() + } + }, } } \ No newline at end of file diff --git a/fe/PC/src/styles/padMain.scss b/fe/PC/src/styles/padMain.scss index 2cb0241d6..fb357e0d4 100644 --- a/fe/PC/src/styles/padMain.scss +++ b/fe/PC/src/styles/padMain.scss @@ -10,11 +10,12 @@ .padListPageOuter{ height: 100%; padding:15px; + overflow: auto; } .padListPage{ background:#fff; height: 100%; - min-width:800px; + min-width:760px; overflow:auto; display: flex; flex-direction: column; @@ -47,15 +48,16 @@ .padListRow{ box-shadow: 1px 1px 5px #ddd; - padding: 10px; + padding: 15px 10px; background: #fff; - margin-bottom: 10px; + margin-bottom: 20px; border-bottom: #ddd solid 1px; } .detailDataBox{ padding: 10px 10px 5px 10px; border: #ddd dashed 1px; + margin-top: 10px; } } @@ -67,6 +69,7 @@ color: #999; overflow: hidden; box-shadow: 1px -1px 5px #ddd; + font-size: 14px; ::v-deep .el-loading-spinner { display: flex; @@ -83,5 +86,43 @@ .listRowButtonBox{ text-align: right; padding-top: 10px; + + .el-button{ + margin-left: 20px; + } + } +} +.showDetailsPop{ + ::v-deep .el-dialog__body{ + padding: 0 10px !important; + } + .showDetailsBox{ + height:calc(100vh - 220px); + overflow:auto; + + .detailsRow{ + margin-bottom: 20px; + + .el-descriptions{ + padding: 0 !important; + } + } } } +.commonRowTitle{ + background: #ecf5ff; + padding: 10px; + border: 1px solid #e6ebf5; + border-bottom: none; + display: flex; + + .el-tag{ + margin-right: 10px; + } + + .left{ + width: 100%; + display: flex; + } +} + diff --git a/fe/PC/src/views/padManage/components/padListPage/index.vue b/fe/PC/src/views/padManage/components/padListPage/index.vue index 34d5b7701..ec1d792b4 100644 --- a/fe/PC/src/views/padManage/components/padListPage/index.vue +++ b/fe/PC/src/views/padManage/components/padListPage/index.vue @@ -32,6 +32,7 @@ 查询 + 重置 - + + + {{index + 1}} + + {{item[padMainFirstColumnProp] || item[padMainColumn[0].prop]}} + - - + + {{ btnItem.label }} + 查看明细 - + - - {{padListPager.currentPage}}/{{padListPager.totalPage}} + + 当前页:{{padListPager.currentPage}}/{{padListPager.totalPage}}(共{{padListPager.totalCount}}条数据) + + + + + + {{index + 1}} + {{item[padDetailFirstColumnProp] || item[padDeatilColumn[0].prop]}} + + + + + + + 关 闭 + + - + + \ No newline at end of file