Merge branch 'dev' of http://47.94.165.164:13000/geg-gas/geg-gas-web into dev
This commit is contained in:
@ -75,7 +75,7 @@
|
||||
},
|
||||
immediate: false, // 设置为不立即调用
|
||||
beforeFetch: (params) => {
|
||||
return { ...params,page:params.limit};
|
||||
return { ...params,page:params.limit,excludeOpi: 1};
|
||||
},
|
||||
rowSelection: {
|
||||
type: props.selectType,
|
||||
|
||||
@ -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();
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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
|
||||
},
|
||||
|
||||
|
||||
@ -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,
|
||||
},
|
||||
|
||||
|
||||
@ -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
|
||||
},
|
||||
|
||||
|
||||
@ -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
|
||||
},
|
||||
|
||||
|
||||
@ -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,
|
||||
},
|
||||
];
|
||||
|
||||
@ -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
|
||||
}
|
||||
];
|
||||
|
||||
@ -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 = {
|
||||
|
||||
@ -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,
|
||||
},
|
||||
|
||||
|
||||
@ -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
|
||||
}
|
||||
];
|
||||
|
||||
@ -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
|
||||
},
|
||||
|
||||
|
||||
@ -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
|
||||
},
|
||||
|
||||
|
||||
@ -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,
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user