From a26488930b7b48538529a91c794e03d777ef98ae Mon Sep 17 00:00:00 2001 From: xiaofajia <1665375861@qq.com> Date: Wed, 16 Oct 2024 15:39:14 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E5=AE=A1=E6=89=B9=E7=94=B3=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/repair/tickets/TicketWares.js | 9 ++ .../tickets/Components/TicketManagerItem.vue | 4 +- .../repair/tickets/Components/TicketWares.vue | 4 +- .../tickets/Components/TicketWaresShow.vue | 145 +++++++++++++++++- src/views/repair/tickets/form/TWOperate.vue | 128 +++++++++++++++- .../repair/tickets/form/UpdateRepair.vue | 1 - 6 files changed, 279 insertions(+), 12 deletions(-) diff --git a/src/api/repair/tickets/TicketWares.js b/src/api/repair/tickets/TicketWares.js index 3f1d86c..7bf6a6a 100644 --- a/src/api/repair/tickets/TicketWares.js +++ b/src/api/repair/tickets/TicketWares.js @@ -27,3 +27,12 @@ export function removeTicketWares(id){ method: 'delete' }) } + +// 审核 +export function auditTicketWares(data){ + return request({ + url: preUrl + '/audit', + method: 'post', + data + }) +} diff --git a/src/views/repair/tickets/Components/TicketManagerItem.vue b/src/views/repair/tickets/Components/TicketManagerItem.vue index 674e7c0..16b91ac 100644 --- a/src/views/repair/tickets/Components/TicketManagerItem.vue +++ b/src/views/repair/tickets/Components/TicketManagerItem.vue @@ -53,7 +53,7 @@ 更多 - 申请领料 diff --git a/src/views/repair/tickets/Components/TicketWaresShow.vue b/src/views/repair/tickets/Components/TicketWaresShow.vue index 30566cc..f33af3b 100644 --- a/src/views/repair/tickets/Components/TicketWaresShow.vue +++ b/src/views/repair/tickets/Components/TicketWaresShow.vue @@ -141,7 +141,11 @@ - + - + + +
+ + {{ scope.row.itemDiscount }} +
+
@@ -215,4 +449,36 @@ export default { ::v-deep .el-table .stock td{ background-color: #ff0000 !important; /* 红色背景 */ } +.item { + .item__input { + display: none; + width: 100px; + /* 调整elementUI中样式 如果不需要调整请忽略 */ + .el-input__inner { + height: 24px !important; + } + + /* 调整elementUI中样式 如果不需要调整请忽略 */ + .el-input__suffix { + i { + font-size: 12px !important; + line-height: 26px !important; + } + } + } + + .item__txt { + box-sizing: border-box; + border: 1px solid transparent; + width: 100px; + line-height: 24px; + padding: 0 8px; + } + + .item__txt--hover { + border: 1px solid #dddddd; + border-radius: 4px; + cursor: text; + } +}