From d60176b569581a5ee50e92db3de1262b562bc607 Mon Sep 17 00:00:00 2001 From: "YEJIAXING-PC\\lenovo" <591141169@qq.com> Date: Mon, 4 Nov 2024 17:26:41 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E6=96=99=E9=9A=94=E7=A6=BB=E5=8F=98?= =?UTF-8?q?=E6=9B=B4=20=20YT-644?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../inventorymoveJobMain.data.ts | 124 +++-- .../inventorymoveRecordMainOKHOLD.data.ts | 63 ++- .../inventorymoveRequestMain.data.ts | 437 +++++++++--------- .../purchaseMain/purchaseMain.data.ts | 10 + .../purchasePlanMain/purchasePlanMain.data.ts | 10 + 5 files changed, 370 insertions(+), 274 deletions(-) diff --git a/src/views/wms/moveManage/inventorymove/inventorymoveJobMain/inventorymoveJobMain.data.ts b/src/views/wms/moveManage/inventorymove/inventorymoveJobMain/inventorymoveJobMain.data.ts index 058c95482..7431da07f 100644 --- a/src/views/wms/moveManage/inventorymove/inventorymoveJobMain/inventorymoveJobMain.data.ts +++ b/src/views/wms/moveManage/inventorymove/inventorymoveJobMain/inventorymoveJobMain.data.ts @@ -16,6 +16,7 @@ export const InventorymoveJobMain = useCrudSchemas(reactive([ fixed: 'left' }, isSearch: true, + sortTableDefault:1, }, { label: '申请单号', @@ -24,6 +25,7 @@ export const InventorymoveJobMain = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:2, }, { label: '状态', @@ -36,16 +38,17 @@ export const InventorymoveJobMain = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:3, }, - { - label: '发货单号', - field: 'asnNumber', - sort: 'custom', - table: { - width: 150 - }, - isForm: false, - }, + // { + // label: '发货单号', + // field: 'asnNumber', + // sort: 'custom', + // table: { + // width: 150 + // }, + // isForm: false, + // }, // { // label: '使用在途库', // field: 'useOnTheWayLocation', @@ -65,46 +68,7 @@ export const InventorymoveJobMain = useCrudSchemas(reactive([ // } // } // }, - { - label: '申请时间', - field: 'requestTime', - formatter: dateFormatter, - detail: { - dateFormat: 'YYYY-MM-DD HH:mm:ss' - }, - sort: 'custom', - table: { - width: 180 - }, - form: { - component: 'DatePicker', - componentProps: { - type: 'datetime', - dateFormat: 'YYYY-MM-DD HH:mm:ss', - valueFormat: 'x', - } - }, - }, - { - label: '要求截止时间', - field: 'requestDueTime', - formatter: dateFormatter, - detail: { - dateFormat: 'YYYY-MM-DD HH:mm:ss' - }, - sort: 'custom', - table: { - width: 180 - }, - form: { - component: 'DatePicker', - componentProps: { - type: 'datetime', - dateFormat: 'YYYY-MM-DD HH:mm:ss', - valueFormat: 'x', - } - }, - }, + { label: '过期时间', field: 'expiredTime', @@ -133,6 +97,7 @@ export const InventorymoveJobMain = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:4, }, { label: '到仓库代码', @@ -141,6 +106,7 @@ export const InventorymoveJobMain = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:5, }, // { // label: '从库区代码范围', @@ -234,6 +200,7 @@ export const InventorymoveJobMain = useCrudSchemas(reactive([ width: 150 }, isTable: true, + sortTableDefault:6, }, // { // label: '自动完成', @@ -485,6 +452,48 @@ export const InventorymoveJobMain = useCrudSchemas(reactive([ // }, // isTable: false, // }, + { + label: '申请时间', + field: 'requestTime', + formatter: dateFormatter, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, + sort: 'custom', + table: { + width: 180 + }, + form: { + component: 'DatePicker', + componentProps: { + type: 'datetime', + dateFormat: 'YYYY-MM-DD HH:mm:ss', + valueFormat: 'x', + } + }, + sortTableDefault:20, + }, + { + label: '要求截止时间', + field: 'requestDueTime', + formatter: dateFormatter, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, + sort: 'custom', + table: { + width: 180 + }, + form: { + component: 'DatePicker', + componentProps: { + type: 'datetime', + dateFormat: 'YYYY-MM-DD HH:mm:ss', + valueFormat: 'x', + } + }, + sortTableDefault:21, + }, { label: '创建时间', field: 'createTime', @@ -514,6 +523,7 @@ export const InventorymoveJobMain = useCrudSchemas(reactive([ defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] } }, + sortTableDefault:22, }, { label: '创建者', @@ -523,6 +533,7 @@ export const InventorymoveJobMain = useCrudSchemas(reactive([ width: 150 }, isTable: false, + sortTableDefault:23, }, { label: '最后更新时间', @@ -649,6 +660,7 @@ export const InventorymoveJobDetail = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:7, }, { label: '物料名称', @@ -657,6 +669,7 @@ export const InventorymoveJobDetail = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:8, }, { label: '物料描述1', @@ -665,6 +678,7 @@ export const InventorymoveJobDetail = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:9, }, { label: '物料描述2', @@ -673,6 +687,7 @@ export const InventorymoveJobDetail = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:10, }, { label: '批次', @@ -681,6 +696,7 @@ export const InventorymoveJobDetail = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:11, }, { label: '供应商代码', @@ -690,6 +706,7 @@ export const InventorymoveJobDetail = useCrudSchemas(reactive([ table: { width: 150, }, + sortTableDefault:12, }, { label: '供应商名称', @@ -698,6 +715,7 @@ export const InventorymoveJobDetail = useCrudSchemas(reactive([ table: { width: 180 }, + sortTableDefault:13, }, { label: '供应商批次', @@ -706,6 +724,7 @@ export const InventorymoveJobDetail = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:14, }, { label: '包装号', @@ -732,7 +751,8 @@ export const InventorymoveJobDetail = useCrudSchemas(reactive([ }, form: { component: 'InputNumber', - } + }, + sortTableDefault:15, }, { label: '计量单位', @@ -744,6 +764,7 @@ export const InventorymoveJobDetail = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:16, }, { label: '从库位代码', @@ -752,6 +773,7 @@ export const InventorymoveJobDetail = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:17, }, { label: '到库位代码', @@ -760,6 +782,7 @@ export const InventorymoveJobDetail = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:18, }, { label: '库存状态', @@ -771,6 +794,7 @@ export const InventorymoveJobDetail = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:19, }, // { // label: '到库存状态', diff --git a/src/views/wms/moveManage/inventorymove/inventorymoveRecordMainOKHOLD/inventorymoveRecordMainOKHOLD.data.ts b/src/views/wms/moveManage/inventorymove/inventorymoveRecordMainOKHOLD/inventorymoveRecordMainOKHOLD.data.ts index 07a03471a..5eef00b59 100644 --- a/src/views/wms/moveManage/inventorymove/inventorymoveRecordMainOKHOLD/inventorymoveRecordMainOKHOLD.data.ts +++ b/src/views/wms/moveManage/inventorymove/inventorymoveRecordMainOKHOLD/inventorymoveRecordMainOKHOLD.data.ts @@ -13,7 +13,8 @@ export const InventorymoveRecordMain = useCrudSchemas(reactive([ width: 180, fixed: 'left' }, - isSearch: true + isSearch: true, + sortTableDefault:1, }, { label: '申请单号', @@ -22,8 +23,8 @@ export const InventorymoveRecordMain = useCrudSchemas(reactive([ table: { width: 180 }, - sortTableDefault:996, - isSearch: true + isSearch: true, + sortTableDefault:2, }, { label: '任务单号', @@ -32,8 +33,8 @@ export const InventorymoveRecordMain = useCrudSchemas(reactive([ table: { width: 180 }, - sortTableDefault:997, - isSearch: true + isSearch: true, + sortTableDefault:3, }, // { // label: '使用在途库', @@ -135,15 +136,15 @@ export const InventorymoveRecordMain = useCrudSchemas(reactive([ // } // }, // }, - { - label: '发货单号', - field: 'asnNumber', - sort: 'custom', - table: { - width: 150 - }, - isForm: false, - }, + // { + // label: '发货单号', + // field: 'asnNumber', + // sort: 'custom', + // table: { + // width: 150 + // }, + // isForm: false, + // }, { label: '从仓库代码', field: 'fromWarehouseCode', @@ -151,6 +152,7 @@ export const InventorymoveRecordMain = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:5, }, { label: '到仓库代码', @@ -159,6 +161,7 @@ export const InventorymoveRecordMain = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:6, }, // { // label: '从库区类型范围', @@ -205,6 +208,7 @@ export const InventorymoveRecordMain = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:7, }, { label: '入库事务类型', @@ -213,6 +217,7 @@ export const InventorymoveRecordMain = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:8, }, { label: '业务类型', @@ -221,6 +226,7 @@ export const InventorymoveRecordMain = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:9, }, // { @@ -249,6 +255,7 @@ export const InventorymoveRecordMain = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:32, }, { label: '创建时间', @@ -278,6 +285,7 @@ export const InventorymoveRecordMain = useCrudSchemas(reactive([ defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] } }, + sortTableDefault:33, }, { label: '创建者', @@ -286,6 +294,7 @@ export const InventorymoveRecordMain = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:34, }, { label: '最后更新时间', @@ -425,11 +434,11 @@ export const InventorymoveRecordDetail = useCrudSchemas(reactive([ sort: 'custom', dictType: DICT_TYPE.RECEIVE_STATUS, dictClass: 'string', - sortTableDefault:998, isTable: true, table: { width: 150 }, + sortTableDefault:4, }, { label: '物料代码', @@ -438,6 +447,7 @@ export const InventorymoveRecordDetail = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:10, }, { label: '物料名称', @@ -446,6 +456,7 @@ export const InventorymoveRecordDetail = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:11, }, { label: '物料描述1', @@ -454,6 +465,7 @@ export const InventorymoveRecordDetail = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:12, }, { label: '物料描述2', @@ -462,6 +474,7 @@ export const InventorymoveRecordDetail = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:13, }, // { // label: '在途库库位', @@ -478,6 +491,7 @@ export const InventorymoveRecordDetail = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:14, }, { label: '到批次', @@ -486,6 +500,7 @@ export const InventorymoveRecordDetail = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:15, }, { label: '供应商代码', @@ -495,6 +510,7 @@ export const InventorymoveRecordDetail = useCrudSchemas(reactive([ table: { width: 150, }, + sortTableDefault:16, }, { label: '供应商名称', @@ -503,6 +519,7 @@ export const InventorymoveRecordDetail = useCrudSchemas(reactive([ table: { width: 180 }, + sortTableDefault:17, }, { label: '供应商批次', @@ -511,6 +528,7 @@ export const InventorymoveRecordDetail = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:18, }, { label: '从包装号', @@ -519,6 +537,7 @@ export const InventorymoveRecordDetail = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:19, }, { label: '到包装号', @@ -527,6 +546,7 @@ export const InventorymoveRecordDetail = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:20, }, // { // label: '从器具号', @@ -553,7 +573,8 @@ export const InventorymoveRecordDetail = useCrudSchemas(reactive([ }, form: { component: 'InputNumber', - } + }, + sortTableDefault:21, }, { label: '计量单位', @@ -565,6 +586,7 @@ export const InventorymoveRecordDetail = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:22, }, { label: '从库位代码', @@ -573,6 +595,7 @@ export const InventorymoveRecordDetail = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:23, }, { label: '到库位代码', @@ -581,6 +604,7 @@ export const InventorymoveRecordDetail = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:24, }, { label: '从库存状态', @@ -592,6 +616,7 @@ export const InventorymoveRecordDetail = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:25, }, { label: '到库存状态', @@ -603,6 +628,7 @@ export const InventorymoveRecordDetail = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:26, }, { label: '从库位组代码', @@ -611,6 +637,7 @@ export const InventorymoveRecordDetail = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:27, }, { label: '到库位组代码', @@ -619,6 +646,7 @@ export const InventorymoveRecordDetail = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:28, }, { label: '从库区代码', @@ -627,6 +655,7 @@ export const InventorymoveRecordDetail = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:29, }, { label: '到库区代码', @@ -635,6 +664,7 @@ export const InventorymoveRecordDetail = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:30, }, // { // label: '项目代码', @@ -670,6 +700,7 @@ export const InventorymoveRecordDetail = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:31, }, // { // label: '备注', diff --git a/src/views/wms/moveManage/inventorymove/inventorymoveRequestMainOKHOLD/inventorymoveRequestMain.data.ts b/src/views/wms/moveManage/inventorymove/inventorymoveRequestMainOKHOLD/inventorymoveRequestMain.data.ts index a2998e593..141272a26 100644 --- a/src/views/wms/moveManage/inventorymove/inventorymoveRequestMainOKHOLD/inventorymoveRequestMain.data.ts +++ b/src/views/wms/moveManage/inventorymove/inventorymoveRequestMainOKHOLD/inventorymoveRequestMain.data.ts @@ -50,6 +50,7 @@ export const InventorymoveRequestMain = useCrudSchemas(reactive([ }, isForm: false, isSearch: true, + sortTableDefault:1, }, { label: '状态', @@ -68,7 +69,8 @@ export const InventorymoveRequestMain = useCrudSchemas(reactive([ componentProps: { disabled: true } - } + }, + sortTableDefault:2, }, { label: '从仓库代码', @@ -113,7 +115,8 @@ export const InventorymoveRequestMain = useCrudSchemas(reactive([ isFormModel: true, }], // 失去焦点校验参数 } - } + }, + sortTableDefault:3, }, { label: '到仓库代码', @@ -126,15 +129,15 @@ export const InventorymoveRequestMain = useCrudSchemas(reactive([ isTableForm:false, isForm: false, }, - { - label: '发货单号', - field: 'asnNumber', - sort: 'custom', - table: { - width: 150 - }, - isForm: false, - }, + // { + // label: '发货单号', + // field: 'asnNumber', + // sort: 'custom', + // table: { + // width: 150 + // }, + // isForm: false, + // }, { label: '申请时间', field: 'requestTime', @@ -558,28 +561,28 @@ export const BalanceShow = useCrudSchemas( }, isSearch: false }, - { - label: '供应商代码', - field: 'supplierCode', - sort: 'custom', - isSearch: false, - table: { - width: 150, - }, - }, - { - label: '供应商名称', - field: 'supplierName', - isForm:true, - form:{ - componentProps:{ - disabled: true - } - }, - table: { - width: 180 - } - }, + // { + // label: '供应商代码', + // field: 'supplierCode', + // sort: 'custom', + // isSearch: false, + // table: { + // width: 150, + // }, + // }, + // { + // label: '供应商名称', + // field: 'supplierName', + // isForm:true, + // form:{ + // componentProps:{ + // disabled: true + // } + // }, + // table: { + // width: 180 + // } + // }, { label: '库存数量', field: 'qty', @@ -1072,6 +1075,67 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive( componentProps: { disabled: true } + }, + sortTableDefault:4, + }, + + { + label: '数量', + field: 'qty', + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'InputNumber', + componentProps: { + disabled:false, + min: 0, + precision: 6 + } + }, + tableForm: { + disabled:false, + type: 'InputNumber', + min: 0, + precision: 6 + }, + sortTableDefault:13, + }, + { + label: '计量单位', + field: 'uom', + dictType: DICT_TYPE.UOM, + dictClass: 'string', + isTable: true, + sort: 'custom', + table: { + width: 150 + }, + tableForm: { + type: 'Select', + disabled: true + }, + form: { + componentProps: { + disabled: true + } + }, + sortTableDefault:14, + }, + { + label: '库存数量 ', + field: 'inventoryQty', + sort: 'custom', + isSearch: false, + isTable: false, + tableForm: { + disabled: true + }, + form:{ + componentProps:{ + disabled:true + } } }, { @@ -1083,6 +1147,7 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive( }, isTableForm: false, isForm: false, + sortTableDefault:5, }, { label: '物料描述1', @@ -1093,6 +1158,7 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive( }, isTableForm: false, isForm: false, + sortTableDefault:6, }, { label: '物料描述2', @@ -1103,6 +1169,7 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive( }, isTableForm: false, isForm: false, + sortTableDefault:7, }, { label: '从批次', @@ -1136,7 +1203,8 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive( searchAllSchemas: BalanceShow.allSchemas, searchPage: BalanceApi.selectLocationTypeToBalance, } - } + }, + sortTableDefault:8, }, { label: '到批次', @@ -1145,55 +1213,58 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive( table: { width: 150 }, - isTableForm: false, - isForm: false, - }, - { - label: '供应商代码', - field: 'supplierCode', - sort: 'custom', - isSearch: false, - isDetail: true, - table: { - width: 150, - }, - tableForm: { - // isInpuFocusShow: true, // 开启查询弹窗 - searchListPlaceholder: '请选择供应商', - searchField: 'code', - searchTitle: '供应商信息', - searchAllSchemas: Supplieritem.allSchemas, - searchPage: SupplierItemApi.getSupplieritemPage, - searchCondition: [{ - key: 'available', - value: 'TRUE', - isMainValue: false - },{ - key: 'itemCode', - value: 'itemCode', - message: '物料代码不能为空!', - isTableRowValue: true, //查询当前searchTable表中行数据的值 - isMainValue:false - }] - } - }, - { - label: '供应商名称', - field: 'supplierName', - isForm:true, - isDetail: true, - form:{ - componentProps:{ - disabled: true - } - }, - table: { - width: 180 - }, - tableForm: { - disabled: true - } + isTableForm: true, + isForm: true, + sortTableDefault:9, }, + // { + // label: '供应商代码', + // field: 'supplierCode', + // sort: 'custom', + // isSearch: false, + // isDetail: true, + // table: { + // width: 150, + // }, + // tableForm: { + // // isInpuFocusShow: true, // 开启查询弹窗 + // searchListPlaceholder: '请选择供应商', + // searchField: 'code', + // searchTitle: '供应商信息', + // searchAllSchemas: Supplieritem.allSchemas, + // searchPage: SupplierItemApi.getSupplieritemPage, + // searchCondition: [{ + // key: 'available', + // value: 'TRUE', + // isMainValue: false + // },{ + // key: 'itemCode', + // value: 'itemCode', + // message: '物料代码不能为空!', + // isTableRowValue: true, //查询当前searchTable表中行数据的值 + // isMainValue:false + // }] + // }, + // sortTableDefault:10, + // }, + // { + // label: '供应商名称', + // field: 'supplierName', + // isForm:true, + // isDetail: true, + // form:{ + // componentProps:{ + // disabled: true + // } + // }, + // table: { + // width: 180 + // }, + // tableForm: { + // disabled: true + // }, + // sortTableDefault:11, + // }, { label: '到包装号', field: 'toPackingNumber', @@ -1203,6 +1274,7 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive( }, isTableForm: false, isForm: false, + sortTableDefault:12, }, // { // label: '从器具号', @@ -1230,63 +1302,8 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive( // isTableForm: false, // isForm: false, // }, - { - label: '库存数量 ', - field: 'inventoryQty', - sort: 'custom', - isSearch: false, - isTable: false, - tableForm: { - disabled: true - }, - form:{ - componentProps:{ - disabled:true - } - } - }, - { - label: '数量', - field: 'qty', - sort: 'custom', - table: { - width: 150 - }, - form: { - component: 'InputNumber', - componentProps: { - disabled:false, - min: 0, - precision: 6 - } - }, - tableForm: { - disabled:false, - type: 'InputNumber', - min: 0, - precision: 6 - } - }, - { - label: '计量单位', - field: 'uom', - dictType: DICT_TYPE.UOM, - dictClass: 'string', - isTable: true, - sort: 'custom', - table: { - width: 150 - }, - tableForm: { - type: 'Select', - disabled: true - }, - form: { - componentProps: { - disabled: true - } - } - }, + + { label: '从库位代码', field: 'fromLocationCode', @@ -1301,75 +1318,77 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive( componentProps: { disabled: true } - } - }, - { - label: '到库位代码', - field: 'toLocationCode', - sort: 'custom', - table: { - width: 150 }, - isTableForm:false, //放在主表展示了--喜婷 - tableForm: { - enterSearch: true, - isInpuFocusShow: true, // 开启查询弹窗 - searchListPlaceholder: '请选择到库位代码', - searchField: 'code', - searchTitle: '库位信息', - searchAllSchemas: Location.allSchemas, - searchPage: LocationApi.selectBusinessTypeToLocation, - searchCondition: [ - { - key: 'type', - value: 'businessType', - isMainValue: true - },{ - key: 'isIn', - value: 'in', - isMainValue: false - }], - isRepeat:true, - verificationParams: [{ - key: 'code', - action: '==', - value: '', - isMainValue: false, - isSearch: true, - isFormModel: true, - }], // 失去焦点校验参数 - }, - form: { - // labelMessage: '信息提示说明!!!', - componentProps: { - enterSearch: true, - isSearchList: true, // 开启查询弹窗 - searchListPlaceholder: '请选择到库位代码', - searchField: 'code', - searchTitle: '库位信息', - searchAllSchemas: Location.allSchemas, - searchPage: LocationApi.selectBusinessTypeToLocation, - searchCondition: [ - { - key: 'type', - value: 'businessType', - isMainValue: true - },{ - key: 'isIn', - value: 'in', - isMainValue: false - }], - verificationParams: [{ - key: 'code', - action: '==', - value: '', - isMainValue: false, - isSearch: true, - isFormModel: true, - }], // 失去焦点校验参数 - } - } + sortTableDefault:15, }, + // { + // label: '到库位代码', + // field: 'toLocationCode', + // sort: 'custom', + // table: { + // width: 150 + // }, + // isTableForm:false, //放在主表展示了--喜婷 + // tableForm: { + // enterSearch: true, + // isInpuFocusShow: true, // 开启查询弹窗 + // searchListPlaceholder: '请选择到库位代码', + // searchField: 'code', + // searchTitle: '库位信息', + // searchAllSchemas: Location.allSchemas, + // searchPage: LocationApi.selectBusinessTypeToLocation, + // searchCondition: [ + // { + // key: 'type', + // value: 'businessType', + // isMainValue: true + // },{ + // key: 'isIn', + // value: 'in', + // isMainValue: false + // }], + // isRepeat:true, + // verificationParams: [{ + // key: 'code', + // action: '==', + // value: '', + // isMainValue: false, + // isSearch: true, + // isFormModel: true, + // }], // 失去焦点校验参数 + // }, + // form: { + // // labelMessage: '信息提示说明!!!', + // componentProps: { + // enterSearch: true, + // isSearchList: true, // 开启查询弹窗 + // searchListPlaceholder: '请选择到库位代码', + // searchField: 'code', + // searchTitle: '库位信息', + // searchAllSchemas: Location.allSchemas, + // searchPage: LocationApi.selectBusinessTypeToLocation, + // searchCondition: [ + // { + // key: 'type', + // value: 'businessType', + // isMainValue: true + // },{ + // key: 'isIn', + // value: 'in', + // isMainValue: false + // }], + // verificationParams: [{ + // key: 'code', + // action: '==', + // value: '', + // isMainValue: false, + // isSearch: true, + // isFormModel: true, + // }], // 失去焦点校验参数 + // } + // }, + // sortTableDefault:16, + // }, { label: '从库存状态', field: 'fromInventoryStatus', @@ -1388,7 +1407,8 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive( componentProps: { disabled: true } - } + }, + sortTableDefault:17, }, { label: '到库存状态', @@ -1408,7 +1428,8 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive( componentProps: { disabled: true } - } + }, + sortTableDefault:18, }, // { // label: '从货主代码', diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts index b2202fea1..0e616fd50 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts @@ -555,6 +555,11 @@ export const PurchaseDetail = useCrudSchemas(reactive([ table: { width: 150 }, + form: { + componentProps: { + disabled: true + } + }, isTableForm: false, isForm: false, isTable: true, @@ -565,6 +570,11 @@ export const PurchaseDetail = useCrudSchemas(reactive([ table: { width: 150 }, + form: { + componentProps: { + disabled: true + } + }, isTableForm: false, isForm: false, isTable: true, diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts index b4f19d402..03effbc2b 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts @@ -700,6 +700,11 @@ export const PurchasePlanDetail = useCrudSchemas( table: { width: 150 }, + form: { + componentProps: { + disabled: true + } + }, sortTableDefault: 7, isTableForm: true, isForm: true, @@ -711,6 +716,11 @@ export const PurchasePlanDetail = useCrudSchemas( table: { width: 150 }, + form: { + componentProps: { + disabled: true + } + }, isTableForm: true, isForm: true, isTable: true