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}; }