Browse Source

YT-2401《供应商发票申请》《供应商发票记录》明细页面增加字段

intex_online20250725
张立 2 days ago
parent
commit
c446e55858
  1. 75
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/supplierinvoiceRecordMain.data.ts
  2. 79
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts

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

@ -1697,6 +1697,39 @@ export const SupplierinvoiceRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
isDetail: false,
isTable: true,
},
{
label: '受入号',
field: 'receivedNumber',
table: {
width: 150
},
isForm: false,
isTableForm: false,
isDetail: false,
isTable: true,
},
{
label: '车型',
field: 'project',
table: {
width: 150
},
isForm: false,
isTableForm: false,
isDetail: false,
isTable: true,
},
{
label: '税率(%)',
field: 'taxRate',
dictType: DICT_TYPE.TAX_RATE_DICT,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
},
{
label: '到货时间',
field: 'planArriveTime',
@ -1874,6 +1907,48 @@ export const SupplierinvoiceRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
precision: 2,
}
},
{
label: '金额(税额)',
field: 'singleAndAllocateTaxAmount',
formatter: accountantFormartDetail,
table: {
width: 150
},
isForm: false,
form: {
componentProps: {
disabled: true,
precision: 2,
}
},
isTableForm: false,
tableForm: {
disabled: true,
type: 'InputNumber',
precision: 2,
}
},
{
label: '金额(合计金额) ',
field: 'singleAndAllocateTotal',
formatter: accountantFormartDetail,
table: {
width: 150
},
isForm: false,
form: {
componentProps: {
disabled: true,
precision: 2,
}
},
isTableForm: false,
tableForm: {
disabled: true,
type: 'InputNumber',
precision: 2,
}
},
{
label: '模具分摊单价',
field: 'allocationPrice',

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

@ -1003,7 +1003,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
form: {
component: 'InputNumber',
componentProps: {
precision: 5,
precision: 2,
disabled: true,
}
},
@ -2135,7 +2135,39 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[]
isDetail: false,
isTable: true,
},
{
label: '受入号',
field: 'receivedNumber',
table: {
width: 150
},
isForm: false,
isTableForm: false,
isDetail: false,
isTable: true,
},
{
label: '车型',
field: 'project',
table: {
width: 150
},
isForm: false,
isTableForm: false,
isDetail: false,
isTable: true,
},
{
label: '税率(%)',
field: 'taxRate',
dictType: DICT_TYPE.TAX_RATE_DICT,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
},
//仅是主列表页面的筛选搜索条件
{
label: '收货日期',
@ -2236,6 +2268,7 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[]
{
label: '发票金额',
field: 'contractAmountTotal',
formatter: singlePriceFormart,
table: {
width: 150
},
@ -2329,6 +2362,48 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[]
precision: 2,
}
},
{
label: '金额(税额)',
field: 'singleAndAllocateTaxAmount',
formatter: accountantFormartDetail,
table: {
width: 150
},
isForm: false,
form: {
componentProps: {
disabled: true,
precision: 2,
}
},
isTableForm: false,
tableForm: {
disabled: true,
type: 'InputNumber',
precision: 2,
}
},
{
label: '金额(合计金额) ',
field: 'singleAndAllocateTotal',
formatter: accountantFormartDetail,
table: {
width: 150
},
isForm: false,
form: {
componentProps: {
disabled: true,
precision: 2,
}
},
isTableForm: false,
tableForm: {
disabled: true,
type: 'InputNumber',
precision: 2,
}
},
{
label: '模具分摊单价',
field: 'allocationPrice',

Loading…
Cancel
Save