Browse Source

wms列表展示增加、创建人、创建时间、更新人、更新时间

master_hella_20240701
滕晓飞 1 year ago
parent
commit
aba1f96226
  1. 12
      src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRecordMain/customerreceiptRecordMain.data.ts
  2. 6
      src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/customerreceiptRequestMain.data.ts
  3. 4
      src/views/wms/deliversettlementManage/customerreturn/customerreturnJobMain/customerreturnJobMain.data.ts
  4. 10
      src/views/wms/deliversettlementManage/customerreturn/customerreturnRecordMain/customerreturnRecordMain.data.ts
  5. 12
      src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts
  6. 7
      src/views/wms/deliversettlementManage/customersettle/customersettleRecordMain/customersettleRecordMain.data.ts
  7. 4
      src/views/wms/deliversettlementManage/customersettle/customersettleRequestMain/customersettleRequestMain.data.ts
  8. 8
      src/views/wms/deliversettlementManage/deliver/deliverJobMain/deliverJobMain.data.ts
  9. 6
      src/views/wms/deliversettlementManage/deliver/deliverRecordMain/deliverRecordMain.data.ts
  10. 10
      src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts
  11. 16
      src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts
  12. 6
      src/views/wms/deliversettlementManage/deliverplan/saleMain/saleMain.data.ts
  13. 16
      src/views/wms/deliversettlementManage/saleShipmentMainRecord/saleShipmentMainRecord.data.ts
  14. 14
      src/views/wms/deliversettlementManage/saleShipmentMainRequest/saleShipmentMain.data.ts
  15. 59
      src/views/wms/deliversettlementManage/stockup/stockupMainJob/stockupMainJob.data.ts
  16. 33
      src/views/wms/deliversettlementManage/stockup/stockupMainRecord/stockupMainRecord.data.ts
  17. 20
      src/views/wms/deliversettlementManage/stockup/stockupMainRequest/stockupMainRequest.data.ts
  18. 36
      src/views/wms/inventoryManage/package/package.data.ts
  19. 19
      src/views/wms/inventoryjobManage/containermanage/containerRecordMain/containerRecordMain.data.ts
  20. 15
      src/views/wms/inventoryjobManage/containermanage/scrapContainerMainRequest/scrapContainerMainRequest.data.ts
  21. 40
      src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRecordMain/inventoryinitRecordMain.data.ts
  22. 16
      src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/inventoryinitRequestMain.data.ts
  23. 4
      src/views/wms/inventoryjobManage/scrap/scrapJobMain/scrapJobMain.data.ts
  24. 4
      src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts
  25. 2
      src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts
  26. 2
      src/views/wms/inventoryjobManage/transferissue/transferissueRecordMain/transferissueRecordMain.data.ts
  27. 8
      src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/transferissueRequestMain.data.ts
  28. 36
      src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRecordMain/transferreceiptRecordMain.data.ts
  29. 6
      src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/transferreceiptRequestMain.data.ts
  30. 4
      src/views/wms/moveManage/inventorychange/inventorychangeRecordMain/inventorychangeRecordMain.data.ts
  31. 18
      src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/inventorychangeRequestMain.data.ts
  32. 120
      src/views/wms/moveManage/inventorymove/inventorymoveJobMain/inventorymoveJobMain.data.ts
  33. 149
      src/views/wms/moveManage/inventorymove/inventorymoveRecordMain/inventorymoveRecordMain.data.ts
  34. 134
      src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/inventorymoveRequestMain.data.ts
  35. 56
      src/views/wms/productionManage/processproduction/processproductionRecord/processproductionRecordMain.data.ts
  36. 71
      src/views/wms/productionManage/processproduction/processproductionRequest/processproductionRequestMain.data.ts
  37. 44
      src/views/wms/productionManage/productputaway/productputawayJobMain/productputawayJobMain.data.ts
  38. 37
      src/views/wms/productionManage/productputaway/productputawayRecordMain/productputawayRecordMain.data.ts
  39. 28
      src/views/wms/productionManage/productputawayAssemble/productputawayAssembleJobMain/productputawayAssembleJobMain.data.ts
  40. 43
      src/views/wms/productionManage/productputawayAssemble/productputawayAssembleRecordMain/productputawayAssembleRecordMain.data.ts
  41. 18
      src/views/wms/productionManage/productputawayAssemble/productputawayAssembleRequestMain/productputawayAssembleRequestMain.data.ts

12
src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRecordMain/customerreceiptRecordMain.data.ts

@ -308,7 +308,7 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false, isTable: true,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -325,7 +325,7 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false isTable: true
}, },
// { // {
// label: '代码', // label: '代码',
@ -543,7 +543,7 @@ export const CustomerreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
width: 150 width: 150
}, },
}, },
{ {
label: '从批次', label: '从批次',
field: 'fromBatch', field: 'fromBatch',
@ -563,7 +563,7 @@ export const CustomerreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
isTable: false, isTable: false,
}, },
{ {
label: '从包装号', label: '从包装号',
field: 'fromPackingNumber', field: 'fromPackingNumber',
@ -603,8 +603,8 @@ export const CustomerreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
}, },
isTable: false, isTable: false,
}, },
{ {
label: '库存状态', label: '库存状态',
field: 'inventoryStatus', field: 'inventoryStatus',

6
src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/customerreceiptRequestMain.data.ts

@ -365,7 +365,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
valueFormat: 'x', valueFormat: 'x',
} }
}, },
isTable: false, isTable: true,
isForm: false isForm: false
}, },
{ {
@ -383,7 +383,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
valueFormat: 'x', valueFormat: 'x',
} }
}, },
isTable: false, isTable: true,
isForm: false isForm: false
}, },
{ {
@ -775,4 +775,4 @@ export const CustomerreceiptRequestDetailRules = reactive({
itemCode: [ itemCode: [
{ required: true, message: '请选择物料代码', trigger: 'change' } { required: true, message: '请选择物料代码', trigger: 'change' }
], ],
}) })

4
src/views/wms/deliversettlementManage/customerreturn/customerreturnJobMain/customerreturnJobMain.data.ts

@ -563,7 +563,7 @@ export const CustomerreturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false, isTable: true,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -580,7 +580,7 @@ export const CustomerreturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false, isTable: true,
}, },
{ {
label: '最后更新时间', label: '最后更新时间',

10
src/views/wms/deliversettlementManage/customerreturn/customerreturnRecordMain/customerreturnRecordMain.data.ts

@ -328,7 +328,7 @@ export const CustomerreturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false, isTable: true,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -345,7 +345,7 @@ export const CustomerreturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false, isTable: true,
}, },
// { // {
// label: '代码', // label: '代码',
@ -588,7 +588,7 @@ export const CustomerreturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
}, },
isTable: false, isTable: false,
}, },
{ {
label: '从包装号', label: '从包装号',
field: 'fromPackingNumber', field: 'fromPackingNumber',
@ -608,7 +608,7 @@ export const CustomerreturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
}, },
isTable: false, isTable: false,
}, },
{ {
label: '从器具号', label: '从器具号',
field: 'fromContainerNumber', field: 'fromContainerNumber',
@ -627,7 +627,7 @@ export const CustomerreturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
}, },
isTable: false, isTable: false,
}, },
{ {
label: '从库位代码', label: '从库位代码',
field: 'fromLocationCode', field: 'fromLocationCode',

12
src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts

@ -148,7 +148,7 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
} }
} }
}, },
{ {
label: '发货计划单号', label: '发货计划单号',
field: 'deliverPlanNumber', field: 'deliverPlanNumber',
@ -505,7 +505,7 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable:false, isTable:true,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -524,7 +524,7 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable:false, isTable:true,
isForm: false isForm: false
}, },
{ {
@ -779,7 +779,7 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
searchPage: CustomerreturnRequestApi.pageItemCodeToBalance, searchPage: CustomerreturnRequestApi.pageItemCodeToBalance,
searchCondition: [{ searchCondition: [{
key:'customerCode', // 查询列表中字段 key:'customerCode', // 查询列表中字段
value:'customerCode', // 指主表某字段 value:'customerCode', // 指主表某字段
message: '请选择客户代码!', // 当前置条件为空时 弹出信息提示 message: '请选择客户代码!', // 当前置条件为空时 弹出信息提示
isMainValue: true // 表示查询条件是主表的字段的值 isMainValue: true // 表示查询条件是主表的字段的值
} }
@ -796,7 +796,7 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
searchPage: CustomerreturnRequestApi.pageItemCodeToBalance, searchPage: CustomerreturnRequestApi.pageItemCodeToBalance,
searchCondition: [{ searchCondition: [{
key:'customerCode', // 查询列表中字段 key:'customerCode', // 查询列表中字段
value:'customerCode', // 指主表某字段 value:'customerCode', // 指主表某字段
message: '请选择客户代码!', // 当前置条件为空时 弹出信息提示 message: '请选择客户代码!', // 当前置条件为空时 弹出信息提示
isMainValue: true // 表示查询条件是主表的字段的值 isMainValue: true // 表示查询条件是主表的字段的值
} }
@ -1363,4 +1363,4 @@ export const CustomerReturnRequestDetailLabel = useCrudSchemas(reactive<CrudSche
isTableForm: true, isTableForm: true,
isForm: true isForm: true
}, },
])) ]))

7
src/views/wms/deliversettlementManage/customersettle/customersettleRecordMain/customersettleRecordMain.data.ts

@ -542,6 +542,7 @@ export const CustomersettleRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
valueFormat: 'x', valueFormat: 'x',
} }
}, },
isTable: false,
}, },
{ {
label: '创建者', label: '创建者',
@ -550,11 +551,13 @@ export const CustomersettleRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '最后更新时间', label: '最后更新时间',
field: 'updateTime', field: 'updateTime',
formatter: dateFormatter, formatter: dateFormatter,
isTable: false,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, },
@ -570,11 +573,13 @@ export const CustomersettleRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
valueFormat: 'x', valueFormat: 'x',
} }
}, },
isTable: false
}, },
{ {
label: '最后更新者', label: '最后更新者',
field: 'updater', field: 'updater',
sort: 'custom', sort: 'custom',
isTable: false,
table: { table: {
width: 150 width: 150
}, },
@ -616,4 +621,4 @@ export const CustomersettleRecordDetailRules = reactive({
creator: [ creator: [
{ required: true, message: '请输入创建者', trigger: 'blur' } { required: true, message: '请输入创建者', trigger: 'blur' }
], ],
}) })

4
src/views/wms/deliversettlementManage/customersettle/customersettleRequestMain/customersettleRequestMain.data.ts

@ -301,6 +301,7 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
isForm: false, isForm: false,
isTable: false,
}, },
{ {
label: '创建者', label: '创建者',
@ -310,6 +311,7 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
isForm: false, isForm: false,
isTable: false,
}, },
{ {
label: '申请时间', label: '申请时间',
@ -354,6 +356,7 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
isForm: false, isForm: false,
isTable: false,
}, },
{ {
label: '最后更新者', label: '最后更新者',
@ -363,6 +366,7 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
isForm: false, isForm: false,
isTable: false,
}, },
{ {
label: '操作', label: '操作',

8
src/views/wms/deliversettlementManage/deliver/deliverJobMain/deliverJobMain.data.ts

@ -80,7 +80,7 @@ export const DeliverJobMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isTable: false, isTable: false,
}, },
{ {
label: '客户月台代码', label: '客户月台代码',
field: 'customerDockCode', field: 'customerDockCode',
@ -90,7 +90,7 @@ export const DeliverJobMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isTable: false, isTable: false,
}, },
{ {
label: '承运商', label: '承运商',
field: 'carrierCode', field: 'carrierCode',
@ -569,7 +569,7 @@ export const DeliverJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false, isTable: true,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -586,7 +586,7 @@ export const DeliverJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false, isTable: true,
}, },
{ {
label: '最后更新时间', label: '最后更新时间',

6
src/views/wms/deliversettlementManage/deliver/deliverRecordMain/deliverRecordMain.data.ts

@ -334,7 +334,7 @@ export const DeliverRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false, isTable: true,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -351,7 +351,7 @@ export const DeliverRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false, isTable: true,
}, },
// { // {
// label: '代码', // label: '代码',
@ -805,4 +805,4 @@ export const DeliverRecordDetailRules = reactive({
creator: [ creator: [
{ required: true, message: '请输入创建者', trigger: 'blur' } { required: true, message: '请输入创建者', trigger: 'blur' }
], ],
}) })

10
src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts

@ -112,7 +112,7 @@ export const DeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '客户月台信息', // 查询弹窗标题 searchTitle: '客户月台信息', // 查询弹窗标题
searchAllSchemas: Customerdock.allSchemas, // 查询弹窗所需类 searchAllSchemas: Customerdock.allSchemas, // 查询弹窗所需类
searchPage: CustomerdockApi.getCustomerdockPage, // 查询弹窗所需分页方法 searchPage: CustomerdockApi.getCustomerdockPage, // 查询弹窗所需分页方法
searchCondition: [{ searchCondition: [{
key: 'available', key: 'available',
value: 'TRUE', value: 'TRUE',
@ -524,7 +524,7 @@ export const DeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false, isTable: true,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -543,7 +543,7 @@ export const DeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false, isTable: true,
isForm: false, isForm: false,
}, },
{ {
@ -865,7 +865,7 @@ export const DeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
isForm: false, isForm: false,
isTableForm: false isTableForm: false
}, },
{ {
label: '批次', label: '批次',
field: 'batch', field: 'batch',
@ -1054,4 +1054,4 @@ export const DeliverRequestDetailRules = reactive({
toLocationCode: [ toLocationCode: [
{ required: true, message: '请选择到库位代码', trigger: 'change' } { required: true, message: '请选择到库位代码', trigger: 'change' }
], ],
}) })

16
src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts

@ -214,7 +214,7 @@ export const DeliverPlanMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isTable: false, isTable: false,
}, },
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',
@ -226,7 +226,7 @@ export const DeliverPlanMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false, isTable: true,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -244,7 +244,7 @@ export const DeliverPlanMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false, isTable: true,
isForm: false, isForm: false,
}, },
{ {
@ -641,7 +641,7 @@ export const DeliverPlanDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
tableForm: { tableForm: {
disabled: true, disabled: true,
type: 'Select' type: 'Select'
}, },
form: { form: {
componentProps: { componentProps: {
@ -730,8 +730,8 @@ export const DeliverPlanDetail = useCrudSchemas(reactive<CrudSchema[]>([
} }
} }
}, },
{ {
label: '备注', label: '备注',
field: 'remark', field: 'remark',
@ -867,8 +867,8 @@ export const DeliverPlanDetailRules = reactive({
planQty: [ planQty: [
{ required: true, message: '请输入计划数量', trigger: 'blur' } { required: true, message: '请输入计划数量', trigger: 'blur' }
], ],
remark: [ remark: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } { max: 50, message: '不得超过50个字符', trigger: 'blur' }
], ],
}) })

6
src/views/wms/deliversettlementManage/deliverplan/saleMain/saleMain.data.ts

@ -214,6 +214,7 @@ export const SaleMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
isForm: false, isForm: false,
isTable: false
}, },
{ {
label: '最后更新时间', label: '最后更新时间',
@ -235,6 +236,7 @@ export const SaleMain = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
isForm: false, isForm: false,
isTable: false
}, },
{ {
label: '当前阶段', label: '当前阶段',
@ -778,7 +780,7 @@ export const SaleDetailRules = reactive({
itemCode: [ itemCode: [
{ required: true, message: '请选择物料代码', trigger: 'change' } { required: true, message: '请选择物料代码', trigger: 'change' }
], ],
remark: [ remark: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } { max: 50, message: '不得超过50个字符', trigger: 'blur' }
], ],
@ -910,4 +912,4 @@ export const SaleDetailAndMain = useCrudSchemas(reactive<CrudSchema[]>([
precision: 6 precision: 6
} }
}, },
])) ]))

16
src/views/wms/deliversettlementManage/saleShipmentMainRecord/saleShipmentMainRecord.data.ts

@ -95,7 +95,7 @@ export const SaleShipmentMainRecord = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom', sort: 'custom',
isTable:false isTable:false
}, },
{ {
label: '业务类型', label: '业务类型',
field: 'businessType', field: 'businessType',
@ -107,6 +107,9 @@ export const SaleShipmentMainRecord = useCrudSchemas(reactive<CrudSchema[]>([
field: 'createTime', field: 'createTime',
sort: 'custom', sort: 'custom',
formatter: dateFormatter, formatter: dateFormatter,
table: {
width: 180
},
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, },
@ -119,7 +122,16 @@ export const SaleShipmentMainRecord = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
isForm: false, isForm: false,
isTable:false isTable:true
},
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false,
isTable: true
}, },
{ {
label: '地点ID', label: '地点ID',

14
src/views/wms/deliversettlementManage/saleShipmentMainRequest/saleShipmentMain.data.ts

@ -222,6 +222,9 @@ export const SaleShipmentMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'createTime', field: 'createTime',
sort: 'custom', sort: 'custom',
formatter: dateFormatter, formatter: dateFormatter,
table: {
width: 180
},
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, },
@ -235,7 +238,16 @@ export const SaleShipmentMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isForm: false, isForm: false,
isTableForm: false, isTableForm: false,
isTable: false isTable: true
},
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false,
isTable: true
}, },
{ {
label: '操作', label: '操作',

59
src/views/wms/deliversettlementManage/stockup/stockupMainJob/stockupMainJob.data.ts

@ -76,6 +76,9 @@ export const StockupMainJob = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
isTable: false, isTable: false,
search: { search: {
component: 'DatePicker', component: 'DatePicker',
@ -101,6 +104,9 @@ export const StockupMainJob = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
isTable: false, isTable: false,
search: { search: {
component: 'DatePicker', component: 'DatePicker',
@ -118,7 +124,7 @@ export const StockupMainJob = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
}, },
{ {
label: '过期时间', label: '过期时间',
field: 'expiredTime', field: 'expiredTime',
@ -127,6 +133,9 @@ export const StockupMainJob = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
isTable: false, isTable: false,
search: { search: {
component: 'DatePicker', component: 'DatePicker',
@ -164,6 +173,9 @@ export const StockupMainJob = useCrudSchemas(reactive<CrudSchema[]>([
field: 'acceptTime', field: 'acceptTime',
sort: 'custom', sort: 'custom',
formatter: dateFormatter, formatter: dateFormatter,
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
table: { table: {
width: 180 width: 180
}, },
@ -202,6 +214,9 @@ export const StockupMainJob = useCrudSchemas(reactive<CrudSchema[]>([
width: 180 width: 180
}, },
isTable: false, isTable: false,
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
search: { search: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -389,24 +404,18 @@ export const StockupMainJob = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isTable: false, isTable: false,
}, },
{
label: '创建者',
field: 'creator',
sort: 'custom',
table: {
width: 120
},
isTable: false,
},
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',
sort: 'custom', sort: 'custom',
formatter: dateFormatter, formatter: dateFormatter,
table: { table: {
width: 180 width: 120
}, },
isTable: false, detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
hiddenInMain: true,
search: { search: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -415,7 +424,16 @@ export const StockupMainJob = useCrudSchemas(reactive<CrudSchema[]>([
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
} }
}, },
isTableForm: false,
},
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false, isForm: false,
isTable: true
}, },
{ {
label: '操作', label: '操作',
@ -440,7 +458,7 @@ export const StockupDetailJob = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true hiddenInMain:true
}, },
{ {
label: '包装号', label: '包装号',
@ -449,7 +467,7 @@ export const StockupDetailJob = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true hiddenInMain:true
}, },
{ {
label: '批次', label: '批次',
@ -458,7 +476,7 @@ export const StockupDetailJob = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true hiddenInMain:true
}, },
{ {
label: '库存状态', label: '库存状态',
@ -490,7 +508,7 @@ export const StockupDetailJob = useCrudSchemas(reactive<CrudSchema[]>([
}, },
hiddenInMain:true, hiddenInMain:true,
}, },
{ {
label: '物料代码', label: '物料代码',
field: 'itemCode', field: 'itemCode',
@ -600,6 +618,15 @@ export const StockupDetailJob = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isForm: false, isForm: false,
}, },
{
label: '创建者',
field: 'creator',
sort: 'custom',
table: {
width: 120
},
isTable: false,
},
{ {
label: '操作', label: '操作',
field: 'action', field: 'action',

33
src/views/wms/deliversettlementManage/stockup/stockupMainRecord/stockupMainRecord.data.ts

@ -183,6 +183,9 @@ export const StockupMainRecord = useCrudSchemas(reactive<CrudSchema[]>([
width: 180 width: 180
}, },
isTable: false, isTable: false,
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -197,6 +200,9 @@ export const StockupMainRecord = useCrudSchemas(reactive<CrudSchema[]>([
field: 'dueTime', field: 'dueTime',
sort: 'custom', sort: 'custom',
formatter: dateFormatter, formatter: dateFormatter,
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
search: { search: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -220,21 +226,32 @@ export const StockupMainRecord = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',
sort: 'custom', isForm: false,
table: {
width: 180
},
formatter: dateFormatter, formatter: dateFormatter,
search: { detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
valueFormat: 'YYYY-MM-DD HH:mm:ss', style: {width:'100%'},
type: 'daterange', type: 'datetime',
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
} }
}, }
},
{
label: '创建者',
field: 'creator',
table: { table: {
width: 180 width: 130
}, },
isTable: false,
isForm: false, isForm: false,
isTable: true
}, },
{ {
label: '部门', label: '部门',

20
src/views/wms/deliversettlementManage/stockup/stockupMainRequest/stockupMainRequest.data.ts

@ -176,12 +176,21 @@ export const StockupMainRequest = useCrudSchemas(reactive<CrudSchema[]>([
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
} }
}, },
isTable: false, isTable: true,
table: { table: {
width: 180 width: 180
}, },
isForm: false, isForm: false,
}, },
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false,
isTable: true
},
{ {
label: '发货日期', label: '发货日期',
field: 'deliverDate', field: 'deliverDate',
@ -773,6 +782,15 @@ export const StockupDetailRequest = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isTableForm: false, isTableForm: false,
}, },
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false,
isTable: true
},
{ {
label: '操作', label: '操作',
field: 'action', field: 'action',

36
src/views/wms/inventoryManage/package/package.data.ts

@ -90,6 +90,9 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
field: 'produceDate', field: 'produceDate',
sort: 'custom', sort: 'custom',
formatter: dateFormatter2, formatter: dateFormatter2,
detail: {
dateFormat : 'YYYY-MM-DD'
},
search: { search: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -132,6 +135,9 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
field: 'expireDate', field: 'expireDate',
sort: 'custom', sort: 'custom',
formatter: dateFormatter2, formatter: dateFormatter2,
detail: {
dateFormat : 'YYYY-MM-DD'
},
search: { search: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -417,6 +423,36 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
width: 150, width: 150,
}, },
}, },
{
label: '创建时间',
field: 'createTime',
isForm: false,
table: {
width: 180
},
formatter: dateFormatter,
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false,
isTable: true
},
{ {
label: '操作', label: '操作',
field: 'action', field: 'action',

19
src/views/wms/inventoryjobManage/containermanage/containerRecordMain/containerRecordMain.data.ts

@ -120,6 +120,12 @@ export const ContainerRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'createTime', field: 'createTime',
sort: 'custom', sort: 'custom',
formatter: dateFormatter, formatter: dateFormatter,
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
search: { search: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -128,9 +134,18 @@ export const ContainerRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
} }
}, },
isTable: false, isTable: true,
isForm: false, isForm: false,
}, },
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false,
isTable: true
},
{ {
label: '操作', label: '操作',
field: 'action', field: 'action',
@ -280,4 +295,4 @@ export const ContainerRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
fixed: 'right' fixed: 'right'
} }
} }
])) ]))

15
src/views/wms/inventoryjobManage/containermanage/scrapContainerMainRequest/scrapContainerMainRequest.data.ts

@ -212,6 +212,12 @@ export const ContainerMainRequest = useCrudSchemas(reactive<CrudSchema[]>([
field: 'createTime', field: 'createTime',
sort: 'custom', sort: 'custom',
formatter: dateFormatter, formatter: dateFormatter,
table: {
width: 180
},
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
search: { search: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -223,6 +229,15 @@ export const ContainerMainRequest = useCrudSchemas(reactive<CrudSchema[]>([
isTable: false, isTable: false,
isForm: false, isForm: false,
}, },
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false,
isTable: true
},
{ {
label: '扩展属性', label: '扩展属性',
field: 'extraProperties', field: 'extraProperties',

40
src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRecordMain/inventoryinitRecordMain.data.ts

@ -198,6 +198,42 @@ export const InventoryinitRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
} }
} }
}, },
{
label: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
table: {
width: 150
}
},
// { // {
// label: '代码', // label: '代码',
// field: 'code', // field: 'code',
@ -585,6 +621,7 @@ export const InventoryinitRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
valueFormat: 'x', valueFormat: 'x',
} }
}, },
isTable: false
}, },
{ {
label: '最后更新者', label: '最后更新者',
@ -593,6 +630,7 @@ export const InventoryinitRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false
}, },
])) ]))
@ -643,4 +681,4 @@ export const InventoryinitRecordDetailRules = reactive({
creator: [ creator: [
{ required: true, message: '请输入创建者', trigger: 'blur' } { required: true, message: '请输入创建者', trigger: 'blur' }
], ],
}) })

16
src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/inventoryinitRequestMain.data.ts

@ -286,6 +286,7 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
isForm: false, isForm: false,
isTable: false,
}, },
{ {
label: '创建者', label: '创建者',
@ -295,6 +296,7 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
isForm: false, isForm: false,
isTable: false,
}, },
{ {
label: '最后更新时间', label: '最后更新时间',
@ -317,6 +319,7 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
isForm: false, isForm: false,
isTable: false,
}, },
{ {
label: '最后更新者', label: '最后更新者',
@ -326,6 +329,7 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
isForm: false, isForm: false,
isTable: false,
}, },
{ {
label: '操作', label: '操作',
@ -794,7 +798,7 @@ export const InventoryinitRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
key: 'itemCode', key: 'itemCode',
value: 'itemCode', value: 'itemCode',
message: '请选择订单行', message: '请选择订单行',
isTableRowValue: true, isTableRowValue: true,
isMainValue:false isMainValue:false
}, },
{ {
@ -862,7 +866,7 @@ export const InventoryinitRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
key: 'itemCode', key: 'itemCode',
value: 'itemCode', value: 'itemCode',
message: '请选择订单行', message: '请选择订单行',
isTableRowValue: true, isTableRowValue: true,
isMainValue:false isMainValue:false
}, },
{ {
@ -1016,7 +1020,8 @@ export const InventoryinitRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
} }
}, },
isTableForm: false, isTableForm: false,
isForm: false isForm: false,
isTable: false,
}, },
{ {
label: '最后更新者', label: '最后更新者',
@ -1026,7 +1031,8 @@ export const InventoryinitRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
width: 150 width: 150
}, },
isTableForm: false, isTableForm: false,
isForm: false isForm: false,
isTable: false,
}, },
{ {
label: '操作', label: '操作',
@ -1072,7 +1078,7 @@ export const InventoryinitRequestDetailRules = reactive({
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物料代码', trigger: 'change' } { required: true, message: '请选择物料代码', trigger: 'change' }
], ],
remark: [ remark: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } { max: 50, message: '不得超过50个字符', trigger: 'blur' }
], ],

4
src/views/wms/inventoryjobManage/scrap/scrapJobMain/scrapJobMain.data.ts

@ -474,6 +474,7 @@ export const ScrapJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -490,6 +491,7 @@ export const ScrapJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '操作', label: '操作',
@ -728,6 +730,7 @@ export const ScrapJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
valueFormat: 'x', valueFormat: 'x',
} }
}, },
isTable: false,
}, },
{ {
label: '创建者', label: '创建者',
@ -736,6 +739,7 @@ export const ScrapJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
])) ]))

4
src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts

@ -204,6 +204,7 @@ export const ScrapRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -217,6 +218,7 @@ export const ScrapRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '创建者', label: '创建者',
field: 'creator', field: 'creator',
sort: 'custom', sort: 'custom',
isTable: false,
table: { table: {
width: 150 width: 150
}, },
@ -577,4 +579,4 @@ export const ScrapRecordDetailRules = reactive({
creator: [ creator: [
{ required: true, message: '请输入创建者', trigger: 'blur' } { required: true, message: '请输入创建者', trigger: 'blur' }
], ],
}) })

2
src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts

@ -756,6 +756,7 @@ export const ScrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -775,6 +776,7 @@ export const ScrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
isTableForm: false, isTableForm: false,
isForm: false isForm: false
}, },

2
src/views/wms/inventoryjobManage/transferissue/transferissueRecordMain/transferissueRecordMain.data.ts

@ -696,4 +696,4 @@ export const TransferissueRecordDetailRules = reactive({
creator: [ creator: [
{ required: true, message: '请输入创建者', trigger: 'blur' } { required: true, message: '请输入创建者', trigger: 'blur' }
], ],
}) })

8
src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/transferissueRequestMain.data.ts

@ -610,7 +610,7 @@ export const TransferissueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
disabled: true disabled: true
} }
}, },
{ {
label: '包装号', label: '包装号',
field: 'packingNumber', field: 'packingNumber',
@ -889,7 +889,8 @@ export const TransferissueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
} }
}, },
isTableForm: false, isTableForm: false,
isForm: false isForm: false,
isTable: false
}, },
{ {
label: '最后更新者', label: '最后更新者',
@ -899,7 +900,8 @@ export const TransferissueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
width: 150 width: 150
}, },
isTableForm: false, isTableForm: false,
isForm: false isForm: false,
isTable: false
}, },
{ {
label: '操作', label: '操作',

36
src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRecordMain/transferreceiptRecordMain.data.ts

@ -295,6 +295,40 @@ export const TransferreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
}, },
{
label: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
table: {
width: 150
}
},
{ {
label: '是否可用', label: '是否可用',
field: 'available', field: 'available',
@ -696,4 +730,4 @@ export const TransferreceiptRecordDetailRules = reactive({
creator: [ creator: [
{ required: true, message: '请输入创建者', trigger: 'blur' } { required: true, message: '请输入创建者', trigger: 'blur' }
], ],
}) })

6
src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/transferreceiptRequestMain.data.ts

@ -666,7 +666,8 @@ export const TransferreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
} }
}, },
isTableForm: false, isTableForm: false,
isForm: false isForm: false,
isTable: false,
}, },
{ {
label: '最后更新者', label: '最后更新者',
@ -676,7 +677,8 @@ export const TransferreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
width: 150 width: 150
}, },
isTableForm: false, isTableForm: false,
isForm: false isForm: false,
isTable: false
}, },
{ {
label: '操作', label: '操作',

4
src/views/wms/moveManage/inventorychange/inventorychangeRecordMain/inventorychangeRecordMain.data.ts

@ -183,6 +183,7 @@ export const InventorychangeRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
valueFormat: 'x', valueFormat: 'x',
} }
}, },
isTable: false
}, },
{ {
label: '创建者', label: '创建者',
@ -191,6 +192,7 @@ export const InventorychangeRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false
}, },
// { // {
// label: '代码', // label: '代码',
@ -727,4 +729,4 @@ export const InventorychangeRecordDetailRules = reactive({
creator: [ creator: [
{ required: true, message: '请输入创建者', trigger: 'blur' } { required: true, message: '请输入创建者', trigger: 'blur' }
], ],
}) })

18
src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/inventorychangeRequestMain.data.ts

@ -27,7 +27,7 @@ const businessTypeQueryParams = {
const businessTypeValue = await getBusinessTypeApi.getBusinesstypePage(businessTypeQueryParams) const businessTypeValue = await getBusinessTypeApi.getBusinesstypePage(businessTypeQueryParams)
const businessTypeData =businessTypeValue?.list[0]||{} const businessTypeData =businessTypeValue?.list[0]||{}
console.log(businessTypeValue); console.log(businessTypeValue);
// 获取当前操作人的部门 // 获取当前操作人的部门
import { useUserStore } from '@/store/modules/user' import { useUserStore } from '@/store/modules/user'
import { TableColumn } from '@/types/table' import { TableColumn } from '@/types/table'
@ -37,7 +37,7 @@ import { log } from 'console'
// id 转str 否则form回显匹配不到 // id 转str 否则form回显匹配不到
userDept.id = userDept.id.toString() userDept.id = userDept.id.toString()
const userDeptArray:any = [userDept] const userDeptArray:any = [userDept]
/** /**
* @returns {Array} * @returns {Array}
@ -272,6 +272,7 @@ export const InventorychangeRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
} }
}, },
isForm: false, isForm: false,
isTable: false,
}, },
{ {
label: '创建者', label: '创建者',
@ -281,6 +282,7 @@ export const InventorychangeRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
width: 150 width: 150
}, },
isForm: false, isForm: false,
isTable: false,
}, },
{ {
label: '最后更新时间', label: '最后更新时间',
@ -293,6 +295,7 @@ export const InventorychangeRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 180 width: 180
}, },
isTable: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -311,7 +314,8 @@ export const InventorychangeRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
isForm: false isForm: false,
isTable: false,
}, },
{ {
label: '操作', label: '操作',
@ -961,7 +965,8 @@ export const InventorychangeRequestDetail = useCrudSchemas(reactive<CrudSchema[]
} }
}, },
isTableForm: false, isTableForm: false,
isForm: false isForm: false,
isTable: false,
}, },
{ {
label: '最后更新者', label: '最后更新者',
@ -971,7 +976,8 @@ export const InventorychangeRequestDetail = useCrudSchemas(reactive<CrudSchema[]
width: 150 width: 150
}, },
isTableForm: false, isTableForm: false,
isForm: false isForm: false,
isTable: false,
}, },
{ {
label: '操作', label: '操作',
@ -998,4 +1004,4 @@ export const InventorychangeRequestDetailRules = reactive({
remark: [ remark: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } { max: 50, message: '不得超过50个字符', trigger: 'blur' }
], ],
}) })

120
src/views/wms/moveManage/inventorymove/inventorymoveJobMain/inventorymoveJobMain.data.ts

@ -474,66 +474,66 @@ export const InventorymoveJobMain = useCrudSchemas(reactive<CrudSchema[]>([
// }, // },
// isTable: false, // isTable: false,
// }, // },
// { {
// label: '创建时间', label: '创建时间',
// field: 'createTime', field: 'createTime',
// formatter: dateFormatter, formatter: dateFormatter,
// detail: { detail: {
// dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
// }, },
// sort: 'custom', sort: 'custom',
// table: { table: {
// width: 180 width: 180
// }, },
// isTable: false, isTable: true,
// form: { form: {
// component: 'DatePicker', component: 'DatePicker',
// componentProps: { componentProps: {
// type: 'datetime', type: 'datetime',
// dateFormat: 'YYYY-MM-DD HH:mm:ss', dateFormat: 'YYYY-MM-DD HH:mm:ss',
// valueFormat: 'x', valueFormat: 'x',
// } }
// }, },
// }, },
// { {
// label: '创建者', label: '创建者',
// field: 'creator', field: 'creator',
// sort: 'custom', sort: 'custom',
// table: { table: {
// width: 150 width: 150
// }, },
// isTable: false, isTable: true,
// }, },
// { {
// label: '最后更新时间', label: '最后更新时间',
// field: 'updateTime', field: 'updateTime',
// formatter: dateFormatter, formatter: dateFormatter,
// detail: { detail: {
// dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
// }, },
// sort: 'custom', sort: 'custom',
// table: { table: {
// width: 180 width: 180
// }, },
// isTable: false, isTable: false,
// form: { form: {
// component: 'DatePicker', component: 'DatePicker',
// componentProps: { componentProps: {
// type: 'datetime', type: 'datetime',
// dateFormat: 'YYYY-MM-DD HH:mm:ss', dateFormat: 'YYYY-MM-DD HH:mm:ss',
// valueFormat: 'x', valueFormat: 'x',
// } }
// }, },
// }, },
// { {
// label: '最后更新者', label: '最后更新者',
// field: 'updater', field: 'updater',
// sort: 'custom', sort: 'custom',
// table: { table: {
// width: 150 width: 150
// }, },
// isTable: false, isTable: false,
// }, },
// { // {
// label: '状态', // label: '状态',
// field: 'jobStageStatus', // field: 'jobStageStatus',

149
src/views/wms/moveManage/inventorymove/inventorymoveRecordMain/inventorymoveRecordMain.data.ts

@ -211,6 +211,7 @@ export const InventorymoveRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
}, },
// { // {
// label: '部门', // label: '部门',
// field: 'departmentCode', // field: 'departmentCode',
@ -238,34 +239,68 @@ export const InventorymoveRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
// width: 150 // width: 150
// }, // },
// }, // },
// { {
// label: '创建时间', label: '创建时间',
// field: 'createTime', field: 'createTime',
// formatter: dateFormatter, formatter: dateFormatter,
// detail: { detail: {
// dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
// }, },
// sort: 'custom', sort: 'custom',
// table: { table: {
// width: 180 width: 180
// }, },
// form: { form: {
// component: 'DatePicker', component: 'DatePicker',
// componentProps: { componentProps: {
// type: 'datetime', type: 'datetime',
// dateFormat: 'YYYY-MM-DD HH:mm:ss', dateFormat: 'YYYY-MM-DD HH:mm:ss',
// valueFormat: 'x', valueFormat: 'x',
// } }
// }, },
// }, },
// { {
// label: '创建者', label: '创建者',
// field: 'creator', field: 'creator',
// sort: 'custom', sort: 'custom',
// table: { table: {
// width: 150 width: 150
// }, },
// }, },
{
label: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
table: {
width: 150
}
},
// { // {
// label: '代码', // label: '代码',
// field: 'code', // field: 'code',
@ -595,34 +630,34 @@ export const InventorymoveRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
// width: 150 // width: 150
// }, // },
// }, // },
{ // {
label: '创建时间', // label: '创建时间',
field: 'createTime', // field: 'createTime',
formatter: dateFormatter, // formatter: dateFormatter,
detail: { // detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' // dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, // },
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 180 // width: 180
}, // },
form: { // form: {
component: 'DatePicker', // component: 'DatePicker',
componentProps: { // componentProps: {
type: 'datetime', // type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss', // dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x', // valueFormat: 'x',
} // }
}, // },
}, // },
{ // {
label: '创建者', // label: '创建者',
field: 'creator', // field: 'creator',
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
}, // },
// { // {
// label: '代码', // label: '代码',
// field: 'code', // field: 'code',
@ -683,4 +718,4 @@ export const InventorymoveRecordDetailRules = reactive({
creator: [ creator: [
{ required: true, message: '请输入创建者', trigger: 'blur' } { required: true, message: '请输入创建者', trigger: 'blur' }
], ],
}) })

134
src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/inventorymoveRequestMain.data.ts

@ -30,7 +30,7 @@ const queryParams = {
// id 转str 否则form回显匹配不到 // id 转str 否则form回显匹配不到
userDept.id = userDept.id.toString() userDept.id = userDept.id.toString()
const userDeptArray:any = [userDept] const userDeptArray:any = [userDept]
/** /**
* @returns {Array} * @returns {Array}
*/ */
@ -165,7 +165,7 @@ export const InventorymoveRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
// }, // },
// isForm: false, // isForm: false,
// }, // },
// { // {
// label: '到库区类型范围', // label: '到库区类型范围',
// field: 'toAreaTypes', // field: 'toAreaTypes',
@ -340,68 +340,72 @@ export const InventorymoveRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
// } // }
// } // }
// }, // },
// { {
// label: '创建时间', label: '创建时间',
// field: 'createTime', field: 'createTime',
// formatter: dateFormatter, formatter: dateFormatter,
// detail: { detail: {
// dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
// }, },
// sort: 'custom', sort: 'custom',
// table: { table: {
// width: 180 width: 180
// }, },
// form: { form: {
// component: 'DatePicker', component: 'DatePicker',
// componentProps: { componentProps: {
// style: { width:'100%'}, style: { width:'100%'},
// type: 'datetime', type: 'datetime',
// dateFormat: 'YYYY-MM-DD HH:mm:ss', dateFormat: 'YYYY-MM-DD HH:mm:ss',
// valueFormat: 'x', valueFormat: 'x',
// } }
// }, },
// isForm: false, isForm: false,
// }, isTable: true
// { },
// label: '创建者', {
// field: 'creator', label: '创建者',
// sort: 'custom', field: 'creator',
// table: { sort: 'custom',
// width: 150 table: {
// }, width: 150
// isForm: false, },
// }, isForm: false,
// { isTable: true
// label: '最后更新时间', },
// field: 'updateTime', {
// formatter: dateFormatter, label: '最后更新时间',
// detail: { field: 'updateTime',
// dateFormat: 'YYYY-MM-DD HH:mm:ss' formatter: dateFormatter,
// }, detail: {
// sort: 'custom', dateFormat: 'YYYY-MM-DD HH:mm:ss'
// table: { },
// width: 180 sort: 'custom',
// }, table: {
// form: { width: 180
// component: 'DatePicker', },
// componentProps: { form: {
// style: { width:'100%'}, component: 'DatePicker',
// type: 'datetime', componentProps: {
// dateFormat: 'YYYY-MM-DD HH:mm:ss', style: { width:'100%'},
// valueFormat: 'x', type: 'datetime',
// } dateFormat: 'YYYY-MM-DD HH:mm:ss',
// }, valueFormat: 'x',
// isForm: false }
// }, },
// { isForm: false,
// label: '最后更新者', isTable: false
// field: 'updater', },
// sort: 'custom', {
// table: { label: '最后更新者',
// width: 150 field: 'updater',
// }, sort: 'custom',
// isForm: false table: {
// }, width: 150
},
isForm: false,
isTable: false
},
{ {
label: '操作', label: '操作',
field: 'action', field: 'action',
@ -878,4 +882,4 @@ export const InventorymoveRequestDetailRules = reactive({
remark: [ remark: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } { max: 50, message: '不得超过50个字符', trigger: 'blur' }
], ],
}) })

56
src/views/wms/productionManage/processproduction/processproductionRecord/processproductionRecordMain.data.ts

@ -87,6 +87,49 @@ export const ProcessproductionRecordMain = useCrudSchemas(reactive<CrudSchema[]>
isTableForm: false, isTableForm: false,
isForm: false isForm: false
}, },
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false,
isTable: true
},
{
label: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
table: {
width: 150
}
},
{ {
label: '删除时间', label: '删除时间',
field: 'deletionTime', field: 'deletionTime',
@ -294,6 +337,15 @@ export const ProcessproductionRecordDetail = useCrudSchemas(reactive<CrudSchema[
width: 150 width: 150
}, },
}, },
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false,
isTable: true
},
{ {
label: '删除时间', label: '删除时间',
field: 'deletionTime', field: 'deletionTime',
@ -353,7 +405,7 @@ export const ProcessproductionRecordDetail = useCrudSchemas(reactive<CrudSchema[
label: '操作', label: '操作',
field: 'action', field: 'action',
isForm: false, isForm: false,
hiddenInMain:true, hiddenInMain:true,
table: { table: {
width: 150, width: 150,
fixed: 'right' fixed: 'right'
@ -364,4 +416,4 @@ export const ProcessproductionRecordDetail = useCrudSchemas(reactive<CrudSchema[
// 表单校验 // 表单校验
export const ProcessproductionRecordDetailRules = reactive({ export const ProcessproductionRecordDetailRules = reactive({
available: [required], available: [required],
}) })

71
src/views/wms/productionManage/processproduction/processproductionRequest/processproductionRequestMain.data.ts

@ -142,7 +142,51 @@ export const ProcessproductionRequestMain = useCrudSchemas(reactive<CrudSchema[]
} }
}, },
isTableForm: false, isTableForm: false,
isForm: false isForm: false,
isTable: false
},
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false,
isTable: false
},
{
label: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
table: {
width: 150
}
}, },
{ {
label: '删除时间', label: '删除时间',
@ -499,11 +543,32 @@ export const ProcessproductionRequestDetail = useCrudSchemas(reactive<CrudSchema
field: 'createTime', field: 'createTime',
sort: 'custom', sort: 'custom',
formatter: dateFormatter, formatter: dateFormatter,
isForm: false, detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isTableForm: false, isTableForm: false,
isForm: false
},
{
label: '创建者',
field: 'creator',
table: { table: {
width: 150 width: 130
}, },
isForm: false,
isTable: true
}, },
{ {
label: '删除时间', label: '删除时间',

44
src/views/wms/productionManage/productputaway/productputawayJobMain/productputawayJobMain.data.ts

@ -155,7 +155,7 @@ export const ProductputawayJobMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isTable: false, isTable: false,
}, },
{ {
label: '优先级', label: '优先级',
field: 'priority', field: 'priority',
@ -301,7 +301,7 @@ export const ProductputawayJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false, isTable: true,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -318,8 +318,40 @@ export const ProductputawayJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: true,
},
{
label: '最后更新时间',
field: 'updateTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
isTable: false,
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
},
{
label: '最后更新者',
field: 'updater',
sort: 'custom',
table: {
width: 150
},
isTable: false, isTable: false,
}, },
{ {
label: '到仓库代码', label: '到仓库代码',
field: 'toWarehouseCode', field: 'toWarehouseCode',
@ -692,7 +724,7 @@ export const ProductputawayJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isTable: false isTable: false
}, },
{ {
label: '库存状态', label: '库存状态',
field: 'inventoryStatus', field: 'inventoryStatus',
@ -705,7 +737,7 @@ export const ProductputawayJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '从库位代码', label: '从库位代码',
field: 'fromLocationCode', field: 'fromLocationCode',
@ -722,7 +754,7 @@ export const ProductputawayJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
}, },
{ {
label: '物料描述1', label: '物料描述1',
field: 'itemDesc1', field: 'itemDesc1',
@ -764,7 +796,7 @@ export const ProductputawayJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
component: 'InputNumber', component: 'InputNumber',
} }
}, },
{ {
label: '单据号', label: '单据号',
field: 'number', field: 'number',

37
src/views/wms/productionManage/productputaway/productputawayRecordMain/productputawayRecordMain.data.ts

@ -204,7 +204,7 @@ export const ProductputawayRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false, isTable: true,
}, },
{ {
label: '创建时间', label: '创建时间',
@ -217,6 +217,37 @@ export const ProductputawayRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
},
{
label: '最后更新者',
field: 'updater',
sort: 'custom',
table: {
width: 150
},
isTable: false,
},
{
label: '最后更新时间',
field: 'updateTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
isTable: false, isTable: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
@ -499,7 +530,7 @@ export const ProductputawayRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
width: 150 width: 150
}, },
}, },
{ {
label: '从货主代码', label: '从货主代码',
field: 'fromOwnerCode', field: 'fromOwnerCode',
@ -657,7 +688,7 @@ export const ProductputawayRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
component: 'InputNumber', component: 'InputNumber',
} }
}, },
// { // {
// label: '代码', // label: '代码',
// field: 'code', // field: 'code',

28
src/views/wms/productionManage/productputawayAssemble/productputawayAssembleJobMain/productputawayAssembleJobMain.data.ts

@ -149,14 +149,14 @@ export const ProductputawayJobMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
{ {
label: '最后更新者', label: '最后更新者',
field: 'update', field: 'updater',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isTable: false, isTable: false,
}, },
{ {
label: '优先级', label: '优先级',
field: 'priority', field: 'priority',
@ -303,7 +303,7 @@ export const ProductputawayJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false, isTable: true,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -320,7 +320,7 @@ export const ProductputawayJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false, isTable: true,
}, },
{ {
label: '到仓库代码', label: '到仓库代码',
@ -719,7 +719,7 @@ export const ProductputawayJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true hiddenInMain:true
}, },
{ {
label: '物料描述2', label: '物料描述2',
@ -728,7 +728,7 @@ export const ProductputawayJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true hiddenInMain:true
}, },
{ {
label: '项目代码', label: '项目代码',
@ -737,7 +737,7 @@ export const ProductputawayJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true hiddenInMain:true
}, },
{ {
label: '数量', label: '数量',
@ -751,7 +751,7 @@ export const ProductputawayJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
component: 'InputNumber', component: 'InputNumber',
} }
}, },
{ {
label: '单据号', label: '单据号',
field: 'number', field: 'number',
@ -759,7 +759,7 @@ export const ProductputawayJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
hiddenInMain:true hiddenInMain:true
}, },
{ {
label: '备注', label: '备注',
@ -768,7 +768,7 @@ export const ProductputawayJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true hiddenInMain:true
}, },
{ {
label: '从货主代码', label: '从货主代码',
@ -777,7 +777,7 @@ export const ProductputawayJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true hiddenInMain:true
}, },
{ {
label: '到货主代码', label: '到货主代码',
@ -786,7 +786,7 @@ export const ProductputawayJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true hiddenInMain:true
}, },
{ {
@ -817,7 +817,7 @@ export const ProductputawayJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true hiddenInMain:true
}, },
{ {
@ -827,7 +827,7 @@ export const ProductputawayJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false isTable: false
}, },
])) ]))

43
src/views/wms/productionManage/productputawayAssemble/productputawayAssembleRecordMain/productputawayAssembleRecordMain.data.ts

@ -204,7 +204,7 @@ export const ProductputawayRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false, isTable: true,
}, },
{ {
label: '创建时间', label: '创建时间',
@ -217,6 +217,37 @@ export const ProductputawayRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
},
{
label: '更新者',
field: 'updater',
sort: 'custom',
table: {
width: 150
},
isTable: false,
},
{
label: '更新时间',
field: 'updateTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
isTable: false, isTable: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
@ -501,7 +532,7 @@ export const ProductputawayRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
width: 150 width: 150
}, },
}, },
{ {
label: '从货主代码', label: '从货主代码',
field: 'fromOwnerCode', field: 'fromOwnerCode',
@ -581,7 +612,7 @@ export const ProductputawayRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
}, },
hiddenInMain: true hiddenInMain: true
}, },
{ {
label: '备注', label: '备注',
field: 'remark', field: 'remark',
@ -622,7 +653,7 @@ export const ProductputawayRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
hiddenInMain: true hiddenInMain: true
}, },
{ {
label: '物料描述1', label: '物料描述1',
field: 'itemDesc1', field: 'itemDesc1',
@ -663,7 +694,7 @@ export const ProductputawayRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
component: 'InputNumber', component: 'InputNumber',
} }
}, },
// { // {
// label: '代码', // label: '代码',
// field: 'code', // field: 'code',
@ -761,4 +792,4 @@ export const ProductputawayRecordDetailRules = reactive({
creator: [ creator: [
{ required: true, message: '请输入创建者', trigger: 'blur' } { required: true, message: '请输入创建者', trigger: 'blur' }
], ],
}) })

18
src/views/wms/productionManage/productputawayAssemble/productputawayAssembleRequestMain/productputawayAssembleRequestMain.data.ts

@ -138,7 +138,7 @@ export const ProductputawayRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false, isTable: true,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -156,7 +156,7 @@ export const ProductputawayRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false, isTable: true,
isForm: false isForm: false
}, },
{ {
@ -228,7 +228,7 @@ export const ProductputawayRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
} }
} }
}, },
{ {
label: '最后更新时间', label: '最后更新时间',
field: 'updateTime', field: 'updateTime',
@ -565,7 +565,7 @@ export const ProductputawayRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
disabled: true disabled: true
} }
}, },
{ {
label: '从库位代码', label: '从库位代码',
field: 'fromLocationCode', field: 'fromLocationCode',
@ -582,7 +582,7 @@ export const ProductputawayRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
disabled: true disabled: true
} }
}, },
{ {
label: '器具号', label: '器具号',
field: 'containerNumber', field: 'containerNumber',
@ -658,7 +658,7 @@ export const ProductputawayRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
isTableForm: false, isTableForm: false,
isForm: false isForm: false
}, },
{ {
label: '物料描述1', label: '物料描述1',
field: 'itemDesc1', field: 'itemDesc1',
@ -713,7 +713,7 @@ export const ProductputawayRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
precision: 6 precision: 6
} }
}, },
{ {
label: '从货主代码', label: '从货主代码',
field: 'fromOwnerCode', field: 'fromOwnerCode',
@ -736,7 +736,7 @@ export const ProductputawayRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
isTableForm: false, isTableForm: false,
isForm: false isForm: false
}, },
{ {
label: '最后更新时间', label: '最后更新时间',
field: 'updateTime', field: 'updateTime',
@ -803,4 +803,4 @@ export const ProductputawayRequestDetailRules = reactive({
itemCode: [ itemCode: [
{ required: true, message: '请选择物料代码', trigger: 'change' } { required: true, message: '请选择物料代码', trigger: 'change' }
], ],
}) })

Loading…
Cancel
Save