Browse Source

发票字段整理

master_hella_20240701
zhaoxuebing 7 months ago
parent
commit
ad22d2f9f2
  1. 72
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/supplierinvoiceRecordMain.data.ts
  2. 31
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts

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

@ -15,6 +15,15 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isSearch: true isSearch: true
}, },
{
label: '申请单号',
field: 'requestNumber',
sort: 'custom',
table: {
width: 180,
},
isSearch: true
},
{ {
label: '供应商代码', label: '供应商代码',
field: 'supplierCode', field: 'supplierCode',
@ -37,6 +46,7 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '订单号', label: '订单号',
field: 'poNumber', field: 'poNumber',
sort: 'custom', sort: 'custom',
isTable:false,
table: { table: {
width: 150 width: 150
}, },
@ -102,15 +112,6 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
precision: 6, precision: 6,
} }
}, },
{
label: '申请单号',
field: 'requestNumber',
sort: 'custom',
table: {
width: 150
},
isSearch: true
},
{ {
label: '金额', label: '金额',
@ -238,6 +239,8 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '业务类型', label: '业务类型',
field:'businessType', field:'businessType',
sort: 'custom', sort: 'custom',
isTable:false,
isTableForm:false,
table: { table: {
width: 150 width: 150
}, },
@ -246,6 +249,8 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '出库事务类型', label: '出库事务类型',
field: 'outTransactionType', field: 'outTransactionType',
sort: 'custom', sort: 'custom',
isTable:false,
isTableForm:false,
table: { table: {
width: 150 width: 150
}, },
@ -253,6 +258,8 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '入库事务类型', label: '入库事务类型',
field: 'inTransactionType', field: 'inTransactionType',
isTable:false,
isTableForm:false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -261,7 +268,8 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '执行时间', label: '执行时间',
field: 'executeTime', field: 'executeTime',
isTable: true, isTable:false,
isTableForm:false,
formatter: dateFormatter, formatter: dateFormatter,
deatil: { deatil: {
dateFormatter: 'YYYY-MM-DD HH:mm:ss' dateFormatter: 'YYYY-MM-DD HH:mm:ss'
@ -274,7 +282,8 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '生效日期', label: '生效日期',
field: 'activeDate', field: 'activeDate',
isTable: true, isTable:false,
isTableForm:false,
formatter: dateFormatter2, formatter: dateFormatter2,
deatil: { deatil: {
dateFormatter: 'YYYY-MM-DD' dateFormatter: 'YYYY-MM-DD'
@ -287,7 +296,8 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '申请时间', label: '申请时间',
field: 'requestTime', field: 'requestTime',
isTable: true, isTable:false,
isTableForm:false,
formatter: dateFormatter, formatter: dateFormatter,
deatil: { deatil: {
dateFormatter: 'YYYY-MM-DD HH:mm:ss' dateFormatter: 'YYYY-MM-DD HH:mm:ss'
@ -300,7 +310,8 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '截止时间', label: '截止时间',
field: 'dueTime', field: 'dueTime',
isTable: true, isTable:false,
isTableForm:false,
formatter: dateFormatter, formatter: dateFormatter,
deatil: { deatil: {
dateFormatter: 'YYYY-MM-DD HH:mm:ss' dateFormatter: 'YYYY-MM-DD HH:mm:ss'
@ -313,6 +324,8 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '部门', label: '部门',
field: 'departmentCode', field: 'departmentCode',
isTable:false,
isTableForm:false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -321,6 +334,8 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '代码', label: '代码',
field: 'code', field: 'code',
isTable:false,
isTableForm:false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -331,7 +346,8 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'interfaceType', field: 'interfaceType',
dictType: DICT_TYPE.INTERFACE_TYPE, dictType: DICT_TYPE.INTERFACE_TYPE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable:false,
isTableForm:false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -341,13 +357,15 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '是否可用', label: '是否可用',
field: 'available', field: 'available',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
isTable:false,
isTableForm:false,
dictClass: 'string', dictClass: 'string',
isTable: true
}, },
{ {
label: '创建者', label: '创建者',
field: 'creator', field: 'creator',
sort: 'custom', sort: 'custom',
sortDefault:1000,
table: { table: {
width: 150 width: 150
}, },
@ -356,6 +374,7 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',
isTable: true, isTable: true,
sortDefault:1001,
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -366,8 +385,9 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '采购审批用户名', label: '采购审批',
field: 'procurementCreator', field: 'procurementCreator',
sortDefault:1002,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -377,6 +397,7 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '采购审批时间', label: '采购审批时间',
field: 'procurementCreateTime', field: 'procurementCreateTime',
sortDefault:1003,
isTable: true, isTable: true,
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
@ -391,6 +412,7 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '财务审批用户名', label: '财务审批用户名',
field: 'financialCreator', field: 'financialCreator',
sortDefault:1004,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -400,6 +422,7 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '财务审批时间', label: '财务审批时间',
field: 'financialCreateTime', field: 'financialCreateTime',
sortDefault:1005,
isTable: true, isTable: true,
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
@ -412,9 +435,11 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
isForm: false, isForm: false,
}, },
{ {
label: '供应商审批用户名', label: '供应商审批',
field: 'supplierCreator', field: 'supplierCreator',
sort: 'custom', sort: 'custom',
isTable:false,
isTableForm:false,
table: { table: {
width: 150 width: 150
}, },
@ -423,7 +448,8 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '供应商审批时间', label: '供应商审批时间',
field: 'supplierCreateTime', field: 'supplierCreateTime',
isTable: true, isTable:false,
isTableForm:false,
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -486,11 +512,20 @@ export const SupplierinvoiceRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
{ {
label: '项目编号', label: '项目编号',
field: 'projectCode', field: 'projectCode',
isTable:false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{
label: '采购收货记录单号',
field: 'qadNumber',
sort: 'custom',
table: {
width: 180
},
},
{ {
label: '单据类型', label: '单据类型',
field: 'billType', field: 'billType',
@ -518,6 +553,7 @@ export const SupplierinvoiceRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
{ {
label: '单据号', label: '单据号',
field: 'number', field: 'number',
hiddenInMain:true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 180 width: 180

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

@ -414,6 +414,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 180 width: 180
}, },
isTable:false,
isForm:false, isForm:false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
@ -457,6 +458,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
sortDefault:1001,
isForm: false, isForm: false,
}, },
{ {
@ -464,6 +466,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
field: 'createTime', field: 'createTime',
isTable: true, isTable: true,
formatter: dateFormatter, formatter: dateFormatter,
sortDefault:1000,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, },
@ -480,12 +483,13 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
isTable:false,
isForm: false, isForm: false,
}, },
{ {
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'
@ -505,9 +509,10 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
}, },
}, },
{ {
label: '采购审批用户名', label: '采购审批',
field: 'procurementCreator', field: 'procurementCreator',
sort: 'custom', sort: 'custom',
sortDefault:1003,
table: { table: {
width: 150 width: 150
}, },
@ -517,6 +522,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
label: '采购审批时间', label: '采购审批时间',
field: 'procurementCreateTime', field: 'procurementCreateTime',
isTable: true, isTable: true,
sortDefault:1004,
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -528,7 +534,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
isForm: false, isForm: false,
}, },
{ {
label: '财务审批用户名', label: '财务审批',
field: 'financialCreator', field: 'financialCreator',
sort: 'custom', sort: 'custom',
table: { table: {
@ -540,6 +546,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
label: '财务审批时间', label: '财务审批时间',
field: 'financialCreateTime', field: 'financialCreateTime',
isTable: true, isTable: true,
sortDefault:1005,
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -551,18 +558,20 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
isForm: false, isForm: false,
}, },
{ {
label: '供应商审批用户名', label: '供应商审批',
field: 'supplierCreator', field: 'supplierCreator',
sort: 'custom', sort: 'custom',
isTable:false,
sortDefault:1006,
table: { table: {
width: 150 width: 180
}, },
isForm: false, isForm: false,
}, },
{ {
label: '供应商审批时间', label: '供应商审批时间',
field: 'supplierCreateTime', field: 'supplierCreateTime',
isTable: true, isTable:false,
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -680,7 +689,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
isDetail: false, isDetail: false,
isForm: false, isForm: false,
table: { table: {
width: 200, width: 300,
fixed: 'right' fixed: 'right'
}, },
} }
@ -780,6 +789,7 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[]
{ {
label: '项目编码', label: '项目编码',
field: 'projectCode', field: 'projectCode',
hiddenInMain:true,
table: { table: {
width: 150 width: 150
}, },
@ -825,6 +835,7 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[]
{ {
label: '供应商代码', label: '供应商代码',
field: 'supplierCode', field: 'supplierCode',
hiddenInMain:true,
table: { table: {
width: 150 width: 150
}, },
@ -950,11 +961,13 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[]
{ {
label: '备注', label: '备注',
field: 'remark', field: 'remark',
hiddenInMain:true,
}, },
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',
isTable: true, hiddenInMain:true,
isTable: false,
table: { table: {
width: 150 width: 150
}, },
@ -968,7 +981,9 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[]
{ {
label: '创建者', label: '创建者',
field: 'creator', field: 'creator',
hiddenInMain:true,
isTableForm: false, isTableForm: false,
isTable:false,
isForm: false, isForm: false,
table: { table: {
width: 150 width: 150

Loading…
Cancel
Save