Browse Source

发票字段显示顺序

master_hella_20240701
wangyufei 5 months ago
parent
commit
f219e4c195
  1. 67
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/supplierinvoiceRecordMain.data.ts
  2. 3
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts

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

@ -99,6 +99,39 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
sortTableDefault:5, sortTableDefault:5,
isSearch: true isSearch: true
}, },
{
label: '未税差额',
field: 'beforeTaxDiffAmount',
formatter: accountantFormart,
table: {
width: 150
},
sortTableDefault:5,
isForm:false,
isTableForm:false
},
{
label: '税额差异',
field: 'taxAmountDiff',
formatter: accountantFormart,
table: {
width: 150
},
sortTableDefault:5,
isForm:false,
isTableForm:false
},
{
label: '价税合计差额',
field: 'totalTaxDiffAmount',
formatter: accountantFormart,
table: {
width: 150
},
sortTableDefault:5,
isForm:false,
isTableForm:false
},
{ {
label: '系统税额', label: '系统税额',
field: 'taxAmount', field: 'taxAmount',
@ -335,7 +368,8 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
value:[], value:[],
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
valueFormat: 'YYYY-MM-DD', valueFormat: 'x',
dateFormat: 'YYYY-MM-DD',
type: 'daterange', type: 'daterange',
defaultTime: [new Date('1 '), new Date('1 ')] defaultTime: [new Date('1 '), new Date('1 ')]
} }
@ -614,36 +648,7 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isForm: false, isForm: false,
}, },
{
label: '未税差额',
field: 'beforeTaxDiffAmount',
formatter: accountantFormart,
table: {
width: 150
},
isForm:false,
isTableForm:false
},
{
label: '税额差异',
field: 'taxAmountDiff',
formatter: accountantFormart,
table: {
width: 150
},
isForm:false,
isTableForm:false
},
{
label: '价税合计差额',
field: 'totalTaxDiffAmount',
formatter: accountantFormart,
table: {
width: 150
},
isForm:false,
isTableForm:false
},
])) ]))
//表单校验 //表单校验

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

@ -462,6 +462,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
sortTableDefault:5,
form: { form: {
component: 'InputNumber', component: 'InputNumber',
componentProps: { componentProps: {
@ -478,6 +479,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
sortTableDefault:5,
form: { form: {
component: 'InputNumber', component: 'InputNumber',
componentProps: { componentProps: {
@ -494,6 +496,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
sortTableDefault:5,
isTableForm:false, isTableForm:false,
form: { form: {
component: 'InputNumber', component: 'InputNumber',

Loading…
Cancel
Save