Browse Source

要货计划列的显示

master_hella_20240701
yufei0306 7 months ago
parent
commit
1590429170
  1. 25
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts

25
src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts

@ -55,6 +55,7 @@ export const PurchasePlanMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable:false,
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
@ -84,6 +85,7 @@ export const PurchasePlanMain = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '收货人', label: '收货人',
field: 'contacts', field: 'contacts',
isTable:false,
table: { table: {
width: 150 width: 150
}, },
@ -96,6 +98,7 @@ export const PurchasePlanMain = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '联系电话', label: '联系电话',
field: 'phone', field: 'phone',
isTable:false,
table: { table: {
width: 150 width: 150
}, },
@ -111,6 +114,7 @@ export const PurchasePlanMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
sortTableDefault:1000,
formatter: dateFormatter2, formatter: dateFormatter2,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
@ -131,6 +135,7 @@ export const PurchasePlanMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable:false,
isForm: false isForm: false
}, },
{ {
@ -140,6 +145,7 @@ export const PurchasePlanMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
sortTableDefault:1001,
form:{ form:{
component:"TimePicker", component:"TimePicker",
componentProps: { componentProps: {
@ -154,6 +160,7 @@ export const PurchasePlanMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
sortTableDefault:1002,
form:{ form:{
component:"TimePicker", component:"TimePicker",
componentProps: { componentProps: {
@ -168,6 +175,7 @@ export const PurchasePlanMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable:false,
isForm: false, isForm: false,
}, },
{ {
@ -178,6 +186,7 @@ export const PurchasePlanMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
isForm: false, isForm: false,
isTable:false,
}, },
{ {
label: '业务类型', label: '业务类型',
@ -187,6 +196,7 @@ export const PurchasePlanMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
isForm: false, isForm: false,
isTable:false,
form: { form: {
value: 'PurchaseReceipt', value: 'PurchaseReceipt',
componentProps: { componentProps: {
@ -278,6 +288,7 @@ export const PurchasePlanMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'creator', field: 'creator',
sort: 'custom', sort: 'custom',
isForm: false, isForm: false,
isTable:false,
table: { table: {
width: 150 width: 150
}, },
@ -285,7 +296,7 @@ export const PurchasePlanMain = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',
isTable: true, isTable:false,
isForm: false, isForm: false,
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
@ -310,6 +321,7 @@ export const PurchasePlanMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'updater', field: 'updater',
sort: 'custom', sort: 'custom',
isForm: false, isForm: false,
isTable:false,
table: { table: {
width: 150 width: 150
}, },
@ -317,7 +329,7 @@ export const PurchasePlanMain = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '最后更新时间', label: '最后更新时间',
field: 'updateTime', field: 'updateTime',
isTable: true, isTable: false,
isForm: false, isForm: false,
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
@ -395,6 +407,7 @@ export const PurchasePlanDetail = useCrudSchemas(reactive<CrudSchema[]>([
field: 'number', field: 'number',
sort: 'custom', sort: 'custom',
isTableForm: false, isTableForm: false,
hiddenInMain:true,
table: { table: {
width: 180 width: 180
}, },
@ -572,7 +585,9 @@ export const PurchasePlanDetail = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
isTableForm: false, isTableForm: false,
isForm: false isForm: false,
hiddenInMain:true,
}, },
{ {
label: '计量单位', label: '计量单位',
@ -595,6 +610,7 @@ export const PurchasePlanDetail = useCrudSchemas(reactive<CrudSchema[]>([
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: true,
hiddenInMain:true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -618,6 +634,7 @@ export const PurchasePlanDetail = useCrudSchemas(reactive<CrudSchema[]>([
field: 'updater', field: 'updater',
sort: 'custom', sort: 'custom',
isTableForm: false, isTableForm: false,
hiddenInMain:true,
table: { table: {
width: 150 width: 150
}, },
@ -628,6 +645,7 @@ export const PurchasePlanDetail = useCrudSchemas(reactive<CrudSchema[]>([
field: 'updateTime', field: 'updateTime',
sort: 'custom', sort: 'custom',
isTableForm: false, isTableForm: false,
hiddenInMain:true,
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -650,6 +668,7 @@ export const PurchasePlanDetail = useCrudSchemas(reactive<CrudSchema[]>([
label: '备注', label: '备注',
field: 'remark', field: 'remark',
sort: 'custom', sort: 'custom',
hiddenInMain:true,
table: { table: {
width: 150 width: 150
}, },

Loading…
Cancel
Save