From 652da9b3b9ebda2fcaf71d15ff2927aa6218dfa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E5=BD=AA?= <2018656660@qq.com> Date: Wed, 2 Aug 2023 14:16:16 +0800 Subject: [PATCH] =?UTF-8?q?overseamom-534=20feat=20sto=E5=87=BA=E8=B4=A7?= =?UTF-8?q?=E6=9D=A1=E7=A0=81=E8=AF=A6=E6=83=85=E5=A2=9E=E5=8A=A0=E5=BA=8F?= =?UTF-8?q?=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/lang/cn.ts | 1 + src/i18n/lang/en.ts | 1 + src/i18n/lang/ru.ts | 1 + src/pages/product/stoOutbound/config.ts | 5 +++++ src/pages/product/stoOutbound/model.ts | 5 +++-- 5 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/i18n/lang/cn.ts b/src/i18n/lang/cn.ts index 193371f..b51baf5 100644 --- a/src/i18n/lang/cn.ts +++ b/src/i18n/lang/cn.ts @@ -391,6 +391,7 @@ export default { product_TotalNumber: '单据总数', product_Swept: '已扫', product_MaterilTotalNumber: '物料总数', + sto_Number: '数量', product_BarCode: '条码', SourceLocation: '源库位', product_PickingDetails: '拣货明细', diff --git a/src/i18n/lang/en.ts b/src/i18n/lang/en.ts index 558ff3f..438f1b7 100644 --- a/src/i18n/lang/en.ts +++ b/src/i18n/lang/en.ts @@ -581,6 +581,7 @@ export default { PickingVn: 'Picking-Vn', HandoverVn: 'Handover-Vn', detail: 'Detail', + sto_Number: 'Number', pcNo: 'Batch No', scanUser: 'Scan User', scanDate: 'Scan Date', diff --git a/src/i18n/lang/ru.ts b/src/i18n/lang/ru.ts index de14bb0..6a0a635 100644 --- a/src/i18n/lang/ru.ts +++ b/src/i18n/lang/ru.ts @@ -387,6 +387,7 @@ export default { product_TotalNumber: 'Общее количество документов', product_Swept: 'Отсканировано', product_MaterilTotalNumber: 'Общее количество материалов', + sto_Number: 'Kоличество', product_BarCode: 'Штрих-код', SourceLocation: 'Исходное местоположение.', product_PickingDetails: 'Детали Комплектации', diff --git a/src/pages/product/stoOutbound/config.ts b/src/pages/product/stoOutbound/config.ts index c9ddc05..adc44e9 100644 --- a/src/pages/product/stoOutbound/config.ts +++ b/src/pages/product/stoOutbound/config.ts @@ -3,6 +3,11 @@ */ import vm from '@/main'; export const headers = [ + { + label: vm.$t('message.sto_Number'), + key: 'keys', + width: 150, + }, { label: vm.$t('message.product_BarCode'), key: 'barcode', diff --git a/src/pages/product/stoOutbound/model.ts b/src/pages/product/stoOutbound/model.ts index 04f979d..7f72a46 100644 --- a/src/pages/product/stoOutbound/model.ts +++ b/src/pages/product/stoOutbound/model.ts @@ -111,8 +111,9 @@ export class ReceiptModule extends VuexModule { async QueryStoDetail(content: any) { const res: any = await http.post(url.outbound.stoOutbound.stoDetailQuery, content); const stoBarcodeList = res.data; - stoBarcodeList.forEach(element => { - element.createdDate = moment(element.createdDate).format('YYYY-MM-DD hh:mm:ss') + stoBarcodeList.forEach((element,index) => { + element.createdDate = moment(element.createdDate).format('YYYY-MM-DD hh:mm:ss'); + element.keys = index + 1; }); return {stoBarcodeList}; }