From 1e166872d5cf6c382b518933c0417a8c0eb8ba71 Mon Sep 17 00:00:00 2001 From: gaojs <757918719@qq.com> Date: Wed, 25 Sep 2024 10:55:27 +0800 Subject: [PATCH] =?UTF-8?q?WMS=20=E9=9C=80=E6=B1=82=EF=BC=9AHL-6059=20?= =?UTF-8?q?=E7=89=A9=E6=96=99=E9=9A=94=E7=A6=BB=E7=94=B3=E8=AF=B7=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E6=97=B6=E6=B2=A1=E6=9C=89=E4=BE=9B=E5=BA=94=E5=95=86?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=88=96=E8=80=85=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../inventorymoveRequestMain.data.ts | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/src/views/wms/moveManage/inventorymove/inventorymoveRequestMainOKHOLD/inventorymoveRequestMain.data.ts b/src/views/wms/moveManage/inventorymove/inventorymoveRequestMainOKHOLD/inventorymoveRequestMain.data.ts index 93b75558e..bd14001f4 100644 --- a/src/views/wms/moveManage/inventorymove/inventorymoveRequestMainOKHOLD/inventorymoveRequestMain.data.ts +++ b/src/views/wms/moveManage/inventorymove/inventorymoveRequestMainOKHOLD/inventorymoveRequestMain.data.ts @@ -26,6 +26,8 @@ const queryParams = { // 获取当前操作人的部门 import { useUserStore } from '@/store/modules/user' import { TableColumn } from '@/types/table' +import {Supplier} from "@/views/wms/basicDataManage/supplierManage/supplier/supplier.data"; +import * as SupplierApi from "@/api/wms/supplier"; const userStore = useUserStore() const userDept = userStore.userSelfInfo.dept // id 转str 否则form回显匹配不到 @@ -554,6 +556,28 @@ export const BalanceShow = useCrudSchemas( }, isSearch: false }, + { + label: '供应商代码', + field: 'supplierCode', + sort: 'custom', + isSearch: true, + table: { + width: 150, + }, + }, + { + label: '供应商名称', + field: 'supplierName', + isForm:true, + form:{ + componentProps:{ + disabled: true + } + }, + table: { + width: 180 + } + }, { label: '库存数量', field: 'qty', @@ -1104,6 +1128,41 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive( isTableForm: false, isForm: false, }, + { + label: '供应商代码', + field: 'supplierCode', + sort: 'custom', + isSearch: true, + isDetail: true, + table: { + width: 150, + }, + tableForm: { + isInpuFocusShow: true, // 开启查询弹窗 + searchListPlaceholder: '请选择供应商', + searchField: 'code', + searchTitle: '供应商信息', + searchAllSchemas: Supplier.allSchemas, + searchPage: SupplierApi.getSupplierPage, + } + }, + { + label: '供应商名称', + field: 'supplierName', + isForm:true, + isDetail: true, + form:{ + componentProps:{ + disabled: true + } + }, + table: { + width: 180 + }, + tableForm: { + disabled: true + } + }, { label: '供应商批次', field: 'altBatch',