From e997020dcf6072ff75948261d7a7f78c0d0edff3 Mon Sep 17 00:00:00 2001 From: binbin_pan Date: Wed, 8 Jan 2025 10:17:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=BB=BA=E9=80=80=E6=96=99-=E7=89=A9?= =?UTF-8?q?=E5=93=81=E7=B1=BB=E5=9E=8B=E6=90=9C=E7=B4=A2=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../material/back/component/addReturn.vue | 1052 +++++++++++------ 1 file changed, 688 insertions(+), 364 deletions(-) diff --git a/src/views/material/back/component/addReturn.vue b/src/views/material/back/component/addReturn.vue index d8a54a55..d2034e88 100644 --- a/src/views/material/back/component/addReturn.vue +++ b/src/views/material/back/component/addReturn.vue @@ -12,12 +12,19 @@ + v-model="queryParams.unitId" + :disabled="backId != ''" + :options="unitList" + :normalizer="normalizer" + :show-count="true" + style="width: 240px" + :disable-branch-nodes="true" + noChildrenText="没有数据了" + noOptionsText="没有数据" + noResultsText="没有搜索结果" + placeholder="请选择退料单位" + @select="unitChange" + /> - + @@ -73,7 +87,58 @@ /> - + + + + + + 库存:{{ item.storageNum }} + + + + + + + + + + + - - + - + @@ -117,14 +180,7 @@ > --> - 保存 + 保存 @@ -138,61 +194,31 @@ >导出 --> - - + + - - - - - - + + + + + - + - + - + - + - + - + - + - - - - - - - + + + + - + + + --> -
+
保存 - 取消 + 取消
- - + + -
- - \ No newline at end of file + +.custom-tree-node { + flex: 1; + display: flex; + align-items: center; + justify-content: space-between; + font-size: 14px; + padding-right: 8px; +} + +.el-icon-arrow-down.is-reverse { + transform: rotateZ(180deg); +} + +.el-tree { + max-height: 300px; + overflow-y: auto; +} + +.highlight-text { + background-color: #ffd04b; + color: #000; +} + +::v-deep .el-input-group__append { + padding: 0; + .el-button { + padding: 0 10px; + border: none; + height: 100%; + &:first-child { + border-right: 1px solid #dcdfe6; + } + &[disabled] { + color: #c0c4cc; + } + } +} + +.type-select-dropdown { + .el-select-dropdown__wrap { + max-height: 400px !important; + } + + .el-select-dropdown__item { + height: auto; + padding: 8px 20px; + white-space: normal; + word-break: break-all; + } +} + +.highlight-text { + background-color: #ffd04b; + color: #000; +} + +.el-input-group__append { + padding: 0; + .el-button { + padding: 0 10px; + border: none; + height: 100%; + &:first-child { + border-right: 1px solid #dcdfe6; + } + &[disabled] { + color: #c0c4cc; + } + } +} +