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

Loading…
Cancel
Save