From 0b7a4fef3133565ad8d58ccc48d521c0379a425f Mon Sep 17 00:00:00 2001 From: zhaoxuebing <1291173720@qq.com> Date: Wed, 3 Apr 2024 09:59:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BE=9B=E5=BA=94=E5=95=86=E5=8F=91=E7=A5=A8?= =?UTF-8?q?=E8=AE=B0=E5=BD=95=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supplierinvoiceRecordMain.data.ts | 164 ++++++++++++++++-- 1 file changed, 149 insertions(+), 15 deletions(-) diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/supplierinvoiceRecordMain.data.ts b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/supplierinvoiceRecordMain.data.ts index 07807ad56..d07d76e25 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/supplierinvoiceRecordMain.data.ts +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/supplierinvoiceRecordMain.data.ts @@ -34,8 +34,63 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive([ isSearch: true }, { - label: '调增金额', - field: 'adjustAmount', + label: '金额', + field: 'amount', + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'InputNumber', + } + }, + { + label: '税率', + field: 'taxRate', + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'InputNumber', + } + }, + { + label: '税额', + field: 'taxAmount', + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'InputNumber', + } + }, + { + label: '税后金额', + field: 'afterTaxAmount', + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'InputNumber', + } + }, + { + label: '索赔金额', + field: 'claimAmount', + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'InputNumber', + } + }, + { + label: '折扣金额', + field: 'discountAmount', sort: 'custom', table: { width: 150 @@ -44,6 +99,48 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive([ component: 'InputNumber', } }, + { + label: '调整税额', + field: 'adjustingTaxAmount', + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'InputNumber', + } + }, + { + label: '金税票号', + field: 'goldenTaxInvoiceNumber', + sort: 'custom', + table: { + width: 150 + }, + isSearch: true + }, + { + label: '快递单号', + field: 'expressTrackingNumber', + sort: 'custom', + table: { + width: 150 + }, + isSearch: true + }, + { + label: '发票时间', + field: 'invoiceTime', + isTable: true, + formatter: dateFormatter, + deatil: { + dateFormatter: 'YYYY-MM-DD HH:mm:ss' + }, + sort: 'custom', + table: { + width: 180 + }, + }, { label: '业务类型', field:'businessType', @@ -226,16 +323,16 @@ export const SupplierinvoiceRecordMainRules = reactive({ */ export const SupplierinvoiceRecordDetail = useCrudSchemas(reactive([ { - label: '收货单号', - field: 'recordNumber', + label: '项目编号', + field: 'projectCode', sort: 'custom', table: { width: 150 }, }, { - label: '批次', - field: 'batch', + label: '单据类型', + field: 'billType', sort: 'custom', table: { width: 150 @@ -265,6 +362,22 @@ export const SupplierinvoiceRecordDetail = useCrudSchemas(reactive width: 180 }, }, + { + label: '发货单号', + field: 'asnBillNum', + sort: 'custom', + table: { + width: 180 + }, + }, + { + label: '供应商代码', + field: 'supplierCode', + sort: 'custom', + table: { + width: 180 + }, + }, { label: '物料代码', field: 'itemCode', @@ -274,19 +387,16 @@ export const SupplierinvoiceRecordDetail = useCrudSchemas(reactive }, }, { - label: '计量单位', - field: 'uom', - dictType: DICT_TYPE.UOM, - dictClass: 'string', - isTable: true, + label: '物料名称', + field: 'itemName', sort: 'custom', table: { width: 150 }, }, { - label: '数量', - field: 'qty', + label: '货币', + field: 'currency', sort: 'custom', table: { width: 150 @@ -304,8 +414,32 @@ export const SupplierinvoiceRecordDetail = useCrudSchemas(reactive } }, { - label: '金额', - field: 'amount', + label: '采购价格', + field: 'purchasePrice', + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'InputNumber', + } + }, + { + label: '收货日期', + field: 'deliveryDate', + isTable: true, + formatter: dateFormatter, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, + sort: 'custom', + table: { + width: 180 + }, + }, + { + label: '开票数量', + field: 'invoicableQuantity', sort: 'custom', table: { width: 150