Browse Source

客户相关页面修改

master
李胜楠 12 months ago
parent
commit
64c61e7ab3
  1. 358
      src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRecordMain/customerreceiptRecordMain.data.ts
  2. 432
      src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/customerreceiptRequestMain.data.ts
  3. 424
      src/views/wms/deliversettlementManage/customerreturn/customerreturnJobMain/customerreturnJobMain.data.ts
  4. 362
      src/views/wms/deliversettlementManage/customerreturn/customerreturnRecordMain/customerreturnRecordMain.data.ts
  5. 510
      src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts
  6. 280
      src/views/wms/deliversettlementManage/customersettle/customersettleRecordMain/customersettleRecordMain.data.ts
  7. 454
      src/views/wms/deliversettlementManage/customersettle/customersettleRequestMain/customersettleRequestMain.data.ts

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

@ -5,6 +5,16 @@ import { dateFormatter } from '@/utils/formatTime'
* @returns {Array} * @returns {Array}
*/ */
export const CustomerreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>([ export const CustomerreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '单据号',
field: 'number',
sort: 'custom',
table: {
width: 150,
fixed: 'left'
},
isSearch: true
},
{ {
label: '申请单号', label: '申请单号',
field: 'requestNumber', field: 'requestNumber',
@ -71,40 +81,8 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '从仓库代码', label: '申请时间',
field: 'fromWarehouseCode', field: 'requestTime',
sort: 'custom',
table: {
width: 150
},
},
{
label: '到仓库代码',
field: 'toWarehouseCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '出库事务类型',
field: 'outTransactionType',
sort: 'custom',
table: {
width: 150
},
},
{
label: '入库事务类型',
field: 'inTransactionType',
sort: 'custom',
table: {
width: 150
},
},
{
label: '执行时间',
field: 'executeTime',
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -123,8 +101,8 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '生效日期', label: '截止时间',
field: 'activeDate', field: 'dueTime',
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -143,8 +121,8 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '申请时间', label: '执行时间',
field: 'requestTime', field: 'executeTime',
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -163,8 +141,8 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '截止时间', label: '生效日期',
field: 'dueTime', field: 'activeDate',
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -183,17 +161,25 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '部门', label: '从仓库代码',
field: 'departmentCode', field: 'fromWarehouseCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '接口类型', label: '到仓库代码',
field: 'interfaceType', field: 'toWarehouseCode',
dictType: DICT_TYPE.INTERFACE_TYPE, sort: 'custom',
table: {
width: 150
},
},
{
label: '从库位类型范围',
field: 'fromLocationTypes',
dictType: DICT_TYPE.LOCATION_TYPE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
@ -202,71 +188,68 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '单据号', label: '从库区代码范围',
field: 'number', field: 'fromAreaCodes',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150, width: 150
fixed: 'left'
}, },
isSearch: true
}, },
{ {
label: '业务类型', label: '到库位类型范围',
field: 'businessType', field: 'toLocationTypes',
dictType: DICT_TYPE.LOCATION_TYPE,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '备注', label: '到库区代码范围',
field: 'remark', field: 'toAreaCodes',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '创建者', label: '出库事务类型',
field: 'creator', field: 'outTransactionType',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '创建时间', label: '入库事务类型',
field: 'createTime', field: 'inTransactionType',
formatter: dateFormatter, sort: 'custom',
detail: { table: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' width: 150
}, },
},
{
label: '业务类型',
field: 'businessType',
sort: 'custom', sort: 'custom',
table: { table: {
width: 180 width: 150
}, },
form: { },
component: 'DatePicker', {
componentProps: { label: '部门',
type: 'datetime', field: 'departmentCode',
dateFormat: 'YYYY-MM-DD HH:mm:ss', sort: 'custom',
valueFormat: 'x', table: {
} width: 150
}, },
}, },
// {
// label: '代码',
// field: 'code',
// sort: 'custom',
// table: {
// width: 150
// },
// },
{ {
label: '从库位类型范围', label: '接口类型',
field: 'fromLocationTypes', field: 'interfaceType',
dictType: DICT_TYPE.LOCATION_TYPE, dictType: DICT_TYPE.INTERFACE_TYPE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
@ -275,32 +258,49 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '从库区代码范围', label: '备注',
field: 'fromAreaCodes', field: 'remark',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '到库位类型范围', label: '创建时间',
field: 'toLocationTypes', field: 'createTime',
dictType: DICT_TYPE.LOCATION_TYPE, formatter: dateFormatter,
dictClass: 'string', detail: {
isTable: true, dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 180
},
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}, },
}, },
{ {
label: '到库区代码范围', label: '创建者',
field: 'toAreaCodes', field: 'creator',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
// {
// label: '代码',
// field: 'code',
// sort: 'custom',
// table: {
// width: 150
// },
// },
{ {
label: '是否可用', label: '是否可用',
field: 'available', field: 'available',
@ -389,251 +389,239 @@ export const CustomerreceiptRecordMainRules = reactive({
*/ */
export const CustomerreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ export const CustomerreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '销售订单号', label: '单号',
field: 'soNumber', field: 'number',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '销售订单', label: '销售订单',
field: 'soLine', field: 'soNumber',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '包装号', label: '销售订单行',
field: 'packingNumber', field: 'soLine',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '从批次', label: '物品代码',
field: 'fromBatch', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '库存状态', label: '物品名称',
field: 'inventoryStatus', field: 'itemName',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '从货主代码', label: '物品描述1',
field: 'fromOwnerCode', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '从器具号', label: '物品描述2',
field: 'fromContainerNumber', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '从库位代码', label: '从批次',
field: 'fromLocationCode', field: 'fromBatch',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '从库位组代码', label: '到批次',
field: 'fromLocationGroupCode', field: 'toBatch',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '从库区代码', label: '包装号',
field: 'fromAreaCode', field: 'packingNumber',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '到货主代码', label: '从包装号',
field: 'toOwnerCode', field: 'fromPackingNumber',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '到器具号', label: '到包装号',
field: 'toContainerNumber', field: 'toPackingNumber',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '到库位代码', label: '从器具号',
field: 'toLocationCode', field: 'fromContainerNumber',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '到库位组代码', label: '到器具号',
field: 'toLocationGroupCode', field: 'toContainerNumber',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '到库区代码', label: '数量',
field: 'toAreaCode', field: 'qty',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
form: {
component: 'InputNumber',
}
}, },
{ {
label: '单价', label: '计量单位',
field: 'singlePrice', field: 'uom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
form: {
component: 'InputNumber',
}
}, },
{ {
label: '金额', label: '从库位代码',
field: 'amount', field: 'fromLocationCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
form: {
component: 'InputNumber',
}
}, },
{ {
label: '单据号', label: '到库位代码',
field: 'number', field: 'toLocationCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '物品代码', label: '库存状态',
field: 'itemCode', field: 'inventoryStatus',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '备注', label: '单价',
field: 'remark', field: 'singlePrice',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
form: {
component: 'InputNumber',
}
}, },
{ {
label: '创建时间', label: '金额',
field: 'createTime', field: 'amount',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
form: { form: {
component: 'DatePicker', component: 'InputNumber',
componentProps: { }
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
}, },
{ {
label: '创建者', label: '从库位组代码',
field: 'creator', field: 'fromLocationGroupCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '物品名称', label: '到库位组代码',
field: 'itemName', field: 'toLocationGroupCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '物品描述1', label: '从库区代码',
field: 'itemDesc1', field: 'fromAreaCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '物品描述2', label: '到库区代码',
field: 'itemDesc2', field: 'toAreaCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '项目代码', label: '从货主代码',
field: 'projectCode', field: 'fromOwnerCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '数量', label: '到货主代码',
field: 'qty', field: 'toOwnerCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
form: {
component: 'InputNumber',
}
}, },
{ {
label: '计量单位', label: '项目代码',
field: 'uom', field: 'projectCode',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -667,29 +655,41 @@ export const CustomerreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
}, },
}, },
{ {
label: '从包装号', label: '备注',
field: 'fromPackingNumber', field: 'remark',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '到包装号', label: '创建时间',
field: 'toPackingNumber', field: 'createTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
}, },
{ {
label: '到批次', label: '创建者',
field: 'toBatch', field: 'creator',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
} },
])) ]))
//表单校验 //表单校验

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

@ -21,6 +21,35 @@ const userDept = userStore.userSelfInfo.dept
* @returns {Array} * @returns {Array}
*/ */
export const CustomerreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ export const CustomerreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '单据号',
field: 'number',
sort: 'custom',
table: {
width: 150,
fixed: 'left'
},
isForm: false,
isSearch: true,
},
{
label: '状态',
field: 'status',
dictType: DICT_TYPE.REQUEST_STATUS,
dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom',
table: {
width: 150
},
form: {
value: '1',
componentProps: {
disabled: true
}
}
},
{ {
label: '发货申请单号', label: '发货申请单号',
field: 'deliverRequestNumber', field: 'deliverRequestNumber',
@ -79,6 +108,46 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
width: 150 width: 150
}, },
}, },
{
label: '申请时间',
field: 'requestTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
},
{
label: '截止时间',
field: 'dueTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
},
{ {
label: '从仓库代码', label: '从仓库代码',
field: 'fromWarehouseCode', field: 'fromWarehouseCode',
@ -139,17 +208,6 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
width: 150 width: 150
}, },
}, },
{
label: '单据号',
field: 'number',
sort: 'custom',
table: {
width: 150,
fixed: 'left'
},
isForm: false,
isSearch: true,
},
{ {
label: '业务类型', label: '业务类型',
field: 'businessType', field: 'businessType',
@ -159,93 +217,6 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
}, },
isForm: false isForm: false
}, },
{
label: '备注',
field: 'remark',
sort: 'custom',
table: {
width: 150
},
isTable: false
},
{
label: '创建时间',
field: 'createTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false
},
{
label: '创建者',
field: 'creator',
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false
},
{
label: '申请时间',
field: 'requestTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
},
{
label: '截止时间',
field: 'dueTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
},
{ {
label: '部门', label: '部门',
field: 'departmentCode', field: 'departmentCode',
@ -261,52 +232,13 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
} }
}, },
{ {
label: '状态', label: '备注',
field: 'status', field: 'remark',
dictType: DICT_TYPE.REQUEST_STATUS,
dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom',
table: {
width: 150
},
form: {
value: '1',
componentProps: {
disabled: true
}
}
},
{
label: '最后更新时间',
field: 'updateTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false
},
{
label: '最后更新者',
field: 'updater',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isForm: false isTable: false
}, },
{ {
label: '自动提交', label: '自动提交',
@ -388,6 +320,74 @@ export const CustomerreceiptRequestMain = 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: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false
},
{
label: '创建者',
field: 'creator',
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false
},
{
label: '最后更新时间',
field: 'updateTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false
},
{
label: '最后更新者',
field: 'updater',
sort: 'custom',
table: {
width: 150
},
isForm: false
},
{ {
label: '操作', label: '操作',
field: 'action', field: 'action',
@ -448,17 +448,22 @@ export const CustomerreceiptRequestMainRules = reactive({
*/ */
export const CustomerreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ export const CustomerreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '销售订单号', label: '单号',
field: 'soNumber', field: 'number',
sort: 'custom', sort: 'custom',
isForm: false,
table: { table: {
width: 150 width: 150
}, },
isTableForm: false,
form: {
componentProps: {
disabled: true
}
}
}, },
{ {
label: '销售订单行', label: '销售订单',
field: 'soLine', field: 'soNumber',
sort: 'custom', sort: 'custom',
isForm: false, isForm: false,
table: { table: {
@ -466,187 +471,182 @@ export const CustomerreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
}, },
}, },
{ {
label: '包装号', label: '销售订单行',
field: 'packingNumber', field: 'soLine',
sort: 'custom', sort: 'custom',
isForm: false,
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '器具号', label: '物品代码',
field: 'containerNumber', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '批次', label: '物品名称',
field: 'batch', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '库存状态', label: '物品描述1',
field: 'inventoryStatus', field: 'itemDesc1',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '从库位代码', label: '物品描述2',
field: 'fromLocationCode', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '到库位代码', label: '批次',
field: 'toLocationCode', field: 'batch',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '单据号', label: '包装号',
field: 'number', field: 'packingNumber',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isTableForm: false,
form: {
componentProps: {
disabled: true
}
}
}, },
{ {
label: '物品代码', label: '器具号',
field: 'itemCode', field: 'containerNumber',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '备注', label: '数量',
field: 'remark', field: 'qty',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
form: {
component: 'InputNumber',
}
}, },
{ {
label: '创建时间', label: '计量单位',
field: 'createTime', field: 'uom',
formatter: dateFormatter, dictType: DICT_TYPE.UOM,
detail: { dictClass: 'string',
dateFormat: 'YYYY-MM-DD HH:mm:ss' isTable: true,
},
sort: 'custom', sort: 'custom',
table: { table: {
width: 180 width: 150
},
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}, },
isTableForm: false,
isForm: false
}, },
{ {
label: '创建者', label: '从库位代码',
field: 'creator', field: 'fromLocationCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isTableForm: false,
isForm: false
}, },
{ {
label: '物品名称', label: '到库位代码',
field: 'itemName', field: 'toLocationCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '物品描述1', label: '库存状态',
field: 'itemDesc1', field: 'inventoryStatus',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '物品描述2', label: '项目代码',
field: 'itemDesc2', field: 'projectCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '项目代码', label: '从货主代码',
field: 'projectCode', field: 'fromOwnerCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '数量', label: '到货主代码',
field: 'qty', field: 'toOwnerCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
form: {
component: 'InputNumber',
}
}, },
{ {
label: '计量单位', label: '备注',
field: 'uom', field: 'remark',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '从货主代码', label: '创建时间',
field: 'fromOwnerCode', field: 'createTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 180
}, },
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isTableForm: false,
isForm: false
}, },
{ {
label: '到货主代码', label: '创建者',
field: 'toOwnerCode', field: 'creator',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isTableForm: false,
isForm: false
}, },
{ {
label: '最后更新时间', label: '最后更新时间',

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

@ -5,6 +5,28 @@ import { dateFormatter } from '@/utils/formatTime'
* @returns {Array} 退 * @returns {Array} 退
*/ */
export const CustomerreturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([ export const CustomerreturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '单据号',
field: 'number',
sort: 'custom',
table: {
width: 150,
fixed: 'left'
},
isSearch: true,
},
{
label: '状态',
field: 'status',
dictType: DICT_TYPE.JOB_STATUS,
dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom',
table: {
width: 150
},
},
{ {
label: '申请单号', label: '申请单号',
field: 'requestNumber', field: 'requestNumber',
@ -79,22 +101,6 @@ export const CustomerreturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
}, },
{
label: '从仓库代码',
field: 'fromWarehouseCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '到仓库代码',
field: 'toWarehouseCode',
sort: 'custom',
table: {
width: 150
},
},
{ {
label: '申请时间', label: '申请时间',
field: 'requestTime', field: 'requestTime',
@ -135,18 +141,6 @@ export const CustomerreturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
}, },
{
label: '状态',
field: 'status',
dictType: DICT_TYPE.JOB_STATUS,
dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom',
table: {
width: 150
},
},
{ {
label: '过期时间', label: '过期时间',
field: 'expiredTime', field: 'expiredTime',
@ -168,127 +162,21 @@ export const CustomerreturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '最后更新时间', label: '从仓库代码',
field: 'updateTime', field: 'fromWarehouseCode',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
},
{
label: '最后更新者',
field: 'updater',
sort: 'custom',
table: {
width: 150
},
},
// {
// label: '状态',
// field: 'jobStageStatus',
// sort: 'custom',
// table: {
// width: 150
// },
// },
{
label: '优先级',
field: 'priority',
sort: 'custom',
table: {
width: 150
},
form: {
component: 'InputNumber',
}
},
{
label: '优先级增量',
field: 'priorityIncrement',
sort: 'custom',
table: {
width: 150
},
form: {
component: 'InputNumber',
}
},
{
label: '部门',
field: 'departmentCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '承接人',
field: 'acceptUserId',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '承接时间', label: '到仓库代码',
field: 'acceptTime', field: 'toWarehouseCode',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
},
{
label: '完成人',
field: 'completeUserId',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{
label: '完成时间',
field: 'completeTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
},
{ {
label: '从库位类型范围', label: '从库位类型范围',
field: 'fromLocationTypes', field: 'fromLocationTypes',
@ -311,79 +199,79 @@ export const CustomerreturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
}, },
// {
// label: '状态',
// field: 'jobStageStatus',
// sort: 'custom',
// table: {
// width: 150
// },
// },
{ {
label: '单据号', label: '从库区代码范围',
field: 'number', field: 'fromAreaCodes',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150, width: 150
fixed: 'left'
}, },
isSearch: true,
}, },
{ {
label: '业务类型', label: '到库区代码范围',
field: 'businessType', field: 'toAreaCodes',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '备注', label: '到月台代码',
field: 'remark', field: 'toDockCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '创建时间', label: '优先级',
field: 'createTime', field: 'priority',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom', sort: 'custom',
table: { table: {
width: 180 width: 150
}, },
form: { form: {
component: 'DatePicker', component: 'InputNumber',
componentProps: { }
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
}, },
{ {
label: '创建者', label: '优先级增量',
field: 'creator', field: 'priorityIncrement',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
form: {
component: 'InputNumber',
}
}, },
{ {
label: '从库区代码范围', label: '业务类型',
field: 'fromAreaCodes', field: 'businessType',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '到库区代码范围', label: '部门',
field: 'toAreaCodes', field: 'departmentCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '到月台代码', label: '备注',
field: 'toDockCode', field: 'remark',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -579,6 +467,118 @@ export const CustomerreturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
} }
} }
}, },
{
label: '承接时间',
field: 'acceptTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
},
{
label: '承接人',
field: 'acceptUserId',
sort: 'custom',
table: {
width: 150
},
},
{
label: '完成时间',
field: 'completeTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
},
{
label: '完成人',
field: 'completeUserId',
sort: 'custom',
table: {
width: 150
},
},
{
label: '创建时间',
field: 'createTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
},
{
label: '创建者',
field: 'creator',
sort: 'custom',
table: {
width: 150
},
},
{
label: '最后更新时间',
field: 'updateTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
},
{
label: '最后更新者',
field: 'updater',
sort: 'custom',
table: {
width: 150
},
},
{ {
label: '操作', label: '操作',
field: 'action', field: 'action',
@ -663,145 +663,145 @@ export const CustomerreturnJobMainRules = reactive({
*/ */
export const CustomerreturnJobDetail = useCrudSchemas(reactive<CrudSchema[]>([ export const CustomerreturnJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '销售订单号', label: '单号',
field: 'soNumber', field: 'number',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '销售订单', label: '销售订单',
field: 'soLine', field: 'soNumber',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '包装号', label: '销售订单行',
field: 'packingNumber', field: 'soLine',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '器具号', label: '物品代码',
field: 'containerNumber', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '货主代码', label: '物品名称',
field: 'ownerCode', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '批次', label: '物品描述1',
field: 'batch', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '库存状态', label: '物品描述2',
field: 'inventoryStatus', field: 'itemdesc2',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '从库位代码', label: '批次',
field: 'fromLocationCode', field: 'batch',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '到库位代码', label: '包装号',
field: 'toLocationCode', field: 'packingNumber',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '物品代码', label: '器具号',
field: 'itemCode', field: 'containerNumber',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '物品名称', label: '数量',
field: 'itemName', field: 'qty',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
form: {
component: 'InputNumber',
}
}, },
{ {
label: '物品描述1', label: '计量单位',
field: 'itemDesc1', field: 'uom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '物品描述2', label: '从库位代码',
field: 'itemdesc2', field: 'fromLocationCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '项目代码', label: '到库位代码',
field: 'projectCode', field: 'toLocationCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '数量', label: '库存状态',
field: 'qty', field: 'inventoryStatus',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
form: {
component: 'InputNumber',
}
}, },
{ {
label: '计量单位', label: '项目代码',
field: 'uom', field: 'projectCode',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '单据号', label: '货主代码',
field: 'number', field: 'ownerCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150

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

@ -5,6 +5,16 @@ import { dateFormatter } from '@/utils/formatTime'
* @returns {Array} 退 * @returns {Array} 退
*/ */
export const CustomerreturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([ export const CustomerreturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '单据号',
field: 'number',
sort: 'custom',
table: {
width: 150,
fixed: 'left'
},
isSearch: true
},
{ {
label: '申请单号', label: '申请单号',
field: 'requestNumber', field: 'requestNumber',
@ -80,40 +90,8 @@ export const CustomerreturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '从仓库代码', label: '申请时间',
field: 'fromWarehouseCode', field: 'requestTime',
sort: 'custom',
table: {
width: 150
},
},
{
label: '到仓库代码',
field: 'toWarehouseCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '出库事务类型',
field: 'outTransactionType',
sort: 'custom',
table: {
width: 150
},
},
{
label: '入库事务类型',
field: 'inTransactionType',
sort: 'custom',
table: {
width: 150
},
},
{
label: '执行时间',
field: 'executeTime',
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -132,8 +110,8 @@ export const CustomerreturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '生效日期', label: '截止时间',
field: 'activeDate', field: 'dueTime',
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -152,8 +130,8 @@ export const CustomerreturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '申请时间', label: '执行时间',
field: 'requestTime', field: 'executeTime',
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -172,8 +150,8 @@ export const CustomerreturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '截止时间', label: '生效日期',
field: 'dueTime', field: 'activeDate',
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -192,17 +170,25 @@ export const CustomerreturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '部门', label: '从仓库代码',
field: 'departmentCode', field: 'fromWarehouseCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '接口类型', label: '到仓库代码',
field: 'interfaceType', field: 'toWarehouseCode',
dictType: DICT_TYPE.INTERFACE_TYPE, sort: 'custom',
table: {
width: 150
},
},
{
label: '从库位类型范围',
field: 'fromLocationTypes',
dictType: DICT_TYPE.LOCATION_TYPE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
@ -211,90 +197,76 @@ export const CustomerreturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '单据号', label: '从库区代码范围',
field: 'number', field: 'fromAreaCodes',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150, width: 150
fixed: 'left'
}, },
isSearch: true
}, },
{ {
label: '业务类型', label: '到库位类型范围',
field: 'businessType', field: 'toLocationTypes',
dictType: DICT_TYPE.LOCATION_TYPE,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '备注', label: '到库区代码范围',
field: 'remark', field: 'toAreaCodes',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '创建者', label: '到月台代码',
field: 'creator', field: 'toDockCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '创建时间', label: '出库事务类型',
field: 'createTime', field: 'outTransactionType',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom', sort: 'custom',
table: { table: {
width: 180 width: 150
}, },
form: { },
component: 'DatePicker', {
componentProps: { label: '入库事务类型',
type: 'datetime', field: 'inTransactionType',
dateFormat: 'YYYY-MM-DD HH:mm:ss', sort: 'custom',
valueFormat: 'x', table: {
} width: 150
}, },
}, },
// {
// label: '代码',
// field: 'code',
// sort: 'custom',
// table: {
// width: 150
// },
// },
{ {
label: '从库位类型范围', label: '业务类型',
field: 'fromLocationTypes', field: 'businessType',
dictType: DICT_TYPE.LOCATION_TYPE,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '从库区代码范围', label: '部门',
field: 'fromAreaCodes', field: 'departmentCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '到库位类型范围', label: '接口类型',
field: 'toLocationTypes', field: 'interfaceType',
dictType: DICT_TYPE.LOCATION_TYPE, dictType: DICT_TYPE.INTERFACE_TYPE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
@ -303,21 +275,49 @@ export const CustomerreturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '到库区代码范围', label: '备注',
field: 'toAreaCodes', field: 'remark',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '到月台代码', label: '创建时间',
field: 'toDockCode', field: 'createTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
},
{
label: '创建者',
field: 'creator',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
// {
// label: '代码',
// field: 'code',
// sort: 'custom',
// table: {
// width: 150
// },
// },
{ {
label: '是否可用', label: '是否可用',
field: 'available', field: 'available',
@ -409,237 +409,228 @@ export const CustomerreturnRecordMainRules = reactive({
*/ */
export const CustomerreturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ export const CustomerreturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '销售订单号', label: '单号',
field: 'soNumber', field: 'number',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '销售订单', label: '销售订单',
field: 'soLine', field: 'soNumber',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '包装号', label: '销售订单行',
field: 'packingNumber', field: 'soLine',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '从批次', label: '物品代码',
field: 'fromBatch', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '库存状态', label: '物品名称',
field: 'inventoryStatus', field: 'itemName',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '从货主代码', label: '物品描述1',
field: 'fromOwnerCode', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '从器具号', label: '物品描述2',
field: 'fromContainerNumber', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '从库位代码', label: '从批次',
field: 'fromLocationCode', field: 'fromBatch',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '从库位组代码', label: '到批次',
field: 'fromLocationGroupCode', field: 'toBatch',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '从库区代码', label: '从包装号',
field: 'fromAreaCode', field: 'fromPackingNumber',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '到货主代码', label: '到包装号',
field: 'toOwnerCode', field: 'toPackingNumber',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '到器具号', label: '包装号',
field: 'toContainerNumber', field: 'packingNumber',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '到库位代码', label: '从器具号',
field: 'toLocationCode', field: 'fromContainerNumber',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '到库位组代码', label: '到器具号',
field: 'toLocationGroupCode', field: 'toContainerNumber',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '到库区代码', label: '数量',
field: 'toAreaCode', field: 'qty',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
form: {
component: 'InputNumber',
}
}, },
{ {
label: '单价', label: '计量单位',
field: 'singlePrice', field: 'uom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
form: {
component: 'InputNumber',
}
}, },
{ {
label: '金额', label: '从库位代码',
field: 'amount', field: 'fromLocationCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
form: {
component: 'InputNumber',
}
}, },
{ {
label: '单据号', label: '到库位代码',
field: 'number', field: 'toLocationCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '物品代码', label: '库存状态',
field: 'itemCode', field: 'inventoryStatus',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '备注', label: '从库位组代码',
field: 'remark', field: 'fromLocationGroupCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '创建时间', label: '到库位组代码',
field: 'createTime', field: 'toLocationGroupCode',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom', sort: 'custom',
table: { table: {
width: 180 width: 150
},
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}, },
}, },
{ {
label: '创建者', label: '从库区代码',
field: 'creator', field: 'fromAreaCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '物品名称', label: '到库区代码',
field: 'itemName', field: 'toAreaCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '物品描述1', label: '从货主代码',
field: 'itemDesc1', field: 'fromOwnerCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '物品描述2', label: '到货主代码',
field: 'itemDesc2', field: 'toOwnerCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '项目代码', label: '单价',
field: 'projectCode', field: 'singlePrice',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
form: {
component: 'InputNumber',
}
}, },
{ {
label: '数量', label: '金额',
field: 'qty', field: 'amount',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -649,11 +640,8 @@ export const CustomerreturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
} }
}, },
{ {
label: '计量单位', label: '项目代码',
field: 'uom', field: 'projectCode',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -687,29 +675,41 @@ export const CustomerreturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
}, },
}, },
{ {
label: '从包装号', label: '备注',
field: 'fromPackingNumber', field: 'remark',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '到包装号', label: '创建时间',
field: 'toPackingNumber', field: 'createTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 180
},
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}, },
}, },
{ {
label: '到批次', label: '创建者',
field: 'toBatch', field: 'creator',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
} },
])) ]))
//表单校验 //表单校验

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

@ -35,6 +35,35 @@ const userDept = userStore.userSelfInfo.dept
* @returns {Array} 退 * @returns {Array} 退
*/ */
export const CustomerreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ export const CustomerreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '单据号',
field: 'number',
sort: 'custom',
table: {
width: 150,
fixed: 'left'
},
isForm: false,
isSearch: true,
},
{
label: '状态',
field: 'status',
dictType: DICT_TYPE.REQUEST_STATUS,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
form: {
value: '1',
componentProps: {
disabled: true
}
},
isSearch: true,
},
{ {
label: '发货记录单号', label: '发货记录单号',
field: 'deliverRecordNumber', field: 'deliverRecordNumber',
@ -108,6 +137,49 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
}, },
{
label: '申请时间',
field: 'requestTime',
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,
},
{
label: '截止时间',
field: 'dueTime',
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',
}
},
},
{ {
label: '从仓库代码', label: '从仓库代码',
field: 'fromWarehouseCode', field: 'fromWarehouseCode',
@ -177,17 +249,6 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isForm: false, isForm: false,
}, },
{
label: '单据号',
field: 'number',
sort: 'custom',
table: {
width: 150,
fixed: 'left'
},
isForm: false,
isSearch: true,
},
{ {
label: '业务类型', label: '业务类型',
field: 'businessType', field: 'businessType',
@ -203,89 +264,6 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isForm: false, isForm: false,
}, },
{
label: '备注',
field: 'remark',
sort: 'custom',
table: {
width: 150
},
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
},
{
label: '创建者',
field: 'creator',
sort: 'custom',
table: {
width: 150
},
isForm: false
},
{
label: '申请时间',
field: 'requestTime',
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,
},
{
label: '截止时间',
field: 'dueTime',
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',
}
},
},
{ {
label: '部门', label: '部门',
field: 'departmentCode', field: 'departmentCode',
@ -301,53 +279,13 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
{ {
label: '状态', label: '备注',
field: 'status', field: 'remark',
dictType: DICT_TYPE.REQUEST_STATUS,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
form: {
value: '1',
componentProps: {
disabled: true
}
},
isSearch: true,
},
{
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
},
{
label: '最后更新者',
field: 'updater',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isForm: false isTable: false
}, },
{ {
label: '自动提交', label: '自动提交',
@ -429,6 +367,68 @@ export const CustomerreturnRequestMain = 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',
}
},
isForm: false
},
{
label: '创建者',
field: 'creator',
sort: 'custom',
table: {
width: 150
},
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
},
{
label: '最后更新者',
field: 'updater',
sort: 'custom',
table: {
width: 150
},
isForm: false
},
{ {
label: '操作', label: '操作',
field: 'action', field: 'action',
@ -491,6 +491,20 @@ export const CustomerreturnRequestMainRules = reactive({
* @returns {Array} 退 * @returns {Array} 退
*/ */
export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '单据号',
field: 'number',
sort: 'custom',
table: {
width: 150
},
isTableForm: false,
form: {
componentProps: {
disabled: true
}
}
},
{ {
label: '销售订单号', label: '销售订单号',
field: 'soNumber', field: 'soNumber',
@ -565,6 +579,68 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
} }
} }
}, },
{
label: '物品代码',
field: 'itemCode',
sort: 'custom',
table: {
width: 150
},
tableForm: {
disabled: true
},
form: {
componentProps: {
disabled: true
}
}
},
{
label: '物品名称',
field: 'itemName',
sort: 'custom',
table: {
width: 150
},
isTableForm: false,
isForm: false
},
{
label: '物品描述1',
field: 'itemDesc1',
sort: 'custom',
table: {
width: 150
},
isTableForm: false,
isForm: false
},
{
label: '物品描述2',
field: 'itemDesc2',
sort: 'custom',
table: {
width: 150
},
isTableForm: false,
isForm: false
},
{
label: '批次',
field: 'batch',
sort: 'custom',
table: {
width: 150
},
tableForm: {
disabled: true
},
form: {
componentProps: {
disabled: true
}
}
},
{ {
label: '包装号', label: '包装号',
field: 'packingNumber', field: 'packingNumber',
@ -609,25 +685,29 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
} }
}, },
{ {
label: '批次', label: '数量',
field: 'batch', field: 'qty',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
tableForm: {
disabled: true
},
form: { form: {
component: 'InputNumber',
componentProps: { componentProps: {
disabled: true min: 1,
precision: 6
} }
},
tableForm: {
type: 'InputNumber',
min: 1,
precision: 6
} }
}, },
{ {
label: '库存状态', label: '计量单位',
field: 'inventoryStatus', field: 'uom',
dictType: DICT_TYPE.INVENTORY_STATUS, dictType: DICT_TYPE.UOM,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
@ -635,13 +715,7 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
width: 150 width: 150
}, },
tableForm: { tableForm: {
disabled: true,
type: 'Select' type: 'Select'
},
form: {
componentProps: {
disabled: true
}
} }
}, },
{ {
@ -698,28 +772,18 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
} }
}, },
{ {
label: '单据号', label: '库存状态',
field: 'number', field: 'inventoryStatus',
sort: 'custom', dictType: DICT_TYPE.INVENTORY_STATUS,
table: { dictClass: 'string',
width: 150 isTable: true,
},
isTableForm: false,
form: {
componentProps: {
disabled: true
}
}
},
{
label: '物品代码',
field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
tableForm: { tableForm: {
disabled: true disabled: true,
type: 'Select'
}, },
form: { form: {
componentProps: { componentProps: {
@ -728,40 +792,8 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
} }
}, },
{ {
label: '备注', label: '项目代码',
field: 'remark', field: 'projectCode',
sort: 'custom',
table: {
width: 150
},
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',
}
},
isTableForm: false,
isForm: false
},
{
label: '创建者',
field: 'creator',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -770,8 +802,8 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
isForm: false isForm: false
}, },
{ {
label: '物品名称', label: '从货主代码',
field: 'itemName', field: 'fromOwnerCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -780,8 +812,8 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
isForm: false isForm: false
}, },
{ {
label: '物品描述1', label: '到货主代码',
field: 'itemDesc1', field: 'toOwnerCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -790,72 +822,40 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
isForm: false isForm: false
}, },
{ {
label: '物品描述2', label: '备注',
field: 'itemDesc2', field: 'remark',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isTableForm: false, isTable: false
isForm: false
}, },
{ {
label: '项目代码', label: '创建时间',
field: 'projectCode', field: 'createTime',
sort: 'custom', formatter: dateFormatter,
table: { detail: {
width: 150 dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, },
isTableForm: false,
isForm: false
},
{
label: '数量',
field: 'qty',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 180
}, },
form: { form: {
component: 'InputNumber', component: 'DatePicker',
componentProps: { componentProps: {
min: 1, style: {width:'100%'},
precision: 6 type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
} }
}, },
tableForm: {
type: 'InputNumber',
min: 1,
precision: 6
}
},
{
label: '计量单位',
field: 'uom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
tableForm: {
type: 'Select'
}
},
{
label: '从货主代码',
field: 'fromOwnerCode',
sort: 'custom',
table: {
width: 150
},
isTableForm: false, isTableForm: false,
isForm: false isForm: false
}, },
{ {
label: '到货主代码', label: '创建者',
field: 'toOwnerCode', field: 'creator',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150

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

@ -5,6 +5,16 @@ import { dateFormatter } from '@/utils/formatTime'
* @returns {Array} * @returns {Array}
*/ */
export const CustomersettleRecordMain = useCrudSchemas(reactive<CrudSchema[]>([ export const CustomersettleRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '单据号',
field: 'number',
sort: 'custom',
table: {
width: 150,
fixed: 'left'
},
isSearch: true
},
{ {
label: '申请单号', label: '申请单号',
field: 'requestNumber', field: 'requestNumber',
@ -40,32 +50,8 @@ export const CustomersettleRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true isSearch: true
}, },
{ {
label: '从仓库代码', label: '申请时间',
field: 'fromWarehouseCode', field: 'requestTime',
sort: 'custom',
table: {
width: 150
},
},
{
label: '出库事务类型',
field: 'outTransactionType',
sort: 'custom',
table: {
width: 150
},
},
{
label: '入库事务类型',
field: 'inTransactionType',
sort: 'custom',
table: {
width: 150
},
},
{
label: '执行时间',
field: 'executeTime',
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -84,8 +70,8 @@ export const CustomersettleRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '生效日期', label: '截止时间',
field: 'activeDate', field: 'dueTime',
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -104,8 +90,8 @@ export const CustomersettleRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '申请时间', label: '执行时间',
field: 'requestTime', field: 'executeTime',
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -124,8 +110,8 @@ export const CustomersettleRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '截止时间', label: '生效日期',
field: 'dueTime', field: 'activeDate',
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -144,17 +130,17 @@ export const CustomersettleRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '部门', label: '从仓库代码',
field: 'departmentCode', field: 'fromWarehouseCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '接口类型', label: '从库位类型范围',
field: 'interfaceType', field: 'fromLocationTypes',
dictType: DICT_TYPE.INTERFACE_TYPE, dictType: DICT_TYPE.LOCATION_TYPE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
@ -163,14 +149,28 @@ export const CustomersettleRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '单据号', label: '从库区代码范围',
field: 'number', field: 'fromAreaCodes',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150, width: 150
fixed: 'left' },
},
{
label: '出库事务类型',
field: 'outTransactionType',
sort: 'custom',
table: {
width: 150
},
},
{
label: '入库事务类型',
field: 'inTransactionType',
sort: 'custom',
table: {
width: 150
}, },
isSearch: true
}, },
{ {
label: '业务类型', label: '业务类型',
@ -181,16 +181,27 @@ export const CustomersettleRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '备注', label: '部门',
field: 'remark', field: 'departmentCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '创建者', label: '接口类型',
field: 'creator', field: 'interfaceType',
dictType: DICT_TYPE.INTERFACE_TYPE,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
},
{
label: '备注',
field: 'remark',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -216,6 +227,14 @@ export const CustomersettleRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
}, },
{
label: '创建者',
field: 'creator',
sort: 'custom',
table: {
width: 150
},
},
// { // {
// label: '代码', // label: '代码',
// field: 'code', // field: 'code',
@ -224,25 +243,6 @@ export const CustomersettleRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
// width: 150 // width: 150
// }, // },
// }, // },
{
label: '从库位类型范围',
field: 'fromLocationTypes',
dictType: DICT_TYPE.LOCATION_TYPE,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
},
{
label: '从库区代码范围',
field: 'fromAreaCodes',
sort: 'custom',
table: {
width: 150
},
},
{ {
label: '是否可用', label: '是否可用',
field: 'available', field: 'available',
@ -321,6 +321,14 @@ export const CustomersettleRecordMainRules = reactive({
* @returns {Array} * @returns {Array}
*/ */
export const CustomersettleRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ export const CustomersettleRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '单据号',
field: 'number',
sort: 'custom',
table: {
width: 150
},
},
{ {
label: '销售订单号', label: '销售订单号',
field: 'soNumber', field: 'soNumber',
@ -338,16 +346,32 @@ export const CustomersettleRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
}, },
}, },
{ {
label: '货主代码', label: '物品代码',
field: 'ownerCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '包装号', label: '物品名称',
field: 'packingNumber', field: 'itemName',
sort: 'custom',
table: {
width: 150
},
},
{
label: '物品描述1',
field: 'itemDesc1',
sort: 'custom',
table: {
width: 150
},
},
{
label: '物品描述2',
field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -362,9 +386,28 @@ export const CustomersettleRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
}, },
}, },
{ {
label: '库存状态', label: '包装号',
field: 'inventoryStatus', field: 'packingNumber',
dictType: DICT_TYPE.INVENTORY_STATUS, sort: 'custom',
table: {
width: 150
},
},
{
label: '数量',
field: 'qty',
sort: 'custom',
table: {
width: 150
},
form: {
component: 'InputNumber',
}
},
{
label: '计量单位',
field: 'uom',
dictType: DICT_TYPE.UOM,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
@ -380,6 +423,17 @@ export const CustomersettleRecordDetail = 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: '从库位组代码', label: '从库位组代码',
field: 'fromLocationGruopCode', field: 'fromLocationGruopCode',
@ -419,16 +473,26 @@ export const CustomersettleRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
} }
}, },
{ {
label: '单据号', label: '货主代码',
field: 'number', field: 'ownerCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '物品代码', label: '项目代码',
field: 'itemCode', field: 'projectCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '接口类型',
field: 'interfaceType',
dictType: DICT_TYPE.INTERFACE_TYPE,
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -450,16 +514,6 @@ export const CustomersettleRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
// width: 150 // width: 150
// }, // },
// }, // },
{
label: '接口类型',
field: 'interfaceType',
dictType: DICT_TYPE.INTERFACE_TYPE,
isTable: true,
sort: 'custom',
table: {
width: 150
},
},
// { // {
// label: '任务明细ID', // label: '任务明细ID',
// field: 'jobDetailId', // field: 'jobDetailId',
@ -496,60 +550,6 @@ export const CustomersettleRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
width: 150 width: 150
}, },
}, },
{
label: '物品名称',
field: 'itemName',
sort: 'custom',
table: {
width: 150
},
},
{
label: '物品描述1',
field: 'itemDesc1',
sort: 'custom',
table: {
width: 150
},
},
{
label: '物品描述2',
field: 'itemDesc2',
sort: 'custom',
table: {
width: 150
},
},
{
label: '项目代码',
field: 'projectCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '数量',
field: 'qty',
sort: 'custom',
table: {
width: 150
},
form: {
component: 'InputNumber',
}
},
{
label: '计量单位',
field: 'uom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
},
{ {
label: '最后更新时间', label: '最后更新时间',
field: 'updateTime', field: 'updateTime',

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

@ -26,6 +26,35 @@ const userDept = userStore.userSelfInfo.dept
* @returns {Array} * @returns {Array}
*/ */
export const CustomersettleRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ export const CustomersettleRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '单据号',
field: 'number',
sort: 'custom',
table: {
width: 150,
fixed: 'left'
},
isForm: false,
isSearch: true,
},
{
label: '状态',
field: 'status',
dictType: DICT_TYPE.REQUEST_STATUS,
dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom',
table: {
width: 150
},
form: {
value: '1',
componentProps: {
disabled: true
}
}
},
{ {
label: '发货记录单号', label: '发货记录单号',
field: 'deliverRecordNumber', field: 'deliverRecordNumber',
@ -67,6 +96,27 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isSearch: true, isSearch: true,
}, },
{
label: '截止时间',
field: 'dueTime',
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',
}
},
},
{ {
label: '从仓库代码', label: '从仓库代码',
field: 'fromWarehouseCode', field: 'fromWarehouseCode',
@ -98,17 +148,6 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isForm: false, isForm: false,
}, },
{
label: '单据号',
field: 'number',
sort: 'custom',
table: {
width: 150,
fixed: 'left'
},
isForm: false,
isSearch: true,
},
{ {
label: '业务类型', label: '业务类型',
field: 'businessType', field: 'businessType',
@ -125,123 +164,111 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
isForm: false, isForm: false,
}, },
{ {
label: '备注', label: '部门',
field: 'remark', field: 'departmentCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isTable: false,
},
{
label: '创建时间',
field: 'createTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: { form: {
component: 'DatePicker', value: userDept.name,
componentProps: { componentProps: {
style: {width:'100%'}, disabled: true
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
} }
}, }
isForm: false,
}, },
{ {
label: '创建者', label: '备注',
field: 'creator', field: 'remark',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isForm: false, isTable: false,
}, },
{ {
label: '申请时间', label: '自动提交',
field: 'requestTime', field: 'autoCommit',
formatter: dateFormatter, dictType: DICT_TYPE.TRUE_FALSE,
detail: { dictClass: 'string',
dateFormat: 'YYYY-MM-DD HH:mm:ss' isTable: true,
},
sort: 'custom', sort: 'custom',
table: { table: {
width: 180 width: 150
}, },
form: { form: {
component: 'DatePicker', component: 'Switch',
value: requestsettingData.autoCommit,
componentProps: { componentProps: {
style: {width:'100%'}, inactiveValue: 'FALSE',
type: 'datetime', activeValue: 'TRUE',
dateFormat: 'YYYY-MM-DD HH:mm:ss', disabled: true
valueFormat: 'x',
} }
}, }
isForm: false,
}, },
{ {
label: '截止时间', label: '自动通过',
field: 'dueTime', field: 'autoAgree',
formatter: dateFormatter, dictType: DICT_TYPE.TRUE_FALSE,
detail: { dictClass: 'string',
dateFormat: 'YYYY-MM-DD HH:mm:ss' isTable: true,
},
sort: 'custom', sort: 'custom',
table: { table: {
width: 180 width: 150
}, },
form: { form: {
component: 'DatePicker', component: 'Switch',
value: requestsettingData.autoAgree,
componentProps: { componentProps: {
style: {width:'100%'}, inactiveValue: 'FALSE',
type: 'datetime', activeValue: 'TRUE',
dateFormat: 'YYYY-MM-DD HH:mm:ss', disabled: true
valueFormat: 'x',
} }
}, }
}, },
{ {
label: '部门', label: '自动执行',
field: 'departmentCode', field: 'autoExecute',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
form: { form: {
value: userDept.name, component: 'Switch',
value: requestsettingData.autoExecute,
componentProps: { componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE',
disabled: true disabled: true
} }
} }
}, },
{ {
label: '状态', label: '直接生成记录',
field: 'status', field: 'directCreateRecord',
dictType: DICT_TYPE.REQUEST_STATUS, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isSearch: true,
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
form: { form: {
value: '1', component: 'Switch',
value: requestsettingData.directCreateRecord,
componentProps: { componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE',
disabled: true disabled: true
} }
} }
}, },
{ {
label: '最后更新时间', label: '创建时间',
field: 'updateTime', field: 'createTime',
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -262,8 +289,8 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
isForm: false, isForm: false,
}, },
{ {
label: '最后更新者', label: '创建者',
field: 'updater', field: 'creator',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -271,84 +298,57 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
isForm: false, isForm: false,
}, },
{ {
label: '自动提交', label: '申请时间',
field: 'autoCommit', field: 'requestTime',
dictType: DICT_TYPE.TRUE_FALSE, formatter: dateFormatter,
dictClass: 'string', detail: {
isTable: true, dateFormat: 'YYYY-MM-DD HH:mm:ss'
sort: 'custom',
table: {
width: 150
}, },
form: {
component: 'Switch',
value: requestsettingData.autoCommit,
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE',
disabled: true
}
}
},
{
label: '自动通过',
field: 'autoAgree',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 180
}, },
form: { form: {
component: 'Switch', component: 'DatePicker',
value: requestsettingData.autoAgree,
componentProps: { componentProps: {
inactiveValue: 'FALSE', style: {width:'100%'},
activeValue: 'TRUE', type: 'datetime',
disabled: true dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
} }
} },
isForm: false,
}, },
{ {
label: '自动执行', label: '最后更新时间',
field: 'autoExecute', field: 'updateTime',
dictType: DICT_TYPE.TRUE_FALSE, formatter: dateFormatter,
dictClass: 'string', detail: {
isTable: true, dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 180
}, },
form: { form: {
component: 'Switch', component: 'DatePicker',
value: requestsettingData.autoExecute,
componentProps: { componentProps: {
inactiveValue: 'FALSE', style: {width:'100%'},
activeValue: 'TRUE', type: 'datetime',
disabled: true dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
} }
} },
isForm: false,
}, },
{ {
label: '直接生成记录', label: '最后更新者',
field: 'directCreateRecord', field: 'updater',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
form: { isForm: false,
component: 'Switch',
value: requestsettingData.directCreateRecord,
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE',
disabled: true
}
}
}, },
{ {
label: '操作', label: '操作',
@ -403,6 +403,21 @@ export const CustomersettleRequestMainRules = reactive({
* @returns {Array} * @returns {Array}
*/ */
export const CustomersettleRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ export const CustomersettleRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '单据号',
field: 'number',
sort: 'custom',
table: {
width: 150,
fixed: 'left'
},
isTableForm: false,
form: {
componentProps: {
disabled: true
}
}
},
{ {
label: '销售订单号', label: '销售订单号',
field: 'soNumber', field: 'soNumber',
@ -447,18 +462,8 @@ export const CustomersettleRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
} }
}, },
{ {
label: '从货主代码', label: '物品代码',
field: 'fromOwnerCode', field: 'itemCode',
sort: 'custom',
table: {
width: 150
},
isForm: false,
isTableForm: false,
},
{
label: '包装号',
field: 'packingNumber',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -473,56 +478,45 @@ export const CustomersettleRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
} }
}, },
{ {
label: '批次', label: '物品名称',
field: 'batch', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
tableForm: { isForm: false,
disabled: true isTableForm: false,
},
form: {
componentProps: {
disabled: true
}
}
}, },
{ {
label: '库存状态', label: '物品描述1',
field: 'inventoryStatus', field: 'itemDesc1',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
tableForm: {
type: 'Select'
},
isTableForm: false,
isForm: false, isForm: false,
isTableForm: false,
}, },
{ {
label: '从库位代码', label: '物品描述2',
field: 'fromLocationCode', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isTableForm: false,
isForm: false, isForm: false,
isTableForm: false,
}, },
{ {
label: '单据号', label: '批次',
field: 'number', field: 'batch',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150, width: 150
fixed: 'left' },
tableForm: {
disabled: true
}, },
isTableForm: false,
form: { form: {
componentProps: { componentProps: {
disabled: true disabled: true
@ -530,8 +524,8 @@ export const CustomersettleRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
} }
}, },
{ {
label: '物品代码', label: '包装号',
field: 'itemCode', field: 'packingNumber',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -546,70 +540,72 @@ export const CustomersettleRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
} }
}, },
{ {
label: '备注', label: '数量',
field: 'remark', field: 'qty',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isTable: false,
},
{
label: '创建时间',
field: 'createTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: { form: {
component: 'DatePicker', component: 'InputNumber',
componentProps: { componentProps: {
style: {width:'100%'}, min: 1,
type: 'datetime', precision: 6
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
} }
}, },
tableForm: {
type: 'InputNumber',
min: 1,
precision: 6
},
isTableForm: false, isTableForm: false,
isForm: false isForm: false,
}, },
{ {
label: '创建者', label: '计量单位',
field: 'creator', field: 'uom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
tableForm: {
type: 'Select'
},
isTableForm: false, isTableForm: false,
isForm: false isForm: false,
}, },
{ {
label: '物品名称', label: '从库位代码',
field: 'itemName', field: 'fromLocationCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isForm: false,
isTableForm: false, isTableForm: false,
isForm: false,
}, },
{ {
label: '物品描述1', label: '库存状态',
field: 'itemDesc1', field: 'inventoryStatus',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isForm: false, tableForm: {
type: 'Select'
},
isTableForm: false, isTableForm: false,
isForm: false,
}, },
{ {
label: '物品描述2', label: '项目代码',
field: 'itemDesc2', field: 'projectCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -618,8 +614,8 @@ export const CustomersettleRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
isTableForm: false, isTableForm: false,
}, },
{ {
label: '项目代码', label: '从货主代码',
field: 'projectCode', field: 'fromOwnerCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -628,42 +624,46 @@ export const CustomersettleRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
isTableForm: false, isTableForm: false,
}, },
{ {
label: '数量', label: '备注',
field: 'qty', field: 'remark',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isTable: false,
},
{
label: '创建时间',
field: 'createTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: { form: {
component: 'InputNumber', component: 'DatePicker',
componentProps: { componentProps: {
min: 1, style: {width:'100%'},
precision: 6 type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
} }
}, },
tableForm: {
type: 'InputNumber',
min: 1,
precision: 6
},
isTableForm: false, isTableForm: false,
isForm: false, isForm: false
}, },
{ {
label: '计量单位', label: '创建者',
field: 'uom', field: 'creator',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
tableForm: {
type: 'Select'
},
isTableForm: false, isTableForm: false,
isForm: false, isForm: false
}, },
{ {
label: '最后更新时间', label: '最后更新时间',

Loading…
Cancel
Save