|
@ -256,7 +256,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '供应商维护未税金额', |
|
|
label: '材料款未税金额', // 供应商维护未税金额
|
|
|
field: 'amount', |
|
|
field: 'amount', |
|
|
formatter: accountantFormart, |
|
|
formatter: accountantFormart, |
|
|
table: { |
|
|
table: { |
|
@ -275,14 +275,34 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
precision: 2, |
|
|
precision: 2, |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
// {
|
|
|
|
|
|
// label: '发票总额',
|
|
|
|
|
|
// field: 'invoiceAmountMain',
|
|
|
|
|
|
// formatter: accountantFormart,
|
|
|
|
|
|
// sortTableDefault: 3,
|
|
|
|
|
|
// table: {
|
|
|
|
|
|
// width: 160
|
|
|
|
|
|
// },
|
|
|
|
|
|
// form: {
|
|
|
|
|
|
// component: 'InputNumber',
|
|
|
|
|
|
// componentProps: {
|
|
|
|
|
|
// precision: 2,
|
|
|
|
|
|
// disabled: true,
|
|
|
|
|
|
// }
|
|
|
|
|
|
// },
|
|
|
|
|
|
// tableForm: {
|
|
|
|
|
|
// type: 'InputNumber',
|
|
|
|
|
|
// precision: 2,
|
|
|
|
|
|
// },
|
|
|
|
|
|
// },
|
|
|
{ |
|
|
{ |
|
|
label: '发票总额', |
|
|
label: '模具未税金额', |
|
|
field: 'invoiceAmountMain', |
|
|
field: 'moldUntaxedAmount', |
|
|
formatter: accountantFormart, |
|
|
formatter: accountantFormart, |
|
|
sortTableDefault: 3, |
|
|
|
|
|
table: { |
|
|
table: { |
|
|
width: 160 |
|
|
width: 160 |
|
|
}, |
|
|
}, |
|
|
|
|
|
sortTableDefault:8, |
|
|
form: { |
|
|
form: { |
|
|
component: 'InputNumber', |
|
|
component: 'InputNumber', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -293,11 +313,11 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
tableForm: { |
|
|
tableForm: { |
|
|
type: 'InputNumber', |
|
|
type: 'InputNumber', |
|
|
precision: 2, |
|
|
precision: 2, |
|
|
}, |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '模具未税金额', |
|
|
label: '模具税额', |
|
|
field: 'moldUntaxedAmount', |
|
|
field: 'moldTaxAmount', |
|
|
formatter: accountantFormart, |
|
|
formatter: accountantFormart, |
|
|
table: { |
|
|
table: { |
|
|
width: 160 |
|
|
width: 160 |
|
@ -316,8 +336,8 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '模具税额', |
|
|
label: '模具价税合计', |
|
|
field: 'moldTaxAmount', |
|
|
field: 'moldTaxTotal', |
|
|
formatter: accountantFormart, |
|
|
formatter: accountantFormart, |
|
|
table: { |
|
|
table: { |
|
|
width: 160 |
|
|
width: 160 |
|
@ -394,7 +414,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
// isTableForm:false
|
|
|
// isTableForm:false
|
|
|
// },
|
|
|
// },
|
|
|
{ |
|
|
{ |
|
|
label: '供应商维护税额', |
|
|
label: '材料款税额',//'供应商维护税额',
|
|
|
field: 'taxAmount', |
|
|
field: 'taxAmount', |
|
|
formatter: accountantFormart, |
|
|
formatter: accountantFormart, |
|
|
table: { |
|
|
table: { |
|
@ -414,7 +434,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '供应商维护价税合计', |
|
|
label: '材料款价税合计',//'供应商维护价税合计',
|
|
|
field: 'afterTaxAmount', |
|
|
field: 'afterTaxAmount', |
|
|
formatter: accountantFormart, |
|
|
formatter: accountantFormart, |
|
|
table: { |
|
|
table: { |
|
@ -955,7 +975,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '索赔总额', |
|
|
label: '索赔未税金额',//'索赔总额',
|
|
|
field: 'claimAmount', |
|
|
field: 'claimAmount', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
@ -976,6 +996,46 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '索赔税额', |
|
|
|
|
|
field: 'claimTaxAmount', |
|
|
|
|
|
formatter: accountantFormart, |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 160 |
|
|
|
|
|
}, |
|
|
|
|
|
sortTableDefault:8, |
|
|
|
|
|
form: { |
|
|
|
|
|
component: 'InputNumber', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
precision: 2, |
|
|
|
|
|
disabled: true, |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
tableForm: { |
|
|
|
|
|
type: 'InputNumber', |
|
|
|
|
|
precision: 2, |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '索赔价税合计', |
|
|
|
|
|
field: 'claimTaxTotal', |
|
|
|
|
|
formatter: accountantFormart, |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 160 |
|
|
|
|
|
}, |
|
|
|
|
|
sortTableDefault:8, |
|
|
|
|
|
form: { |
|
|
|
|
|
component: 'InputNumber', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
precision: 2, |
|
|
|
|
|
disabled: true, |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
tableForm: { |
|
|
|
|
|
type: 'InputNumber', |
|
|
|
|
|
precision: 2, |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '采购审批时间', |
|
|
label: '采购审批时间', |
|
|
field: 'procurementCreateTime', |
|
|
field: 'procurementCreateTime', |
|
@ -1282,7 +1342,7 @@ export const SupplierinvoiceRequestDetailMain = useCrudSchemas(reactive<CrudSche |
|
|
isDetail: true, |
|
|
isDetail: true, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '材料未税金额', |
|
|
label: '代开发票未税金额', |
|
|
field: 'purchaseAmountTotalMain', |
|
|
field: 'purchaseAmountTotalMain', |
|
|
formatter: accountantFormart, |
|
|
formatter: accountantFormart, |
|
|
sortTableDefault: 6, |
|
|
sortTableDefault: 6, |
|
@ -1417,7 +1477,7 @@ export const SupplierinvoiceRequestDetailMain = useCrudSchemas(reactive<CrudSche |
|
|
isDetail: true, |
|
|
isDetail: true, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '供应商维护价税合计', |
|
|
label: '材料款价税合计',//'供应商维护价税合计',
|
|
|
field: 'afterTaxAmount', |
|
|
field: 'afterTaxAmount', |
|
|
formatter: accountantFormart, |
|
|
formatter: accountantFormart, |
|
|
|
|
|
|
|
@ -1452,7 +1512,7 @@ export const SupplierinvoiceRequestDetailMain = useCrudSchemas(reactive<CrudSche |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '供应商维护未税金额', |
|
|
label: '材料款未税金额', //供应商维护未税金额
|
|
|
field: 'amount', |
|
|
field: 'amount', |
|
|
formatter: accountantFormart, |
|
|
formatter: accountantFormart, |
|
|
|
|
|
|
|
@ -1485,7 +1545,7 @@ export const SupplierinvoiceRequestDetailMain = useCrudSchemas(reactive<CrudSche |
|
|
isDetail: true, |
|
|
isDetail: true, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '供应商维护税额', |
|
|
label: '材料款税额',//'供应商维护税额',
|
|
|
field: 'taxAmount', |
|
|
field: 'taxAmount', |
|
|
formatter: accountantFormart, |
|
|
formatter: accountantFormart, |
|
|
sortTableDefault: 6, |
|
|
sortTableDefault: 6, |
|
@ -1637,7 +1697,7 @@ export const SupplierinvoiceRequestDetailMain = useCrudSchemas(reactive<CrudSche |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '索赔总额', |
|
|
label: '索赔未税金额',//'索赔总额',
|
|
|
field: 'claimAmount', |
|
|
field: 'claimAmount', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
@ -1659,25 +1719,69 @@ export const SupplierinvoiceRequestDetailMain = useCrudSchemas(reactive<CrudSche |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '发票总额', |
|
|
label: '索赔税额', |
|
|
field: 'invoiceAmountMain', |
|
|
field: 'claimTaxAmount', |
|
|
formatter: accountantFormart, |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 160 |
|
|
width: 180 |
|
|
}, |
|
|
}, |
|
|
sortTableDefault: 8, |
|
|
isTable: true, |
|
|
|
|
|
isDetail: true, |
|
|
|
|
|
isTableForm: false, |
|
|
|
|
|
isForm: true, |
|
|
|
|
|
isSearch: false, |
|
|
|
|
|
sortTableDefault: 12, |
|
|
form: { |
|
|
form: { |
|
|
component: 'InputNumber', |
|
|
component: 'InputNumber', |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
precision: 2, |
|
|
precision: 5, |
|
|
disabled: true, |
|
|
disabled: true, |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
tableForm: { |
|
|
|
|
|
type: 'InputNumber', |
|
|
|
|
|
precision: 2, |
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '索赔价税合计', |
|
|
|
|
|
field: 'claimTaxTotal', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 180 |
|
|
|
|
|
}, |
|
|
|
|
|
isTable: true, |
|
|
|
|
|
isDetail: true, |
|
|
|
|
|
isTableForm: false, |
|
|
|
|
|
isForm: true, |
|
|
|
|
|
isSearch: false, |
|
|
|
|
|
sortTableDefault: 12, |
|
|
|
|
|
form: { |
|
|
|
|
|
component: 'InputNumber', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
precision: 5, |
|
|
|
|
|
disabled: true, |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
// {
|
|
|
|
|
|
// label: '发票总额',
|
|
|
|
|
|
// field: 'invoiceAmountMain',
|
|
|
|
|
|
// formatter: accountantFormart,
|
|
|
|
|
|
// table: {
|
|
|
|
|
|
// width: 160
|
|
|
|
|
|
// },
|
|
|
|
|
|
// sortTableDefault: 8,
|
|
|
|
|
|
// form: {
|
|
|
|
|
|
// component: 'InputNumber',
|
|
|
|
|
|
// componentProps: {
|
|
|
|
|
|
// precision: 2,
|
|
|
|
|
|
// disabled: true,
|
|
|
|
|
|
// }
|
|
|
|
|
|
// },
|
|
|
|
|
|
// tableForm: {
|
|
|
|
|
|
// type: 'InputNumber',
|
|
|
|
|
|
// precision: 2,
|
|
|
|
|
|
// },
|
|
|
|
|
|
// },
|
|
|
{ |
|
|
{ |
|
|
label: '金税票号', |
|
|
label: '金税票号', |
|
|
field: 'goldenTaxInvoiceNumber', |
|
|
field: 'goldenTaxInvoiceNumber', |
|
@ -1734,6 +1838,26 @@ export const SupplierinvoiceRequestDetailMain = useCrudSchemas(reactive<CrudSche |
|
|
precision: 2, |
|
|
precision: 2, |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '模具价税合计', |
|
|
|
|
|
field: 'moldTaxTotal', |
|
|
|
|
|
formatter: accountantFormart, |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 160 |
|
|
|
|
|
}, |
|
|
|
|
|
sortTableDefault:8, |
|
|
|
|
|
form: { |
|
|
|
|
|
component: 'InputNumber', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
precision: 2, |
|
|
|
|
|
disabled: true, |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
tableForm: { |
|
|
|
|
|
type: 'InputNumber', |
|
|
|
|
|
precision: 2, |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
])) |
|
|
])) |
|
|
|
|
|
|
|
|
const singlePriceFormart = (row, column, cellValue) => { |
|
|
const singlePriceFormart = (row, column, cellValue) => { |
|
|