主数据表格宽度调整
This commit is contained in:
@ -117,8 +117,8 @@
|
|||||||
import { getAllCom} from '/@/api/contract/ContractPurInt';
|
import { getAllCom} from '/@/api/contract/ContractPurInt';
|
||||||
import { DataFormat, FormatOption, DATE_FORMAT, FormatType } from '/@/utils/dataFormat';
|
import { DataFormat, FormatOption, DATE_FORMAT, FormatType } from '/@/utils/dataFormat';
|
||||||
|
|
||||||
const tableName = 'PngSettleHdr';
|
const tableName = 'PngSettleHdrPur';
|
||||||
const columnName = 'PngSettleHdr'
|
const columnName = 'PngSettleHdrPur'
|
||||||
|
|
||||||
const formType = ref('2'); // 0 新建 1 修改 2 查看
|
const formType = ref('2'); // 0 新建 1 修改 2 查看
|
||||||
const formRef = ref();
|
const formRef = ref();
|
||||||
|
|||||||
@ -38,21 +38,6 @@ export const searchFormSchema: FormSchema[] = [
|
|||||||
label: '编码',
|
label: '编码',
|
||||||
component: 'Input',
|
component: 'Input',
|
||||||
},
|
},
|
||||||
// {
|
|
||||||
// field: 'fullName',
|
|
||||||
// label: '银行名称',
|
|
||||||
// component: 'Input',
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// field: 'code',
|
|
||||||
// label: '所属国家和地区',
|
|
||||||
// component: 'Input',
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// field: 'swift',
|
|
||||||
// label: 'SWIFT',
|
|
||||||
// component: 'Input',
|
|
||||||
// },
|
|
||||||
];
|
];
|
||||||
|
|
||||||
export const columns: BasicColumn[] = [
|
export const columns: BasicColumn[] = [
|
||||||
@ -61,7 +46,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '编码',
|
title: '编码',
|
||||||
componentType: 'input',
|
componentType: 'input',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 100,
|
||||||
sorter: true,
|
sorter: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -112,7 +97,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '有效标志',
|
title: '有效标志',
|
||||||
componentType: 'select',
|
componentType: 'select',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 80,
|
||||||
sorter: true,
|
sorter: true,
|
||||||
// customRender: ({ record }) => {
|
// customRender: ({ record }) => {
|
||||||
// const enabledMark = record.valid;
|
// const enabledMark = record.valid;
|
||||||
|
|||||||
@ -32,7 +32,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '编码',
|
title: '编码',
|
||||||
componentType: 'input',
|
componentType: 'input',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 100,
|
||||||
sorter: true
|
sorter: true
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -50,7 +50,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '数量单位',
|
title: '数量单位',
|
||||||
componentType: 'select',
|
componentType: 'select',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 120,
|
||||||
sorter: true
|
sorter: true
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -59,7 +59,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '车/数量单位',
|
title: '车/数量单位',
|
||||||
componentType: 'input',
|
componentType: 'input',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 120,
|
||||||
sorter: true
|
sorter: true
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -68,7 +68,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '显示顺序',
|
title: '显示顺序',
|
||||||
componentType: 'number',
|
componentType: 'number',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 120,
|
||||||
sorter: true
|
sorter: true
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -77,7 +77,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '有效标志',
|
title: '有效标志',
|
||||||
componentType: 'select',
|
componentType: 'select',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 100,
|
||||||
sorter: true
|
sorter: true
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@ -6,49 +6,11 @@ export const formConfig = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const searchFormSchema: FormSchema[] = [
|
export const searchFormSchema: FormSchema[] = [
|
||||||
// {
|
|
||||||
// field: 'id',
|
|
||||||
// label: 'id',
|
|
||||||
// component: 'Input',
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// field: 'code',
|
|
||||||
// label: '编码',
|
|
||||||
// component: 'Input',
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// field: 'code',
|
|
||||||
// label: '编码',
|
|
||||||
// component: 'Input',
|
|
||||||
// },
|
|
||||||
{
|
{
|
||||||
field: 'fullName',
|
field: 'fullName',
|
||||||
label: '名称',
|
label: '名称',
|
||||||
component: 'Input',
|
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',
|
field: 'valid',
|
||||||
label: '有效标志',
|
label: '有效标志',
|
||||||
@ -62,11 +24,6 @@ export const searchFormSchema: FormSchema[] = [
|
|||||||
getPopupContainer: () => document.body,
|
getPopupContainer: () => document.body,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
// {
|
|
||||||
// field: 'note',
|
|
||||||
// label: '备注',
|
|
||||||
// component: 'Input',
|
|
||||||
// },
|
|
||||||
];
|
];
|
||||||
|
|
||||||
export const columns: BasicColumn[] = [
|
export const columns: BasicColumn[] = [
|
||||||
@ -75,7 +32,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '编码',
|
title: '编码',
|
||||||
componentType: 'input',
|
componentType: 'input',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 100,
|
||||||
sorter: true,
|
sorter: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -84,7 +41,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '名称',
|
title: '名称',
|
||||||
componentType: 'input',
|
componentType: 'input',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 120,
|
||||||
sorter: true,
|
sorter: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -93,7 +50,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '类型',
|
title: '类型',
|
||||||
componentType: 'select',
|
componentType: 'select',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 80,
|
||||||
sorter: true,
|
sorter: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -102,7 +59,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '上级ID',
|
title: '上级ID',
|
||||||
componentType: 'input',
|
componentType: 'input',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 100,
|
||||||
sorter: true,
|
sorter: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -120,7 +77,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '有效标志',
|
title: '有效标志',
|
||||||
componentType: 'select',
|
componentType: 'select',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 80,
|
||||||
sorter: true,
|
sorter: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@ -32,7 +32,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '编码',
|
title: '编码',
|
||||||
componentType: 'input',
|
componentType: 'input',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 100,
|
||||||
sorter: true
|
sorter: true
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -41,7 +41,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '名称',
|
title: '名称',
|
||||||
componentType: 'input',
|
componentType: 'input',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 200,
|
||||||
sorter: true
|
sorter: true
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -50,7 +50,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '是否本币',
|
title: '是否本币',
|
||||||
componentType: 'select',
|
componentType: 'select',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 100,
|
||||||
sorter: true
|
sorter: true
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -59,7 +59,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '有效标志',
|
title: '有效标志',
|
||||||
componentType: 'select',
|
componentType: 'select',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 100,
|
||||||
sorter: true
|
sorter: true
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@ -32,7 +32,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '编码',
|
title: '编码',
|
||||||
componentType: 'input',
|
componentType: 'input',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 110,
|
||||||
sorter: true
|
sorter: true
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -50,7 +50,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '供应商适用',
|
title: '供应商适用',
|
||||||
componentType: 'select',
|
componentType: 'select',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 110,
|
||||||
sorter: true
|
sorter: true
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -59,7 +59,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '供应商必须提供',
|
title: '供应商必须提供',
|
||||||
componentType: 'select',
|
componentType: 'select',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 120,
|
||||||
sorter: true
|
sorter: true
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -68,7 +68,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '客户适用',
|
title: '客户适用',
|
||||||
componentType: 'select',
|
componentType: 'select',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 80,
|
||||||
sorter: true
|
sorter: true
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -77,7 +77,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '客户必须提供',
|
title: '客户必须提供',
|
||||||
componentType: 'select',
|
componentType: 'select',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 120,
|
||||||
sorter: true
|
sorter: true
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -86,7 +86,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '有效标志',
|
title: '有效标志',
|
||||||
componentType: 'select',
|
componentType: 'select',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 80,
|
||||||
sorter: true
|
sorter: true
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@ -24,24 +24,6 @@ export const searchFormSchema: FormSchema[] = [
|
|||||||
getPopupContainer: () => document.body,
|
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[] = [
|
export const columns: BasicColumn[] = [
|
||||||
@ -50,7 +32,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '编码',
|
title: '编码',
|
||||||
componentType: 'input',
|
componentType: 'input',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 120,
|
||||||
sorter: true,
|
sorter: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -59,7 +41,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '名称',
|
title: '名称',
|
||||||
componentType: 'input',
|
componentType: 'input',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 200,
|
||||||
sorter: true,
|
sorter: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -68,7 +50,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '有效标志',
|
title: '有效标志',
|
||||||
componentType: 'select',
|
componentType: 'select',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 80,
|
||||||
sorter: true,
|
sorter: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -86,7 +68,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '显示顺序',
|
title: '显示顺序',
|
||||||
componentType: 'number',
|
componentType: 'number',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 100,
|
||||||
sorter: true,
|
sorter: true,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|||||||
@ -32,7 +32,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '编码',
|
title: '编码',
|
||||||
componentType: 'input',
|
componentType: 'input',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 110,
|
||||||
sorter: true
|
sorter: true
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -50,7 +50,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '所属企业',
|
title: '所属企业',
|
||||||
componentType: 'input',
|
componentType: 'input',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 130,
|
||||||
sorter: true
|
sorter: true
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -59,7 +59,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '联系人',
|
title: '联系人',
|
||||||
componentType: 'input',
|
componentType: 'input',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 100,
|
||||||
sorter: true
|
sorter: true
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -68,7 +68,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '电话',
|
title: '电话',
|
||||||
componentType: 'input',
|
componentType: 'input',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 150,
|
||||||
sorter: true
|
sorter: true
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -77,7 +77,6 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '邮箱',
|
title: '邮箱',
|
||||||
componentType: 'input',
|
componentType: 'input',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
|
||||||
sorter: true
|
sorter: true
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -86,7 +85,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '有效标志',
|
title: '有效标志',
|
||||||
componentType: 'select',
|
componentType: 'select',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 80,
|
||||||
sorter: true
|
sorter: true
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|||||||
@ -25,124 +25,6 @@ export const searchFormSchema: FormSchema[] = [
|
|||||||
getPopupContainer: () => document.body,
|
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[] = [
|
export const columns: BasicColumn[] = [
|
||||||
@ -151,7 +33,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '编码',
|
title: '编码',
|
||||||
componentType: 'input',
|
componentType: 'input',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 100,
|
||||||
sorter: true,
|
sorter: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -170,7 +52,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '联系人',
|
title: '联系人',
|
||||||
componentType: 'input',
|
componentType: 'input',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 120,
|
||||||
sorter: true,
|
sorter: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -179,7 +61,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '电话',
|
title: '电话',
|
||||||
componentType: 'input',
|
componentType: 'input',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 150,
|
||||||
sorter: true,
|
sorter: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -197,117 +79,9 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '有效标识',
|
title: '有效标识',
|
||||||
componentType: 'select',
|
componentType: 'select',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 80,
|
||||||
sorter: true,
|
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 = {
|
export const formEventConfigs = {
|
||||||
|
|||||||
@ -24,54 +24,6 @@ export const searchFormSchema: FormSchema[] = [
|
|||||||
getPopupContainer: () => document.body,
|
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[] = [
|
export const columns: BasicColumn[] = [
|
||||||
@ -80,7 +32,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '编码',
|
title: '编码',
|
||||||
componentType: 'input',
|
componentType: 'input',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 100,
|
||||||
sorter: true,
|
sorter: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -98,7 +50,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '自有管道标识',
|
title: '自有管道标识',
|
||||||
componentType: 'select',
|
componentType: 'select',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 120,
|
||||||
sorter: true,
|
sorter: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -107,16 +59,6 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '自有接收站',
|
title: '自有接收站',
|
||||||
componentType: 'select',
|
componentType: 'select',
|
||||||
align: 'left',
|
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,
|
sorter: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -125,7 +67,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '有效标志',
|
title: '有效标志',
|
||||||
componentType: 'select',
|
componentType: 'select',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 80,
|
||||||
sorter: true,
|
sorter: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@ -32,7 +32,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '编码',
|
title: '编码',
|
||||||
componentType: 'input',
|
componentType: 'input',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 100,
|
||||||
sorter: true
|
sorter: true
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -68,7 +68,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '有效标志',
|
title: '有效标志',
|
||||||
componentType: 'select',
|
componentType: 'select',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 80,
|
||||||
sorter: true
|
sorter: true
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|||||||
@ -32,7 +32,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '编码',
|
title: '编码',
|
||||||
componentType: 'input',
|
componentType: 'input',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 100,
|
||||||
sorter: true
|
sorter: true
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -68,7 +68,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '有效标志',
|
title: '有效标志',
|
||||||
componentType: 'select',
|
componentType: 'select',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 80,
|
||||||
sorter: true
|
sorter: true
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@ -32,7 +32,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '编码',
|
title: '编码',
|
||||||
componentType: 'input',
|
componentType: 'input',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 100,
|
||||||
sorter: true
|
sorter: true
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -41,7 +41,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '名称',
|
title: '名称',
|
||||||
componentType: 'input',
|
componentType: 'input',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 200,
|
||||||
sorter: true
|
sorter: true
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -50,7 +50,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '是否承担运费',
|
title: '是否承担运费',
|
||||||
componentType: 'select',
|
componentType: 'select',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 120,
|
||||||
sorter: true
|
sorter: true
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -59,7 +59,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '是否承担保险',
|
title: '是否承担保险',
|
||||||
componentType: 'select',
|
componentType: 'select',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 120,
|
||||||
sorter: true
|
sorter: true
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -68,7 +68,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '有效标志',
|
title: '有效标志',
|
||||||
componentType: 'select',
|
componentType: 'select',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 80,
|
||||||
sorter: true
|
sorter: true
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@ -24,32 +24,6 @@ export const searchFormSchema: FormSchema[] = [
|
|||||||
getPopupContainer: () => document.body,
|
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[] = [
|
export const columns: BasicColumn[] = [
|
||||||
@ -58,7 +32,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '编码',
|
title: '编码',
|
||||||
componentType: 'input',
|
componentType: 'input',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 100,
|
||||||
sorter: true,
|
sorter: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -67,7 +41,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '名称',
|
title: '名称',
|
||||||
componentType: 'input',
|
componentType: 'input',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 200,
|
||||||
sorter: true,
|
sorter: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -76,7 +50,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '税率%',
|
title: '税率%',
|
||||||
componentType: 'number',
|
componentType: 'number',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 120,
|
||||||
sorter: true,
|
sorter: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -85,7 +59,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '有效标志',
|
title: '有效标志',
|
||||||
componentType: 'select',
|
componentType: 'select',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 100,
|
||||||
sorter: true,
|
sorter: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -103,7 +77,7 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '显示顺序',
|
title: '显示顺序',
|
||||||
componentType: 'number',
|
componentType: 'number',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 100,
|
||||||
sorter: true,
|
sorter: true,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user