From 631ca4ec3019b82da8a226b57522068dcc6953d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=85=E5=BF=B5?= Date: Fri, 24 Oct 2025 14:45:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=87=E8=B4=A7=E5=8D=95=20=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=20=E5=8A=A0=E4=BB=B7=20=20=E5=B0=86=E5=86=85=E5=8B=A4?= =?UTF-8?q?=E4=B8=93=E5=B1=9E=20=E7=A7=BB=E5=88=B0=E6=89=93=E5=8D=B0?= =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E9=87=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/custom/InternalStaffViews.vue | 204 ++++++++++++++++++ src/components/custom/OrderDetailContent.vue | 8 + src/composables/useStockingForm.ts | 164 +++++++------- .../admin/procurement/purchase_order.vue | 17 +- src/views/admin/stock/final_list_admin.vue | 29 ++- src/views/admin/stock/stocking_list_admin.vue | 35 +-- src/views/crmpc/stocking/Add.vue | 17 ++ src/views/crmpc/stocking/final_add.vue | 17 ++ src/views/crmpc/stocking/final_edit.vue | 155 ++++++++++--- src/views/crmpc/stocking/stocking_edit.vue | 17 ++ src/views/crmpc/vehicle/vehicle_list.vue | 10 +- 11 files changed, 544 insertions(+), 129 deletions(-) create mode 100644 src/components/custom/InternalStaffViews.vue diff --git a/src/components/custom/InternalStaffViews.vue b/src/components/custom/InternalStaffViews.vue new file mode 100644 index 0000000..3463498 --- /dev/null +++ b/src/components/custom/InternalStaffViews.vue @@ -0,0 +1,204 @@ + + + diff --git a/src/components/custom/OrderDetailContent.vue b/src/components/custom/OrderDetailContent.vue index 3cb812d..b0c6da3 100644 --- a/src/components/custom/OrderDetailContent.vue +++ b/src/components/custom/OrderDetailContent.vue @@ -137,6 +137,14 @@ '—' }} + + + @@ -135,7 +135,7 @@ top="40px" :close-on-click-modal="false" > -
+
下载
@@ -157,6 +157,13 @@ style="flex: 1; width: 100%; border: 1px solid #eee; border-radius: 6px;" />
+
+ +
- + /> -->
@@ -190,7 +197,8 @@ import type { OrderData } from '@/composables/useOrderDetailDialog' import { usePdfPreview } from '@/composables/usePdfPreview' import FilePreview from '@/components/custom/FilePreview.vue' - import InternalStaffView from '@/components/custom/InternalStaffView.vue' + // import InternalStaffView from '@/components/custom/InternalStaffView.vue' + import InternalStaffViews from '@/components/custom/InternalStaffViews.vue' const timelineDialogVisible = ref(false) const approvalRecords = ref([]) const isFinites = ref(false) @@ -274,6 +282,7 @@ } else { isFinites.value = false } + handleViewnq(row) manageService .printStock({ id: row.id }) .then((res) => { @@ -315,7 +324,7 @@ port_fee_currency: it.port_misc_fee?.currency || it.port_fee_currency, model: it.model_snapshot })) - nqDialogVisible.value = true + // nqDialogVisible.value = true } // 文件数据 const contractFiles = ref>([]) @@ -547,4 +556,10 @@ font-size: 48px; color: #ddd; } + .inter-view { + margin-top: 10px; + padding: 10px; + border: 1px solid #ccc; + border-radius: 10px; + } diff --git a/src/views/admin/stock/stocking_list_admin.vue b/src/views/admin/stock/stocking_list_admin.vue index 6bf94b3..f35171e 100644 --- a/src/views/admin/stock/stocking_list_admin.vue +++ b/src/views/admin/stock/stocking_list_admin.vue @@ -93,14 +93,6 @@ > 查看审批 - - 内勤专用 - @@ -116,7 +108,7 @@ top="40px" :close-on-click-modal="false" > -
+
下载
@@ -138,6 +130,13 @@ style="flex: 1; width: 100%; border: 1px solid #eee; border-radius: 6px;" />
+
+ +
- + /> -->
@@ -196,10 +195,11 @@ import ApprovalTimeline from '@/components/custom/ApprovalTimeline.vue' import type { OrderData } from '@/composables/useOrderDetailDialog' import FilePreview from '@/components/custom/FilePreview.vue' - import InternalStaffView from '@/components/custom/InternalStaffView.vue' + // import InternalStaffView from '@/components/custom/InternalStaffView.vue' + import InternalStaffViews from '@/components/custom/InternalStaffViews.vue' const timelineDialogVisible = ref(false) const approvalRecords = ref([]) - const nqDialogVisible = ref(false) + // const nqDialogVisible = ref(false) const nqCurrency = ref('') const nqData = ref([]) const isFinites = ref(false) @@ -466,6 +466,7 @@ } else { isFinites.value = false } + handleViewnq(row) manageService .printStock({ id: row.id }) .then((res) => { @@ -530,7 +531,7 @@ port_fee_currency: it.port_misc_fee?.currency || it.port_fee_currency, model: it.model_snapshot })) - nqDialogVisible.value = true + // nqDialogVisible.value = true } @@ -667,5 +668,11 @@ word-break: break-all; max-width: 100%; } + .inter-view { + margin-top: 10px; + padding: 10px; + border: 1px solid #ccc; + border-radius: 10px; + } diff --git a/src/views/crmpc/stocking/Add.vue b/src/views/crmpc/stocking/Add.vue index 52f7790..a8784a8 100644 --- a/src/views/crmpc/stocking/Add.vue +++ b/src/views/crmpc/stocking/Add.vue @@ -264,6 +264,23 @@ + + + + + + + + diff --git a/src/views/crmpc/stocking/final_add.vue b/src/views/crmpc/stocking/final_add.vue index 3c0df72..a549d22 100644 --- a/src/views/crmpc/stocking/final_add.vue +++ b/src/views/crmpc/stocking/final_add.vue @@ -287,6 +287,23 @@ + + + + + + + + diff --git a/src/views/crmpc/stocking/final_edit.vue b/src/views/crmpc/stocking/final_edit.vue index 62e403c..83845c0 100644 --- a/src/views/crmpc/stocking/final_edit.vue +++ b/src/views/crmpc/stocking/final_edit.vue @@ -326,6 +326,48 @@ + + + + + + + + + + + + + + + + @@ -378,6 +420,31 @@ + + + + + + + + - +