Browse Source

备件领用修改

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

9
README.md

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

Loading…
Cancel
Save