Browse Source

采购订单列的显示

master_hella_20240701
yufei0306 7 months ago
parent
commit
4693e4e0d7
  1. 39
      src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts

39
src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts

@ -106,7 +106,8 @@ export const PurchaseMain = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '截止日期', label: '截止日期',
field: 'dueDate', field: 'dueDate',
isTable: true, isTable: false,
isForm: false,
formatter: dateFormatter2, formatter: dateFormatter2,
detail:{ detail:{
dateFormat: 'YYYY-MM-DD' dateFormat: 'YYYY-MM-DD'
@ -146,6 +147,7 @@ export const PurchaseMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '版本', label: '版本',
field: 'version', field: 'version',
sort: 'custom', sort: 'custom',
isTable:false,
table: { table: {
width: 150 width: 150
}, },
@ -166,6 +168,7 @@ export const PurchaseMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isTableForm: false, isTableForm: false,
isForm: false, isForm: false,
isTable:false,
}, },
{ {
label: '是否寄存订单', label: '是否寄存订单',
@ -192,7 +195,7 @@ export const PurchaseMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'available', field: 'available',
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
@ -212,6 +215,7 @@ export const PurchaseMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '联系人姓名', label: '联系人姓名',
field: 'contactName', field: 'contactName',
sort: 'custom', sort: 'custom',
isTable:false,
table: { table: {
width: 150 width: 150
}, },
@ -220,6 +224,7 @@ export const PurchaseMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '联系人电话', label: '联系人电话',
field: 'contactPhone', field: 'contactPhone',
sort: 'custom', sort: 'custom',
isTable:false,
table: { table: {
width: 150 width: 150
}, },
@ -228,6 +233,7 @@ export const PurchaseMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '联系人电子邮件', label: '联系人电子邮件',
field: 'contactEmail', field: 'contactEmail',
sort: 'custom', sort: 'custom',
isTable:false,
table: { table: {
width: 150 width: 150
}, },
@ -254,6 +260,7 @@ export const PurchaseMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'creator', field: 'creator',
sort: 'custom', sort: 'custom',
isForm: false, isForm: false,
isTable:false,
table: { table: {
width: 150 width: 150
}, },
@ -261,7 +268,7 @@ export const PurchaseMain = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',
isTable: true, isTable:false,
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -286,6 +293,7 @@ export const PurchaseMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'updater', field: 'updater',
sort: 'custom', sort: 'custom',
isForm: false, isForm: false,
isTable:false,
table: { table: {
width: 150 width: 150
}, },
@ -293,7 +301,7 @@ export const PurchaseMain = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '最后更新时间', label: '最后更新时间',
field: 'updateTime', field: 'updateTime',
isTable: true, isTable: false,
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -316,6 +324,7 @@ export const PurchaseMain = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '备注', label: '备注',
field: 'remark', field: 'remark',
isTable: false,
table: { table: {
width: 150 width: 150
}, },
@ -379,6 +388,7 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
label: '单据号', label: '单据号',
field: 'number', field: 'number',
isTableForm: false, isTableForm: false,
hiddenInMain:true,
table: { table: {
width: 180 width: 180
}, },
@ -488,6 +498,7 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
isTableForm: false, isTableForm: false,
isForm: false, isForm: false,
}, },
@ -497,12 +508,14 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
isTableForm: false, isTableForm: false,
isForm: false, isForm: false,
}, },
{ {
label: '包装数量', label: '包装数量',
field: 'packQty', field: 'packQty',
hiddenInMain:true,
table: { table: {
width: 150 width: 150
}, },
@ -518,6 +531,7 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
{ {
label: '包装规格', label: '包装规格',
hiddenInMain:true,
field: 'packUnit', field: 'packUnit',
// dictType: DICT_TYPE.PACK_UNIT, // dictType: DICT_TYPE.PACK_UNIT,
// dictClass: 'string', // dictClass: 'string',
@ -531,6 +545,7 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '供应商计量数量', label: '供应商计量数量',
field: 'supplierQty', field: 'supplierQty',
hiddenInMain:true,
table: { table: {
width: 150 width: 150
}, },
@ -550,6 +565,7 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
dictType: DICT_TYPE.UOM, dictType: DICT_TYPE.UOM,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: true,
hiddenInMain:true,
table: { table: {
width: 150 width: 150
}, },
@ -565,6 +581,7 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
min: 0 min: 0
} }
}, },
hiddenInMain:true,
table: { table: {
width: 150 width: 150
}, },
@ -577,6 +594,7 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
form: { form: {
component: 'InputNumber', component: 'InputNumber',
componentProps: { componentProps: {
@ -594,6 +612,7 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
form: { form: {
component: 'InputNumber', component: 'InputNumber',
componentProps: { componentProps: {
@ -611,6 +630,7 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
form: { form: {
component: 'InputNumber', component: 'InputNumber',
value: 0, value: 0,
@ -628,6 +648,7 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
form: { form: {
component: 'InputNumber', component: 'InputNumber',
value: 0, value: 0,
@ -645,6 +666,7 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
form: { form: {
component: 'InputNumber', component: 'InputNumber',
value: 1, value: 1,
@ -662,6 +684,7 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
form: { form: {
component: 'InputNumber', component: 'InputNumber',
componentProps: { componentProps: {
@ -678,6 +701,7 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
form: { form: {
component: 'InputNumber', component: 'InputNumber',
componentProps: { componentProps: {
@ -697,6 +721,7 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
tableForm:{ tableForm:{
type:'Select', type:'Select',
default: 'TRUE', default: 'TRUE',
@ -718,6 +743,7 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
form: { form: {
component: 'InputNumber', component: 'InputNumber',
componentProps: { componentProps: {
@ -738,6 +764,7 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
isForm: false, isForm: false,
}, },
{ {
@ -752,6 +779,7 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
hiddenInMain:true,
isForm: false, isForm: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
@ -770,6 +798,7 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
isForm: false, isForm: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
@ -784,9 +813,9 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '最后更新时间', label: '最后更新时间',
field: 'updateTime', field: 'updateTime',
hiddenInMain:false,
isTableForm: false, isTableForm: false,
isTable: true, isTable: true,
hiddenInMain:true,
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'

Loading…
Cancel
Save