From 3942c17303cfc4c82b5dacb0c634b09ab0d6f564 Mon Sep 17 00:00:00 2001 From: sunzehua Date: Wed, 6 Nov 2024 16:21:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E7=A5=A8+=E4=BB=BB=E5=8A=A1+=E8=88=B1?= =?UTF-8?q?=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/finance/feeSettlement/columns.tsx | 23 +++---- .../paymentSettlementFree/columns.tsx | 49 +++++---------- .../paymentSettlementFree/invoiceTable.vue | 2 +- src/views/operation/bill/columns.tsx | 62 ++++++++++++++++++- src/views/operation/invoiceApply/columns.tsx | 48 +++++++------- .../invoiceApply/detail/feeTable.vue | 2 +- src/views/operation/invoiceIssue/columns.tsx | 16 ++--- 7 files changed, 122 insertions(+), 80 deletions(-) diff --git a/src/views/finance/feeSettlement/columns.tsx b/src/views/finance/feeSettlement/columns.tsx index 60b379d9..16f53bff 100644 --- a/src/views/finance/feeSettlement/columns.tsx +++ b/src/views/finance/feeSettlement/columns.tsx @@ -1250,7 +1250,7 @@ export const freeSearchFormSchema: FormSchema[] = [ }, { label: '船名', - field: 'vesselId', + field: 'vessel', component: 'ApiSelect', required: false, dynamicDisabled: false, @@ -1260,7 +1260,7 @@ export const freeSearchFormSchema: FormSchema[] = [ api: GetVesselSelectList, immediate: false, labelField: 'vesselName', - valueField: 'id', + valueField: 'vesselName', resultField: 'data' } } @@ -1272,21 +1272,18 @@ export const freeSearchFormSchema: FormSchema[] = [ component: 'Input' }, { - label: '核算单位', - field: 'enterprise', + field: 'saleDeptId', + label: '所属分部', component: 'ApiSelect', - dynamicDisabled: false, colProps: { span: 4 }, componentProps: () => { return { - api: GetClientListByCode, - labelField: 'pinYinCode', - showName: 'shortName', - valueField: 'id', + api: GetOrgList, resultField: 'data', - immediate: false + labelField: 'label', + valueField: 'id', } - } + }, }, ] @@ -1466,12 +1463,12 @@ export const freeColum: BasicColumn[] = [ }, { title: '船名', - dataIndex: 'changeOrder', + dataIndex: 'vesselName', width: 100, }, { title: '航次', - dataIndex: 'vesselName', + dataIndex: 'voyno', width: 100, }, { diff --git a/src/views/finance/paymentSettlement/paymentSettlementFree/columns.tsx b/src/views/finance/paymentSettlement/paymentSettlementFree/columns.tsx index d3232d01..906ab472 100644 --- a/src/views/finance/paymentSettlement/paymentSettlementFree/columns.tsx +++ b/src/views/finance/paymentSettlement/paymentSettlementFree/columns.tsx @@ -988,18 +988,18 @@ export const freeTableColums: BasicColumn[] = [ width: 100, }, { - title: 'RMB未收', - dataIndex: 'unchargedRMB', + title: 'RMB未付', + dataIndex: 'unpaidRMB', width: 100, }, { - title: 'USD未收', - dataIndex: 'unchargedUSD', + title: 'USD未付', + dataIndex: 'unpaidUSD', width: 100, }, { - title: '其他未收', - dataIndex: 'unchargedOther', + title: '其他未付', + dataIndex: 'unpaidOther', width: 100, }, { @@ -1013,18 +1013,18 @@ export const freeTableColums: BasicColumn[] = [ width: 100, }, { - title: 'RMB未付', - dataIndex: 'unpaidRMB', + title: 'RMB未收', + dataIndex: 'unchargedRMB', width: 100, }, { - title: 'USD未付', - dataIndex: 'unpaidUSD', + title: 'USD未收', + dataIndex: 'unchargedUSD', width: 100, }, { - title: '其他未付', - dataIndex: 'unpaidOther', + title: '其他未收', + dataIndex: 'unchargedOther', width: 100, }, { @@ -1250,7 +1250,7 @@ export const freeSearchFormSchema: FormSchema[] = [ }, { label: '船名', - field: 'vesselId', + field: 'vessel', component: 'ApiSelect', required: false, dynamicDisabled: false, @@ -1260,7 +1260,7 @@ export const freeSearchFormSchema: FormSchema[] = [ api: GetVesselSelectList, immediate: false, labelField: 'vesselName', - valueField: 'id', + valueField: 'vesselName', resultField: 'data' } } @@ -1271,23 +1271,6 @@ export const freeSearchFormSchema: FormSchema[] = [ colProps: { span: 4 }, component: 'Input' }, - { - label: '核算单位', - field: 'enterprise', - component: 'ApiSelect', - dynamicDisabled: false, - colProps: { span: 4 }, - componentProps: () => { - return { - api: GetClientListByCode, - labelField: 'pinYinCode', - showName: 'shortName', - valueField: 'id', - resultField: 'data', - immediate: false - } - } - }, ] export const freeTableDetailColums: BasicColumn[] = [ @@ -1466,12 +1449,12 @@ export const freeColum: BasicColumn[] = [ }, { title: '船名', - dataIndex: 'changeOrder', + dataIndex: 'vesselName', width: 100, }, { title: '航次', - dataIndex: 'vesselName', + dataIndex: 'voyno', width: 100, }, { diff --git a/src/views/finance/paymentSettlement/paymentSettlementFree/invoiceTable.vue b/src/views/finance/paymentSettlement/paymentSettlementFree/invoiceTable.vue index ca8dd7da..f23d9f2d 100644 --- a/src/views/finance/paymentSettlement/paymentSettlementFree/invoiceTable.vue +++ b/src/views/finance/paymentSettlement/paymentSettlementFree/invoiceTable.vue @@ -5,7 +5,7 @@ -->