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