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

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

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

Loading…
Cancel
Save