|
@ -1,5 +1,7 @@ |
|
|
import type { CrudSchema } from '@/hooks/web/useCrudSchemas' |
|
|
import type { CrudSchema } from '@/hooks/web/useCrudSchemas' |
|
|
import { dateFormatter } from '@/utils/formatTime' |
|
|
import { dateFormatter } from '@/utils/formatTime' |
|
|
|
|
|
import { accountantFormart } from '@/utils/formatter' |
|
|
|
|
|
|
|
|
import * as SupplierApi from '@/api/wms/supplier' |
|
|
import * as SupplierApi from '@/api/wms/supplier' |
|
|
import { Supplier } from '@/views/wms/basicDataManage/supplierManage/supplier/supplier.data' |
|
|
import { Supplier } from '@/views/wms/basicDataManage/supplierManage/supplier/supplier.data' |
|
|
const { t } = useI18n() // 国际化
|
|
|
const { t } = useI18n() // 国际化
|
|
@ -152,6 +154,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
{ |
|
|
{ |
|
|
label: '金额', |
|
|
label: '金额', |
|
|
field: 'amount', |
|
|
field: 'amount', |
|
|
|
|
|
formatter: accountantFormart, |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
@ -183,6 +186,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
{ |
|
|
{ |
|
|
label: '税额', |
|
|
label: '税额', |
|
|
field: 'taxAmount', |
|
|
field: 'taxAmount', |
|
|
|
|
|
formatter: accountantFormart, |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
@ -203,6 +207,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
{ |
|
|
{ |
|
|
label: '税后金额', |
|
|
label: '税后金额', |
|
|
field: 'afterTaxAmount', |
|
|
field: 'afterTaxAmount', |
|
|
|
|
|
formatter: accountantFormart, |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
@ -224,6 +229,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
{ |
|
|
{ |
|
|
label: '索赔金额', |
|
|
label: '索赔金额', |
|
|
field: 'claimAmount', |
|
|
field: 'claimAmount', |
|
|
|
|
|
formatter: accountantFormart, |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
@ -247,6 +253,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
{ |
|
|
{ |
|
|
label: '折扣金额', |
|
|
label: '折扣金额', |
|
|
field: 'discountAmount', |
|
|
field: 'discountAmount', |
|
|
|
|
|
formatter: accountantFormart, |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
@ -283,6 +290,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
{ |
|
|
{ |
|
|
label: '总差额', |
|
|
label: '总差额', |
|
|
field: 'totalDifference', |
|
|
field: 'totalDifference', |
|
|
|
|
|
formatter: accountantFormart, |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
@ -820,6 +828,7 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
{ |
|
|
{ |
|
|
label: '合同价格', |
|
|
label: '合同价格', |
|
|
field: 'singlePrice', |
|
|
field: 'singlePrice', |
|
|
|
|
|
formatter: accountantFormart, |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
@ -839,6 +848,7 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
{ |
|
|
{ |
|
|
label: '采购价格', |
|
|
label: '采购价格', |
|
|
field: 'purchasePrice', |
|
|
field: 'purchasePrice', |
|
|
|
|
|
formatter: accountantFormart, |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
@ -854,6 +864,7 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
{ |
|
|
{ |
|
|
label: '差额', |
|
|
label: '差额', |
|
|
field: 'differencePrice', |
|
|
field: 'differencePrice', |
|
|
|
|
|
formatter: accountantFormart, |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
@ -870,6 +881,7 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
{ |
|
|
{ |
|
|
label: '未税差额', |
|
|
label: '未税差额', |
|
|
field: 'untaxedDifference', |
|
|
field: 'untaxedDifference', |
|
|
|
|
|
formatter: accountantFormart, |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
@ -888,6 +900,7 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
{ |
|
|
{ |
|
|
label: '含税差额', |
|
|
label: '含税差额', |
|
|
field: 'taxInclusiveDifference', |
|
|
field: 'taxInclusiveDifference', |
|
|
|
|
|
formatter: accountantFormart, |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|