From d652f2bcedd637ffaccd9e0a942f9efdcf83873c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=89=E8=99=B9=E7=9D=BF?= <297504645@qq.com> Date: Mon, 3 Jul 2023 11:45:33 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=98=E7=82=B9=E7=AD=9B=E9=80=89=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E4=BD=8D=E7=BD=AE=E7=BB=84=E4=BB=B6=E8=B0=83=E6=95=B4?= =?UTF-8?q?+pda=E7=9B=98=E7=82=B9=E7=AD=9B=E9=80=89=E6=9D=A1=E4=BB=B6?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/StepsCountPlanForm/index.vue | 34 ++++++++++++------- fe/PC/src/components/currenButton/index.vue | 9 +++++ fe/PC/src/components/searchPage/index.vue | 6 ++++ fe/PC/src/filters/status.js | 4 +-- fe/PC/src/styles/mainbasicData.scss | 3 ++ 5 files changed, 42 insertions(+), 14 deletions(-) diff --git a/fe/PC/src/components/StepsCountPlanForm/index.vue b/fe/PC/src/components/StepsCountPlanForm/index.vue index 12b854f7b..cd7c2a23b 100644 --- a/fe/PC/src/components/StepsCountPlanForm/index.vue +++ b/fe/PC/src/components/StepsCountPlanForm/index.vue @@ -51,12 +51,13 @@ 'locationData', oldSkipCountLocation )" - :setUTableHeight="330" + :setUTableHeight="355" :filterPageListParams="[]" :formTitle="''" :displayDialog="active == 1" :selectionTable="false" :editHandle="editHandle" + :buttonsAllIsRight="true" :searchTableData="locationData" :searchTableColumns="initSearchPageTableColums()" :searchTotalCount="totalCountLocation" @@ -79,6 +80,7 @@ )" @tableButtonClick="addFormData(arguments)" > + { list.SkipCount = (oldSkipCount - 1) * list.MaxResultCount; this.tableLoading = true; + // 盘点库存 过滤线边仓数据 20230703更新 + // 如果不是Excel盘点类型(this.CreateFormData.requestType != 1),过滤线边仓数据 20230703更新 + if ( this.CreateFormData.requestType != 1) { + let _filter = { + action: "!=", + column: "type", + logic: "And", + value: "5", + hide:true + } + if(this.pageListLocation.condition.filters.length <= 0){ + this.pageListLocation.condition.filters.push(_filter) + } + list.condition.filters.forEach((item,key)=>{ + if(item.action == '!=' && item.column == 'type' && item.value == '5'){ + item.hide = true + } + }) + } getPageList(list, url) .then((res) => { this[data] = res.items; @@ -553,17 +574,6 @@ export default { // 总体信息 if (this.active == 0) { this.pageListLocation.condition.filters = [] - // 盘点库存 过滤线边仓数据 20230417 - // 如果不是Excel盘点类型(this.CreateFormData.requestType != 1),过滤线边仓数据 20230626 - if ( this.CreateFormData.requestType != 1) { - this.pageListLocation.condition.filters.push({ - action: "!=", - column: "type", - logic: "And", - value: "5", - hide:true - }) - } const Function = this.advancedFilter( // "basedata/item-basic", // this.pageListItemBasic, diff --git a/fe/PC/src/components/currenButton/index.vue b/fe/PC/src/components/currenButton/index.vue index ff29399ad..40e53c9f1 100644 --- a/fe/PC/src/components/currenButton/index.vue +++ b/fe/PC/src/components/currenButton/index.vue @@ -40,6 +40,11 @@ export default { type: Object, default: null }, + // 按钮整体靠右 + buttonsAllIsRight:{ + type: Boolean, + default: false + } }, data () { return { @@ -55,6 +60,10 @@ export default { initButtonsData(){ this.buttonsLeft = [] this.buttonsRight = [] + if(this.buttonsAllIsRight){ + this.buttonsRight = this.Butttondata + return + } this.Butttondata.forEach(item=>{ if(item.float && item.float == 'right'){ this.buttonsRight.push(item) diff --git a/fe/PC/src/components/searchPage/index.vue b/fe/PC/src/components/searchPage/index.vue index 8ede0ec1b..a066a9292 100644 --- a/fe/PC/src/components/searchPage/index.vue +++ b/fe/PC/src/components/searchPage/index.vue @@ -38,6 +38,7 @@ >
@@ -80,6 +81,11 @@ export default { return 220; } }, + // 按钮整体靠右 + buttonsAllIsRight:{ + type: Boolean, + default: false + }, //名称 formTitle: { type: String, diff --git a/fe/PC/src/filters/status.js b/fe/PC/src/filters/status.js index fca8b328c..8110f996b 100644 --- a/fe/PC/src/filters/status.js +++ b/fe/PC/src/filters/status.js @@ -671,11 +671,11 @@ export function CountPanCompleteType(index, prop){ value:1 }, 2:{ - label:"按照盘点数量为0处理", + label:"未盘点到的按照盘点数量为0处理", value:2 }, 3:{ - label:"按照盘平计算", + label:"未盘点到的按照盘平计算", value:3 }, } diff --git a/fe/PC/src/styles/mainbasicData.scss b/fe/PC/src/styles/mainbasicData.scss index 97aee0cb2..bfad9b52e 100644 --- a/fe/PC/src/styles/mainbasicData.scss +++ b/fe/PC/src/styles/mainbasicData.scss @@ -2,6 +2,9 @@ @import './basicData.scss'; .page-box { ::v-deep .el-dialog { + .el-dialog__body { + padding-bottom: 20px; + } .form1, .form2 { display: flex;