From a18aa776805fdac37be0ec94f7895810d03d0525 Mon Sep 17 00:00:00 2001 From: yufei_wang <2267742828@qq.com> Date: Wed, 6 Nov 2024 13:49:01 +0800 Subject: [PATCH] =?UTF-8?q?=E9=94=80=E5=94=AE=E5=BC=80=E7=A5=A8=E7=94=B3?= =?UTF-8?q?=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../customerSaleInvoiceMain.data.ts | 24 ++++------- .../customerSaleInvoiceMain/index.vue | 41 +++---------------- 2 files changed, 14 insertions(+), 51 deletions(-) diff --git a/src/views/wms/deliversettlementManage/customerSaleInvoiceMain/customerSaleInvoiceMain.data.ts b/src/views/wms/deliversettlementManage/customerSaleInvoiceMain/customerSaleInvoiceMain.data.ts index 0fbce55ae..2a80a9470 100644 --- a/src/views/wms/deliversettlementManage/customerSaleInvoiceMain/customerSaleInvoiceMain.data.ts +++ b/src/views/wms/deliversettlementManage/customerSaleInvoiceMain/customerSaleInvoiceMain.data.ts @@ -53,7 +53,7 @@ export const CustomerSaleInvoiceMain = useCrudSchemas(reactive([ }, { label: '客户代码', - field: 'customer', + field: 'customerCode', sort: 'custom', isSearch: true, form: { @@ -74,7 +74,7 @@ export const CustomerSaleInvoiceMain = useCrudSchemas(reactive([ }, { label: '未税金额', - field: 'beforeTaxAmount', + field: 'mainBeforeTaxAmount', sort: 'custom', form: { componentProps: { @@ -87,7 +87,6 @@ export const CustomerSaleInvoiceMain = useCrudSchemas(reactive([ field: 'taxRate', dictType: DICT_TYPE.TAX_RATE_DICT, dictClass: 'string', - sortTableDefault: 3, isTable: true, sort: 'custom', table: { @@ -96,7 +95,7 @@ export const CustomerSaleInvoiceMain = useCrudSchemas(reactive([ }, { label: '税额', - field: 'taxAmount', + field: 'mainTaxAmount', sort: 'custom', form: { componentProps: { @@ -106,7 +105,7 @@ export const CustomerSaleInvoiceMain = useCrudSchemas(reactive([ }, { label: '价税合计金额', - field: 'adTaxAmount', + field: 'mainAdTaxAmount', sort: 'custom', form: { componentProps: { @@ -146,13 +145,6 @@ export const CustomerSaleInvoiceMain = useCrudSchemas(reactive([ field: 'remark', sort: 'custom', }, - { - label: '是否可用默认TRUE', - field: 'available', - sort: 'custom', - isTable: false, - isForm:false - }, { label: '创建时间', field: 'createTime', @@ -189,7 +181,7 @@ export const CustomerSaleInvoiceDetailRules = reactive({ export const CustomerSaleInvoiceDetail = useCrudSchemas(reactive([ { label: '品番', - field: 'number', + field: 'itemCode', sort: 'custom', isSearch: true, isForm: false, @@ -250,7 +242,7 @@ export const CustomerSaleInvoiceDetail = useCrudSchemas(reactive([ }, { label: '合计单价', - field: 'beforeTaxAmount', + field: 'sumPrice', sort: 'custom', form: { componentProps: { @@ -260,7 +252,7 @@ export const CustomerSaleInvoiceDetail = useCrudSchemas(reactive([ }, { label: '未税金额', - field: 'taxRate', + field: 'beforeTaxAmount', sort: 'custom', }, { @@ -275,7 +267,7 @@ export const CustomerSaleInvoiceDetail = useCrudSchemas(reactive([ }, { label: '含税金额', - field: 'adTaxAmount', + field: 'afterTaxAmount', sort: 'custom', form: { componentProps: { diff --git a/src/views/wms/deliversettlementManage/customerSaleInvoiceMain/index.vue b/src/views/wms/deliversettlementManage/customerSaleInvoiceMain/index.vue index 5141e9782..f2db8a097 100644 --- a/src/views/wms/deliversettlementManage/customerSaleInvoiceMain/index.vue +++ b/src/views/wms/deliversettlementManage/customerSaleInvoiceMain/index.vue @@ -1,7 +1,7 @@