Browse Source

发票增加字段

master_hella_20240701
zhaoxuebing 7 months ago
parent
commit
235dfec53b
  1. 101
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/supplierinvoiceRecordMain.data.ts
  2. 104
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts

101
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/supplierinvoiceRecordMain.data.ts

@ -24,6 +24,15 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
},
isSearch: true
},
{
label: '供应商名称',
field: 'supplierName',
sort: 'custom',
table: {
width: 180,
},
isForm: false
},
{
label: '订单号',
field: 'poNumber',
@ -357,6 +366,98 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 180
},
},
{
label: '物流审批用户名',
field: 'logisticsCreator',
sort: 'custom',
table: {
width: 150
},
isForm: false,
},
{
label: '物流审批时间',
field: 'logisticsCreateTime',
isTable: true,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
isForm: false,
},
{
label: '采购审批用户名',
field: 'procurementCreator',
sort: 'custom',
table: {
width: 150
},
isForm: false,
},
{
label: '采购审批时间',
field: 'procurementCreateTime',
isTable: true,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
isForm: false,
},
{
label: '财务审批用户名',
field: 'financialCreator',
sort: 'custom',
table: {
width: 150
},
isForm: false,
},
{
label: '财务审批时间',
field: 'financialCreateTime',
isTable: true,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
isForm: false,
},
{
label: '供应商审批用户名',
field: 'supplierCreator',
sort: 'custom',
table: {
width: 150
},
isForm: false,
},
{
label: '供应商审批时间',
field: 'supplierCreateTime',
isTable: true,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
isForm: false,
},
]))
//表单校验

104
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts

@ -119,6 +119,15 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
}
}
},
{
label: '供应商名称',
field: 'supplierName',
sort: 'custom',
table: {
width: 180,
},
isForm: false
},
{
label: '状态',
field: 'status',
@ -495,6 +504,98 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
}
},
},
{
label: '物流审批用户名',
field: 'logisticsCreator',
sort: 'custom',
table: {
width: 150
},
isForm: false,
},
{
label: '物流审批时间',
field: 'logisticsCreateTime',
isTable: true,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
isForm: false,
},
{
label: '采购审批用户名',
field: 'procurementCreator',
sort: 'custom',
table: {
width: 150
},
isForm: false,
},
{
label: '采购审批时间',
field: 'procurementCreateTime',
isTable: true,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
isForm: false,
},
{
label: '财务审批用户名',
field: 'financialCreator',
sort: 'custom',
table: {
width: 150
},
isForm: false,
},
{
label: '财务审批时间',
field: 'financialCreateTime',
isTable: true,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
isForm: false,
},
{
label: '供应商审批用户名',
field: 'supplierCreator',
sort: 'custom',
table: {
width: 150
},
isForm: false,
},
{
label: '供应商审批时间',
field: 'supplierCreateTime',
isTable: true,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
isForm: false,
},
{
label: '备注',
field: 'remark',
@ -602,7 +703,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
isDetail: false,
isForm: false,
table: {
width: 300,
width: 200,
fixed: 'right'
},
}
@ -905,6 +1006,7 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[]
width: 150,
fixed: 'right'
},
hiddenInMain:true,
isTableForm: false,
}
]))

Loading…
Cancel
Save