Browse Source

列表查询和高级筛选、增加 创建人 创建时间 更新人,更新时间字段

master_hella_20240701
TengXF 5 months ago
parent
commit
7f42a1f70d
  1. 67
      src/views/wms/agvManage/agvLocationrelation/agvLocationrelation.data.ts
  2. 51
      src/views/wms/basicDataManage/customerManage/customer/customer.data.ts
  3. 51
      src/views/wms/basicDataManage/customerManage/customerdock/customerdock.data.ts
  4. 53
      src/views/wms/basicDataManage/customerManage/customeritem/customeritem.data.ts
  5. 53
      src/views/wms/basicDataManage/customerManage/project/project.data.ts
  6. 49
      src/views/wms/basicDataManage/customerManage/saleprice/saleprice.data.ts
  7. 107
      src/views/wms/basicDataManage/documentSetting/businesstype/businesstype.data.ts
  8. 99
      src/views/wms/basicDataManage/documentSetting/documentsetting/documentsetting.data.ts
  9. 65
      src/views/wms/basicDataManage/documentSetting/jobsetting/jobsetting.data.ts
  10. 69
      src/views/wms/basicDataManage/documentSetting/plansetting/plansetting.data.ts
  11. 91
      src/views/wms/basicDataManage/documentSetting/recordsetting/recordsetting.data.ts
  12. 69
      src/views/wms/basicDataManage/documentSetting/requestsetting/requestsetting.data.ts
  13. 69
      src/views/wms/basicDataManage/documentSetting/switch/switch.data.ts
  14. 61
      src/views/wms/basicDataManage/documentSetting/transactiontype/transactiontype.data.ts
  15. 54
      src/views/wms/basicDataManage/factoryModeling/areabasic/areabasic.data.ts
  16. 53
      src/views/wms/basicDataManage/factoryModeling/dock/dock.data.ts
  17. 53
      src/views/wms/basicDataManage/factoryModeling/location/location.data.ts
  18. 51
      src/views/wms/basicDataManage/factoryModeling/locationgroup/locationgroup.data.ts
  19. 61
      src/views/wms/basicDataManage/factoryModeling/process/process.data.ts
  20. 63
      src/views/wms/basicDataManage/factoryModeling/productionline/productionline.data.ts
  21. 53
      src/views/wms/basicDataManage/factoryModeling/warehouse/warehouse.data.ts
  22. 61
      src/views/wms/basicDataManage/factoryModeling/workshop/workshop.data.ts
  23. 57
      src/views/wms/basicDataManage/factoryModeling/workstation/workstation.data.ts
  24. 40
      src/views/wms/basicDataManage/itemManage/bom/bom.data.ts
  25. 67
      src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts
  26. 18
      src/views/wms/basicDataManage/itemManage/itempackage/itempackage.data.ts
  27. 51
      src/views/wms/basicDataManage/itemManage/itemwarehouse/itemwarehouse.data.ts
  28. 46
      src/views/wms/basicDataManage/itemManage/packageunit/packageunit.data.ts
  29. 38
      src/views/wms/basicDataManage/itemManage/productionlineitem/productionlineitem.data.ts
  30. 40
      src/views/wms/basicDataManage/itemManage/stdcostprice/stdcostprice.data.ts
  31. 66
      src/views/wms/basicDataManage/labelManage/barcode/barcode.data.ts
  32. 70
      src/views/wms/basicDataManage/labelManage/callmaterials/callmaterials.data.ts
  33. 67
      src/views/wms/basicDataManage/labelManage/labeltype/labeltype.data.ts
  34. 64
      src/views/wms/basicDataManage/labelManage/locationLabel/locationLabel.data.ts
  35. 66
      src/views/wms/basicDataManage/labelManage/manufacturePackage/manufacturePackage.data.ts
  36. 33
      src/views/wms/basicDataManage/labelManage/purchasePackage/purchasePackage.data.ts
  37. 66
      src/views/wms/basicDataManage/labelManage/utensilPackage/utensilPackage.data.ts
  38. 51
      src/views/wms/basicDataManage/orderManage/carrier/carrier.data.ts
  39. 51
      src/views/wms/basicDataManage/orderManage/owner/owner.data.ts
  40. 49
      src/views/wms/basicDataManage/orderManage/shift/shift.data.ts
  41. 48
      src/views/wms/basicDataManage/orderManage/team/team.data.ts
  42. 51
      src/views/wms/basicDataManage/supplierManage/purchaseprice/purchaseprice.data.ts
  43. 42
      src/views/wms/basicDataManage/supplierManage/supplier/supplier.data.ts
  44. 41
      src/views/wms/basicDataManage/supplierManage/supplieritem/supplieritem.data.ts
  45. 63
      src/views/wms/basicDataManage/systemSetting/accountcalendar/accountcalendar.data.ts
  46. 55
      src/views/wms/basicDataManage/systemSetting/currencyexchange/currencyexchange.data.ts
  47. 61
      src/views/wms/basicDataManage/systemSetting/systemcalendar/systemcalendar.data.ts
  48. 59
      src/views/wms/buttMesManage/mesBarCode/mesBarCode.data.ts
  49. 33
      src/views/wms/inventoryManage/expectin/expectin.data.ts
  50. 33
      src/views/wms/inventoryManage/expectout/expectout.data.ts
  51. 35
      src/views/wms/inventoryManage/transaction/transaction.data.ts
  52. 33
      src/views/wms/inventoryManage/transferlog/transferlog.data.ts
  53. 42
      src/views/wms/issueManage/issue/issueJobMain/issueJobMain.data.ts
  54. 58
      src/views/wms/issueManage/issue/issueRecordMain/issueRecordMain.data.ts
  55. 10
      src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts
  56. 6
      src/views/wms/issueManage/productionreceipt/productionreceiptJobMain/productionreceiptJobMain.data.ts
  57. 48
      src/views/wms/issueManage/productionreceipt/productionreceiptRecordMain/productionreceiptRecordMain.data.ts
  58. 6
      src/views/wms/issueManage/productionreturn/productionreturnJobMain/productionreturnJobMain.data.ts
  59. 46
      src/views/wms/issueManage/productionreturn/productionreturnRecordMain/productionreturnRecordMain.data.ts
  60. 12
      src/views/wms/issueManage/productionreturn/productionreturnRequestMain/productionreturnRequestMain.data.ts
  61. 8
      src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/productionreturnRequestMainNo.data.ts
  62. 4
      src/views/wms/issueManage/repleinsh/repleinshJobMain/repleinshJobMain.data.ts
  63. 40
      src/views/wms/issueManage/repleinsh/repleinshRecordMain/repleinshRecordMain.data.ts
  64. 10
      src/views/wms/issueManage/repleinsh/repleinshRequestMain/repleinshRequestMain.data.ts
  65. 40
      src/views/wms/productionManage/productdismantle/productdismantleRecordMain/productdismantleRecordMain.data.ts
  66. 4
      src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts
  67. 6
      src/views/wms/productionManage/productionplan/productionMainAssemble/productionMainAssemble.data.ts
  68. 6
      src/views/wms/productionManage/productionplan/productionMainAssembleSparePart/productionMainAssembleSparePart.data.ts
  69. 4
      src/views/wms/productionManage/productionplan/productionMainPredictSparePart/productionMainPredictSparePart.data.ts
  70. 2
      src/views/wms/productionManage/productreceipt/productreceiptJobMain/productreceiptJobMain.data.ts
  71. 44
      src/views/wms/productionManage/productreceipt/productreceiptRecordMain/productreceiptRecordMain.data.ts
  72. 6
      src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts
  73. 42
      src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRecordMain/productreceiptAssembleRecordMain.data.ts
  74. 11
      src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/productreceiptAssembleRequestMain.data.ts
  75. 44
      src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRecordMain/productreceiptscrapRecordMain.data.ts
  76. 10
      src/views/wms/productionManage/productredress/productredressJobMain/productredressJobMain.data.ts
  77. 16
      src/views/wms/productionManage/productredress/productredressRecordMain/productredressRecordMain.data.ts
  78. 10
      src/views/wms/productionManage/productredress/productredressRequestMain/productredressRequestMain.data.ts
  79. 38
      src/views/wms/productionManage/productrepair/productrepairRecordMain/productrepairRecordMain.data.ts
  80. 10
      src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts
  81. 42
      src/views/wms/productionManage/productscrap/productscrapRecordMain/productscrapRecordMain.data.ts
  82. 4
      src/views/wms/productionManage/productscrap/productscrapRequestMain/productscrapRequestMain.data.ts
  83. 37
      src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptJobMain/purchasereceiptJobMain.data.ts
  84. 78
      src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/purchasereceiptRecordMain.data.ts
  85. 57
      src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts
  86. 8
      src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnJobMain/purchasereturnJobMain.data.ts
  87. 12
      src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRecordMain/purchasereturnRecordMain.data.ts
  88. 107
      src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts
  89. 50
      src/views/wms/purchasereceiptManage/putaway/putawayJobMain/putawayJobMain.data.ts
  90. 52
      src/views/wms/purchasereceiptManage/putaway/putawayRecordMain/putawayRecordMain.data.ts
  91. 57
      src/views/wms/purchasereceiptManage/putaway/putawayRequestMain/putawayRequestMain.data.ts
  92. 14
      src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRecordMain/sparereceiptRecordMain.data.ts
  93. 105
      src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/sparereceiptRequestMain.data.ts
  94. 42
      src/views/wms/supplierManage/purchaseclaim/purchaseclaimRecordMain/purchaseclaimRecordMain.data.ts
  95. 9
      src/views/wms/supplierManage/purchaseclaim/purchaseclaimRequestMain/purchaseclaimRequestMain.data.ts

67
src/views/wms/agvManage/agvLocationrelation/agvLocationrelation.data.ts

@ -113,30 +113,75 @@ export const AgvLocationrelation = useCrudSchemas(reactive<CrudSchema[]>([
}
}
},
{
label: '备注',
field: 'remark',
sort: 'custom',
isSearch: false,
},
{
label: '创建时间',
field: 'createTime',
sort: 'custom',
isForm: false,
table: {
width: 180
},
formatter: dateFormatter,
isSearch: true,
search: {
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
form: {
component: 'DatePicker',
componentProps: {
valueFormat: 'YYYY-MM-DD HH:mm:ss',
type: 'daterange',
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
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: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
isForm: false,
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{
label: '备注',
field: 'remark',
sort: 'custom',
isSearch: false,
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
table: {
width: 150
}
},
{
label: '操作',

51
src/views/wms/basicDataManage/customerManage/customer/customer.data.ts

@ -211,12 +211,44 @@ export const Customer = useCrudSchemas(reactive<CrudSchema[]>([
{
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: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
@ -228,18 +260,17 @@ export const Customer = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false
}
},
{
label: '创建者',
field: 'creator',
sort: 'custom',
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
table: {
width: 150
},
isForm: false,
isTable: false
}
},
{
label: '操作',
@ -300,4 +331,4 @@ export const CustomerRules = reactive({
available: [
{ required: true, message: '请选择是否可用', trigger: 'change' }
],
})
})

51
src/views/wms/basicDataManage/customerManage/customerdock/customerdock.data.ts

@ -239,16 +239,47 @@ export const Customerdock = useCrudSchemas(reactive<CrudSchema[]>([
{
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: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
isSearch: false,
form: {
component: 'DatePicker',
componentProps: {
@ -257,19 +288,17 @@ export const Customerdock = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false,
}
},
{
label: '创建者',
field: 'creator',
isSearch: false,
isTable: false,
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
sort: 'custom',
isTable: false,
table: {
width: 150
},
}
},
{
label: '操作',
@ -327,4 +356,4 @@ export const CustomerdockRules = reactive({
available: [
{ required: true, message: '请选择是否可用', trigger: 'change' }
],
})
})

53
src/views/wms/basicDataManage/customerManage/customeritem/customeritem.data.ts

@ -251,13 +251,13 @@ export const Customeritem = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建时间',
field: 'createTime',
isForm: false,
table: {
width: 180
},
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 150
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
form: {
component: 'DatePicker',
@ -267,19 +267,50 @@ export const Customeritem = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isTable: 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: 150
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,
isForm: false
table: {
width: 150
}
},
{
label: '操作',
@ -320,4 +351,4 @@ export const CustomeritemRules = reactive({
remark: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' }
],
})
})

53
src/views/wms/basicDataManage/customerManage/project/project.data.ts

@ -122,14 +122,14 @@ export const Project = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建时间',
field: 'createTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
isForm: false,
table: {
width: 180
},
formatter: dateFormatter,
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
form: {
component: 'DatePicker',
componentProps: {
@ -138,19 +138,50 @@ export const Project = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isTable: false,
isForm: false,
}
},
{
label: '创建者',
field: 'creator',
sort: 'custom',
table: {
width: 150
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: '操作',
@ -180,4 +211,4 @@ export const ProjectRules = reactive({
available: [
{ required: true, message: '请选择是否可用', trigger: 'change' }
],
})
})

49
src/views/wms/basicDataManage/customerManage/saleprice/saleprice.data.ts

@ -173,14 +173,14 @@ export const Saleprice = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建时间',
field: 'createTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
isForm: false,
table: {
width: 180
},
formatter: dateFormatter,
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
form: {
component: 'DatePicker',
componentProps: {
@ -189,19 +189,50 @@ export const Saleprice = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false,
isTable: 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: 150
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: '操作',

107
src/views/wms/basicDataManage/documentSetting/businesstype/businesstype.data.ts

@ -39,7 +39,7 @@ export const Businesstype = useCrudSchemas(reactive<CrudSchema[]>([
}
}
},
{
label: '可用物料类型范围',
field: 'itemTypes',
@ -261,29 +261,6 @@ export const Businesstype = useCrudSchemas(reactive<CrudSchema[]>([
}
},
},
{
label: '创建时间',
field: 'createTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isTable: false,
isForm: false,
},
{
label: '描述',
field: 'description',
@ -292,7 +269,7 @@ export const Businesstype = useCrudSchemas(reactive<CrudSchema[]>([
width: 150
},
},
{
{
label: '备注',
field: 'remark',
sort: 'custom',
@ -300,18 +277,8 @@ export const Businesstype = useCrudSchemas(reactive<CrudSchema[]>([
width: 150
},
},
{
label: '创建者',
field: 'creator',
isTable: false,
isForm: false,
sort: 'custom',
table: {
width: 150
},
},
{
label: '是否可用',
{
label: '是否可用',
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
@ -330,6 +297,70 @@ export const Businesstype = useCrudSchemas(reactive<CrudSchema[]>([
}
},
},
{
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: '最后更新时间',
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: '操作',
field: 'action',
@ -376,4 +407,4 @@ export const BusinesstypeRules = reactive({
onTheWayArea: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' }
],
})
})

99
src/views/wms/basicDataManage/documentSetting/documentsetting/documentsetting.data.ts

@ -157,19 +157,45 @@ export const Documentsetting = useCrudSchemas(reactive<CrudSchema[]>([
}
},
},
{
label: '备注',
field: 'remark',
sort: 'custom',
table: {
width: 150
},
},
{
label: '是否可用',
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
sort: 'custom',
table: {
width: 150
},
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
},
isTable: false,
isForm: false
},
{
label: '创建时间',
field: 'createTime',
isTable: false,
formatter: dateFormatter,
isForm: false,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
formatter: dateFormatter,
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
form: {
component: 'DatePicker',
componentProps: {
@ -178,45 +204,50 @@ export const Documentsetting = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
}
},
{
label: '备注',
field: 'remark',
sort: 'custom',
{
label: '创建者',
field: 'creator',
table: {
width: 150
width: 130
},
},
{
label: '创建者',
field: 'creator',
isTable: false,
isForm: false,
sort: 'custom',
table: {
width: 150
},
isTable: true
},
{
label: '是否可用',
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
{
label: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 150
width: 180
},
form: {
component: 'Switch',
value: 'TRUE',
component: 'DatePicker',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
}
},
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
isForm: false
table: {
width: 150
}
},
{
label: '操作',
@ -271,4 +302,4 @@ export const DocumentsettingRules = reactive({
remark: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' }
],
})
})

65
src/views/wms/basicDataManage/documentSetting/jobsetting/jobsetting.data.ts

@ -310,19 +310,25 @@ export const Jobsetting = useCrudSchemas(reactive<CrudSchema[]>([
}
},
},
{
label: '备注',
field: 'remark',
sort: 'custom',
table: {
width: 150
},
},
{
label: '创建时间',
field: 'createTime',
formatter: dateFormatter,
isForm: false,
isTable: false,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
formatter: dateFormatter,
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
form: {
component: 'DatePicker',
componentProps: {
@ -331,25 +337,50 @@ export const Jobsetting = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false,
isTable: true
},
{
label: '备注',
field: 'remark',
{
label: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 150
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{
label: '创建者',
field: 'creator',
isTable: false,
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
sort: 'custom',
isTable: false,
table: {
width: 150
},
}
},
{
label: '操作',
@ -405,4 +436,4 @@ export const JobsettingRules = reactive({
remark: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' }
],
})
})

69
src/views/wms/basicDataManage/documentSetting/plansetting/plansetting.data.ts

@ -178,19 +178,27 @@ export const Plansetting = useCrudSchemas(reactive<CrudSchema[]>([
}
},
},
{
label: '备注',
field: 'remark',
isTable: true,
sort: 'custom',
table: {
width: 150
},
isSearch: true,
},
{
label: '创建时间',
field: 'createTime',
formatter: dateFormatter,
isTable: false,
isForm: false,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
formatter: dateFormatter,
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
form: {
component: 'DatePicker',
componentProps: {
@ -199,27 +207,50 @@ export const Plansetting = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false,
isTable: true
},
{
label: '备注',
field: 'remark',
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: 150
width: 180
},
isSearch: true,
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{
label: '创建者',
field: 'creator',
isTable: false,
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
sort: 'custom',
isTable: false,
table: {
width: 150
},
}
},
{
label: '操作',
@ -257,4 +288,4 @@ export const PlansettingRules = reactive({
remark: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' }
],
})
})

91
src/views/wms/basicDataManage/documentSetting/recordsetting/recordsetting.data.ts

@ -68,16 +68,39 @@ export const Recordsetting = useCrudSchemas(reactive<CrudSchema[]>([
}
},
},
{
label: '备注',
field: 'remark',
sort: 'custom',
},
{
label: '是否可用',
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
sort: 'custom',
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
},
isTable: false,
isForm: false,
},
{
label: '创建时间',
field: 'createTime',
isTable: false,
formatter: dateFormatter,
isForm: false,
table: {
width: 180
},
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
form: {
component: 'DatePicker',
componentProps: {
@ -86,36 +109,50 @@ export const Recordsetting = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
},
{
label: '备注',
field: 'remark',
sort: 'custom',
}
},
{
label: '创建者',
field: 'creator',
isTable: false,
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false,
sort: 'custom',
isTable: true
},
{
label: '是否可用',
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
{
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: 'Switch',
value: 'TRUE',
component: 'DatePicker',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isTable: false,
}
},
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
table: {
width: 150
}
},
{
label: '操作',
@ -140,4 +177,4 @@ export const RecordsettingRules = reactive({
remark: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' }
],
})
})

69
src/views/wms/basicDataManage/documentSetting/requestsetting/requestsetting.data.ts

@ -178,19 +178,27 @@ export const Requestsetting = useCrudSchemas(reactive<CrudSchema[]>([
}
},
},
{
label: '备注',
field: 'remark',
isTable: true,
sort: 'custom',
table: {
width: 150
},
isSearch: true,
},
{
label: '创建时间',
field: 'createTime',
formatter: dateFormatter,
isTable: false,
isForm: false,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
formatter: dateFormatter,
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
form: {
component: 'DatePicker',
componentProps: {
@ -199,27 +207,50 @@ export const Requestsetting = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false,
isTable: true
},
{
label: '备注',
field: 'remark',
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: 150
width: 180
},
isSearch: true,
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{
label: '创建者',
field: 'creator',
isTable: false,
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
sort: 'custom',
isTable: false,
table: {
width: 150
},
}
},
{
label: '操作',
@ -257,4 +288,4 @@ export const RequestsettingRules = reactive({
remark: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' }
],
})
})

69
src/views/wms/basicDataManage/documentSetting/switch/switch.data.ts

@ -1,5 +1,6 @@
import type { CrudSchema } from '@/hooks/web/useCrudSchemas'
import { dateFormatter } from '@/utils/formatTime'
const { t } = useI18n() // 国际化
/**
* @returns {Array}
*/
@ -61,6 +62,70 @@ export const Switch = useCrudSchemas(reactive<CrudSchema[]>([
}
},
},
{
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: '最后更新时间',
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: '操作',
field: 'action',
@ -86,4 +151,4 @@ export const SwitchRules = reactive({
available: [
{ required: true, message: '请选择是否可用', trigger: 'change' }
],
})
})

61
src/views/wms/basicDataManage/documentSetting/transactiontype/transactiontype.data.ts

@ -137,13 +137,14 @@ export const Transactiontype = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建时间',
field: 'createTime',
isForm: false,
table: {
width: 180
},
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
isTable: false,
isForm: false,
form: {
component: 'DatePicker',
componentProps: {
@ -152,18 +153,54 @@ export const Transactiontype = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false,
isTable: true
},
{
label: '备注',
field: 'remark',
{
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: 'creator',
isTable: false,
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
table: {
width: 150
}
},
{
label: '备注',
field: 'remark',
sort: 'custom',
},
{
@ -197,4 +234,4 @@ export const TransactiontypeRules = reactive({
remark: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' }
],
})
})

54
src/views/wms/basicDataManage/factoryModeling/areabasic/areabasic.data.ts

@ -173,14 +173,14 @@ export const Area = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建时间',
field: 'createTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
isForm: false,
table: {
width: 180
},
formatter: dateFormatter,
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
form: {
component: 'DatePicker',
componentProps: {
@ -189,19 +189,50 @@ export const Area = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isTable: 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: 150
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,
isForm: false
table: {
width: 150
}
},
{
label: '操作',
@ -243,4 +274,5 @@ export const AreaRules = reactive({
manageMode: [
{ required: true, message: '请选择管理精度', trigger: 'change' }
]
})
})

53
src/views/wms/basicDataManage/factoryModeling/dock/dock.data.ts

@ -203,13 +203,13 @@ export const Dock = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建时间',
field: 'createTime',
isForm: false,
table: {
width: 180
},
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 150
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
form: {
component: 'DatePicker',
@ -219,19 +219,50 @@ export const Dock = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isTable: 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: 150
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,
isForm: false
table: {
width: 150
}
},
{
label: '操作',
@ -283,4 +314,4 @@ export const DockRules = reactive({
available: [
{ required: true, message: '请选择是否可用', trigger: 'change' }
],
})
})

53
src/views/wms/basicDataManage/factoryModeling/location/location.data.ts

@ -335,14 +335,14 @@ export const Location = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建时间',
field: 'createTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
isForm: false,
table: {
width: 180
},
formatter: dateFormatter,
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
form: {
component: 'DatePicker',
componentProps: {
@ -351,19 +351,50 @@ export const Location = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false,
isTable: 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: 150
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
isTable: false,
table: {
width: 150
}
},
{
label: '操作',
@ -420,4 +451,4 @@ export const LocationRules = reactive({
available: [
{ required: true, message: '请选择是否可用', trigger: 'change' }
],
})
})

51
src/views/wms/basicDataManage/factoryModeling/locationgroup/locationgroup.data.ts

@ -165,14 +165,14 @@ export const Locationgroup = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建时间',
field: 'createTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
isForm: false,
table: {
width: 180
},
formatter: dateFormatter,
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
form: {
component: 'DatePicker',
componentProps: {
@ -181,19 +181,50 @@ export const Locationgroup = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false,
isTable: 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
isTable: false,
table: {
width: 150
}
},
{
label: '操作',
@ -229,4 +260,4 @@ export const LocationgroupRules = reactive({
available: [
{ required: true, message: '请选择是否可用', trigger: 'change' }
],
})
})

61
src/views/wms/basicDataManage/factoryModeling/process/process.data.ts

@ -168,11 +168,44 @@ export const Process = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建时间',
field: 'createTime',
isForm: false,
table: {
width: 180
},
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
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: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
@ -184,27 +217,25 @@ export const Process = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isTable: false,
isForm: false
}
},
{
label: '备注',
field: 'remark',
sort: 'custom',
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
table: {
width: 150
},
}
},
{
label: '创建者',
field: 'creator',
{
label: '备注',
field: 'remark',
sort: 'custom',
table: {
width: 150
},
isTable: false,
isForm: false
},
{
label: '操作',
@ -240,4 +271,4 @@ export const ProcessRules = reactive({
available: [
{ required: true, message: '请选择是否可用', trigger: 'change' }
],
})
})

63
src/views/wms/basicDataManage/factoryModeling/productionline/productionline.data.ts

@ -186,14 +186,14 @@ export const Productionline = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建时间',
field: 'createTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
isForm: false,
table: {
width: 180
},
formatter: dateFormatter,
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
form: {
component: 'DatePicker',
componentProps: {
@ -202,27 +202,58 @@ export const Productionline = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isTable: false,
isForm: false
isForm: false,
isTable: true
},
{
label: '备注',
field: 'remark',
{
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: 'creator',
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
table: {
width: 150
}
},
{
label: '备注',
field: 'remark',
sort: 'custom',
table: {
width: 180
},
isTable: false,
isForm: false
},
{
label: '操作',
@ -255,4 +286,4 @@ export const ProductionlineRules = reactive({
available: [
{ required: true, message: '请选择是否可用', trigger: 'change' }
],
})
})

53
src/views/wms/basicDataManage/factoryModeling/warehouse/warehouse.data.ts

@ -123,14 +123,14 @@ export const Warehouse = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建时间',
field: 'createTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
isForm: false,
table: {
width: 180
},
formatter: dateFormatter,
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
form: {
component: 'DatePicker',
componentProps: {
@ -139,19 +139,50 @@ export const Warehouse = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isTable: 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: 150
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,
isForm: false
table: {
width: 150
}
},
{
label: '操作',
@ -184,4 +215,4 @@ export const WarehouseRules = reactive({
available: [
{ required: true, message: '请选择是否可用', trigger: 'change' }
],
})
})

61
src/views/wms/basicDataManage/factoryModeling/workshop/workshop.data.ts

@ -91,11 +91,14 @@ export const Workshop = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建时间',
field: 'createTime',
isForm: false,
table: {
width: 180
},
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
form: {
component: 'DatePicker',
componentProps: {
@ -104,21 +107,55 @@ export const Workshop = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false,
isTable: false
isTable: true
},
{
label: '备注',
field: 'remark',
{
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: 'creator',
sort: 'custom',
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false
isTable: false,
table: {
width: 150
}
},
{
label: '备注',
field: 'remark',
sort: 'custom',
},
{
label: '操作',
@ -148,4 +185,4 @@ export const WorkshopRules = reactive({
available: [
{ required: true, message: '请选择是否可用', trigger: 'change' }
],
})
})

57
src/views/wms/basicDataManage/factoryModeling/workstation/workstation.data.ts

@ -237,11 +237,44 @@ export const Workstation = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建时间',
field: 'createTime',
isForm: false,
table: {
width: 180
},
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
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: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
@ -253,27 +286,25 @@ export const Workstation = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
}
},
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
},
{
label: '备注',
field: 'remark',
sort: 'custom',
table: {
width: 150
},
}
},
{
label: '创建者',
field: 'creator',
{
label: '备注',
field: 'remark',
sort: 'custom',
table: {
width: 150
},
isForm: false,
isTable: false,
},
{
label: '操作',

40
src/views/wms/basicDataManage/itemManage/bom/bom.data.ts

@ -9,7 +9,7 @@ import { Process } from '../../factoryModeling/process/process.data'
const { t } = useI18n() // 国际化
/**
/**
* @returns {Array}
*/
export const Bom = useCrudSchemas(reactive<CrudSchema[]>([
@ -217,7 +217,41 @@ export const Bom = useCrudSchemas(reactive<CrudSchema[]>([
label: '创建者',
field: 'creator',
isForm: false,
isTable: 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: '备注', field: 'remark', isTable: false },
{
@ -264,4 +298,4 @@ export const BomRules = reactive({
available: [
{ required: true, message: '请选择是否可用', trigger: 'change' }
],
})
})

67
src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts

@ -8,8 +8,8 @@ import {validateYS} from '@/utils/validator'
* @returns {Array}
*/
export const Itembasic = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '代码',
{
label: '代码',
field: 'code',
sort: 'custom',
isSearch: true,
@ -18,8 +18,8 @@ export const Itembasic = useCrudSchemas(reactive<CrudSchema[]>([
fixed: 'left'
},
},
{
label: '名称',
{
label: '名称',
field: 'name',
sort: 'custom',
isSearch: true,
@ -27,8 +27,8 @@ export const Itembasic = useCrudSchemas(reactive<CrudSchema[]>([
width: 150
},
},
{
label: '描述1',
{
label: '描述1',
field: 'desc1',
sort: 'custom',
table: {
@ -36,8 +36,8 @@ export const Itembasic = useCrudSchemas(reactive<CrudSchema[]>([
} ,
// isTableForm:false
},
{
label: '描述2',
{
label: '描述2',
field: 'desc2',
sort: 'custom',
table: {
@ -292,9 +292,9 @@ export const Itembasic = useCrudSchemas(reactive<CrudSchema[]>([
width: 100
} ,
},
{
label: '结算方式',
field: 'settlementType',
{
label: '结算方式',
field: 'settlementType',
dictType: DICT_TYPE.SETTLEMENT_TYPE,
dictClass: 'string',
sort: 'custom',
@ -303,9 +303,9 @@ export const Itembasic = useCrudSchemas(reactive<CrudSchema[]>([
width: 120
} ,
},
{
label: '项目',
field: 'project',
{
label: '项目',
field: 'project',
sort: 'custom',
table: {
width: 100
@ -322,9 +322,9 @@ export const Itembasic = useCrudSchemas(reactive<CrudSchema[]>([
width: 120
} ,
},
{
label: '有效天数',
field: 'validityDays',
{
label: '有效天数',
field: 'validityDays',
sort: 'custom',
table: {
width: 120
@ -432,6 +432,37 @@ export const Itembasic = useCrudSchemas(reactive<CrudSchema[]>([
label: '创建者',
field: 'creator',
isForm: false,
isTable: true
},
{
label: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isTable: false,
isDetail: true,
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',
}
}
},
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false
},
{ label: '备注', field: 'remark', sort: 'custom', isTable: false},
@ -497,4 +528,4 @@ export const rules = reactive({
{ required: true, message: '请选择是否可用', trigger: 'change' },
],
})
console.log(Itembasic)
console.log(Itembasic)

18
src/views/wms/basicDataManage/itemManage/itempackage/itempackage.data.ts

@ -11,8 +11,8 @@ const { t } = useI18n() // 国际化
* @returns {Array}
*/
export const Itempackaging = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '物料代码',
{
label: '物料代码',
field: 'itemCode',
sort: 'custom',
isSearch: true,
@ -82,8 +82,8 @@ export const Itempackaging = useCrudSchemas(reactive<CrudSchema[]>([
}
}
},
{
label: '包装名称',
{
label: '包装名称',
field: 'packName',
sort: 'custom',
isSearch: true,
@ -95,8 +95,8 @@ export const Itempackaging = useCrudSchemas(reactive<CrudSchema[]>([
isForm:false,
isDetail:false
},
{
label: '包装数量',
{
label: '包装数量',
field: 'packQty',
sort: 'custom',
isSearch: true,
@ -209,8 +209,9 @@ export const Itempackaging = useCrudSchemas(reactive<CrudSchema[]>([
label: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: true,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -231,8 +232,9 @@ export const Itempackaging = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: true,
isTable: false,
table: {
width: 150
}

51
src/views/wms/basicDataManage/itemManage/itemwarehouse/itemwarehouse.data.ts

@ -153,9 +153,60 @@ export const Itemwarehouse = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建时间',
field: 'createTime',
isForm: false,
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',
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: '删除时间',

46
src/views/wms/basicDataManage/itemManage/packageunit/packageunit.data.ts

@ -196,6 +196,46 @@ export const Packageunit = useCrudSchemas(reactive<CrudSchema[]>([
formatter: dateFormatter,
isForm: false,
},
{
label: '创建者',
field: 'creator',
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: '备注',
field: 'remark',
@ -210,6 +250,7 @@ export const Packageunit = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
isForm: false,
isTable: false,
isDetail: false,
table: {
width: 180
},
@ -226,6 +267,7 @@ export const Packageunit = useCrudSchemas(reactive<CrudSchema[]>([
label: '删除者',
field: 'deleterId',
sort: 'custom',
isDetail: false,
isForm: false,
isTable: false,
table: {
@ -237,6 +279,7 @@ export const Packageunit = useCrudSchemas(reactive<CrudSchema[]>([
field: 'extraProperties',
sort: 'custom',
isForm: false,
isDetail: false,
isTable: false,
table: {
width: 150
@ -247,6 +290,7 @@ export const Packageunit = useCrudSchemas(reactive<CrudSchema[]>([
field: 'concurrencyStamp',
sort: 'custom',
isForm: false,
isDetail: false,
isTable: false,
table: {
width: 150
@ -261,6 +305,7 @@ export const Packageunit = useCrudSchemas(reactive<CrudSchema[]>([
field: 'siteId',
sort: 'custom',
isForm: false,
isDetail: false,
isTable: false,
table: {
width: 150
@ -270,6 +315,7 @@ export const Packageunit = useCrudSchemas(reactive<CrudSchema[]>([
label: '操作',
field: 'action',
isForm: false,
isDetail: false,
table: {
width: 150,
fixed: 'right'

38
src/views/wms/basicDataManage/itemManage/productionlineitem/productionlineitem.data.ts

@ -229,7 +229,41 @@ export const Productionlineitem = useCrudSchemas(reactive<CrudSchema[]>([
label: '创建者',
field: 'creator',
isForm: false,
isTable: 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: '操作',
@ -260,4 +294,4 @@ export const ProductionlineitemRules = reactive({
available: [
{ required: true, message: '请选择是否可用', trigger: 'change' }
],
})
})

40
src/views/wms/basicDataManage/itemManage/stdcostprice/stdcostprice.data.ts

@ -70,7 +70,7 @@ export const Stdcostprice = useCrudSchemas(reactive<CrudSchema[]>([
key: 'available',
value: 'TRUE',
isMainValue: false
}]
}]
}
}
},
@ -182,7 +182,41 @@ export const Stdcostprice = useCrudSchemas(reactive<CrudSchema[]>([
label: '创建者',
field: 'creator',
isForm: false,
isTable: 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: '备注',
@ -221,4 +255,4 @@ export const StdcostpriceRules = reactive({
available: [
{ required: true, message: '请选择是否可用', trigger: 'change' }
],
})
})

66
src/views/wms/basicDataManage/labelManage/barcode/barcode.data.ts

@ -1,4 +1,6 @@
import type { CrudSchema } from '@/hooks/web/useCrudSchemas'
import { dateFormatter } from '@/utils/formatTime'
const { t } = useI18n() // 国际化
// 表单校验
export const BarcodeRules = reactive({
@ -143,6 +145,70 @@ export const Barcode = useCrudSchemas(reactive<CrudSchema[]>([
}
},
},
{
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: '最后更新时间',
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: '操作',
field: 'action',

70
src/views/wms/basicDataManage/labelManage/callmaterials/callmaterials.data.ts

@ -161,7 +161,7 @@ export const Callmaterials = useCrudSchemas(reactive<CrudSchema[]>([
},
tableForm: {
disabled: true,
type: 'Select'
type: 'Select'
},
form: {
componentProps: {
@ -271,7 +271,7 @@ export const Callmaterials = useCrudSchemas(reactive<CrudSchema[]>([
key:'available',
value:'TRUE',
isMainValue: false
}]
}]
}
},
tableForm:{
@ -295,7 +295,7 @@ export const Callmaterials = useCrudSchemas(reactive<CrudSchema[]>([
key:'available',
value:'TRUE',
isMainValue: false
}]
}]
},
},
{
@ -354,48 +354,68 @@ export const Callmaterials = useCrudSchemas(reactive<CrudSchema[]>([
// }
// }
},
{
label: '创建者id',
field: 'creator',
sort: 'custom',
isForm: false,
table: {
width: 180,
}
},
{
label: '创建时间',
field: 'createTime',
sort: 'custom',
formatter: dateFormatter,
isForm: false,
table: {
width: 180
},
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
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: '最后更新者id',
field: 'updater',
sort: 'custom',
isForm: false,
label: '创建者',
field: 'creator',
table: {
width: 180,
}
width: 130
},
isForm: false,
isTable: true
},
{
label: '最后更新时间',
field: 'updateTime',
sort: 'custom',
formatter: dateFormatter,
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180,
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
}
},
{

67
src/views/wms/basicDataManage/labelManage/labeltype/labeltype.data.ts

@ -1,5 +1,6 @@
import type { CrudSchema } from '@/hooks/web/useCrudSchemas'
import { dateFormatter } from '@/utils/formatTime'
const { t } = useI18n() // 国际化
// 表单校验
export const LabeltypeRules = reactive({
labelCode: [
@ -178,6 +179,70 @@ export const Labeltype = useCrudSchemas(reactive<CrudSchema[]>([
}
},
},
{
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: '最后更新时间',
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: '操作',
field: 'action',

64
src/views/wms/basicDataManage/labelManage/locationLabel/locationLabel.data.ts

@ -91,6 +91,70 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
width: 170,
}
},
{
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: '最后更新时间',
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: '操作',
field: 'action',

66
src/views/wms/basicDataManage/labelManage/manufacturePackage/manufacturePackage.data.ts

@ -101,6 +101,70 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
width: 180,
}
},
{
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: '最后更新时间',
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: '操作',
field: 'action',
@ -509,4 +573,4 @@ export const PackageRulesInventor = reactive({
productionLineCodePackage: [
{ required: true, message: '请选择生产线代码', trigger: 'change' }
],
})
})

33
src/views/wms/basicDataManage/labelManage/purchasePackage/purchasePackage.data.ts

@ -110,6 +110,36 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
width: 180,
}
},
{
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: '操作',
field: 'action',
@ -604,6 +634,7 @@ export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
}
}
},
{
label: '操作',
field: 'action',
@ -665,4 +696,4 @@ export const PackageRulesInventor = reactive({
asnNumber: [
{ required: true, message: '请选择发货单号', trigger: 'change' }
],
})
})

66
src/views/wms/basicDataManage/labelManage/utensilPackage/utensilPackage.data.ts

@ -103,6 +103,70 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
width: 180,
}
},
{
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: '最后更新时间',
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: '操作',
field: 'action',
@ -112,4 +176,4 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
fixed: 'right'
}
}
]))
]))

51
src/views/wms/basicDataManage/orderManage/carrier/carrier.data.ts

@ -210,13 +210,13 @@ export const Carrier = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建时间',
field: 'createTime',
isForm: false,
table: {
width: 180
},
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 150
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
form: {
component: 'DatePicker',
@ -226,19 +226,50 @@ export const Carrier = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false,
isTable: 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: 150
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: '操作',
@ -298,4 +329,4 @@ export const CarrierRules = reactive({
remark: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' }
],
})
})

51
src/views/wms/basicDataManage/orderManage/owner/owner.data.ts

@ -209,14 +209,14 @@ export const Owner = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建时间',
field: 'createTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
isForm: false,
table: {
width: 180
},
formatter: dateFormatter,
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
form: {
component: 'DatePicker',
componentProps: {
@ -225,19 +225,50 @@ export const Owner = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false,
isTable: 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: 150
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: '操作',
@ -298,4 +329,4 @@ export const OwnerRules = reactive({
available: [
{ required: true, message: '请选择是否可用', trigger: 'change' }
],
})
})

49
src/views/wms/basicDataManage/orderManage/shift/shift.data.ts

@ -182,14 +182,14 @@ export const Shift = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建时间',
field: 'createTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
isForm: false,
table: {
width: 180
},
formatter: dateFormatter,
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
form: {
component: 'DatePicker',
componentProps: {
@ -198,19 +198,50 @@ export const Shift = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false,
isTable: 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: 150
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: '操作',

48
src/views/wms/basicDataManage/orderManage/team/team.data.ts

@ -140,11 +140,44 @@ export const Team = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建时间',
field: 'createTime',
isForm: false,
table: {
width: 180
},
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
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: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
@ -156,16 +189,17 @@ export const Team = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false,
isTable: false,
}
},
{
label: '创建者',
field: 'creator',
sort: 'custom',
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
table: {
width: 150
}
},
{
label: '操作',

51
src/views/wms/basicDataManage/supplierManage/purchaseprice/purchaseprice.data.ts

@ -67,7 +67,7 @@ export const Purchaseprice = useCrudSchemas(reactive<CrudSchema[]>([
key: 'available',
value: 'TRUE',
isMainValue: false
}]
}]
}
}
},
@ -165,13 +165,44 @@ export const Purchaseprice = useCrudSchemas(reactive<CrudSchema[]>([
{
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: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
isForm:false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
@ -183,16 +214,16 @@ export const Purchaseprice = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
}
},
{
label: '创建者',
field: 'creator',
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
isForm:false,
sort: 'custom',
table: {
width: 180
width: 150
}
},
{
@ -235,4 +266,4 @@ export const PurchasepriceRules = reactive({
remark: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' }
],
})
})

42
src/views/wms/basicDataManage/supplierManage/supplier/supplier.data.ts

@ -222,12 +222,10 @@ export const Supplier = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建时间',
field: 'createTime',
sort: 'custom',
isTable: false,
isForm: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
form: {
component: 'DatePicker',
@ -237,17 +235,47 @@ export const Supplier = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
table: {
width: 180
}
},
{
label: '创建者',
field: 'creator',
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: '操作',
@ -310,4 +338,4 @@ export const SupplierRules = reactive({
available: [
{ required: true, message: '请选择是否可用', trigger: 'change' }
],
})
})

41
src/views/wms/basicDataManage/supplierManage/supplieritem/supplieritem.data.ts

@ -262,13 +262,38 @@ export const Supplieritem = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建时间',
field: 'createTime',
isTable: true,
isForm: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
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',
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
},
@ -280,14 +305,14 @@ export const Supplieritem = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
}
},
{
label: '创建者',
field: 'creator',
isTable: true,
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
sort: 'custom',
isTable: false,
table: {
width: 150
}
@ -336,4 +361,4 @@ export const SupplieritemRules = reactive({
remark: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' }
],
})
})

63
src/views/wms/basicDataManage/systemSetting/accountcalendar/accountcalendar.data.ts

@ -42,7 +42,7 @@ export const Accountcalendar = useCrudSchemas(reactive<CrudSchema[]>([
valueField: 'value'
}
},
},
},
{
@ -213,11 +213,44 @@ export const Accountcalendar = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建时间',
field: 'createTime',
isForm: false,
table: {
width: 180
},
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
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: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
@ -229,27 +262,25 @@ export const Accountcalendar = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isTable: false,
isForm: false
}
},
{
label: '备注',
field: 'remark',
sort: 'custom',
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
table: {
width: 150
},
}
},
{
label: '创建者',
field: 'creator',
{
label: '备注',
field: 'remark',
sort: 'custom',
table: {
width: 150
},
isTable: false,
isForm: false
},
{
label: '操作',
@ -289,4 +320,4 @@ export const AccountcalendarRules = reactive({
available: [
{ required: true, message: '请选择是否可用', trigger: 'change' }
],
})
})

55
src/views/wms/basicDataManage/systemSetting/currencyexchange/currencyexchange.data.ts

@ -122,11 +122,44 @@ export const Currencyexchange = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建时间',
field: 'createTime',
isForm: false,
table: {
width: 180
},
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
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: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
@ -138,20 +171,28 @@ export const Currencyexchange = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
}
},
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
table: {
width: 150
}
},
{
label: '备注',
{
label: '备注',
field: 'remark',
sort: 'custom',
table: {
width: 150
},
},
{
label: '创建者',
{
label: '创建者',
field: 'creator',
sort: 'custom',
table: {
@ -189,4 +230,4 @@ export const CurrencyexchangeRules = reactive({
remark: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' }
],
})
})

61
src/views/wms/basicDataManage/systemSetting/systemcalendar/systemcalendar.data.ts

@ -146,11 +146,44 @@ export const Systemcalendar = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建时间',
field: 'createTime',
isForm: false,
table: {
width: 180
},
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
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: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
@ -162,27 +195,25 @@ export const Systemcalendar = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isTable: false,
isForm: false
}
},
{
label: '备注',
field: 'remark',
sort: 'custom',
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
table: {
width: 150
},
}
},
{
label: '创建者',
field: 'creator',
{
label: '备注',
field: 'remark',
sort: 'custom',
table: {
width: 150
},
isTable: false,
isForm: false
},
{
label: '操作',
@ -208,4 +239,4 @@ export const SystemcalendarRules = reactive({
remark: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' }
],
})
})

59
src/views/wms/buttMesManage/mesBarCode/mesBarCode.data.ts

@ -183,24 +183,67 @@ export const MesBarCode = useCrudSchemas(reactive<CrudSchema[]>([
},
{
label: '创建时间',
field: 'createTime',
sort: 'custom',
formatter: dateFormatter,
table: {
field: 'createTime',
isForm: false,
table: {
width: 180
},
search: {
formatter: dateFormatter,
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
form: {
component: 'DatePicker',
componentProps: {
valueFormat: 'YYYY-MM-DD HH:mm:ss',
type: 'daterange',
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
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: '最后更新时间',
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: '备注',

33
src/views/wms/inventoryManage/expectin/expectin.data.ts

@ -129,6 +129,39 @@ export const Expectin = useCrudSchemas(reactive<CrudSchema[]>([
},
isForm: false
},
{
label: '更新时间',
field: 'updateTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false,
isTable: false
},
{
label: '更新者',
field: 'updater',
sort: 'custom',
table: {
width: 150
},
isForm: false,
isTable: false
},
]))
// 表单校验

33
src/views/wms/inventoryManage/expectout/expectout.data.ts

@ -137,6 +137,39 @@ export const Expectout = useCrudSchemas(reactive<CrudSchema[]>([
},
isForm: false
},
{
label: '更新时间',
field: 'updateTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false,
isTable: false
},
{
label: '更新者',
field: 'updater',
sort: 'custom',
table: {
width: 150
},
isForm: false,
isTable: false
},
]))
// 表单校验

35
src/views/wms/inventoryManage/transaction/transaction.data.ts

@ -33,7 +33,7 @@ export const Transaction = useCrudSchemas(reactive<CrudSchema[]>([
width: 150
},
},
{
label: '业务类型',
field: 'businessType',
@ -346,6 +346,39 @@ export const Transaction = useCrudSchemas(reactive<CrudSchema[]>([
},
isForm: false
},
{
label: '最后更新时间',
field: 'updateTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false,
isTable: false
},
{
label: '最后更新者',
field: 'updater',
sort: 'custom',
table: {
width: 150
},
isForm: false,
isTable: false
},
]))
// 表单校验

33
src/views/wms/inventoryManage/transferlog/transferlog.data.ts

@ -386,6 +386,39 @@ export const Transferlog = useCrudSchemas(reactive<CrudSchema[]>([
},
isForm: false
},
{
label: '最后更新时间',
field: 'updateTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false,
isTable: false
},
{
label: '更新者',
field: 'updater',
sort: 'custom',
table: {
width: 150
},
isForm: false,
isTable: false
},
]))
// 表单校验

42
src/views/wms/issueManage/issue/issueJobMain/issueJobMain.data.ts

@ -154,7 +154,7 @@ export const IssueJobMain = useCrudSchemas(reactive<CrudSchema[]>([
},
isTable: false,
},
{
label: '最后更新时间',
field: 'updateTime',
@ -186,7 +186,7 @@ export const IssueJobMain = useCrudSchemas(reactive<CrudSchema[]>([
isTable: false,
},
{
label: '优先级',
field: 'priority',
@ -350,6 +350,40 @@ export const IssueJobMain = useCrudSchemas(reactive<CrudSchema[]>([
},
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: '从库区代码范围',
field: 'fromAreaCodes',
@ -941,8 +975,8 @@ export const IssueJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
isTable:false,
hiddenInMain:true,
},
]))
//表单校验

58
src/views/wms/issueManage/issue/issueRecordMain/issueRecordMain.data.ts

@ -205,6 +205,27 @@ export const IssueRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
},
isTable: false,
},
{
label: '创建时间',
field: 'createTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
},
{
label: '创建者',
field: 'creator',
@ -212,28 +233,41 @@ export const IssueRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: false,
isTable: true,
},
{
label: '创建时间',
field: 'createTime',
label: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
isTable: false,
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: '代码',
@ -314,7 +348,7 @@ export const IssueRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
// width: 150
// },
// form: {
// component: 'Switch',
// component: 'Switch',
// value: 'TRUE',
// componentProps: {
// inactiveValue: 'FALSE',
@ -547,7 +581,7 @@ export const IssueRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
},
isTable:false
},
{
label: '供应商代码',
field: 'supplierCode',
@ -620,7 +654,7 @@ export const IssueRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
},
hiddenInMain:true,
},
{
label: '到库区代码',
field: 'toAreaCode',
@ -767,7 +801,7 @@ export const IssueRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
},
hiddenInMain:true,
},
// {
// label: '代码',
// field: 'code',
@ -776,7 +810,7 @@ export const IssueRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
// width: 150
// },
// },
// {
// label: '任务明细ID',
// field: 'jobDetailId',
@ -834,4 +868,4 @@ export const IssueRecordDetailRules = reactive({
creator: [
{ required: true, message: '请输入创建者', trigger: 'blur' }
],
})
})

10
src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts

@ -39,7 +39,7 @@ const queryParams = {
// id 转str 否则form回显匹配不到
userDept.id = userDept.id.toString()
const userDeptArray:any = [userDept]
/**
* @returns {Array}
*/
@ -392,7 +392,7 @@ export const IssueRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable:false,
isTable:true,
form: {
component: 'DatePicker',
componentProps: {
@ -410,7 +410,7 @@ export const IssueRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable:false,
isTable:true,
isForm: false,
},
{
@ -706,8 +706,8 @@ export const IssueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
}
}
},
{
label: '计量单位',
field: 'uom',

6
src/views/wms/issueManage/productionreceipt/productionreceiptJobMain/productionreceiptJobMain.data.ts

@ -305,7 +305,7 @@ export const ProductionreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable: false,
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
@ -322,7 +322,7 @@ export const ProductionreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: false,
isTable: true,
},
{
label: '从库区代码范围',
@ -851,7 +851,7 @@ export const ProductionreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>(
},
hiddenInMain: true,
},
]))
//表单校验

48
src/views/wms/issueManage/productionreceipt/productionreceiptRecordMain/productionreceiptRecordMain.data.ts

@ -196,6 +196,27 @@ export const ProductionreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>
},
isTable: false,
},
{
label: '创建时间',
field: 'createTime',
formatter: dateFormatter,
detai: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
},
{
label: '创建者',
field: 'creator',
@ -203,28 +224,41 @@ export const ProductionreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>
table: {
width: 150
},
isTable: false,
isTable: true,
},
{
label: '创建时间',
field: 'createTime',
label: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detai: {
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
isTable: false,
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: '从仓库代码',

6
src/views/wms/issueManage/productionreturn/productionreturnJobMain/productionreturnJobMain.data.ts

@ -308,7 +308,7 @@ export const ProductionreturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable: false,
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
@ -325,7 +325,7 @@ export const ProductionreturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: false,
isTable: true,
},
{
label: '从库区代码范围',
@ -813,7 +813,7 @@ export const ProductionreturnJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}
},
},
]))
//表单校验

46
src/views/wms/issueManage/productionreturn/productionreturnRecordMain/productionreturnRecordMain.data.ts

@ -45,7 +45,7 @@ export const ProductionreturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>(
isTable: false,
isSearch: true
},
{
label: '任务单号',
field: 'jobNumber',
@ -56,7 +56,7 @@ export const ProductionreturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>(
isTable: false,
isSearch: true
},
{
label: '出库事务类型',
field: 'outTransactionType',
@ -205,7 +205,7 @@ export const ProductionreturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>(
table: {
width: 150
},
isTable: false,
isTable: true,
},
{
label: '创建时间',
@ -218,7 +218,7 @@ export const ProductionreturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>(
table: {
width: 180
},
isTable: false,
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
@ -228,6 +228,40 @@ export const ProductionreturnRecordMain = 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: '代码',
// field: 'code',
@ -665,7 +699,7 @@ export const ProductionreturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]
width: 150
},
},
]))
//表单校验
@ -715,4 +749,4 @@ export const ProductionreturnRecordDetailRules = reactive({
creator: [
{ required: true, message: '请输入创建者', trigger: 'blur' }
],
})
})

12
src/views/wms/issueManage/productionreturn/productionreturnRequestMain/productionreturnRequestMain.data.ts

@ -44,7 +44,7 @@ const queryParams = {
// id 转str 否则form回显匹配不到
userDept.id = userDept.id.toString()
const userDeptArray:any = [userDept]
/**
* @returns {Array} 退
*/
@ -400,7 +400,7 @@ export const ProductionreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>
table: {
width: 180
},
isTable: false,
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
@ -419,7 +419,7 @@ export const ProductionreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>
table: {
width: 150
},
isTable: false,
isTable: true,
isForm: false
},
{
@ -490,7 +490,7 @@ export const ProductionreturnRequestMainRules = reactive({
],
workshopCode: [
{ required: true, message: '请选择车间', trigger: 'change' }
],
],
})
/**
@ -928,7 +928,7 @@ export const ProductionreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[
isTableForm: false,
isForm: false
},
{
label: '包装规格',
field: 'packUnit',
@ -998,7 +998,7 @@ export const ProductionreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[
}
}
},
{
label: '包装号',
field: 'packingNumber',

8
src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/productionreturnRequestMainNo.data.ts

@ -128,7 +128,7 @@ export const ProductionreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[
}]
},
},
{
label: '物料代码',
field: 'itemCode',
@ -400,6 +400,7 @@ export const ProductionreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[
table: {
width: 150
},
isTable: true,
hiddenInMain: true,
isTableForm: false,
isForm: false
@ -426,7 +427,8 @@ export const ProductionreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[
}
},
isTableForm: false,
isForm: false
isForm: false,
isTable: true,
},
{
label: '包装规格',
@ -842,7 +844,7 @@ export const ProductionreturnRequestDetailNoLabelRules = reactive({
],
productionLineCodePackage: [
{ required: true, message: '请选择生产线', trigger: 'change' }
],
],
batch: [
{ required: true, message: '请输入批次', trigger: 'blur' }
]

4
src/views/wms/issueManage/repleinsh/repleinshJobMain/repleinshJobMain.data.ts

@ -532,7 +532,7 @@ export const RepleinshJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: false,
isTable: true,
},
{
@ -546,7 +546,7 @@ export const RepleinshJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable: false,
isTable: true,
form: {
component: 'DatePicker',
componentProps: {

40
src/views/wms/issueManage/repleinsh/repleinshRecordMain/repleinshRecordMain.data.ts

@ -204,7 +204,7 @@ export const RepleinshRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: false,
isTable: true,
},
{
label: '创建时间',
@ -217,7 +217,7 @@ export const RepleinshRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable: false,
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
@ -227,6 +227,40 @@ export const RepleinshRecordMain = 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: '代码',
// field: 'code',
@ -756,4 +790,4 @@ export const RepleinshRecordDetailRules = reactive({
toAreaCode: [
{ required: true, message: '请选择到库区代码', trigger: 'change' }
],
})
})

10
src/views/wms/issueManage/repleinsh/repleinshRequestMain/repleinshRequestMain.data.ts

@ -340,7 +340,7 @@ export const RepleinshRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable: false,
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
@ -358,7 +358,7 @@ export const RepleinshRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: false,
isTable: true,
isForm: false,
},
{
@ -372,6 +372,7 @@ export const RepleinshRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isDetail: true,
hiddenInMain:true,
isTable: false,
form: {
@ -394,6 +395,7 @@ export const RepleinshRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
},
hiddenInMain:true,
isTable: false,
isDetail: true,
isForm: false,
},
{
@ -561,7 +563,7 @@ export const RepleinshRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
disabled: true
}
},
{
label: '单据号',
field: 'number',
@ -769,7 +771,7 @@ export const RepleinshRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
isTableForm: false,
sortTableDefault:2,
},
{
label: '从货主代码',
field: 'fromOwnerCode',

40
src/views/wms/productionManage/productdismantle/productdismantleRecordMain/productdismantleRecordMain.data.ts

@ -190,7 +190,7 @@ export const ProductdismantleRecordMain = useCrudSchemas(reactive<CrudSchema[]>(
label: '创建者',
field: 'creator',
sort: 'custom',
isTable: false,
isTable: true,
table: {
width: 150
},
@ -206,7 +206,7 @@ export const ProductdismantleRecordMain = useCrudSchemas(reactive<CrudSchema[]>(
table: {
width: 180
},
isTable: false,
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
@ -216,6 +216,40 @@ export const ProductdismantleRecordMain = 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: '代码',
// field: 'code',
@ -479,7 +513,7 @@ export const ProductdismantleRecordDetaila = useCrudSchemas(reactive<CrudSchema[
width: 150
},
},
{
label: '物料名称',
field: 'itemName',

4
src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts

@ -493,7 +493,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: false,
isTable: true,
isForm: false,
},
{
@ -507,7 +507,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable: false,
isTable: true,
form: {
component: 'DatePicker',
componentProps: {

6
src/views/wms/productionManage/productionplan/productionMainAssemble/productionMainAssemble.data.ts

@ -484,7 +484,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: false,
isTable: true,
isForm: false,
},
{
@ -498,7 +498,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable: false,
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
@ -787,6 +787,7 @@ export const ProductionDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: true,
isTableForm: false,
isForm: false,
hiddenInMain: true,
@ -802,6 +803,7 @@ export const ProductionDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable: true,
hiddenInMain: true,
form: {
component: 'DatePicker',

6
src/views/wms/productionManage/productionplan/productionMainAssembleSparePart/productionMainAssembleSparePart.data.ts

@ -484,7 +484,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: false,
isTable: true,
isForm: false,
},
{
@ -498,7 +498,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable: false,
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
@ -791,11 +791,13 @@ export const ProductionDetail = useCrudSchemas(reactive<CrudSchema[]>([
hiddenInMain: true,
isTableForm: false,
isForm: false,
isTable: true,
},
{
label: '创建时间',
field: 'createTime',
formatter: dateFormatter,
isTable: true,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},

4
src/views/wms/productionManage/productionplan/productionMainPredictSparePart/productionMainPredictSparePart.data.ts

@ -485,7 +485,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: false,
isTable: true,
isForm: false,
},
{
@ -499,7 +499,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable: false,
isTable: true,
form: {
component: 'DatePicker',
componentProps: {

2
src/views/wms/productionManage/productreceipt/productreceiptJobMain/productreceiptJobMain.data.ts

@ -134,7 +134,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
}
},
},
{
label: '过期时间',
field: 'expiredTime',

44
src/views/wms/productionManage/productreceipt/productreceiptRecordMain/productreceiptRecordMain.data.ts

@ -229,7 +229,7 @@ export const ProductreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: false,
isTable: true,
},
{
label: '创建时间',
@ -238,7 +238,7 @@ export const ProductreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
isTable: false,
isTable: true,
sort: 'custom',
table: {
width: 180
@ -252,6 +252,40 @@ export const ProductreceiptRecordMain = 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: '代码',
// field: 'code',
@ -557,7 +591,7 @@ export const ProductreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
}
},
},
{
label: '到货主代码',
field: 'toOwnerCode',
@ -568,7 +602,7 @@ export const ProductreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
isTable: false,
},
{
label: '到库位组代码',
field: 'toLocationGroupCode',
@ -987,4 +1021,4 @@ export const BackflushRecordDetailbRules = reactive({
creator: [
{ required: true, message: '请输入创建者', trigger: 'blur' }
],
})
})

6
src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts

@ -51,7 +51,7 @@ const queryParams = {
// id 转str 否则form回显匹配不到
userDept.id = userDept.id.toString()
const userDeptArray:any = [userDept]
/**
* @returns {Array}
*/
@ -998,7 +998,7 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
tableForm: {
type: 'Select'
}
},
{
label: '生产日期',
@ -1347,7 +1347,7 @@ export const BackflushRequestDetailbRules = reactive({
creator: [
{ required: true, message: '请输入创建者', trigger: 'blur' }
],
})

42
src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRecordMain/productreceiptAssembleRecordMain.data.ts

@ -256,6 +256,40 @@ export const ProductreceiptRecordMain = 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: '代码',
// field: 'code',
@ -561,7 +595,7 @@ export const ProductreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
}
},
},
{
label: '到货主代码',
field: 'toOwnerCode',
@ -571,7 +605,7 @@ export const ProductreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
},
isTable: false,
},
{
label: '到库位组代码',
field: 'toLocationGroupCode',
@ -620,8 +654,8 @@ export const ProductreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
component: 'InputNumber',
}
},
{
label: '备注',
field: 'remark',

11
src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/productreceiptAssembleRequestMain.data.ts

@ -51,7 +51,7 @@ const queryParams = {
// id 转str 否则form回显匹配不到
userDept.id = userDept.id.toString()
const userDeptArray:any = [userDept]
/**
* @returns {Array}
*/
@ -392,7 +392,7 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
},
isTable: false,
},
{
label: '最后更新时间',
field: 'updateTime',
@ -999,7 +999,6 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
tableForm: {
type: 'Select'
}
},
{
label: '生产日期',
@ -1089,13 +1088,15 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
}
},
isTableForm: false,
isForm: false
isForm: false,
isTable: true
},
{
label: '创建者',
field: 'creator',
sortTableDefault:1010,
sort: 'custom',
isTable: true,
table: {
width: 150
},
@ -1347,7 +1348,7 @@ export const BackflushRequestDetailbRules = reactive({
creator: [
{ required: true, message: '请输入创建者', trigger: 'blur' }
],
})

44
src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRecordMain/productreceiptscrapRecordMain.data.ts

@ -217,7 +217,7 @@ export const ProductreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: false,
isTable: true,
},
{
label: '创建时间',
@ -230,7 +230,7 @@ export const ProductreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable: false,
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
@ -240,6 +240,40 @@ export const ProductreceiptRecordMain = 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: '代码',
// field: 'code',
@ -574,7 +608,7 @@ export const ProductreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
},
isTable: false,
},
{
label: '到库位组代码',
field: 'toLocationGroupCode',
@ -650,7 +684,7 @@ export const ProductreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
},
isTable: false,
},
// {
// label: '任务明细ID',
// field: 'jobDetailId',
@ -982,4 +1016,4 @@ export const BackflushRecordDetailbRules = reactive({
creator: [
{ required: true, message: '请输入创建者', trigger: 'blur' }
],
})
})

10
src/views/wms/productionManage/productredress/productredressJobMain/productredressJobMain.data.ts

@ -376,7 +376,7 @@ export const ProductredressJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable:false,
isTable:true,
isForm: false,
},
{
@ -390,7 +390,7 @@ export const ProductredressJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable:false,
isTable:true,
form: {
component: 'DatePicker',
componentProps: {
@ -453,7 +453,7 @@ export const ProductredressJobDetailRules = reactive({
})
export const ProductredressJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '物料代码',
field: 'itemCode',
@ -582,7 +582,7 @@ export const ProductredressJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
// },
// isForm: false
// },
{
label: '物品描述1',
field: 'itemDesc1',
@ -621,7 +621,7 @@ export const ProductredressJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
// width: 150
// },
// },
{
label: '订单号',
field: 'woNumber',

16
src/views/wms/productionManage/productredress/productredressRecordMain/productredressRecordMain.data.ts

@ -271,7 +271,7 @@ export const ProductredressRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'creator',
sort: 'custom',
isForm: false,
isTable:false,
isTable:true,
table: {
width: 150
},
@ -287,7 +287,7 @@ export const ProductredressRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable:false,
isTable:true,
form: {
component: 'DatePicker',
componentProps: {
@ -448,8 +448,8 @@ export const ProductredressRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
isTable:false,
hiddenInMain: true
},
{
label: '物品描述1',
field: 'itemDesc1',
@ -528,8 +528,8 @@ export const ProductredressRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
},
isForm: false
},
{
label: 'BOM版本',
field: 'bomVersion',
@ -540,8 +540,8 @@ export const ProductredressRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
isTable:false,
hiddenInMain: true,
},
// {
// label: '到货主代码',
// field: 'toOwnerCode',

10
src/views/wms/productionManage/productredress/productredressRequestMain/productredressRequestMain.data.ts

@ -225,7 +225,7 @@ export const ProductredressRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'creator',
sort: 'custom',
isForm: false,
isTable: false,
isTable: true,
table: {
width: 150
},
@ -241,7 +241,7 @@ export const ProductredressRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable: false,
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
@ -307,7 +307,7 @@ export const ProductredressRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
// field: 'bomVersion',
// sort: 'custom',
// },
{
label: '物料代码',
field: 'itemCode',
@ -548,7 +548,7 @@ export const ProductredressRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
isTableForm: false,
hiddenInMain:true,
},
{
label: '备注',
field: 'remark',
@ -633,7 +633,7 @@ export const ProductredressRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
isTableForm: false,
isForm: false
},
{
label: '操作',
field: 'action',

38
src/views/wms/productionManage/productrepair/productrepairRecordMain/productrepairRecordMain.data.ts

@ -204,7 +204,7 @@ export const ProductrepairRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: false
isTable: true
},
{
label: '创建时间',
@ -217,7 +217,7 @@ export const ProductrepairRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable: false,
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
@ -227,6 +227,40 @@ export const ProductrepairRecordMain = 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: '代码',
// field: 'code',

10
src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts

@ -45,7 +45,7 @@ const queryParams = {
// id 转str 否则form回显匹配不到
userDept.id = userDept.id.toString()
const userDeptArray:any = [userDept]
/**
* @returns {Array}
*/
@ -274,7 +274,7 @@ export const ProductrepairRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable: false,
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
@ -293,7 +293,7 @@ export const ProductrepairRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: false,
isTable: true,
isForm: false,
},
{
@ -366,7 +366,7 @@ export const ProductrepairRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
}
}
},
{
label: '最后更新时间',
field: 'updateTime',
@ -540,7 +540,7 @@ export const ProductrepairRequestDetaila = useCrudSchemas(reactive<CrudSchema[]>
isTableForm: false,
isForm: false,
},
{
label: '返修工位',
field: 'workStationCode',

42
src/views/wms/productionManage/productscrap/productscrapRecordMain/productscrapRecordMain.data.ts

@ -227,7 +227,7 @@ export const ProductscrapRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: false,
isTable: true,
},
{
label: '创建时间',
@ -240,7 +240,7 @@ export const ProductscrapRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable: false,
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
@ -250,6 +250,40 @@ export const ProductscrapRecordMain = 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: '代码',
// field: 'code',
@ -534,7 +568,7 @@ export const ProductscrapRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
width: 150
},
},
{
label: '单据号',
field: 'number',
@ -583,7 +617,7 @@ export const ProductscrapRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
},
isTable: false,
},
{
label: '物料描述1',
field: 'itemDesc1',

4
src/views/wms/productionManage/productscrap/productscrapRequestMain/productscrapRequestMain.data.ts

@ -1023,7 +1023,7 @@ export const ProductscrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable: false,
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
@ -1043,7 +1043,7 @@ export const ProductscrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: false,
isTable: true,
isTableForm: false,
isForm: false
},

37
src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptJobMain/purchasereceiptJobMain.data.ts

@ -636,7 +636,38 @@ export const PurchasereceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
},
sortTableDefault:1001,
},
{
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
}
]))
//表单校验
@ -896,7 +927,7 @@ export const PurchasereceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
disabled: true
}
},
{
label: '供应商计量数量',
field: 'supplierQty',
@ -1114,7 +1145,7 @@ export const PurchasereceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
},
isTableForm:true,
},
]))
//表单校验

78
src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/purchasereceiptRecordMain.data.ts

@ -378,7 +378,7 @@ export const PurchasereceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
},
},
{
label: '是否可用',
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
@ -445,6 +445,70 @@ export const PurchasereceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
},
sortTableDefault:12,
},
{
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: '最后更新时间',
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
}
},
]))
// 表单校验
@ -763,7 +827,7 @@ export const PurchasereceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
sortTableDefault:24,
hiddenInMain:true
},
{
label: '库存状态',
field: 'inventoryStatus',
@ -1004,7 +1068,7 @@ export const PurchasereceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
// width: 150
// },
// },
{
label: '项目代码',
field: 'projectCode',
@ -1077,7 +1141,7 @@ export const PurchasereceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
},
sortTableDefault:2000,
},
{
label: '操作',
hiddenInMain:true,
@ -1415,7 +1479,7 @@ export const PurchasereceiptRecordDetailPackingNumber = useCrudSchemas(reactive<
disabled: true,
}
},
{
label: '包装数量',
field: 'packQty',
@ -1432,7 +1496,7 @@ export const PurchasereceiptRecordDetailPackingNumber = useCrudSchemas(reactive<
tableForm: {
disabled: true,
}
},
{
label: '包装规格',
@ -1452,7 +1516,7 @@ export const PurchasereceiptRecordDetailPackingNumber = useCrudSchemas(reactive<
tableForm: {
disabled: true,
}
},
{
label: '供应商计量数量',

57
src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts

@ -30,7 +30,7 @@ const userDept = userStore.userSelfInfo.dept
// id 转str 否则form回显匹配不到
userDept.id = userDept.id.toString()
const userDeptArray:any = [userDept]
/**
* @returns {Array}
*/
@ -301,14 +301,14 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
{
label: '创建时间',
field: 'createTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
isForm: false,
table: {
width: 180
},
formatter: dateFormatter,
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
form: {
component: 'DatePicker',
componentProps: {
@ -317,19 +317,50 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false,
isTable: 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: 150
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: '申请时间',
@ -565,7 +596,7 @@ export const PurchasereceiptRequestMainRules = reactive({
* @returns {Array}
*/
export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '订单号',
field: 'poNumber',
@ -1180,7 +1211,7 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
isTableForm: false,
isForm: false
},
{
label: '项目代码',
field: 'projectCode',
@ -1207,7 +1238,7 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
}
}
},
{
label: '备注',
field: 'remark',

8
src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnJobMain/purchasereturnJobMain.data.ts

@ -562,7 +562,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: false,
isTable: true,
},
{
label: '创建时间',
@ -575,7 +575,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable: false,
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
@ -768,7 +768,7 @@ export const PurchasereturnJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
sortTableDefault: 15,
hiddenInMain:true,
},
{
label: '订单号',
field: 'poNumber',
@ -952,7 +952,7 @@ export const PurchasereturnJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}
},
},
]))
//表单校验

12
src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRecordMain/purchasereturnRecordMain.data.ts

@ -338,7 +338,7 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: false,
isTable: true,
},
{
label: '创建时间',
@ -351,7 +351,7 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable: false,
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
@ -435,7 +435,7 @@ export const PurchasereturnRecordMainRules = reactive({
* @returns {Array} 退
*/
export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '从包装号',
field: 'fromPackingNumber',
@ -693,7 +693,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
sortTableDefault: 1013,
hiddenInMain: true
},
{
label: '物料代码',
field: 'itemCode',
@ -864,7 +864,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
}
},
},
]))
//表单校验
@ -902,4 +902,4 @@ export const PurchasereturnRecordDetailRules = reactive({
poline: [
{ required: true, message: '请选择订单行', trigger: 'change' }
],
})
})

107
src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts

@ -32,7 +32,7 @@ const queryParams = {
// id 转str 否则form回显匹配不到
userDept.id = userDept.id.toString()
const userDeptArray:any = [userDept]
// 采购收货记录展示列
export const PurchasereceiptRecordMain1 = useCrudSchemas(reactive<CrudSchema[]>([
@ -82,7 +82,7 @@ export const PurchasereceiptRecordMain1 = useCrudSchemas(reactive<CrudSchema[]>(
width: 150
},
},
{
label: '物料名称',
field: 'itemName',
@ -139,8 +139,8 @@ export const PurchasereceiptRecordMain1 = useCrudSchemas(reactive<CrudSchema[]>(
width: 150
},
},
]))
/**
@ -438,7 +438,7 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
}
}
},
{
label: '原因',
field: 'remark',
@ -448,28 +448,50 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
},
isTable: false,
},
{
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',
sort: 'custom',
table: {
width: 150
width: 130
},
isForm: false,
isTable: false,
isTable: true
},
{
label: '创建时间',
field: 'createTime',
label: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
isTable: false,
form: {
component: 'DatePicker',
componentProps: {
@ -478,8 +500,17 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
}
},
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
table: {
width: 150
}
},
{
label: '自动提交',
@ -649,7 +680,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
sort: 'custom',
table: {
width: 150
},
},
tableForm:{
isInpuFocusShow: false, // 开启查询弹窗
searchListPlaceholder: '请选择订单行',
@ -729,7 +760,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
sort: 'custom',
table: {
width: 150
},
},
tableForm:{
disabled:true
},
@ -747,7 +778,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
width: 150
},
isTableForm:false,
isTable:false,
isTable:false,
hiddenInMain: true,
tableForm:{
disabled:true
@ -766,7 +797,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
width: 150
},
isTableForm:false,
isTable:false,
isTable:false,
hiddenInMain: true,
tableForm:{
disabled:true
@ -798,8 +829,8 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
field: 'altBatch',
sort: 'custom',
table: {
width: 150
},
width: 150
},
hiddenInMain: true,
isTableForm: false,
isTable: false,
@ -818,7 +849,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
sort: 'custom',
table: {
width: 150
},
},
hiddenInMain: true,
tableForm:{
disabled:true
@ -841,7 +872,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
sort: 'custom',
table: {
width: 150
},
},
tableForm:{
disabled:true,
type: 'Select',
@ -907,7 +938,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
sort: 'custom',
table: {
width: 150
},
},
form: {
componentProps:{
disabled:true
@ -942,7 +973,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
sort: 'custom',
table: {
width: 150
},
},
hiddenInMain: true,
isTable: false,
form: {
@ -1035,7 +1066,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
sort: 'custom',
table: {
width: 150
},
},
tableForm:{
disabled:true,
type: 'Select',
@ -1054,7 +1085,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
sort: 'custom',
table: {
width: 150
},
},
tableForm:{
disabled:true
},
@ -1073,7 +1104,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
sort: 'custom',
table: {
width: 150
},
},
tableForm:{
disabled:true
},
@ -1092,7 +1123,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
sort: 'custom',
table: {
width: 150
},
},
tableForm:{
disabled:true
},
@ -1125,7 +1156,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
dateFormat: 'YYYY-MM-DD',
valueFormat: 'x',
}
},
},
tableForm:{
disabled:true,
type: 'FormDate',
@ -1155,7 +1186,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
dateFormat: 'YYYY-MM-DD',
valueFormat: 'x',
}
},
},
tableForm:{
disabled:true,
type: 'FormDate',
@ -1185,7 +1216,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
dateFormat: 'YYYY-MM-DD',
valueFormat: 'x',
}
},
},
isTableForm: false,
isTable: false,
tableForm:{
@ -1201,7 +1232,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
sort: 'custom',
table: {
width: 150
},
},
tableForm:{
disabled:true
},
@ -1220,7 +1251,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
sort: 'custom',
table: {
width: 150
},
},
tableForm:{
disabled:true
},
@ -1240,7 +1271,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
sort: 'custom',
table: {
width: 180
},
},
hiddenInMain: true,
tableForm:{
disabled:true
@ -1259,7 +1290,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
sort: 'custom',
table: {
width: 150
},
},
tableForm:{
disabled:true
},
@ -1277,7 +1308,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
sort: 'custom',
table: {
width: 150
},
},
tableForm:{
disabled:true
},
@ -1309,7 +1340,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
},
tableForm:{
disabled:true
},
@ -1322,7 +1353,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
sort: 'custom',
table: {
width: 150
},
},
tableForm:{
disabled:true
},
@ -1528,7 +1559,7 @@ export const PurchasereReturnRequestDetailLabel = useCrudSchemas(reactive<CrudSc
valueFormat: 'x',
},
},
{
label: '替代批次',
field: 'altBatch',

50
src/views/wms/purchasereceiptManage/putaway/putawayJobMain/putawayJobMain.data.ts

@ -262,32 +262,66 @@ export const PutawayJobMain = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建时间',
field: 'createTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
isForm: false,
table: {
width: 180
},
isTable: false,
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: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 150
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: '到仓库代码',

52
src/views/wms/purchasereceiptManage/putaway/putawayRecordMain/putawayRecordMain.data.ts

@ -185,35 +185,69 @@ export const PutawayRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
},
isTable: false,
},
{
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',
sort: 'custom',
table: {
width: 150
width: 130
},
isTable: false,
isForm: false,
isTable: true
},
{
label: '创建时间',
field: 'createTime',
label: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
isTable: false,
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: '代码',
@ -658,7 +692,7 @@ export const PutawayRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
component: 'InputNumber',
}
},
// {
// label: '代码',
// field: 'code',

57
src/views/wms/purchasereceiptManage/putaway/putawayRequestMain/putawayRequestMain.data.ts

@ -45,7 +45,7 @@ const requestsettingData = data?.list[0] || {}
// id 转str 否则form回显匹配不到
userDept.id = userDept.id.toString()
const userDeptArray:any = [userDept]
/**
* @returns {Array}
*/
@ -203,35 +203,66 @@ export const PutawayRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建时间',
field: 'createTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
isForm: false,
table: {
width: 180
},
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
form: {
component: 'DatePicker',
componentProps: {
style: { width: '100%' },
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
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: 150
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,
isForm: false
table: {
width: 150
}
},
{
label: '申请时间',
@ -1283,4 +1314,4 @@ export const PutawayRequestDetailChildPackingNumber = useCrudSchemas(reactive<Cr
disabled: true,
}
}
]))
]))

14
src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRecordMain/sparereceiptRecordMain.data.ts

@ -353,7 +353,7 @@ export const PurchasereceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable:false,
isTable:true,
},
{
label: '创建时间',
@ -366,7 +366,7 @@ export const PurchasereceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable:false,
isTable:true,
form: {
component: 'DatePicker',
componentProps: {
@ -377,7 +377,7 @@ export const PurchasereceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
},
},
{
label: '是否可用',
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
@ -762,7 +762,7 @@ export const PurchasereceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
sortTableDefault:24,
hiddenInMain:true
},
{
label: '库存状态',
field: 'inventoryStatus',
@ -1003,7 +1003,7 @@ export const PurchasereceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
// width: 150
// },
// },
{
label: '项目代码',
field: 'projectCode',
@ -1077,7 +1077,7 @@ export const PurchasereceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
},
sortTableDefault:2000,
},
{
label: '操作',
hiddenInMain:true,
@ -1145,4 +1145,4 @@ export const PurchasereceiptRecordDetailRules = reactive({
visualInspectResult: [
{ required: true, message: '请选择目检结果', trigger: 'change' }
],
})
})

105
src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/sparereceiptRequestMain.data.ts

@ -33,7 +33,7 @@ import { PurchaseDetail, PurchaseMain } from '../../supplierdeliver/purchaseMain
// id 转str 否则form回显匹配不到
userDept.id = userDept.id.toString()
const userDeptArray:any = [userDept]
/**
* @returns {Array}
@ -302,39 +302,6 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
},
isTable: false,
},
{
label: '创建时间',
field: 'createTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false,
isTable: false,
},
{
label: '创建者',
field: 'creator',
sort: 'custom',
table: {
width: 150
},
isForm: false,
isTable: false,
},
{
label: '申请时间',
field: 'requestTime',
@ -519,6 +486,70 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
isTable: false,
isSearch: false,
},
{
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: '最后更新时间',
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: '操作',
field: 'action',
@ -569,7 +600,7 @@ export const PurchasereceiptRequestMainRules = reactive({
* @returns {Array}
*/
export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '订单号',
field: 'poNumber',
@ -1184,7 +1215,7 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
isTableForm: false,
isForm: false
},
{
label: '项目代码',
field: 'projectCode',
@ -1211,7 +1242,7 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
}
}
},
{
label: '备注',
field: 'remark',

42
src/views/wms/supplierManage/purchaseclaim/purchaseclaimRecordMain/purchaseclaimRecordMain.data.ts

@ -162,27 +162,27 @@ export const PurchaseclaimRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}
}
},
{
label: '创建者',
field: 'creator',
sort: 'custom',
table: {
width: 150
}
},
{
label: '创建时间',
field: 'createTime',
isTable: true,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
}
},
// {
// label: '创建者',
// field: 'creator',
// sort: 'custom',
// table: {
// width: 150
// }
// },
// {
// label: '创建时间',
// field: 'createTime',
// isTable: true,
// formatter: dateFormatter,
// detail: {
// dateFormat: 'YYYY-MM-DD HH:mm:ss'
// },
// sort: 'custom',
// table: {
// width: 180
// }
// },
]))
//表单校验

9
src/views/wms/supplierManage/purchaseclaim/purchaseclaimRequestMain/purchaseclaimRequestMain.data.ts

@ -18,7 +18,7 @@ const { t } = useI18n() // 国际化
// id 转str 否则form回显匹配不到
userDept.id = userDept.id.toString()
const userDeptArray:any = [userDept]
// 获取自动提交自动通过自动执行,跳过任务直接删生成记录的默认值
const queryParams = {
@ -294,6 +294,7 @@ export const PurchaseclaimRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '最后更新者',
field: 'updater',
isForm:false,
isTable: false,
table: {
width: 120
}
@ -301,7 +302,7 @@ export const PurchaseclaimRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '最后更新时间',
field: 'updateTime',
isTable: true,
isTable: false,
formatter: dateFormatter,
isForm:false,
detail: {
@ -403,7 +404,7 @@ export const PurchaseclaimRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: {
width: 150
},
},
{
label: '物料名称',
@ -474,7 +475,7 @@ export const PurchaseclaimRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
// disabled:true,
// }
},
{
label: '备注',
field: 'remark',

Loading…
Cancel
Save