From e883821d891f6d3d42f24d59c7f6db8d714a1454 Mon Sep 17 00:00:00 2001 From: guoshuang Date: Mon, 24 Jan 2022 18:12:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4=20jPicker?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E5=9B=BD=E9=99=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/J-Picker/jPicker.vue | 4 +++- src/i18n/lang/cn.ts | 2 ++ src/i18n/lang/en.ts | 2 ++ src/pages/raw/handover/feeding/Location.vue | 6 +++--- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/components/J-Picker/jPicker.vue b/src/components/J-Picker/jPicker.vue index 1b2a4c6..21ac177 100644 --- a/src/components/J-Picker/jPicker.vue +++ b/src/components/J-Picker/jPicker.vue @@ -128,7 +128,9 @@ export default { this.pickerVisable = false; if (this.listData.length == 0) { uni.showToast({ - title: '未选中', + //title: '未选中', + icon: 'none', + title: this.$t('message.unselected') as string, }); this.$emit('sure', {}); } else { diff --git a/src/i18n/lang/cn.ts b/src/i18n/lang/cn.ts index 7317420..a6a019f 100644 --- a/src/i18n/lang/cn.ts +++ b/src/i18n/lang/cn.ts @@ -60,6 +60,8 @@ export default { Purchase: '采购单', BackSweep: '退扫', succeeded: '退扫成功', + //jpicker提示 + unselected: '未选中', //po收货 po_ReceivingGoods: 'PO收货', diff --git a/src/i18n/lang/en.ts b/src/i18n/lang/en.ts index 3f2b281..be1295d 100644 --- a/src/i18n/lang/en.ts +++ b/src/i18n/lang/en.ts @@ -55,6 +55,8 @@ export default { workArea_WorkAreaName: 'Work area name', workArea_WarehouseClassify: 'WH classify', workArea_Confirm: 'Confirm', + //jpicker提示 + unselected: 'Unchecked', //原材料菜单 rawMenu_ReceivingGoods: 'Receive', rawMenu_Handover: 'Handover', diff --git a/src/pages/raw/handover/feeding/Location.vue b/src/pages/raw/handover/feeding/Location.vue index 17b64b6..678e483 100644 --- a/src/pages/raw/handover/feeding/Location.vue +++ b/src/pages/raw/handover/feeding/Location.vue @@ -472,11 +472,11 @@ export default class RawReceiptDetail extends BasePage { height: 100%; display: flex; view { - width: 100rpx; + width: 140rpx; line-height: 100rpx; } .search{ - padding-left: 19px; + padding-left: 12px; } } } @@ -489,7 +489,7 @@ export default class RawReceiptDetail extends BasePage { height: 100%; display: flex; .material-right-title { - width: 120rpx; + width: 140rpx; height: 100%; line-height: 100rpx; }