Browse Source

Merge branch 'master_hella' of http://dev.ccwin-in.com:3000/sfms3.0/sfms3.0-ui into master_hella

master_hella_20240701
陈薪名 6 months ago
parent
commit
af9d48a49c
  1. 198
      src/views/wms/deliversettlementManage/stockup/stockupMainJob/stockupMainJob.data.ts
  2. 284
      src/views/wms/deliversettlementManage/stockup/stockupMainRecord/stockupMainRecord.data.ts
  3. 8
      src/views/wms/deliversettlementManage/stockup/stockupMainRequest/stockupMainRequest.data.ts

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

@ -12,42 +12,58 @@ export const StockupMainJob = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
isForm: false, isForm: false,
table: {
width: 180
},
}, },
{ {
label: '申请单号', label: '申请单号',
field: 'requestNumber', field: 'requestNumber',
sort: 'custom', sort: 'custom',
isForm: false, isForm: false,
table: {
width: 180
},
}, },
{ {
label: '从仓库代码', label: '从仓库代码',
field: 'fromWarehouseCode', field: 'fromWarehouseCode',
sort: 'custom', sort: 'custom',
isForm: false, isForm: false,
table: {
width: 150
},
}, },
{ {
label: '到仓库代码', label: '到仓库代码',
field: 'toWarehouseCode', field: 'toWarehouseCode',
sort: 'custom', sort: 'custom',
isForm: false, isForm: false,
table: {
width: 150
},
}, },
{ {
label: '状态', label: '状态',
field: 'status', field: 'status',
dictType: DICT_TYPE.REQUEST_STATUS,
dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom', sort: 'custom',
table: {
form: { width: 150
component: 'Radio'
}, },
isForm: false,
}, },
{ {
label: '申请时间', label: '申请时间',
field: 'requestTime', field: 'requestTime',
sort: 'custom', sort: 'custom',
formatter: dateFormatter, formatter: dateFormatter,
table: {
width: 180
},
search: { search: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -69,6 +85,9 @@ export const StockupMainJob = useCrudSchemas(reactive<CrudSchema[]>([
field: 'requestDueTime', field: 'requestDueTime',
sort: 'custom', sort: 'custom',
formatter: dateFormatter, formatter: dateFormatter,
table: {
width: 180
},
search: { search: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -91,7 +110,9 @@ export const StockupMainJob = useCrudSchemas(reactive<CrudSchema[]>([
field: 'expiredTime', field: 'expiredTime',
sort: 'custom', sort: 'custom',
formatter: dateFormatter, formatter: dateFormatter,
table: {
width: 180
},
search: { search: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -112,20 +133,23 @@ export const StockupMainJob = useCrudSchemas(reactive<CrudSchema[]>([
label: '部门', label: '部门',
field: 'departmentCode', field: 'departmentCode',
sort: 'custom', sort: 'custom',
}, },
{ {
label: '承接人用户名', label: '承接人用户名',
field: 'acceptUserName', field: 'acceptUserName',
sort: 'custom', sort: 'custom',
table: {
width: 150
},
}, },
{ {
label: '承接时间', label: '承接时间',
field: 'acceptTime', field: 'acceptTime',
sort: 'custom', sort: 'custom',
formatter: dateFormatter, formatter: dateFormatter,
table: {
width: 180
},
search: { search: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -146,12 +170,18 @@ export const StockupMainJob = useCrudSchemas(reactive<CrudSchema[]>([
label: '完成人用户名', label: '完成人用户名',
field: 'completeUserName', field: 'completeUserName',
sort: 'custom', sort: 'custom',
table: {
width: 150
},
}, },
{ {
label: '完成时间', label: '完成时间',
field: 'completeTime', field: 'completeTime',
sort: 'custom', sort: 'custom',
formatter: dateFormatter, formatter: dateFormatter,
table: {
width: 180
},
search: { search: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -171,12 +201,26 @@ export const StockupMainJob = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '从库区类型范围', label: '从库区类型范围',
field: 'fromAreaTypes', field: 'fromAreaTypes',
dictType: DICT_TYPE.LOCATION_TYPE,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: {
width: 150
},
isForm: false,
}, },
{ {
label: '到库区类型范围', label: '到库区类型范围',
field: 'toAreaTypes', field: 'toAreaTypes',
dictType: DICT_TYPE.LOCATION_TYPE,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: {
width: 150
},
isForm: false,
}, },
{ {
label: '业务类型', label: '业务类型',
@ -185,48 +229,62 @@ export const StockupMainJob = useCrudSchemas(reactive<CrudSchema[]>([
form: { form: {
component: 'SelectV2' component: 'SelectV2'
}, },
table: {
width: 120
},
}, },
{ {
label: '备注', label: '备注',
field: 'remark', field: 'remark',
sort: 'custom', sort: 'custom',
}, },
{ {
label: '自动完成', label: '自动完成',
field: 'autoComplete', field: 'autoComplete',
sort: 'custom', sort: 'custom',
table: {
width: 120
},
}, },
{ {
label: '允许修改库位', label: '允许修改库位',
field: 'allowModifyLocation', field: 'allowModifyLocation',
sort: 'custom', sort: 'custom',
table: {
width: 150
},
}, },
{ {
label: '允许修改数量', label: '允许修改数量',
field: 'allowModifyQty', field: 'allowModifyQty',
sort: 'custom', sort: 'custom',
table: {
width: 150
},
}, },
{ {
label: '允许大于推荐数量', label: '允许大于推荐数量',
field: 'allowBiggerQty', field: 'allowBiggerQty',
sort: 'custom', sort: 'custom',
table: {
width: 180
},
}, },
{ {
label: '允许小于推荐数量', label: '允许小于推荐数量',
field: 'allowSmallerQty', field: 'allowSmallerQty',
sort: 'custom', sort: 'custom',
table: {
width: 180
},
}, },
{ {
label: '允许修改库存状态', label: '允许修改库存状态',
field: 'allowModifyInventoryStatus', field: 'allowModifyInventoryStatus',
sort: 'custom', sort: 'custom',
table: {
width: 180
},
form: { form: {
component: 'Radio' component: 'Radio'
}, },
@ -235,66 +293,82 @@ export const StockupMainJob = useCrudSchemas(reactive<CrudSchema[]>([
label: '允许连续扫描', label: '允许连续扫描',
field: 'allowContinuousScanning', field: 'allowContinuousScanning',
sort: 'custom', sort: 'custom',
table: {
width: 150
},
}, },
{ {
label: '允许部分完成', label: '允许部分完成',
field: 'allowPartialComplete', field: 'allowPartialComplete',
sort: 'custom', sort: 'custom',
table: {
width: 150
},
}, },
{ {
label: '允许修改批次', label: '允许修改批次',
field: 'allowModifyBatch', field: 'allowModifyBatch',
sort: 'custom', sort: 'custom',
table: {
width: 150
},
}, },
{ {
label: '允许修改箱码', label: '允许修改箱码',
field: 'allowModifyPackingNumber', field: 'allowModifyPackingNumber',
sort: 'custom', sort: 'custom',
table: {
width: 150
},
}, },
{ {
label: '从库区代码范围', label: '从库区代码范围',
field: 'fromAreaCodes', field: 'fromAreaCodes',
sort: 'custom', sort: 'custom',
table: {
width: 150
},
}, },
{ {
label: '到库区代码范围', label: '到库区代码范围',
field: 'toAreaCodes', field: 'toAreaCodes',
sort: 'custom', sort: 'custom',
table: {
width: 150
}, },
{
label: '工作流流水号',
field: 'serialNumber',
sort: 'custom',
}, },
{ {
label: '入库库存状态范围', label: '入库库存状态范围',
field: 'inInventoryStatuses', field: 'inInventoryStatuses',
sort: 'custom', sort: 'custom',
table: {
width: 180
},
}, },
{ {
label: '出库库存状态范围', label: '出库库存状态范围',
field: 'outInventoryStatuses', field: 'outInventoryStatuses',
sort: 'custom', sort: 'custom',
table: {
width: 180
},
}, },
{ {
label: '创建者', label: '创建者',
field: 'creator', field: 'creator',
sort: 'custom', sort: 'custom',
table: {
width: 120
},
}, },
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',
sort: 'custom', sort: 'custom',
formatter: dateFormatter, formatter: dateFormatter,
table: {
width: 180
},
search: { search: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -326,18 +400,27 @@ export const StockupDetailJob = useCrudSchemas(reactive<CrudSchema[]>([
field: 'number', field: 'number',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: {
width: 150
},
}, },
{ {
label: '包装号', label: '包装号',
field: 'packingNumber', field: 'packingNumber',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: {
width: 150
},
}, },
{ {
label: '批次', label: '批次',
field: 'batch', field: 'batch',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: {
width: 150
},
}, },
{ {
label: '库存状态', label: '库存状态',
@ -347,60 +430,90 @@ export const StockupDetailJob = useCrudSchemas(reactive<CrudSchema[]>([
form: { form: {
component: 'Radio' component: 'Radio'
}, },
table: {
width: 120
},
}, },
{ {
label: '货主代码', label: '货主代码',
field: 'ownerCode', field: 'ownerCode',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: {
width: 120
},
}, },
{ {
label: '器具号', label: '器具号',
field: 'containerNumber', field: 'containerNumber',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: {
width: 120
},
}, },
{ {
label: '从库位代码', label: '从库位代码',
field: 'fromLocationCode', field: 'fromLocationCode',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: {
width: 120
},
}, },
{ {
label: '到库位代码', label: '到库位代码',
field: 'toLocationCode', field: 'toLocationCode',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: {
width: 120
},
}, },
{ {
label: '物品代码', label: '物品代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: {
width: 150
},
}, },
{ {
label: '物品名称', label: '物品名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: {
width: 150
},
}, },
{ {
label: '物品描述1', label: '物品描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: {
width: 120
},
}, },
{ {
label: '物品描述2', label: '物品描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: {
width: 120
},
}, },
{ {
label: '项目代码', label: '项目代码',
field: 'projectCode', field: 'projectCode',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: {
width: 120
},
}, },
{ {
label: '数量', label: '数量',
@ -411,18 +524,22 @@ export const StockupDetailJob = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '计量单位', label: '计量单位',
field: 'uom', field: 'uom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
isSearch: true, table: {
width: 150
}, },
{ tableForm: {
label: '主表ID', type: 'Select',
field: 'masterId', disabled: true
sort: 'custom',
isSearch: true,
form: {
component: 'InputNumber',
value: 0
}, },
form: {
componentProps: {
disabled: true
}
}
}, },
{ {
label: '备注', label: '备注',
@ -444,6 +561,9 @@ export const StockupDetailJob = useCrudSchemas(reactive<CrudSchema[]>([
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
} }
}, },
table: {
width: 180
},
isForm: false, isForm: false,
}, },
{ {

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

@ -54,17 +54,64 @@ export const StockupMainRecord = useCrudSchemas(reactive<CrudSchema[]>([
label: '出库事务类型', label: '出库事务类型',
field: 'outTransactionType', field: 'outTransactionType',
sort: 'custom', sort: 'custom',
dictType: DICT_TYPE.LOCATION_TYPE,
dictClass: 'string',
isTable: true,
table: { table: {
width: 150 width: 150
}, },
isForm: false,
}, },
{ {
label: '入库事务类型', label: '入库事务类型',
field: 'inTransactionType', field: 'inTransactionType',
dictType: DICT_TYPE.LOCATION_TYPE,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isForm: false,
},
{
label: '从库区类型范围',
field: 'fromAreaTypes',
dictType: DICT_TYPE.LOCATION_TYPE,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 180
},
},
{
label: '从库区代码范围',
field: 'fromAreaCodes',
sort: 'custom',
isSearch: true,
table: {
width: 180
},
},
{
label: '到库区类型范围',
field: 'toAreaTypes',
dictType: DICT_TYPE.LOCATION_TYPE,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 180
},
},
{
label: '到库区代码范围',
field: 'toAreaCodes',
sort: 'custom',
table: {
width: 180
},
}, },
{ {
label: '执行时间', label: '执行时间',
@ -152,24 +199,23 @@ export const StockupMainRecord = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '是否可用', label: '创建时间',
field: 'available', field: 'createTime',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { formatter: dateFormatter,
width: 150 search: {
}, component: 'DatePicker',
form: {
component: 'Switch',
value: 'TRUE',
componentProps: { componentProps: {
inactiveValue: 'FALSE', valueFormat: 'YYYY-MM-DD HH:mm:ss',
activeValue: 'TRUE' type: 'daterange',
} defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
} }
}, },
table: {
width: 180
},
isForm: false,
},
{ {
label: '部门', label: '部门',
field: 'departmentCode', field: 'departmentCode',
@ -198,64 +244,32 @@ export const StockupMainRecord = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '备注', label: '是否可用',
field: 'remark', field: 'available',
sort: 'custom', dictType: DICT_TYPE.TRUE_FALSE,
table: {
width: 100
},
},
{
label: '创建时间',
field: 'createTime',
sort: 'custom',
formatter: dateFormatter,
search: {
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')]
}
},
table: {
width: 180
},
isForm: false,
},
{
label: '从库区类型范围',
field: 'fromAreaTypes',
dictType: DICT_TYPE.LOCATION_TYPE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 180 width: 150
},
}, },
{ form: {
label: '从库区代码范围', component: 'Switch',
field: 'fromAreaCodes', value: 'TRUE',
sort: 'custom', componentProps: {
isSearch: true, inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
}
}, },
{ {
label: '到库区类型范围', label: '备注',
field: 'toAreaTypes', field: 'remark',
dictType: DICT_TYPE.LOCATION_TYPE,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 180 width: 100
}, },
}, },
{
label: '到库区代码范围',
field: 'toAreaCodes',
sort: 'custom',
},
{ {
label: '操作', label: '操作',
field: 'action', field: 'action',
@ -299,26 +313,6 @@ export const StockupDetailRecord = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
}, },
{
label: '库存状态',
field: 'inventoryStatus',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
},
{
label: '从货主代码',
field: 'fromOwnerCode',
sort: 'custom',
isSearch: true,
table: {
width: 150
},
},
{ {
label: '从器具号', label: '从器具号',
field: 'fromContainerNumber', field: 'fromContainerNumber',
@ -329,8 +323,8 @@ export const StockupDetailRecord = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '从库位代码', label: '物品代码',
field: 'fromLocationCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: { table: {
@ -338,8 +332,8 @@ export const StockupDetailRecord = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '从库位组代码', label: '物品名称',
field: 'fromLocationGroupCode', field: 'itemName',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: { table: {
@ -347,8 +341,8 @@ export const StockupDetailRecord = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '从库区代码', label: '物品描述1',
field: 'fromAreaCode', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: { table: {
@ -356,8 +350,8 @@ export const StockupDetailRecord = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '到货主代码', label: '物品描述2',
field: 'toOwnerCode', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: { table: {
@ -365,8 +359,8 @@ export const StockupDetailRecord = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '到器具号', label: '项目代码',
field: 'toContainerNumber', field: 'projectCode',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: { table: {
@ -374,8 +368,8 @@ export const StockupDetailRecord = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '到库位代码', label: '数量',
field: 'toLocationCode', field: 'qty',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: { table: {
@ -383,26 +377,30 @@ export const StockupDetailRecord = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '到库位组代码', label: '计量单位',
field: 'toLocationGroupCode', field: 'uom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
isSearch: true,
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '到库区代码', label: '库存状态',
field: 'toAreaCode', field: 'inventoryStatus',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
isSearch: true,
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '单价', label: '从货主代码',
field: 'singlePrice', field: 'fromOwnerCode',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: { table: {
@ -410,8 +408,8 @@ export const StockupDetailRecord = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '金额', label: '从库位代码',
field: 'amount', field: 'fromLocationCode',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: { table: {
@ -419,8 +417,8 @@ export const StockupDetailRecord = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '备注', label: '从库位组代码',
field: 'remark', field: 'fromLocationGroupCode',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: { table: {
@ -428,27 +426,17 @@ export const StockupDetailRecord = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '创建时间', label: '从库区代码',
field: 'createTime', field: 'fromAreaCode',
sort: 'custom', sort: 'custom',
formatter: dateFormatter,
isSearch: true, isSearch: true,
table: { table: {
width: 180 width: 150
},
search: {
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')]
}
}, },
isForm: false,
}, },
{ {
label: '物品代码', label: '到货主代码',
field: 'itemCode', field: 'toOwnerCode',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: { table: {
@ -456,8 +444,8 @@ export const StockupDetailRecord = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物品名称', label: '到器具号',
field: 'itemName', field: 'toContainerNumber',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: { table: {
@ -465,8 +453,8 @@ export const StockupDetailRecord = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物品描述1', label: '到库位代码',
field: 'itemDesc1', field: 'toLocationCode',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: { table: {
@ -474,8 +462,8 @@ export const StockupDetailRecord = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物品描述2', label: '到库位组代码',
field: 'itemDesc2', field: 'toLocationGroupCode',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: { table: {
@ -483,8 +471,8 @@ export const StockupDetailRecord = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '项目代码', label: '到库区代码',
field: 'projectCode', field: 'toAreaCode',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: { table: {
@ -492,8 +480,8 @@ export const StockupDetailRecord = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '数量', label: '单价',
field: 'qty', field: 'singlePrice',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: { table: {
@ -501,12 +489,10 @@ export const StockupDetailRecord = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '计量单位', label: '金额',
field: 'uom', field: 'amount',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
isSearch: true,
table: { table: {
width: 150 width: 150
}, },
@ -542,6 +528,34 @@ export const StockupDetailRecord = useCrudSchemas(reactive<CrudSchema[]>([
} }
} }
}, },
{
label: '创建时间',
field: 'createTime',
sort: 'custom',
formatter: dateFormatter,
isSearch: true,
table: {
width: 180
},
search: {
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')]
}
},
isForm: false,
},
{
label: '备注',
field: 'remark',
sort: 'custom',
isSearch: true,
table: {
width: 150
},
},
{ {
label: '操作', label: '操作',
field: 'action', field: 'action',

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

@ -389,7 +389,7 @@ export const StockupMainRequest = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: false,
table: { table: {
width: 120 width: 150
}, },
isForm: false isForm: false
}, },
@ -472,7 +472,7 @@ export const StockupDetailRequest = useCrudSchemas(reactive<CrudSchema[]>([
isForm: false, isForm: false,
isTableForm: false, isTableForm: false,
table: { table: {
width: 100 width: 180
}, },
}, },
// { // {
@ -567,7 +567,7 @@ export const StockupDetailRequest = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: { table: {
width: 120 width: 150
}, },
tableForm: { tableForm: {
disabled: true disabled: true
@ -585,7 +585,7 @@ export const StockupDetailRequest = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true, isSearch: true,
isTableForm: false, isTableForm: false,
table: { table: {
width: 120 width: 150
}, },
}, },
{ {

Loading…
Cancel
Save