From 5688ab6d7355e109825a89314e5cbc9cb5b578df Mon Sep 17 00:00:00 2001 From: chenfang Date: Sun, 4 Aug 2024 16:32:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E7=BA=BF=E4=B8=8A=E9=97=AE?= =?UTF-8?q?=E9=A2=98=20=20=20=E6=96=B0=E5=A2=9E=E7=94=9F=E4=BA=A7=E6=9D=A1?= =?UTF-8?q?=E7=A0=81=E6=B8=85=E5=8D=95=E7=AE=A1=E7=90=86=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E6=98=AF=E5=90=A6=E5=8F=AF=E7=94=A8=E4=B8=8D=E8=83=BD=E4=B8=BA?= =?UTF-8?q?=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../itemManage/relegate/relegateRequest/index.vue | 1 + src/views/wms/buttMesManage/mesBarCode/index.vue | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/index.vue b/src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/index.vue index 51a9c00ee..37b174f56 100644 --- a/src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/index.vue +++ b/src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/index.vue @@ -187,6 +187,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => newRow['fromPackingNumber'] = item['packingNumber'] newRow['toBatch'] = item['batch'] newRow['fromLocationCode'] = item['locationCode'] + newRow['toLocationCode'] = item['locationCode'] newRow['inventoryStatus'] = item['inventoryStatus'] newRow['packUnit'] = item['packUnit'] newRow['packQty'] = item['packQty'] diff --git a/src/views/wms/buttMesManage/mesBarCode/index.vue b/src/views/wms/buttMesManage/mesBarCode/index.vue index 8fcfd22b5..5d441845d 100644 --- a/src/views/wms/buttMesManage/mesBarCode/index.vue +++ b/src/views/wms/buttMesManage/mesBarCode/index.vue @@ -72,6 +72,8 @@ import * as defaultButtons from '@/utils/disposition/defaultButtons' import TableHead from '@/components/TableHead/src/TableHead.vue' import ImportForm from '@/components/ImportForm/src/ImportForm.vue' import Detail from '@/components/Detail/src/Detail.vue' +import { getTenantId }from '@/utils/auth' + defineOptions({ name: 'MesBarCode' }) @@ -83,6 +85,9 @@ const routeName = ref() routeName.value = route.name const tableColumns = ref(MesBarCode.allSchemas.tableColumns) +let names =[{"text":"1379","value":1},{"text":"1397","value":2},{"text":"2379","value":3}] +let tenant = names.find(item=>item.value == getTenantId()) + // 查询页面返回 const searchTableSuccess = (formField, searchField, val, formRef) => { nextTick(() => { @@ -165,6 +170,7 @@ const formsSuccess = async (formType,data) => { basicFormRef.value.formLoading = true try { if (formType === 'create') { + data.plnt = tenant?.text await MesBarCodeApi.createMesBarCode(data) message.success(t('common.createSuccess')) } else {