|
@ -45,7 +45,8 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
width: 180, |
|
|
width: 180, |
|
|
}, |
|
|
}, |
|
|
sortTableDefault:2, |
|
|
sortTableDefault:2, |
|
|
isForm: false |
|
|
isForm: false, |
|
|
|
|
|
isSearch:true |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '税率', |
|
|
label: '税率', |
|
@ -119,7 +120,7 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
isSearch: true |
|
|
isSearch: true |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '未税差额', |
|
|
label: '未税尾差', |
|
|
field: 'beforeTaxDiffAmount', |
|
|
field: 'beforeTaxDiffAmount', |
|
|
formatter: accountantFormart, |
|
|
formatter: accountantFormart, |
|
|
table: { |
|
|
table: { |
|
@ -130,7 +131,7 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
isTableForm:false |
|
|
isTableForm:false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '税额差异', |
|
|
label: '税额尾差', |
|
|
field: 'taxAmountDiff', |
|
|
field: 'taxAmountDiff', |
|
|
formatter: accountantFormart, |
|
|
formatter: accountantFormart, |
|
|
table: { |
|
|
table: { |
|
@ -141,7 +142,7 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
isTableForm:false |
|
|
isTableForm:false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '价税合计差额', |
|
|
label: '价税合计尾差', |
|
|
field: 'totalTaxDiffAmount', |
|
|
field: 'totalTaxDiffAmount', |
|
|
formatter: accountantFormart, |
|
|
formatter: accountantFormart, |
|
|
table: { |
|
|
table: { |
|
@ -153,7 +154,7 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '系统税额', |
|
|
label: '供应商维护税额', |
|
|
field: 'taxAmount', |
|
|
field: 'taxAmount', |
|
|
formatter: accountantFormart, |
|
|
formatter: accountantFormart, |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
@ -166,7 +167,7 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '未税金额', |
|
|
label: '发票未税金额', |
|
|
field: 'beforeTaxAmount', |
|
|
field: 'beforeTaxAmount', |
|
|
formatter: accountantFormart, |
|
|
formatter: accountantFormart, |
|
|
table: { |
|
|
table: { |
|
@ -177,7 +178,7 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
isTableForm:false |
|
|
isTableForm:false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '税额', |
|
|
label: '发票税额', |
|
|
field: 'totalTaxAmount', |
|
|
field: 'totalTaxAmount', |
|
|
formatter: accountantFormart, |
|
|
formatter: accountantFormart, |
|
|
table: { |
|
|
table: { |
|
@ -188,7 +189,7 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
isTableForm:false |
|
|
isTableForm:false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '价税合计金额', |
|
|
label: '发票价税合计', |
|
|
field: 'adTaxAmount', |
|
|
field: 'adTaxAmount', |
|
|
formatter: accountantFormart, |
|
|
formatter: accountantFormart, |
|
|
table: { |
|
|
table: { |
|
@ -225,12 +226,12 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
sortTableDefault:5, |
|
|
sortTableDefault:5, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '系统价税合计',//税后金额
|
|
|
label: '供应商维护价税合计',//税后金额
|
|
|
field: 'afterTaxAmount', |
|
|
field: 'afterTaxAmount', |
|
|
formatter: accountantFormart, |
|
|
formatter: accountantFormart, |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 160 |
|
|
}, |
|
|
}, |
|
|
sortTableDefault:9, |
|
|
sortTableDefault:9, |
|
|
form: { |
|
|
form: { |
|
@ -260,12 +261,12 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '系统未税金额', |
|
|
label: '供应商维护未税金额', |
|
|
field: 'amount', |
|
|
field: 'amount', |
|
|
formatter: accountantFormart, |
|
|
formatter: accountantFormart, |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 160 |
|
|
}, |
|
|
}, |
|
|
sortTableDefault:8, |
|
|
sortTableDefault:8, |
|
|
form: { |
|
|
form: { |
|
@ -467,6 +468,7 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
sortTableDefault:6, |
|
|
sortTableDefault:6, |
|
|
isForm: false |
|
|
isForm: false |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '业务类型', |
|
|
label: '业务类型', |
|
|
field:'businessType', |
|
|
field:'businessType', |
|
@ -672,6 +674,56 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
// isTable: false,
|
|
|
// isTable: false,
|
|
|
// isForm: false,
|
|
|
// isForm: false,
|
|
|
// },
|
|
|
// },
|
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
label: '回转时间', |
|
|
|
|
|
field: 'reversepostingdate', |
|
|
|
|
|
formatter: dateFormatter2, |
|
|
|
|
|
detail: { |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD' |
|
|
|
|
|
}, |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
sortTableDefault:11, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '说明',//回转说明
|
|
|
|
|
|
field: 'tcCInvoiceRemark', |
|
|
|
|
|
sortTableDefault:11, |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '回转凭证号', |
|
|
|
|
|
field: 'transferNumber', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 200, |
|
|
|
|
|
}, |
|
|
|
|
|
sortTableDefault:11, |
|
|
|
|
|
isTable:true, |
|
|
|
|
|
isForm: false |
|
|
|
|
|
}, |
|
|
|
|
|
// {
|
|
|
|
|
|
// label: '冲销日记帐',
|
|
|
|
|
|
// field: 'reverseInvoiceJournal',
|
|
|
|
|
|
// sortTableDefault:11,
|
|
|
|
|
|
// table: {
|
|
|
|
|
|
// width: 150
|
|
|
|
|
|
// },
|
|
|
|
|
|
// },
|
|
|
|
|
|
// {
|
|
|
|
|
|
// label: '调整账代码',
|
|
|
|
|
|
// field: 'adjustmentJournal',
|
|
|
|
|
|
// sortTableDefault:11,
|
|
|
|
|
|
// table: {
|
|
|
|
|
|
// width: 150
|
|
|
|
|
|
// },
|
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '采购审批时间', |
|
|
label: '采购审批时间', |
|
|
field: 'procurementCreateTime', |
|
|
field: 'procurementCreateTime', |
|
@ -808,7 +860,7 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
isDetail: false, |
|
|
isDetail: false, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
table: { |
|
|
table: { |
|
|
width: 150, |
|
|
width: 200, |
|
|
fixed: 'right' |
|
|
fixed: 'right' |
|
|
}, |
|
|
}, |
|
|
} |
|
|
} |
|
@ -835,6 +887,14 @@ export const SupplierinvoiceRecordDetailMain = useCrudSchemas(reactive<CrudSchem |
|
|
isTable: false, |
|
|
isTable: false, |
|
|
isDetail: true, |
|
|
isDetail: true, |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '价差', |
|
|
|
|
|
field: '', |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
isTable: false, |
|
|
|
|
|
isSearch: false, |
|
|
|
|
|
isDetail: true, |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: 'SCP系统数据', |
|
|
label: 'SCP系统数据', |
|
|
field: '', |
|
|
field: '', |
|
@ -842,9 +902,9 @@ export const SupplierinvoiceRecordDetailMain = useCrudSchemas(reactive<CrudSchem |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isTable: false, |
|
|
isTable: false, |
|
|
isDetail: true, |
|
|
isDetail: false, |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '单据号', |
|
|
label: '单据号', |
|
|
field: 'number', |
|
|
field: 'number', |
|
@ -868,10 +928,9 @@ export const SupplierinvoiceRecordDetailMain = useCrudSchemas(reactive<CrudSchem |
|
|
isDetail: true, |
|
|
isDetail: true, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '系统价税合计', |
|
|
label: '系统未税金额', |
|
|
field: 'afterTaxAmount', |
|
|
field: 'purchaseAmountTotalMain', |
|
|
formatter: accountantFormart, |
|
|
formatter: accountantFormart, |
|
|
|
|
|
|
|
|
sortTableDefault: 6, |
|
|
sortTableDefault: 6, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
isTable: false, |
|
|
isTable: false, |
|
@ -881,7 +940,6 @@ export const SupplierinvoiceRecordDetailMain = useCrudSchemas(reactive<CrudSchem |
|
|
{ |
|
|
{ |
|
|
label: '财务凭证号', |
|
|
label: '财务凭证号', |
|
|
field: 'voucherNumber', |
|
|
field: 'voucherNumber', |
|
|
|
|
|
|
|
|
sortTableDefault: 6, |
|
|
sortTableDefault: 6, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
isTable: false, |
|
|
isTable: false, |
|
@ -900,10 +958,9 @@ export const SupplierinvoiceRecordDetailMain = useCrudSchemas(reactive<CrudSchem |
|
|
isDetail: true, |
|
|
isDetail: true, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '系统未税金额', |
|
|
label: '价差合计', |
|
|
field: 'amount', |
|
|
field: 'differencePriceTotalMain', |
|
|
formatter: accountantFormart, |
|
|
formatter: accountantFormart, |
|
|
|
|
|
|
|
|
sortTableDefault: 6, |
|
|
sortTableDefault: 6, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
isTable: false, |
|
|
isTable: false, |
|
@ -936,9 +993,8 @@ export const SupplierinvoiceRecordDetailMain = useCrudSchemas(reactive<CrudSchem |
|
|
isDetail: true, |
|
|
isDetail: true, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '系统税额', |
|
|
label: '', |
|
|
field: 'taxAmount', |
|
|
field: '', |
|
|
formatter: accountantFormart, |
|
|
|
|
|
sortTableDefault: 6, |
|
|
sortTableDefault: 6, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
isTable: false, |
|
|
isTable: false, |
|
@ -966,16 +1022,25 @@ export const SupplierinvoiceRecordDetailMain = useCrudSchemas(reactive<CrudSchem |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isDetail: true, |
|
|
isDetail: true, |
|
|
}, |
|
|
}, |
|
|
|
|
|
// {
|
|
|
|
|
|
// label: '尾差',
|
|
|
|
|
|
// field: 'totalDifference',
|
|
|
|
|
|
// sortTableDefault: 6,
|
|
|
|
|
|
// isForm: false,
|
|
|
|
|
|
// isTable: false,
|
|
|
|
|
|
// isSearch: false,
|
|
|
|
|
|
// isDetail: false,
|
|
|
|
|
|
// },
|
|
|
{ |
|
|
{ |
|
|
label: '系统采购价格', |
|
|
label: '尾差', |
|
|
field: 'purchaseAmountTotalMain', |
|
|
field: '', |
|
|
formatter: accountantFormart, |
|
|
|
|
|
sortTableDefault: 6, |
|
|
sortTableDefault: 6, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
isTable: false, |
|
|
isTable: false, |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isDetail: true, |
|
|
isDetail: true, |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '采购价格审批人', |
|
|
label: '采购价格审批人', |
|
|
field: 'procurementCreatorName', |
|
|
field: 'procurementCreatorName', |
|
@ -999,9 +1064,10 @@ export const SupplierinvoiceRecordDetailMain = useCrudSchemas(reactive<CrudSchem |
|
|
isDetail: true, |
|
|
isDetail: true, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '总价差', |
|
|
label: '供应商维护价税合计', |
|
|
field: 'differencePriceTotalMain', |
|
|
field: 'afterTaxAmount', |
|
|
formatter: accountantFormart, |
|
|
formatter: accountantFormart, |
|
|
|
|
|
|
|
|
sortTableDefault: 6, |
|
|
sortTableDefault: 6, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
isTable: false, |
|
|
isTable: false, |
|
@ -1011,14 +1077,14 @@ export const SupplierinvoiceRecordDetailMain = useCrudSchemas(reactive<CrudSchem |
|
|
{ |
|
|
{ |
|
|
label: '采购价格审批时间', |
|
|
label: '采购价格审批时间', |
|
|
field: 'procurementCreateTime', |
|
|
field: 'procurementCreateTime', |
|
|
|
|
|
detail: { |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
|
|
}, |
|
|
sortTableDefault: 1003, |
|
|
sortTableDefault: 1003, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
isTable: false, |
|
|
isTable: false, |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isDetail: true, |
|
|
isDetail: true, |
|
|
detail: { |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '税率(%)', |
|
|
label: '税率(%)', |
|
@ -1033,8 +1099,10 @@ export const SupplierinvoiceRecordDetailMain = useCrudSchemas(reactive<CrudSchem |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '', |
|
|
label: '供应商维护未税金额', |
|
|
field: '', |
|
|
field: 'amount', |
|
|
|
|
|
formatter: accountantFormart, |
|
|
|
|
|
|
|
|
sortTableDefault: 6, |
|
|
sortTableDefault: 6, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
isTable: false, |
|
|
isTable: false, |
|
@ -1053,7 +1121,7 @@ export const SupplierinvoiceRecordDetailMain = useCrudSchemas(reactive<CrudSchem |
|
|
isDetail: true, |
|
|
isDetail: true, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '价税合计', |
|
|
label: '发票价税合计', |
|
|
field: 'adTaxAmount', |
|
|
field: 'adTaxAmount', |
|
|
formatter: accountantFormart, |
|
|
formatter: accountantFormart, |
|
|
|
|
|
|
|
@ -1064,15 +1132,15 @@ export const SupplierinvoiceRecordDetailMain = useCrudSchemas(reactive<CrudSchem |
|
|
isDetail: true, |
|
|
isDetail: true, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '', |
|
|
label: '供应商维护税额', |
|
|
field: '', |
|
|
field: 'taxAmount', |
|
|
|
|
|
formatter: accountantFormart, |
|
|
sortTableDefault: 6, |
|
|
sortTableDefault: 6, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
isTable: false, |
|
|
isTable: false, |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isDetail: true, |
|
|
isDetail: true, |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '财务审批人', |
|
|
label: '财务审批人', |
|
|
field: 'financialCreatorName', |
|
|
field: 'financialCreatorName', |
|
@ -1085,7 +1153,7 @@ export const SupplierinvoiceRecordDetailMain = useCrudSchemas(reactive<CrudSchem |
|
|
isDetail: true, |
|
|
isDetail: true, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '未税金额', |
|
|
label: '发票未税金额', |
|
|
field: 'beforeTaxAmount', |
|
|
field: 'beforeTaxAmount', |
|
|
formatter: accountantFormart, |
|
|
formatter: accountantFormart, |
|
|
|
|
|
|
|
@ -1096,29 +1164,29 @@ export const SupplierinvoiceRecordDetailMain = useCrudSchemas(reactive<CrudSchem |
|
|
isDetail: true, |
|
|
isDetail: true, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '尾差', |
|
|
label: '', |
|
|
field: 'totalDifference', |
|
|
field: '', |
|
|
sortTableDefault: 6, |
|
|
sortTableDefault: 6, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
isTable: false, |
|
|
isTable: false, |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isDetail: false, |
|
|
isDetail: true, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '财务审批时间', |
|
|
label: '财务审批时间', |
|
|
field: 'financialCreateTime', |
|
|
field: 'financialCreateTime', |
|
|
formatter: dateFormatter, |
|
|
formatter: dateFormatter, |
|
|
|
|
|
detail: { |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
|
|
}, |
|
|
sortTableDefault: 6, |
|
|
sortTableDefault: 6, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
isTable: false, |
|
|
isTable: false, |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isDetail: true, |
|
|
isDetail: true, |
|
|
detail: { |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '税额', |
|
|
label: '发票税额', |
|
|
field: 'totalTaxAmount', |
|
|
field: 'totalTaxAmount', |
|
|
formatter: accountantFormart, |
|
|
formatter: accountantFormart, |
|
|
|
|
|
|
|
@ -1129,15 +1197,14 @@ export const SupplierinvoiceRecordDetailMain = useCrudSchemas(reactive<CrudSchem |
|
|
isDetail: true, |
|
|
isDetail: true, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '价税合计差额(价税合计-系统价税合计)', |
|
|
label: '价税合计尾差', |
|
|
field: 'totalTaxDiffAmount', |
|
|
field: 'totalTaxDiffAmount', |
|
|
formatter: accountantFormart, |
|
|
formatter: accountantFormart, |
|
|
|
|
|
|
|
|
sortTableDefault: 6, |
|
|
sortTableDefault: 6, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
isTable: false, |
|
|
isTable: false, |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isDetail: false, |
|
|
isDetail: true, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '财务过账日期', |
|
|
label: '财务过账日期', |
|
@ -1162,7 +1229,7 @@ export const SupplierinvoiceRecordDetailMain = useCrudSchemas(reactive<CrudSchem |
|
|
isDetail: true, |
|
|
isDetail: true, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '未税差额(未税金额-系统未税金额)', |
|
|
label: '未税尾差', |
|
|
field: 'beforeTaxDiffAmount', |
|
|
field: 'beforeTaxDiffAmount', |
|
|
formatter: accountantFormart, |
|
|
formatter: accountantFormart, |
|
|
|
|
|
|
|
@ -1170,13 +1237,77 @@ export const SupplierinvoiceRecordDetailMain = useCrudSchemas(reactive<CrudSchem |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
isTable: false, |
|
|
isTable: false, |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isDetail: false, |
|
|
isDetail: true, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '回转凭证号', |
|
|
|
|
|
field: 'transferNumber', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '', |
|
|
|
|
|
field: '', |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
isTable: false, |
|
|
|
|
|
isSearch: false, |
|
|
|
|
|
isDetail: true, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '', |
|
|
|
|
|
field: '', |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
isTable: false, |
|
|
|
|
|
isSearch: false, |
|
|
|
|
|
isDetail: true, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '回转时间', |
|
|
|
|
|
field: 'reversepostingdate', |
|
|
|
|
|
detail: { |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD' |
|
|
|
|
|
}, |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '', |
|
|
|
|
|
field: '', |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
isTable: false, |
|
|
|
|
|
isSearch: false, |
|
|
|
|
|
isDetail: true, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '', |
|
|
|
|
|
field: '', |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
isTable: false, |
|
|
|
|
|
isSearch: false, |
|
|
|
|
|
isDetail: true, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '说明', //回转说明
|
|
|
|
|
|
field: 'tcCInvoiceRemark', |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '', |
|
|
|
|
|
field: '', |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
isTable: false, |
|
|
|
|
|
isSearch: false, |
|
|
|
|
|
isDetail: true, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '', |
|
|
|
|
|
field: '', |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
isTable: false, |
|
|
|
|
|
isSearch: false, |
|
|
|
|
|
isDetail: true, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '备注', |
|
|
label: '备注', |
|
|
field: 'remark', |
|
|
field: 'remark', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
|
|
|
|
|
|
sortTableDefault: 6, |
|
|
sortTableDefault: 6, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
isTable: false, |
|
|
isTable: false, |
|
@ -1197,7 +1328,7 @@ export const SupplierinvoiceRecordDetailMain = useCrudSchemas(reactive<CrudSchem |
|
|
isDetail: true, |
|
|
isDetail: true, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '税额差异(税额-系统税额)', |
|
|
label: '税额尾差', |
|
|
field: 'taxAmountDiff', |
|
|
field: 'taxAmountDiff', |
|
|
formatter: accountantFormart, |
|
|
formatter: accountantFormart, |
|
|
|
|
|
|
|
@ -1205,21 +1336,10 @@ export const SupplierinvoiceRecordDetailMain = useCrudSchemas(reactive<CrudSchem |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
isTable: false, |
|
|
isTable: false, |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isDetail: false, |
|
|
isDetail: true, |
|
|
}, |
|
|
}, |
|
|
// {
|
|
|
|
|
|
// label: '创建时间',
|
|
|
|
|
|
// field: 'createTime',
|
|
|
|
|
|
// formatter: dateFormatter,
|
|
|
|
|
|
// sortTableDefault:1000,
|
|
|
|
|
|
// detail: {
|
|
|
|
|
|
// dateFormat: 'YYYY-MM-DD HH:mm:ss'
|
|
|
|
|
|
// },
|
|
|
|
|
|
// isForm: false,
|
|
|
|
|
|
// isTable: false,
|
|
|
|
|
|
// isSearch: false,
|
|
|
|
|
|
// isDetail: true,
|
|
|
|
|
|
// }
|
|
|
|
|
|
])) |
|
|
])) |
|
|
//表单校验
|
|
|
//表单校验
|
|
|
export const SupplierinvoiceRecordMainRules = reactive({ |
|
|
export const SupplierinvoiceRecordMainRules = reactive({ |
|
@ -1478,7 +1598,7 @@ export const SupplierinvoiceRecordDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '差额', |
|
|
label: '单价差额', |
|
|
field: 'differencePrice', |
|
|
field: 'differencePrice', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
@ -1493,46 +1613,46 @@ export const SupplierinvoiceRecordDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
disabled: true |
|
|
disabled: true |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
// {
|
|
|
label: '未税差额', |
|
|
// label: '未税差额',
|
|
|
field: 'untaxedDifference', |
|
|
// field: 'untaxedDifference',
|
|
|
formatter: accountantFormart, |
|
|
// formatter: accountantFormart,
|
|
|
table: { |
|
|
// table: {
|
|
|
width: 150 |
|
|
// width: 150
|
|
|
}, |
|
|
// },
|
|
|
form: { |
|
|
// form: {
|
|
|
component: 'InputNumber', |
|
|
// component: 'InputNumber',
|
|
|
componentProps: { |
|
|
// componentProps: {
|
|
|
min: 0, |
|
|
// min: 0,
|
|
|
precision: 6, |
|
|
// precision: 6,
|
|
|
} |
|
|
// }
|
|
|
}, |
|
|
// },
|
|
|
tableForm: { |
|
|
// tableForm: {
|
|
|
type: 'InputNumber', |
|
|
// type: 'InputNumber',
|
|
|
min: 0, |
|
|
// min: 0,
|
|
|
precision: 6, |
|
|
// precision: 6,
|
|
|
} |
|
|
// }
|
|
|
}, |
|
|
// },
|
|
|
{ |
|
|
// {
|
|
|
label: '含税差额', |
|
|
// label: '含税差额',
|
|
|
field: 'taxInclusiveDifference', |
|
|
// field: 'taxInclusiveDifference',
|
|
|
formatter: accountantFormart, |
|
|
// formatter: accountantFormart,
|
|
|
table: { |
|
|
// table: {
|
|
|
width: 150 |
|
|
// width: 150
|
|
|
}, |
|
|
// },
|
|
|
form: { |
|
|
// form: {
|
|
|
component: 'InputNumber', |
|
|
// component: 'InputNumber',
|
|
|
componentProps: { |
|
|
// componentProps: {
|
|
|
min: 0, |
|
|
// min: 0,
|
|
|
precision: 6, |
|
|
// precision: 6,
|
|
|
} |
|
|
// }
|
|
|
}, |
|
|
// },
|
|
|
tableForm: { |
|
|
// tableForm: {
|
|
|
type: 'InputNumber', |
|
|
// type: 'InputNumber',
|
|
|
min: 0, |
|
|
// min: 0,
|
|
|
precision: 6, |
|
|
// precision: 6,
|
|
|
} |
|
|
// }
|
|
|
}, |
|
|
// },
|
|
|
{ |
|
|
{ |
|
|
label: '收货日期', |
|
|
label: '收货日期', |
|
|
field: 'deliveryDate', |
|
|
field: 'deliveryDate', |
|
@ -1620,3 +1740,75 @@ export const SupplierinvoiceRecordDetailRules = reactive({ |
|
|
{ required: true, message: '请输入创建者', trigger: 'blur' } |
|
|
{ required: true, message: '请输入创建者', trigger: 'blur' } |
|
|
], |
|
|
], |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 发票回转
|
|
|
|
|
|
export const SupplierinvoiceRecordMainTransfer = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
|
|
{ |
|
|
|
|
|
label: '冲销日记帐', |
|
|
|
|
|
field: 'reverseInvoiceJournal', |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
value:'APINVCOR', |
|
|
|
|
|
disabled: true, |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '调整账代码', |
|
|
|
|
|
field: 'adjustmentJournal', |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
value:'APADJ', |
|
|
|
|
|
disabled: true, |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '过账日期', |
|
|
|
|
|
field: 'reversepostingdate', |
|
|
|
|
|
formatter: dateFormatter, |
|
|
|
|
|
detail: { |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD' |
|
|
|
|
|
}, |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 180 |
|
|
|
|
|
}, |
|
|
|
|
|
sortTableDefault:11, |
|
|
|
|
|
form: { |
|
|
|
|
|
component: 'DatePicker', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
style: {width:'100%'}, |
|
|
|
|
|
type: 'date', |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD', |
|
|
|
|
|
valueFormat: 'x', |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '说明', |
|
|
|
|
|
field: 'tcCInvoiceRemark', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
isSearch: false, |
|
|
|
|
|
isTable: false, |
|
|
|
|
|
isForm: true, |
|
|
|
|
|
isDetail:false, |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
type:"textarea", |
|
|
|
|
|
maxlength:50, |
|
|
|
|
|
showWordLimit:true |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
])) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//表单校验
|
|
|
|
|
|
export const SupplierinvoiceRecordMainTransferRules = reactive({ |
|
|
|
|
|
reversepostingdate: [ |
|
|
|
|
|
{ required: true, message: '请选择过账日期', trigger: 'change' } |
|
|
|
|
|
] |
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|