diff --git a/klp-ui/src/api/wms/coil.js b/klp-ui/src/api/wms/coil.js index 101254be..1731c628 100644 --- a/klp-ui/src/api/wms/coil.js +++ b/klp-ui/src/api/wms/coil.js @@ -188,10 +188,16 @@ export function exportCoilData(coilIds) { // 报表查询使用的post类型的查询,查询所有符合条件的钢卷 export function listCoilWithIds(data) { + // 如果存在pageSize, 或者pageNum, 将其放入params中 + const { pageSize, pageNum, ...rest } = data return request({ url: '/wms/materialCoil/listByPost', method: 'post', - data, + data: rest, + params: { + pageSize, + pageNum, + }, timeout: 600000 }) } @@ -478,8 +484,8 @@ export function excludeLock(coilId) { export function listLightCoil(data) { return request({ url: '/wms/materialCoil/listForReport', - method: 'get', + method: 'post', timeout: 600000, - params: data + data: data }) } \ No newline at end of file diff --git a/klp-ui/src/assets/styles/element-ui.scss b/klp-ui/src/assets/styles/element-ui.scss index 8e0d00d7..b98be4b0 100644 --- a/klp-ui/src/assets/styles/element-ui.scss +++ b/klp-ui/src/assets/styles/element-ui.scss @@ -302,6 +302,7 @@ body { padding: 4px 8px !important; font-size: 12px; height: $--btn-height; + &.is-circle { padding: 4px !important; } @@ -343,9 +344,28 @@ body { } } +.el-table ::-webkit-scrollbar { + width: 8px !important; + height: 12px !important; +} + +.el-table ::-webkit-scrollbar-track { + background-color: transparent !important; +} + +.el-table ::-webkit-scrollbar-thumb { + background-color: #c0c4cc !important; + border-radius: 0 !important; +} + +.el-table ::-webkit-scrollbar-thumb:hover { + background-color: #909399 !important; +} + .el-table__fixed, .el-table__fixed-right, .el-table__fixed-left { + // 表头(深灰黑 + 纯白文字) .el-table__fixed-header-wrapper { th.el-table__cell { @@ -1639,4 +1659,4 @@ div.pagination-container { color: $--color-primary; } } -} \ No newline at end of file +} diff --git a/klp-ui/src/components/KLPService/ProductSelect/index.vue b/klp-ui/src/components/KLPService/ProductSelect/index.vue index 69890d26..389537a4 100644 --- a/klp-ui/src/components/KLPService/ProductSelect/index.vue +++ b/klp-ui/src/components/KLPService/ProductSelect/index.vue @@ -163,6 +163,10 @@ export default { filters: { type: Object, default: () => ({}) + }, + defaultQueryParams: { + type: Object, + default: () => ({}) } }, data() { @@ -235,6 +239,9 @@ export default { this.getList(); this.listRecentlySelected(); } + }, + defaultQueryParams(val) { + this.queryParams = { ...this.queryParams, ...val }; } }, methods: { diff --git a/klp-ui/src/components/KLPService/RawMaterialSelect/index.vue b/klp-ui/src/components/KLPService/RawMaterialSelect/index.vue index 89d9a7aa..4e4a9de2 100644 --- a/klp-ui/src/components/KLPService/RawMaterialSelect/index.vue +++ b/klp-ui/src/components/KLPService/RawMaterialSelect/index.vue @@ -151,6 +151,10 @@ export default { filters: { type: Object, default: () => ({}) + }, + defaultQueryParams: { + type: Object, + default: () => ({}) } }, data() { @@ -234,6 +238,9 @@ export default { this.listRecentlySelected(); this.getList(); } + }, + defaultQueryParams(val) { + this.queryParams = { ...this.queryParams, ...val }; } }, methods: { diff --git a/klp-ui/src/views/wms/anneal/performance/report.vue b/klp-ui/src/views/wms/anneal/performance/report.vue index 0a416038..1e1499b5 100644 --- a/klp-ui/src/views/wms/anneal/performance/report.vue +++ b/klp-ui/src/views/wms/anneal/performance/report.vue @@ -1,13 +1,10 @@