From 463b786160118198e369f0ffccc9e5a77304f143 Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Tue, 27 Aug 2024 17:21:41 +0800 Subject: [PATCH] =?UTF-8?q?HL-5499=E6=89=AC=E7=8E=89=E7=A6=8F@=E7=8E=8B?= =?UTF-8?q?=E5=AE=87=E9=A3=9E=20=E5=AD=97=E6=AE=B5=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=9C=A8=E9=87=87=E8=B4=AD=E5=AE=A1=E6=89=B9=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E4=B9=8B=E5=89=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supplierinvoiceRecordMain/index.vue | 3 +- .../supplierinvoiceRecordMain.data.ts | 67 ++++++++++++++----- 2 files changed, 53 insertions(+), 17 deletions(-) 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