diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/index.vue b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/index.vue index 88bb7e34b..d60e64faf 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/index.vue +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/index.vue @@ -271,7 +271,8 @@ const buttonTableClick = async (val, row) => { basicFormRef.value.open('create', row) nextTick(()=>{ basicFormRef.value.formRef.setValues({ - reversepostingdate:dayjs().valueOf() + reversepostingdate:dayjs().valueOf(), + tcCInvoiceRemark:`回转${row['supplierName']}发票 ${row['goldenTaxInvoiceNumber']}` }) }) diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/supplierinvoiceRecordMain.data.ts b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/supplierinvoiceRecordMain.data.ts index d27adb070..8dbfe3f4f 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/supplierinvoiceRecordMain.data.ts +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/supplierinvoiceRecordMain.data.ts @@ -468,17 +468,7 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive([ sortTableDefault:6, isForm: false }, - // { - // label: '回转凭证号', - // field: 'transferNumber', - // sort: 'custom', - // table: { - // width: 200, - // }, - // isTable:true, - // sortTableDefault:6, - // isForm: false - // }, + { label: '业务类型', field:'businessType', @@ -684,6 +674,54 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive([ // isTable: false, // isForm: false, // }, + { + label: '回转凭证号', + field: 'transferNumber', + sort: 'custom', + table: { + width: 200, + }, + sortTableDefault:11, + isTable:true, + isForm: false + }, + { + label: '回转日期', + field: 'reversepostingdate', + formatter: dateFormatter2, + detail: { + dateFormat: 'YYYY-MM-DD' + }, + sort: 'custom', + table: { + width: 150 + }, + sortTableDefault:11, + }, + { + label: '冲销日记帐', + field: 'reverseInvoiceJournal', + sortTableDefault:11, + table: { + width: 150 + }, + }, + { + label: '调整账代码', + field: 'adjustmentJournal', + sortTableDefault:11, + table: { + width: 150 + }, + }, + { + label: '回转说明', + field: 'tcCInvoiceRemark', + sortTableDefault:11, + table: { + width: 150 + }, + }, { label: '采购审批时间', field: 'procurementCreateTime', @@ -1656,7 +1694,7 @@ export const SupplierinvoiceRecordMainTransfer = useCrudSchemas(reactive