Browse Source

备件领用修改

master_hella_20240701
zhaoxuebing 7 months ago
parent
commit
d8f0719ff7
  1. 7
      README.md
  2. 11
      src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionRequestMain/sparepartsrequisitionRequestMain.data.ts

7
README.md

@ -44,3 +44,10 @@ tableForm:{
isMainValue: false // 拼接条件必须要 false 同时不能与 isMainValue: true 同用 isMainValue: false // 拼接条件必须要 false 同时不能与 isMainValue: true 同用
}] }]
}, },
// 主子合并隐藏子
hiddenInMain:true
// 主子排序 不配置默认999,不要设置0(留给左侧固定列使用)
sortTableDefault:
// 查询条件排序
sortSearchDefault:

11
src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionRequestMain/sparepartsrequisitionRequestMain.data.ts

@ -95,7 +95,7 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
sortTableDafault:1001 sortTableDefault:1001
}, },
{ {
label: '从仓库代码', label: '从仓库代码',
@ -150,6 +150,7 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'departmentCode', field: 'departmentCode',
sort: 'custom', sort: 'custom',
isForm: false, isForm: false,
sortTableDefault:1002,
table: { table: {
width: 150 width: 150
}, },
@ -381,6 +382,7 @@ export const UnplannedissueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
table: { table: {
width: 180 width: 180
}, },
hiddenInMain:true,
isTableForm: false, isTableForm: false,
form: { form: {
componentProps: { componentProps: {
@ -463,6 +465,7 @@ export const UnplannedissueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
}, },
{ {
label: '器具号', label: '器具号',
hiddenInMain:true,
field: 'containerNumber', field: 'containerNumber',
sort: 'custom', sort: 'custom',
table: { table: {
@ -528,6 +531,7 @@ export const UnplannedissueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
{ {
label: '项目代码', label: '项目代码',
field: 'projectCode', field: 'projectCode',
hiddenInMain:true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -538,6 +542,7 @@ export const UnplannedissueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
{ {
label: '从货主代码', label: '从货主代码',
field: 'fromOwnerCode', field: 'fromOwnerCode',
hiddenInMain:true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -561,6 +566,7 @@ export const UnplannedissueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, },
sort: 'custom', sort: 'custom',
sortTableDefault:1003,
table: { table: {
width: 180 width: 180
}, },
@ -580,6 +586,7 @@ export const UnplannedissueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
label: '创建者', label: '创建者',
field: 'creator', field: 'creator',
sort: 'custom', sort: 'custom',
sortTableDefault:1004,
table: { table: {
width: 150 width: 150
}, },
@ -593,6 +600,7 @@ export const UnplannedissueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, },
hiddenInMain:true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 180 width: 180
@ -613,6 +621,7 @@ export const UnplannedissueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
label: '最后更新者', label: '最后更新者',
field: 'updater', field: 'updater',
sort: 'custom', sort: 'custom',
hiddenInMain:true,
table: { table: {
width: 150 width: 150
}, },

Loading…
Cancel
Save