Browse Source

采购退货记录

master_hella_20240701
yufei0306 7 months ago
parent
commit
1b14299b9f
  1. 96
      src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnJobMain/purchasereturnJobMain.data.ts
  2. 96
      src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRecordMain/purchasereturnRecordMain.data.ts
  3. 49
      src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts

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

@ -14,6 +14,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
fixed: 'left' fixed: 'left'
}, },
isSearch: true, isSearch: true,
sortSearchDefault: 1
}, },
{ {
label: '申请单号', label: '申请单号',
@ -22,15 +23,17 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isSearch: true, isTable: false,
}, },
{ {
label: '采购收货记录单号', label: '采购收货记录单号',
field: 'purchaseReceiptRecordNumber', field: 'purchaseReceiptRecordNumber',
sort: 'custom', sort: 'custom',
isSearch: true,
table: { table: {
width: 180 width: 180
}, },
sortSearchDefault: 4
}, },
{ {
label: '发货单号', label: '发货单号',
@ -39,6 +42,9 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isSearch: true,
sortTableDefault: 3,
sortSearchDefault: 3
}, },
{ {
label: '要货计划单号', label: '要货计划单号',
@ -47,6 +53,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false,
}, },
{ {
label: '供应商代码', label: '供应商代码',
@ -55,6 +62,9 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isSearch: true,
sortTableDefault: 2,
sortSearchDefault: 2
}, },
{ {
label: '发货月台', label: '发货月台',
@ -63,6 +73,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '承运商', label: '承运商',
@ -71,6 +82,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '运输方式', label: '运输方式',
@ -79,6 +91,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '车牌号', label: '车牌号',
@ -87,6 +100,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '从仓库代码', label: '从仓库代码',
@ -95,6 +109,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '到仓库代码', label: '到仓库代码',
@ -103,6 +118,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '从库区类型范围', label: '从库区类型范围',
@ -110,7 +126,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
dictType: DICT_TYPE.AREA_TYPE, dictType: DICT_TYPE.AREA_TYPE,
dictClass: 'string', dictClass: 'string',
isSearch: false, isSearch: false,
isTable: true, isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -121,7 +137,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'toAreaTypes', field: 'toAreaTypes',
dictType: DICT_TYPE.AREA_TYPE, dictType: DICT_TYPE.AREA_TYPE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -131,6 +147,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '从库区代码范围', label: '从库区代码范围',
field: 'fromAreaCodes', field: 'fromAreaCodes',
sort: 'custom', sort: 'custom',
isTable: false,
table: { table: {
width: 150 width: 150
}, },
@ -139,6 +156,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '到库区代码范围', label: '到库区代码范围',
field: 'toAreaCodes', field: 'toAreaCodes',
sort: 'custom', sort: 'custom',
isTable: false,
table: { table: {
width: 150 width: 150
}, },
@ -147,6 +165,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '从月台代码', label: '从月台代码',
field: 'fromDockCode', field: 'fromDockCode',
sort: 'custom', sort: 'custom',
isTable: false,
table: { table: {
width: 150 width: 150
}, },
@ -162,6 +181,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -182,6 +202,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -198,18 +219,19 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '状态', label: '状态',
field: 'status', field: 'status',
dictType: DICT_TYPE.JOB_STATUS, dictType: DICT_TYPE.JOB_STATUS,
dictClass: 'string', dictClass: 'string',
isSearch: true,
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
sortTableDefault: 1
}, },
// { // {
// label: '状态', // label: '状态',
@ -230,6 +252,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -246,6 +269,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
form: { form: {
component: 'InputNumber', component: 'InputNumber',
} }
@ -257,6 +281,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
form: { form: {
component: 'InputNumber', component: 'InputNumber',
} }
@ -268,6 +293,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '承接人', label: '承接人',
@ -276,6 +302,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '承接时间', label: '承接时间',
@ -288,6 +315,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -304,6 +332,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '完成时间', label: '完成时间',
@ -316,6 +345,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -330,11 +360,11 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'autoComplete', field: 'autoComplete',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isTable: false,
form: { form: {
component: 'Switch', component: 'Switch',
value: 'TRUE', value: 'TRUE',
@ -349,7 +379,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowModifyLocation', field: 'allowModifyLocation',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -368,7 +398,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowModifyQty', field: 'allowModifyQty',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -387,7 +417,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowBiggerQty', field: 'allowBiggerQty',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -406,7 +436,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowSmallerQty', field: 'allowSmallerQty',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -425,7 +455,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowModifyInventoryStatus', field: 'allowModifyInventoryStatus',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -444,7 +474,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowContinuousScanning', field: 'allowContinuousScanning',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -463,7 +493,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowPartialComplete', field: 'allowPartialComplete',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -482,7 +512,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowModifyBatch', field: 'allowModifyBatch',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -501,7 +531,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowModifyPackingNumber', field: 'allowModifyPackingNumber',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -522,6 +552,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '创建者', label: '创建者',
@ -530,6 +561,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '创建时间', label: '创建时间',
@ -542,6 +574,7 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -626,6 +659,7 @@ export const PurchasereturnJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '到货主代码', label: '到货主代码',
@ -634,6 +668,7 @@ export const PurchasereturnJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '包装号', label: '包装号',
@ -642,6 +677,17 @@ export const PurchasereturnJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isSearch: true,
sortTableDefault: 1002
},
{
label: '包装规格',
field: 'packUnit',
sort: 'custom',
table: {
width: 150
},
sortTableDefault: 1002
}, },
{ {
label: '器具号', label: '器具号',
@ -650,6 +696,7 @@ export const PurchasereturnJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '批次', label: '批次',
@ -658,6 +705,9 @@ export const PurchasereturnJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isSearch: true,
sortTableDefault: 1001,
sortSearchDefault: 6
}, },
{ {
label: '替代批次', label: '替代批次',
@ -666,6 +716,7 @@ export const PurchasereturnJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '从库位代码', label: '从库位代码',
@ -674,6 +725,7 @@ export const PurchasereturnJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '到库位代码', label: '到库位代码',
@ -682,6 +734,7 @@ export const PurchasereturnJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '库存状态', label: '库存状态',
@ -693,6 +746,7 @@ export const PurchasereturnJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '订单号', label: '订单号',
@ -720,6 +774,7 @@ export const PurchasereturnJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '物料代码', label: '物料代码',
@ -728,6 +783,8 @@ export const PurchasereturnJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isSearch: true,
sortSearchDefault: 5
}, },
{ {
label: '物料名称', label: '物料名称',
@ -744,6 +801,7 @@ export const PurchasereturnJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '物料描述2', label: '物料描述2',
@ -752,6 +810,7 @@ export const PurchasereturnJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '项目代码', label: '项目代码',
@ -760,6 +819,7 @@ export const PurchasereturnJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '数量', label: '数量',
@ -770,7 +830,8 @@ export const PurchasereturnJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
form: { form: {
component: 'InputNumber', component: 'InputNumber',
} },
sortTableDefault: 1003
}, },
{ {
label: '计量单位', label: '计量单位',
@ -782,6 +843,7 @@ export const PurchasereturnJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
sortTableDefault: 1003
}, },
{ {
label: '单据号', label: '单据号',
@ -790,6 +852,7 @@ export const PurchasereturnJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
hiddenInMain:true,
}, },
{ {
label: '备注', label: '备注',
@ -798,6 +861,7 @@ export const PurchasereturnJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '创建时间', label: '创建时间',
@ -810,6 +874,7 @@ export const PurchasereturnJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
hiddenInMain:true,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -826,6 +891,7 @@ export const PurchasereturnJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
} }
])) ]))

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

@ -13,6 +13,7 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 180, width: 180,
fixed: 'left' fixed: 'left'
}, },
sortSearchDefault:1,
isSearch: true isSearch: true
}, },
{ {
@ -22,7 +23,7 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isSearch: true isTable: false
}, },
{ {
label: '任务单号', label: '任务单号',
@ -31,6 +32,7 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false
}, },
{ {
label: '采购收货记录单号', label: '采购收货记录单号',
@ -39,6 +41,9 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isSearch: true,
sortTableDefault: 3,
sortSearchDefault: 5,
}, },
{ {
label: 'qad采购退货记录单号', label: 'qad采购退货记录单号',
@ -47,6 +52,7 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false
}, },
{ {
label: '发货单号', label: '发货单号',
@ -55,6 +61,9 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
sortSearchDefault:3,
isSearch: true,
sortTableDefault: 2
}, },
{ {
label: '要货计划单号', label: '要货计划单号',
@ -63,6 +72,7 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false
}, },
{ {
label: '供应商代码', label: '供应商代码',
@ -71,6 +81,8 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
sortTableDefault: 1,
sortSearchDefault:2,
isSearch: true isSearch: true
}, },
{ {
@ -80,6 +92,7 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false
}, },
{ {
label: '承运商', label: '承运商',
@ -88,6 +101,7 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false
}, },
{ {
label: '运输方式', label: '运输方式',
@ -96,6 +110,7 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false
}, },
{ {
label: '车牌号', label: '车牌号',
@ -104,6 +119,7 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false
}, },
{ {
label: '从仓库代码', label: '从仓库代码',
@ -112,6 +128,7 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false
}, },
{ {
label: '到仓库代码', label: '到仓库代码',
@ -120,6 +137,7 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false
}, },
{ {
label: '出库事务类型', label: '出库事务类型',
@ -128,6 +146,7 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false
}, },
{ {
label: '入库事务类型', label: '入库事务类型',
@ -136,13 +155,14 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false
}, },
{ {
label: '从库区类型范围', label: '从库区类型范围',
field: 'fromAreaTypes', field: 'fromAreaTypes',
dictType: DICT_TYPE.AREA_TYPE, dictType: DICT_TYPE.AREA_TYPE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -153,7 +173,7 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'toAreaTypes', field: 'toAreaTypes',
dictType: DICT_TYPE.AREA_TYPE, dictType: DICT_TYPE.AREA_TYPE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -166,6 +186,7 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '到库区代码范围', label: '到库区代码范围',
@ -174,6 +195,7 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '执行时间', label: '执行时间',
@ -186,6 +208,7 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -206,6 +229,7 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -227,6 +251,7 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -247,6 +272,7 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -263,6 +289,7 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
// { // {
// label: '代码', // label: '代码',
@ -277,7 +304,7 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'interfaceType', field: 'interfaceType',
dictType: DICT_TYPE.INTERFACE_TYPE, dictType: DICT_TYPE.INTERFACE_TYPE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -290,14 +317,14 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '是否可用', label: '是否可用',
field: 'available', field: 'available',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isSearch: true, isTable: false,
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -310,6 +337,7 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '创建时间', label: '创建时间',
@ -322,6 +350,7 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -338,6 +367,7 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '操作', label: '操作',
@ -404,6 +434,7 @@ export const PurchasereturnRecordMainRules = reactive({
* @returns {Array} 退 * @returns {Array} 退
*/ */
export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '从包装号', label: '从包装号',
field: 'fromPackingNumber', field: 'fromPackingNumber',
@ -411,6 +442,9 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
isSearch: true,
sortTableDefault: 1001,
sortSearchDefault: 1001,
}, },
{ {
label: '到包装号', label: '到包装号',
@ -419,6 +453,21 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
isSearch: true,
hiddenInMain: true,
sortSearchDefault: 1002,
},
{
label: '包装规格',
field: 'packUnit',
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
sortTableDefault: 1004,
}, },
{ {
label: '从器具号', label: '从器具号',
@ -427,6 +476,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
hiddenInMain: true
}, },
{ {
label: '到器具号', label: '到器具号',
@ -435,6 +485,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
hiddenInMain: true
}, },
{ {
label: '从批次', label: '从批次',
@ -443,6 +494,8 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
isSearch: true,
sortTableDefault: 1000,
}, },
{ {
label: '到批次', label: '到批次',
@ -451,6 +504,8 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
isSearch: true,
hiddenInMain: true
}, },
{ {
label: '替代批次', label: '替代批次',
@ -459,6 +514,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
hiddenInMain: true
}, },
{ {
label: '从库位代码', label: '从库位代码',
@ -467,6 +523,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
hiddenInMain: true
}, },
{ {
label: '到库位代码', label: '到库位代码',
@ -475,6 +532,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
hiddenInMain: true
}, },
{ {
label: '从库位组代码', label: '从库位组代码',
@ -483,6 +541,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
hiddenInMain: true
}, },
{ {
label: '到库位组代码', label: '到库位组代码',
@ -491,6 +550,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
hiddenInMain: true
}, },
{ {
label: '从库区代码', label: '从库区代码',
@ -499,6 +559,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
hiddenInMain: true
}, },
{ {
label: '到库区代码', label: '到库区代码',
@ -507,6 +568,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
hiddenInMain: true
}, },
{ {
label: '从货主代码', label: '从货主代码',
@ -515,6 +577,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
hiddenInMain: true
}, },
{ {
label: '到货主代码', label: '到货主代码',
@ -523,6 +586,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
hiddenInMain: true
}, },
{ {
label: '库存状态', label: '库存状态',
@ -534,6 +598,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
hiddenInMain: true
}, },
{ {
label: '订单号', label: '订单号',
@ -561,6 +626,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
hiddenInMain: true
}, },
{ {
label: '单价', label: '单价',
@ -571,7 +637,8 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
}, },
form: { form: {
component: 'InputNumber', component: 'InputNumber',
} },
hiddenInMain: true
}, },
{ {
label: '金额', label: '金额',
@ -582,7 +649,9 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
}, },
form: { form: {
component: 'InputNumber', component: 'InputNumber',
} },
hiddenInMain: true
}, },
{ {
label: '物料代码', label: '物料代码',
@ -591,6 +660,8 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
isSearch: true,
sortSearchDefault: 6,
}, },
{ {
label: '物料名称', label: '物料名称',
@ -607,6 +678,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
hiddenInMain: true
}, },
{ {
label: '物料描述2', label: '物料描述2',
@ -615,6 +687,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
hiddenInMain: true
}, },
{ {
label: '数量', label: '数量',
@ -623,6 +696,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
sortTableDefault: 1005,
form: { form: {
component: 'InputNumber', component: 'InputNumber',
} }
@ -633,6 +707,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
dictType: DICT_TYPE.UOM, dictType: DICT_TYPE.UOM,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: true,
sortTableDefault: 1006,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -645,6 +720,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
hiddenInMain: true
}, },
// { // {
// label: '代码', // label: '代码',
@ -664,6 +740,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
hiddenInMain: true
}, },
// { // {
// label: '任务明细ID', // label: '任务明细ID',
@ -680,6 +757,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
hiddenInMain: true
}, },
{ {
label: '创建时间', label: '创建时间',
@ -692,6 +770,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 180 width: 180
}, },
hiddenInMain: true,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -708,6 +787,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
hiddenInMain: true,
}, },
])) ]))

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

@ -52,6 +52,7 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
sortTableDefault:1,
isSearch: true, isSearch: true,
form:{ form:{
componentProps:{ componentProps:{
@ -101,6 +102,7 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 180 width: 180
}, },
isForm: false, isForm: false,
sortTableDefault:2
}, },
{ {
label: '要货计划单号', label: '要货计划单号',
@ -110,6 +112,7 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 180 width: 180
}, },
isForm: false, isForm: false,
isTable: false,
}, },
{ {
label: '承运商', label: '承运商',
@ -118,6 +121,7 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '运输方式', label: '运输方式',
@ -128,6 +132,7 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '车牌号', label: '车牌号',
@ -136,6 +141,7 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '从仓库代码', label: '从仓库代码',
@ -145,6 +151,7 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
isForm: false, isForm: false,
isTable: false,
}, },
{ {
label: '到仓库代码', label: '到仓库代码',
@ -155,13 +162,14 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isTableForm:false, isTableForm:false,
isForm: false, isForm: false,
isTable: false,
}, },
{ {
label: '从库区类型范围', label: '从库区类型范围',
field: 'fromAreaTypes', field: 'fromAreaTypes',
dictType: DICT_TYPE.AREA_TYPE, dictType: DICT_TYPE.AREA_TYPE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -173,7 +181,7 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'toAreaTypes', field: 'toAreaTypes',
dictType: DICT_TYPE.AREA_TYPE, dictType: DICT_TYPE.AREA_TYPE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -189,6 +197,7 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
isForm: false, isForm: false,
isTable: false,
}, },
{ {
label: '到库区代码范围', label: '到库区代码范围',
@ -198,6 +207,7 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
isForm: false, isForm: false,
isTable: false,
isTableForm:false, isTableForm:false,
}, },
{ {
@ -208,6 +218,8 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
isForm: false, isForm: false,
isTable: false,
}, },
{ {
label: '业务类型', label: '业务类型',
@ -223,6 +235,7 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
isForm: false, isForm: false,
isTable: false,
}, },
{ {
label: '申请时间', label: '申请时间',
@ -245,6 +258,7 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
isForm: false, isForm: false,
isTable: false,
}, },
{ {
label: '截止时间', label: '截止时间',
@ -257,6 +271,7 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -275,6 +290,7 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
formatter: (_: Recordable, __: TableColumn, cellValue: number) => { formatter: (_: Recordable, __: TableColumn, cellValue: number) => {
return userDeptArray.find((account) => account.id == cellValue)?.name return userDeptArray.find((account) => account.id == cellValue)?.name
}, },
@ -297,7 +313,7 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
dictType: DICT_TYPE.REQUEST_STATUS, dictType: DICT_TYPE.REQUEST_STATUS,
dictClass: 'string', dictClass: 'string',
isSearch: true, isSearch: true,
isTable: true, isTable: false,
isForm:false, isForm:false,
sort: 'custom', sort: 'custom',
table: { table: {
@ -327,6 +343,7 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
isForm: false, isForm: false,
isTable: false,
}, },
{ {
label: '创建时间', label: '创建时间',
@ -339,6 +356,7 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -355,7 +373,7 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'autoCommit', field: 'autoCommit',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
isForm:false, isForm:false,
sort: 'custom', sort: 'custom',
table: { table: {
@ -376,7 +394,7 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'autoAgree', field: 'autoAgree',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
isForm:false, isForm:false,
sort: 'custom', sort: 'custom',
table: { table: {
@ -397,7 +415,7 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'autoExecute', field: 'autoExecute',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
isForm:false, isForm:false,
sort: 'custom', sort: 'custom',
table: { table: {
@ -612,6 +630,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
table: { table: {
width: 150 width: 150
}, },
hiddenInMain: true,
tableForm:{ tableForm:{
disabled:true disabled:true
}, },
@ -628,6 +647,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
table: { table: {
width: 150 width: 150
}, },
hiddenInMain: true,
tableForm:{ tableForm:{
disabled:true disabled:true
}, },
@ -671,6 +691,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
table: { table: {
width: 150 width: 150
}, },
hiddenInMain: true,
isTableForm: false, isTableForm: false,
isTable: false, isTable: false,
tableForm:{ tableForm:{
@ -689,6 +710,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
table: { table: {
width: 150 width: 150
}, },
hiddenInMain: true,
tableForm:{ tableForm:{
disabled:true disabled:true
}, },
@ -707,6 +729,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
table: { table: {
width: 150 width: 150
}, },
hiddenInMain: true,
tableForm:{ tableForm:{
disabled:true disabled:true
}, },
@ -765,6 +788,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
dictType: DICT_TYPE.INVENTORY_STATUS, dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string', dictClass: 'string',
isSearch: true, isSearch: true,
hiddenInMain: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -791,6 +815,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
tableForm:{ tableForm:{
disabled:true disabled:true
}, },
hiddenInMain: true,
isTableForm: false, isTableForm: false,
isTable: false, isTable: false,
form: { form: {
@ -809,6 +834,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
tableForm:{ tableForm:{
disabled:true disabled:true
}, },
hiddenInMain: true,
isTableForm: false, isTableForm: false,
isTable: false, isTable: false,
form: { form: {
@ -827,6 +853,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
tableForm:{ tableForm:{
disabled:true disabled:true
}, },
hiddenInMain: true,
isTableForm: false, isTableForm: false,
isTable: false, isTable: false,
form: { form: {
@ -846,6 +873,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
table: { table: {
width: 180 width: 180
}, },
hiddenInMain: true,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -870,6 +898,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
detail: { detail: {
dateFormat: 'YYYY-MM-DD' dateFormat: 'YYYY-MM-DD'
}, },
hiddenInMain: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 180 width: 180
@ -903,6 +932,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
table: { table: {
width: 180 width: 180
}, },
hiddenInMain: true,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -933,6 +963,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
disabled:true disabled:true
}, },
isTableForm:false, isTableForm:false,
hiddenInMain: true,
isForm:false, isForm:false,
form: { form: {
componentProps:{ componentProps:{
@ -953,6 +984,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
}, },
isTableForm: false, isTableForm: false,
isTable: false, isTable: false,
hiddenInMain: true,
form: { form: {
componentProps:{ componentProps:{
disabled:true disabled:true
@ -967,6 +999,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
table: { table: {
width: 180 width: 180
}, },
hiddenInMain: true,
tableForm:{ tableForm:{
disabled:true disabled:true
}, },
@ -980,6 +1013,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
dictClass: 'string', dictClass: 'string',
isSearch: true, isSearch: true,
isTable: true, isTable: true,
hiddenInMain: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -1007,6 +1041,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
}, },
isTableForm: false, isTableForm: false,
isTable: false, isTable: false,
hiddenInMain: true,
form: { form: {
componentProps:{ componentProps:{
disabled:true disabled:true
@ -1024,6 +1059,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
table: { table: {
width: 180 width: 180
}, },
hiddenInMain: true,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -1048,6 +1084,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
tableForm:{ tableForm:{
disabled:true disabled:true
}, },
hiddenInMain: true,
isTableForm:false, isTableForm:false,
isForm:false isForm:false
}, },

Loading…
Cancel
Save