From 2222a406f534f264ec5b63b734afed15cae4571a Mon Sep 17 00:00:00 2001 From: xiaofajia <1665375861@qq.com> Date: Wed, 13 Nov 2024 19:56:41 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E4=BB=B6=E7=94=B3=E8=AF=B7=E5=8D=95?= =?UTF-8?q?=E5=8A=A0=E4=B8=8A=E5=9B=BE=E7=89=87=E5=92=8C=E4=B8=80=E4=BA=9B?= =?UTF-8?q?=E5=85=B6=E4=BB=96=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/repair/tickets/TWItem.js | 9 + .../repair/tickets/Components/TWIAdd.vue | 405 ++++++++++++++++++ .../repair/tickets/Components/TicketItem.vue | 4 +- .../tickets/Components/TicketItemShow.vue | 10 +- .../repair/tickets/Components/TicketTable.vue | 2 +- .../repair/tickets/Components/TicketWares.vue | 3 +- .../tickets/Components/TicketWaresShow.vue | 96 ++++- .../repair/tickets/Components/TicketsShow.vue | 72 +++- .../repair/tickets/Components/UserInfo.vue | 4 +- src/views/repair/tickets/form/TWOperate.vue | 280 ++++++------ 10 files changed, 707 insertions(+), 178 deletions(-) create mode 100644 src/views/repair/tickets/Components/TWIAdd.vue diff --git a/src/api/repair/tickets/TWItem.js b/src/api/repair/tickets/TWItem.js index cc11a64..496b8c1 100644 --- a/src/api/repair/tickets/TWItem.js +++ b/src/api/repair/tickets/TWItem.js @@ -19,3 +19,12 @@ export function updateIsShow(params){ params }) } + +// 给配件申请表子表添加数据 +export function addTwi(data){ + return request({ + url: preUrl + '/addTwi', + method: 'post', + data + }) +} diff --git a/src/views/repair/tickets/Components/TWIAdd.vue b/src/views/repair/tickets/Components/TWIAdd.vue new file mode 100644 index 0000000..0346aa9 --- /dev/null +++ b/src/views/repair/tickets/Components/TWIAdd.vue @@ -0,0 +1,405 @@ + + + + + diff --git a/src/views/repair/tickets/Components/TicketItem.vue b/src/views/repair/tickets/Components/TicketItem.vue index 8f67060..602a97f 100644 --- a/src/views/repair/tickets/Components/TicketItem.vue +++ b/src/views/repair/tickets/Components/TicketItem.vue @@ -52,7 +52,7 @@
- {{ scope.row.discount === 1 ? "无折扣" : scope.row.discount }} + {{ scope.row.discount }}
@@ -68,7 +68,7 @@ {{ scope.row.repair ? getRepairName(scope.row.repair) : scope.row.repair }} - +
diff --git a/src/views/repair/tickets/Components/TicketItemShow.vue b/src/views/repair/tickets/Components/TicketItemShow.vue index be26ca7..692bbab 100644 --- a/src/views/repair/tickets/Components/TicketItemShow.vue +++ b/src/views/repair/tickets/Components/TicketItemShow.vue @@ -31,14 +31,10 @@ - - - + - +