From 995db83484380aedd079b3fa23d0eb44164eb0c9 Mon Sep 17 00:00:00 2001 From: zwq Date: Thu, 17 Mar 2022 10:59:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=93=E5=BA=93=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/processStorageLink.vue | 294 +++++++++++++++--- .../Warehouse/components/testdata.js | 3 +- 2 files changed, 254 insertions(+), 43 deletions(-) diff --git a/src/views/basicData/Warehouse/components/processStorageLink.vue b/src/views/basicData/Warehouse/components/processStorageLink.vue index 81ac54c..cbc8de7 100644 --- a/src/views/basicData/Warehouse/components/processStorageLink.vue +++ b/src/views/basicData/Warehouse/components/processStorageLink.vue @@ -1,8 +1,8 @@ @@ -11,7 +11,9 @@
-
{{ $t('module.dashboard.title') }}
+
+ {{ $t("module.dashboard.title") }} +
{{ "btn.submit" | i18nFilter }} - {{ 'btn.reset' | i18nFilter }} - {{ 'btn.back' | i18nFilter }} + {{ + "btn.reset" | i18nFilter + }} + {{ + "btn.back" | i18nFilter + }}
@@ -98,9 +113,15 @@ ].attribute === 3 ? '#A2A8B5' : '', - border: - selectStorageList.some(StorageItem=>StorageItem.locationId===z.portVoList[(current - 1) * 80 + (item - 1) * 20 + (x - 1)].id) - ? '1px solid red' : '' + border: selectStorageList.some( + StorageItem => + StorageItem.locationId === + z.portVoList[ + (current - 1) * 80 + (item - 1) * 20 + (x - 1) + ].id + ) + ? '2px dashed red' + : '' }" @click=" setType( @@ -110,13 +131,57 @@ ) " > -
- {{ z.portVoList[(current - 1) * 80 + (item - 1) * 20 + (x - 1)].attribute !== 3 ? z.portVoList[(current - 1) * 80 + (item - 1) * 20 + (x - 1)].name : 'XXXX' }} +
+
+ {{ + z.portVoList[ + (current - 1) * 80 + (item - 1) * 20 + (x - 1) + ].attribute !== 3 + ? z.portVoList[ + (current - 1) * 80 + (item - 1) * 20 + (x - 1) + ].name + : "XXXX" + }}
@@ -125,7 +190,9 @@ StorageItem.locationId===z.portVoList[(current - 1) * 80 + (item - 1) * 20 + (x - 1)].id) - ? '1px solid red' : '' + border: selectStorageList.some( + StorageItem => + StorageItem.locationId === + z.portVoList[ + (current - 1) * 80 + (item - 1) * 20 + (x - 1) + ].id + ) + ? '2px dashed red' + : '' }" @click=" setType( @@ -189,8 +262,47 @@ ) " > -
- {{ z.portVoList[(current - 1) * 80 + (item - 1) * 20 + (x - 1)].attribute !== 3 ? z.portVoList[(current - 1) * 80 + (item - 1) * 20 + (x - 1)].name : 'XXXX' }} +
+
+ {{ + z.portVoList[ + (current - 1) * 80 + (item - 1) * 20 + (x - 1) + ].attribute !== 3 + ? z.portVoList[ + (current - 1) * 80 + (item - 1) * 20 + (x - 1) + ].name + : "XXXX" + }}
@@ -226,9 +338,15 @@ ].attribute === 3 ? '#A2A8B5' : '', - border: - selectStorageList.some(StorageItem=>StorageItem.locationId===z.portVoList[(current - 1) * 80 + (item - 1) * 20 + (x - 1)].id) - ? '1px solid red' : '' + border: selectStorageList.some( + StorageItem => + StorageItem.locationId === + z.portVoList[ + (current - 1) * 80 + (item - 1) * 20 + (x - 1) + ].id + ) + ? '2px dashed red' + : '' }" @click=" setType( @@ -238,13 +356,57 @@ ) " > -
- {{ z.portVoList[(current - 1) * 80 + (item - 1) * 20 + (x - 1)].attribute !== 3 ? z.portVoList[(current - 1) * 80 + (item - 1) * 20 + (x - 1)].name : 'XXXX' }} +
+
+ {{ + z.portVoList[ + (current - 1) * 80 + (item - 1) * 20 + (x - 1) + ].attribute !== 3 + ? z.portVoList[ + (current - 1) * 80 + (item - 1) * 20 + (x - 1) + ].name + : "XXXX" + }}
@@ -261,6 +423,7 @@