Browse Source

HL-5499 SCP正式环境,供应商发票作废功能逻辑详见文档

hella_online_20240803
wangyufei 3 months ago
parent
commit
da1046dd3f
  1. 149
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/supplierinvoiceRecordMain.data.ts
  2. 15
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts
  3. 15
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/supplierinvoiceRequestMainDifference.data.ts

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

@ -674,19 +674,9 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
// isTable: false, // isTable: false,
// isForm: false, // isForm: false,
// }, // },
{ {
label: '回转凭证号', label: '回转时间',
field: 'transferNumber',
sort: 'custom',
table: {
width: 200,
},
sortTableDefault:11,
isTable:true,
isForm: false
},
{
label: '回转日期',
field: 'reversepostingdate', field: 'reversepostingdate',
formatter: dateFormatter2, formatter: dateFormatter2,
detail: { detail: {
@ -699,29 +689,41 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
sortTableDefault:11, sortTableDefault:11,
}, },
{ {
label: '冲销日记帐', label: '说明',//回转说明
field: 'reverseInvoiceJournal', field: 'tcCInvoiceRemark',
sortTableDefault:11, sortTableDefault:11,
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '调整账代码', label: '回转凭证号',
field: 'adjustmentJournal', field: 'transferNumber',
sortTableDefault:11, sort: 'custom',
table: { table: {
width: 150 width: 200,
}, },
},
{
label: '回转说明',
field: 'tcCInvoiceRemark',
sortTableDefault:11, sortTableDefault:11,
table: { isTable:true,
width: 150 isForm: false
},
}, },
// {
// label: '冲销日记帐',
// field: 'reverseInvoiceJournal',
// sortTableDefault:11,
// table: {
// width: 150
// },
// },
// {
// label: '调整账代码',
// field: 'adjustmentJournal',
// sortTableDefault:11,
// table: {
// width: 150
// },
// },
{ {
label: '采购审批时间', label: '采购审批时间',
field: 'procurementCreateTime', field: 'procurementCreateTime',
@ -874,7 +876,7 @@ export const SupplierinvoiceRecordDetailMain = useCrudSchemas(reactive<CrudSchem
isForm: false, isForm: false,
isSearch: false, isSearch: false,
isTable: false, isTable: false,
isDetail: false, isDetail: true,
}, },
{ {
label: '供应商信息', label: '供应商信息',
@ -883,7 +885,15 @@ export const SupplierinvoiceRecordDetailMain = useCrudSchemas(reactive<CrudSchem
isForm: false, isForm: false,
isSearch: false, isSearch: false,
isTable: false, isTable: false,
isDetail: false, isDetail: true,
},
{
label: '价差',
field: '',
isForm: false,
isTable: false,
isSearch: false,
isDetail: true,
}, },
{ {
label: 'SCP系统数据', label: 'SCP系统数据',
@ -1012,15 +1022,6 @@ export const SupplierinvoiceRecordDetailMain = useCrudSchemas(reactive<CrudSchem
isSearch: false, isSearch: false,
isDetail: true, isDetail: true,
}, },
{
label: '',
field: '',
sortTableDefault: 6,
isForm: false,
isTable: false,
isSearch: false,
isDetail: true,
},
// { // {
// label: '尾差', // label: '尾差',
// field: 'totalDifference', // field: 'totalDifference',
@ -1030,6 +1031,16 @@ export const SupplierinvoiceRecordDetailMain = useCrudSchemas(reactive<CrudSchem
// isSearch: false, // isSearch: false,
// isDetail: false, // isDetail: false,
// }, // },
{
label: '尾差',
field: '',
sortTableDefault: 6,
isForm: false,
isTable: false,
isSearch: false,
isDetail: true,
},
{ {
label: '采购价格审批人', label: '采购价格审批人',
field: 'procurementCreatorName', field: 'procurementCreatorName',
@ -1228,7 +1239,71 @@ export const SupplierinvoiceRecordDetailMain = useCrudSchemas(reactive<CrudSchem
isSearch: false, isSearch: false,
isDetail: true, 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: '备注', label: '备注',
field: 'remark', field: 'remark',

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

@ -1132,7 +1132,7 @@ export const SupplierinvoiceRequestDetailMain = useCrudSchemas(reactive<CrudSche
isForm: false, isForm: false,
isSearch: false, isSearch: false,
isTable: false, isTable: false,
isDetail: false, isDetail: true,
}, },
{ {
label: '供应商信息', label: '供应商信息',
@ -1141,7 +1141,16 @@ export const SupplierinvoiceRequestDetailMain = useCrudSchemas(reactive<CrudSche
isForm: false, isForm: false,
isSearch: false, isSearch: false,
isTable: false, isTable: false,
isDetail: false, isDetail: true,
},
{
label: '价差',
field: '',
sort: 'custom',
isForm: false,
isSearch: false,
isTable: false,
isDetail: true,
}, },
{ {
label: 'SCP系统数据', label: 'SCP系统数据',
@ -1271,7 +1280,7 @@ export const SupplierinvoiceRequestDetailMain = useCrudSchemas(reactive<CrudSche
isDetail: true, isDetail: true,
}, },
{ {
label: '', label: '尾差',
field: '', field: '',
sortTableDefault: 6, sortTableDefault: 6,
isForm: false, isForm: false,

15
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/supplierinvoiceRequestMainDifference.data.ts

@ -1146,7 +1146,7 @@ export const SupplierinvoiceRequestDetailMain = useCrudSchemas(reactive<CrudSche
isForm: false, isForm: false,
isSearch: false, isSearch: false,
isTable: false, isTable: false,
isDetail: false, isDetail: true,
}, },
{ {
label: '供应商信息', label: '供应商信息',
@ -1155,7 +1155,16 @@ export const SupplierinvoiceRequestDetailMain = useCrudSchemas(reactive<CrudSche
isForm: false, isForm: false,
isSearch: false, isSearch: false,
isTable: false, isTable: false,
isDetail: false, isDetail: true,
},
{
label: '价差',
field: '',
sort: 'custom',
isForm: false,
isSearch: false,
isTable: false,
isDetail: true,
}, },
{ {
label: 'SCP系统数据', label: 'SCP系统数据',
@ -1285,7 +1294,7 @@ export const SupplierinvoiceRequestDetailMain = useCrudSchemas(reactive<CrudSche
isDetail: true, isDetail: true,
}, },
{ {
label: '', label: '尾差',
field: '', field: '',
sortTableDefault: 6, sortTableDefault: 6,
isForm: false, isForm: false,

Loading…
Cancel
Save