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