From 76dba55bae9bd16be1ce21e2c59f03f3016a02e2 Mon Sep 17 00:00:00 2001 From: zwq Date: Wed, 9 Mar 2022 14:32:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BB=93=E5=BA=93-=E5=B7=A5?= =?UTF-8?q?=E5=BA=8F-=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lang/i18n/en/module/basicData.js | 3 ++- src/lang/i18n/zh/module/basicData.js | 3 ++- .../Warehouse/components/processStorageLink.vue | 12 ++++++++++-- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/lang/i18n/en/module/basicData.js b/src/lang/i18n/en/module/basicData.js index e770b11..3f2d830 100644 --- a/src/lang/i18n/en/module/basicData.js +++ b/src/lang/i18n/en/module/basicData.js @@ -2,7 +2,7 @@ * @Author: gtz * @Date: 2021-03-04 16:13:51 * @LastEditors: zwq - * @LastEditTime: 2022-03-09 11:16:12 + * @LastEditTime: 2022-03-09 14:24:45 * @Description: file content */ export default { @@ -30,6 +30,7 @@ export default { cancelButtonText: 'cancel', Tips: 'Tips', TipsBefore: 'Are you sure you want to delete', + TipsStorageBefore: 'Confirm to add location:', Description: 'Description', Remarks: 'Remarks', Yes: 'Yes', diff --git a/src/lang/i18n/zh/module/basicData.js b/src/lang/i18n/zh/module/basicData.js index 0e25558..26aff57 100644 --- a/src/lang/i18n/zh/module/basicData.js +++ b/src/lang/i18n/zh/module/basicData.js @@ -2,7 +2,7 @@ * @Author: gtz * @Date: 2021-03-04 16:13:51 * @LastEditors: zwq - * @LastEditTime: 2022-03-09 11:16:02 + * @LastEditTime: 2022-03-09 14:24:03 */ export default { visual: { @@ -29,6 +29,7 @@ export default { cancelButtonText: '取消', Tips: '提示', TipsBefore: '确定删除', + TipsStorageBefore: '确定添加库位:', Description: '描述', Remarks: '备注', Or: '或', diff --git a/src/views/basicData/Warehouse/components/processStorageLink.vue b/src/views/basicData/Warehouse/components/processStorageLink.vue index d13a21a..2f03fa1 100644 --- a/src/views/basicData/Warehouse/components/processStorageLink.vue +++ b/src/views/basicData/Warehouse/components/processStorageLink.vue @@ -2,7 +2,7 @@ * @Author: gtz * @Date: 2022-03-03 09:16:10 * @LastEditors: zwq - * @LastEditTime: 2022-03-09 14:17:23 + * @LastEditTime: 2022-03-09 14:30:59 * @Description: file content * @FilePath: \mt-ck-wms-ui\src\views\dashboard\index.vue --> @@ -366,7 +366,15 @@ export default { console.log(v) }, submitLinkList() { - console.log('submitLinkList') + const tipArr = this.selectStorageList.map(item => { + return item.id + }) + this.$confirm(`${this.$t('module.basicData.visual.TipsStorageBefore')}[${tipArr.join(',')}]?`, this.$t('module.basicData.visual.Tips'), { + confirmButtonText: this.$t('module.basicData.visual.confirmButtonText'), + cancelButtonText: this.$t('module.basicData.visual.cancelButtonText'), + type: 'warning' + }).then(() => { + }).catch(() => {}) } } } -- 2.45.2