From 924eac8ad85d49c5ba6abfb362b206ee24a35ba1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98huanghaiixia=E2=80=99?= <980486410@.com> Date: Tue, 31 Mar 2026 10:29:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BB=E6=95=B0=E6=8D=AE=E8=A1=A8=E6=A0=BC?= =?UTF-8?q?=E5=AE=BD=E5=BA=A6=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PngSettleHdrPur/components/createForm.vue | 4 +- src/views/mdm/Bank/components/config.ts | 19 +- src/views/mdm/Category/components/config.ts | 10 +- .../mdm/CountryRegion/components/config.ts | 53 +--- src/views/mdm/Currency/components/config.ts | 8 +- src/views/mdm/DocCp/components/config.ts | 12 +- src/views/mdm/Fee/components/config.ts | 26 +- src/views/mdm/LNGStation/components/config.ts | 11 +- .../PipeGasDownloadPoint/components/config.ts | 234 +----------------- .../mdm/PipelineGgasLine/components/config.ts | 64 +---- .../mdm/PlaceLngUnload/components/config.ts | 4 +- src/views/mdm/Port/components/config.ts | 4 +- src/views/mdm/PriceTerms/components/config.ts | 10 +- src/views/mdm/TaxRate/components/config.ts | 36 +-- 14 files changed, 54 insertions(+), 441 deletions(-) diff --git a/src/views/dayPlan/PngSettleHdrPur/components/createForm.vue b/src/views/dayPlan/PngSettleHdrPur/components/createForm.vue index b908d85..ea55c7e 100644 --- a/src/views/dayPlan/PngSettleHdrPur/components/createForm.vue +++ b/src/views/dayPlan/PngSettleHdrPur/components/createForm.vue @@ -117,8 +117,8 @@ import { getAllCom} from '/@/api/contract/ContractPurInt'; import { DataFormat, FormatOption, DATE_FORMAT, FormatType } from '/@/utils/dataFormat'; - const tableName = 'PngSettleHdr'; - const columnName = 'PngSettleHdr' + const tableName = 'PngSettleHdrPur'; + const columnName = 'PngSettleHdrPur' const formType = ref('2'); // 0 新建 1 修改 2 查看 const formRef = ref(); diff --git a/src/views/mdm/Bank/components/config.ts b/src/views/mdm/Bank/components/config.ts index 958583e..1e16c95 100644 --- a/src/views/mdm/Bank/components/config.ts +++ b/src/views/mdm/Bank/components/config.ts @@ -38,21 +38,6 @@ export const searchFormSchema: FormSchema[] = [ label: '编码', component: 'Input', }, - // { - // field: 'fullName', - // label: '银行名称', - // component: 'Input', - // }, - // { - // field: 'code', - // label: '所属国家和地区', - // component: 'Input', - // }, - // { - // field: 'swift', - // label: 'SWIFT', - // component: 'Input', - // }, ]; export const columns: BasicColumn[] = [ @@ -61,7 +46,7 @@ export const columns: BasicColumn[] = [ title: '编码', componentType: 'input', align: 'left', - + width: 100, sorter: true, }, @@ -112,7 +97,7 @@ export const columns: BasicColumn[] = [ title: '有效标志', componentType: 'select', align: 'left', - + width: 80, sorter: true, // customRender: ({ record }) => { // const enabledMark = record.valid; diff --git a/src/views/mdm/Category/components/config.ts b/src/views/mdm/Category/components/config.ts index 1e784e3..6b5cacc 100644 --- a/src/views/mdm/Category/components/config.ts +++ b/src/views/mdm/Category/components/config.ts @@ -32,7 +32,7 @@ export const columns: BasicColumn[] = [ title: '编码', componentType: 'input', align: 'left', - + width: 100, sorter: true }, @@ -50,7 +50,7 @@ export const columns: BasicColumn[] = [ title: '数量单位', componentType: 'select', align: 'left', - + width: 120, sorter: true }, @@ -59,7 +59,7 @@ export const columns: BasicColumn[] = [ title: '车/数量单位', componentType: 'input', align: 'left', - + width: 120, sorter: true }, @@ -68,7 +68,7 @@ export const columns: BasicColumn[] = [ title: '显示顺序', componentType: 'number', align: 'left', - + width: 120, sorter: true }, @@ -77,7 +77,7 @@ export const columns: BasicColumn[] = [ title: '有效标志', componentType: 'select', align: 'left', - + width: 100, sorter: true }, diff --git a/src/views/mdm/CountryRegion/components/config.ts b/src/views/mdm/CountryRegion/components/config.ts index 0fbc113..1c4a86c 100644 --- a/src/views/mdm/CountryRegion/components/config.ts +++ b/src/views/mdm/CountryRegion/components/config.ts @@ -6,49 +6,11 @@ export const formConfig = { }; export const searchFormSchema: FormSchema[] = [ - // { - // field: 'id', - // label: 'id', - // component: 'Input', - // }, - // { - // field: 'code', - // label: '编码', - // component: 'Input', - // }, - // { - // field: 'code', - // label: '编码', - // component: 'Input', - // }, { field: 'fullName', label: '名称', component: 'Input', }, - // { - // field: 'regionTypeCode', - // label: '类型', - // component: 'XjrSelect', - // componentProps: { - // datasourceType: 'dic', - // params: { itemId: '1980458729324212226' }, - // labelField: 'name', - // valueField: 'value', - - // getPopupContainer: () => document.body, - // }, - // }, - // { - // field: 'pid', - // label: '上级ID', - // component: 'Input', - // }, - // { - // field: 'fullPath', - // label: '全路径名称', - // component: 'Input', - // }, { field: 'valid', label: '有效标志', @@ -62,11 +24,6 @@ export const searchFormSchema: FormSchema[] = [ getPopupContainer: () => document.body, }, }, - // { - // field: 'note', - // label: '备注', - // component: 'Input', - // }, ]; export const columns: BasicColumn[] = [ @@ -75,7 +32,7 @@ export const columns: BasicColumn[] = [ title: '编码', componentType: 'input', align: 'left', - + width: 100, sorter: true, }, @@ -84,7 +41,7 @@ export const columns: BasicColumn[] = [ title: '名称', componentType: 'input', align: 'left', - + width: 120, sorter: true, }, @@ -93,7 +50,7 @@ export const columns: BasicColumn[] = [ title: '类型', componentType: 'select', align: 'left', - + width: 80, sorter: true, }, @@ -102,7 +59,7 @@ export const columns: BasicColumn[] = [ title: '上级ID', componentType: 'input', align: 'left', - + width: 100, sorter: true, }, @@ -120,7 +77,7 @@ export const columns: BasicColumn[] = [ title: '有效标志', componentType: 'select', align: 'left', - + width: 80, sorter: true, }, diff --git a/src/views/mdm/Currency/components/config.ts b/src/views/mdm/Currency/components/config.ts index ed4c0bc..6cf37b4 100644 --- a/src/views/mdm/Currency/components/config.ts +++ b/src/views/mdm/Currency/components/config.ts @@ -32,7 +32,7 @@ export const columns: BasicColumn[] = [ title: '编码', componentType: 'input', align: 'left', - + width: 100, sorter: true }, @@ -41,7 +41,7 @@ export const columns: BasicColumn[] = [ title: '名称', componentType: 'input', align: 'left', - + width: 200, sorter: true }, @@ -50,7 +50,7 @@ export const columns: BasicColumn[] = [ title: '是否本币', componentType: 'select', align: 'left', - + width: 100, sorter: true }, @@ -59,7 +59,7 @@ export const columns: BasicColumn[] = [ title: '有效标志', componentType: 'select', align: 'left', - + width: 100, sorter: true }, diff --git a/src/views/mdm/DocCp/components/config.ts b/src/views/mdm/DocCp/components/config.ts index b0d2d0b..c19a6ff 100644 --- a/src/views/mdm/DocCp/components/config.ts +++ b/src/views/mdm/DocCp/components/config.ts @@ -32,7 +32,7 @@ export const columns: BasicColumn[] = [ title: '编码', componentType: 'input', align: 'left', - + width: 110, sorter: true }, @@ -50,7 +50,7 @@ export const columns: BasicColumn[] = [ title: '供应商适用', componentType: 'select', align: 'left', - + width: 110, sorter: true }, @@ -59,7 +59,7 @@ export const columns: BasicColumn[] = [ title: '供应商必须提供', componentType: 'select', align: 'left', - + width: 120, sorter: true }, @@ -68,7 +68,7 @@ export const columns: BasicColumn[] = [ title: '客户适用', componentType: 'select', align: 'left', - + width: 80, sorter: true }, @@ -77,7 +77,7 @@ export const columns: BasicColumn[] = [ title: '客户必须提供', componentType: 'select', align: 'left', - + width: 120, sorter: true }, @@ -86,7 +86,7 @@ export const columns: BasicColumn[] = [ title: '有效标志', componentType: 'select', align: 'left', - + width: 80, sorter: true }, diff --git a/src/views/mdm/Fee/components/config.ts b/src/views/mdm/Fee/components/config.ts index 5c3a21f..8d2ede9 100644 --- a/src/views/mdm/Fee/components/config.ts +++ b/src/views/mdm/Fee/components/config.ts @@ -24,24 +24,6 @@ export const searchFormSchema: FormSchema[] = [ getPopupContainer: () => document.body, }, }, - // { - // field: 'code', - // label: '编码', - // component: 'Input', - // }, - // { - // field: 'sort', - // label: '显示顺序', - // component: 'InputNumber', - // componentProps: { - // style: { width: '100%' }, - // }, - // }, - // { - // field: 'note', - // label: '备注', - // component: 'Input', - // }, ]; export const columns: BasicColumn[] = [ @@ -50,7 +32,7 @@ export const columns: BasicColumn[] = [ title: '编码', componentType: 'input', align: 'left', - + width: 120, sorter: true, }, @@ -59,7 +41,7 @@ export const columns: BasicColumn[] = [ title: '名称', componentType: 'input', align: 'left', - + width: 200, sorter: true, }, @@ -68,7 +50,7 @@ export const columns: BasicColumn[] = [ title: '有效标志', componentType: 'select', align: 'left', - + width: 80, sorter: true, }, @@ -86,7 +68,7 @@ export const columns: BasicColumn[] = [ title: '显示顺序', componentType: 'number', align: 'left', - + width: 100, sorter: true, }, ]; diff --git a/src/views/mdm/LNGStation/components/config.ts b/src/views/mdm/LNGStation/components/config.ts index 0b0b844..7d64435 100644 --- a/src/views/mdm/LNGStation/components/config.ts +++ b/src/views/mdm/LNGStation/components/config.ts @@ -32,7 +32,7 @@ export const columns: BasicColumn[] = [ title: '编码', componentType: 'input', align: 'left', - + width: 110, sorter: true }, @@ -50,7 +50,7 @@ export const columns: BasicColumn[] = [ title: '所属企业', componentType: 'input', align: 'left', - + width: 130, sorter: true }, @@ -59,7 +59,7 @@ export const columns: BasicColumn[] = [ title: '联系人', componentType: 'input', align: 'left', - + width: 100, sorter: true }, @@ -68,7 +68,7 @@ export const columns: BasicColumn[] = [ title: '电话', componentType: 'input', align: 'left', - + width: 150, sorter: true }, @@ -77,7 +77,6 @@ export const columns: BasicColumn[] = [ title: '邮箱', componentType: 'input', align: 'left', - sorter: true }, @@ -86,7 +85,7 @@ export const columns: BasicColumn[] = [ title: '有效标志', componentType: 'select', align: 'left', - + width: 80, sorter: true } ]; diff --git a/src/views/mdm/PipeGasDownloadPoint/components/config.ts b/src/views/mdm/PipeGasDownloadPoint/components/config.ts index 51cf011..bd37273 100644 --- a/src/views/mdm/PipeGasDownloadPoint/components/config.ts +++ b/src/views/mdm/PipeGasDownloadPoint/components/config.ts @@ -25,124 +25,6 @@ export const searchFormSchema: FormSchema[] = [ getPopupContainer: () => document.body, }, }, - // { - // field: 'code', - // label: '编码', - // component: 'Input', - // }, - // { - // field: 'pipelineCode', - // label: '管道', - // component: 'Input', - // }, - // { - // field: 'enterprise', - // label: '所属企业', - // component: 'Input', - // }, - // { - // field: 'contact', - // label: '联系人', - // component: 'Input', - // }, - // { - // field: 'tel', - // label: '电话', - // component: 'Input', - // }, - // { - // field: 'email', - // label: '邮箱', - // component: 'Input', - // }, - // { - // field: 'regionCode', - // label: '行政区域', - // component: 'XjrSelect', - // componentProps: { - // datasourceType: 'staticData', - // staticOptions: [ - // { key: 1, label: 'Option 1', value: 'Option 1' }, - // { key: 2, label: 'Option 2', value: 'Option 2' }, - // { key: 3, label: 'Option 3', value: 'Option 3' }, - // ], - // labelField: 'label', - // valueField: 'value', - - // getPopupContainer: () => document.body, - // }, - // }, - // { - // field: 'addr', - // label: '地址', - // component: 'Input', - // }, - // { - // field: 'addrMail', - // label: '通讯地址', - // component: 'Input', - // }, - // { - // field: 'ownSign', - // label: '自有接收站上载点标识', - // component: 'XjrSelect', - // componentProps: { - // datasourceType: 'dic', - // params: { itemId: '1978056598125330433' }, - // labelField: 'name', - // valueField: 'value', - - // getPopupContainer: () => document.body, - // }, - // }, - // { - // field: 'staCodeLng', - // label: 'LNG气源地', - // component: 'XjrSelect', - // componentProps: { - // datasourceType: 'staticData', - // staticOptions: [ - // { key: 1, label: 'Option 1', value: 'Option 1' }, - // { key: 2, label: 'Option 2', value: 'Option 2' }, - // { key: 3, label: 'Option 3', value: 'Option 3' }, - // ], - // labelField: 'label', - // valueField: 'value', - - // getPopupContainer: () => document.body, - // }, - // }, - // { - // field: 'ownLineSign', - // label: '自有管道沿线下载点标识', - // component: 'XjrSelect', - // componentProps: { - // datasourceType: 'api', - // apiConfig: { - // path: 'CodeGeneration/selection', - // method: 'GET', - // apiId: '93d735dcb7364a0f8102188ec4d77ac7', - // }, - // labelField: 'label', - // valueField: 'value', - - // getPopupContainer: () => document.body, - // }, - // }, - // { - // field: 'sort', - // label: '显示顺序', - // component: 'InputNumber', - // componentProps: { - // style: { width: '100%' }, - // }, - // }, - - // { - // field: 'note', - // label: '备注', - // component: 'Input', - // }, ]; export const columns: BasicColumn[] = [ @@ -151,7 +33,7 @@ export const columns: BasicColumn[] = [ title: '编码', componentType: 'input', align: 'left', - + width: 100, sorter: true, }, @@ -170,7 +52,7 @@ export const columns: BasicColumn[] = [ title: '联系人', componentType: 'input', align: 'left', - + width: 120, sorter: true, }, @@ -179,7 +61,7 @@ export const columns: BasicColumn[] = [ title: '电话', componentType: 'input', align: 'left', - + width: 150, sorter: true, }, @@ -197,117 +79,9 @@ export const columns: BasicColumn[] = [ title: '有效标识', componentType: 'select', align: 'left', - + width: 80, sorter: true, }, - - // { - // dataIndex: 'pipelineCode', - // title: '管道', - // componentType: 'input', - // align: 'left', - - // sorter: true, - // }, - - // { - // dataIndex: 'enterprise', - // title: '所属企业', - // componentType: 'input', - // align: 'left', - - // sorter: true, - // }, - - // { - // dataIndex: 'addr', - // title: '地址', - // componentType: 'textarea', - // align: 'left', - - // sorter: true, - // }, - - // { - // dataIndex: 'addrMail', - // title: '通讯地址', - // componentType: 'textarea', - // align: 'left', - - // sorter: true, - // }, - - // { - // dataIndex: 'ownSign', - // title: '自有接收站上载点标识', - // componentType: 'select', - // align: 'left', - - // sorter: true, - // }, - - // { - // dataIndex: 'staCodeLng', - // title: 'LNG气源地', - // componentType: 'select', - // align: 'left', - - // customRender: ({ record }) => { - // const staticOptions = [ - // { key: 1, label: 'Option 1', value: 'Option 1' }, - // { key: 2, label: 'Option 2', value: 'Option 2' }, - // { key: 3, label: 'Option 3', value: 'Option 3' }, - // ]; - // return staticOptions.filter((x) => x.value === record.staCodeLng)[0]?.label; - // }, - - // sorter: true, - // }, - - // { - // dataIndex: 'ownLineSign', - // title: '自有管道沿线下载点标识', - // componentType: 'select', - // align: 'left', - - // sorter: true, - // }, - - // { - // dataIndex: 'sort', - // title: '显示顺序', - // componentType: 'number', - // align: 'left', - - // sorter: true, - // }, - - // { - // dataIndex: 'note', - // title: '备注', - // componentType: 'textarea', - // align: 'left', - - // sorter: true, - // }, - - // { - // dataIndex: 'regionCode', - // title: '行政区域', - // componentType: 'select', - // align: 'left', - - // customRender: ({ record }) => { - // const staticOptions = [ - // { key: 1, label: 'Option 1', value: 'Option 1' }, - // { key: 2, label: 'Option 2', value: 'Option 2' }, - // { key: 3, label: 'Option 3', value: 'Option 3' }, - // ]; - // return staticOptions.filter((x) => x.value === record.regionCode)[0]?.label; - // }, - - // sorter: true, - // }, ]; //表单事件 export const formEventConfigs = { diff --git a/src/views/mdm/PipelineGgasLine/components/config.ts b/src/views/mdm/PipelineGgasLine/components/config.ts index 25a13e0..50ac1c8 100644 --- a/src/views/mdm/PipelineGgasLine/components/config.ts +++ b/src/views/mdm/PipelineGgasLine/components/config.ts @@ -24,54 +24,6 @@ export const searchFormSchema: FormSchema[] = [ getPopupContainer: () => document.body, }, }, - // { - // field: 'code', - // label: '编码', - // component: 'Input', - // }, - // { - // field: 'ownSign', - // label: '自有管道标识', - // component: 'XjrSelect', - // componentProps: { - // datasourceType: 'dic', - // params: { itemId: '1978056598125330433' }, - // labelField: 'name', - // valueField: 'value', - - // getPopupContainer: () => document.body, - // }, - // }, - // { - // field: 'staCodeLng', - // label: '自有接收站', - // component: 'XjrSelect', - // componentProps: { - // datasourceType: 'staticData', - // staticOptions: [ - // { key: 1, label: 'Option 1', value: 'Option 1' }, - // { key: 2, label: 'Option 2', value: 'Option 2' }, - // { key: 3, label: 'Option 3', value: 'Option 3' }, - // ], - // labelField: 'label', - // valueField: 'value', - - // getPopupContainer: () => document.body, - // }, - // }, - // { - // field: 'sort', - // label: '显示顺序', - // component: 'InputNumber', - // componentProps: { - // style: { width: '100%' }, - // }, - // }, - // { - // field: 'note', - // label: '备注', - // component: 'Input', - // }, ]; export const columns: BasicColumn[] = [ @@ -80,7 +32,7 @@ export const columns: BasicColumn[] = [ title: '编码', componentType: 'input', align: 'left', - + width: 100, sorter: true, }, @@ -98,7 +50,7 @@ export const columns: BasicColumn[] = [ title: '自有管道标识', componentType: 'select', align: 'left', - + width: 120, sorter: true, }, @@ -107,16 +59,6 @@ export const columns: BasicColumn[] = [ title: '自有接收站', componentType: 'select', align: 'left', - - // customRender: ({ record }) => { - // const staticOptions = [ - // { key: 1, label: 'Option 1', value: 'Option 1' }, - // { key: 2, label: 'Option 2', value: 'Option 2' }, - // { key: 3, label: 'Option 3', value: 'Option 3' }, - // ]; - // return staticOptions.filter((x) => x.value === record.staCodeLng)[0]?.label; - // }, - sorter: true, }, @@ -125,7 +67,7 @@ export const columns: BasicColumn[] = [ title: '有效标志', componentType: 'select', align: 'left', - + width: 80, sorter: true, }, diff --git a/src/views/mdm/PlaceLngUnload/components/config.ts b/src/views/mdm/PlaceLngUnload/components/config.ts index 11413eb..d7d1c5a 100644 --- a/src/views/mdm/PlaceLngUnload/components/config.ts +++ b/src/views/mdm/PlaceLngUnload/components/config.ts @@ -32,7 +32,7 @@ export const columns: BasicColumn[] = [ title: '编码', componentType: 'input', align: 'left', - + width: 100, sorter: true }, @@ -68,7 +68,7 @@ export const columns: BasicColumn[] = [ title: '有效标志', componentType: 'select', align: 'left', - + width: 80, sorter: true } ]; diff --git a/src/views/mdm/Port/components/config.ts b/src/views/mdm/Port/components/config.ts index 6304116..823c53c 100644 --- a/src/views/mdm/Port/components/config.ts +++ b/src/views/mdm/Port/components/config.ts @@ -32,7 +32,7 @@ export const columns: BasicColumn[] = [ title: '编码', componentType: 'input', align: 'left', - + width: 100, sorter: true }, @@ -68,7 +68,7 @@ export const columns: BasicColumn[] = [ title: '有效标志', componentType: 'select', align: 'left', - + width: 80, sorter: true }, diff --git a/src/views/mdm/PriceTerms/components/config.ts b/src/views/mdm/PriceTerms/components/config.ts index 6263e9e..4f2fe74 100644 --- a/src/views/mdm/PriceTerms/components/config.ts +++ b/src/views/mdm/PriceTerms/components/config.ts @@ -32,7 +32,7 @@ export const columns: BasicColumn[] = [ title: '编码', componentType: 'input', align: 'left', - + width: 100, sorter: true }, @@ -41,7 +41,7 @@ export const columns: BasicColumn[] = [ title: '名称', componentType: 'input', align: 'left', - + width: 200, sorter: true }, @@ -50,7 +50,7 @@ export const columns: BasicColumn[] = [ title: '是否承担运费', componentType: 'select', align: 'left', - + width: 120, sorter: true }, @@ -59,7 +59,7 @@ export const columns: BasicColumn[] = [ title: '是否承担保险', componentType: 'select', align: 'left', - + width: 120, sorter: true }, @@ -68,7 +68,7 @@ export const columns: BasicColumn[] = [ title: '有效标志', componentType: 'select', align: 'left', - + width: 80, sorter: true }, diff --git a/src/views/mdm/TaxRate/components/config.ts b/src/views/mdm/TaxRate/components/config.ts index 6aa9856..e36e7b6 100644 --- a/src/views/mdm/TaxRate/components/config.ts +++ b/src/views/mdm/TaxRate/components/config.ts @@ -24,32 +24,6 @@ export const searchFormSchema: FormSchema[] = [ getPopupContainer: () => document.body, }, }, - // { - // field: 'code', - // label: '编码', - // component: 'Input', - // }, - // { - // field: 'rate', - // label: '税率%', - // component: 'InputNumber', - // componentProps: { - // style: { width: '100%' }, - // }, - // }, - // { - // field: 'sort', - // label: '显示顺序', - // component: 'InputNumber', - // componentProps: { - // style: { width: '100%' }, - // }, - // }, - // { - // field: 'note', - // label: '备注', - // component: 'Input', - // }, ]; export const columns: BasicColumn[] = [ @@ -58,7 +32,7 @@ export const columns: BasicColumn[] = [ title: '编码', componentType: 'input', align: 'left', - + width: 100, sorter: true, }, @@ -67,7 +41,7 @@ export const columns: BasicColumn[] = [ title: '名称', componentType: 'input', align: 'left', - + width: 200, sorter: true, }, @@ -76,7 +50,7 @@ export const columns: BasicColumn[] = [ title: '税率%', componentType: 'number', align: 'left', - + width: 120, sorter: true, }, @@ -85,7 +59,7 @@ export const columns: BasicColumn[] = [ title: '有效标志', componentType: 'select', align: 'left', - + width: 100, sorter: true, }, @@ -103,7 +77,7 @@ export const columns: BasicColumn[] = [ title: '显示顺序', componentType: 'number', align: 'left', - + width: 100, sorter: true, }, ];