diff --git a/src/views/mdm/Currency/components/config.ts b/src/views/mdm/Currency/components/config.ts
index 7e692ca..b1a8c2b 100644
--- a/src/views/mdm/Currency/components/config.ts
+++ b/src/views/mdm/Currency/components/config.ts
@@ -2,358 +2,335 @@ import { FormProps, FormSchema } from '/@/components/Form';
import { BasicColumn } from '/@/components/Table';
export const formConfig = {
- useCustomConfig: false,
+ useCustomConfig: false
};
export const searchFormSchema: FormSchema[] = [
- {
- field: 'fullName',
- label: '名称',
- component: 'Input',
- },
- {
- field: 'valid',
- label: '有效标志',
- component: 'XjrSelect',
- componentProps: {
- datasourceType: 'dic',
- params: { itemId: '1978057078528327681' },
- labelField: 'name',
- valueField: 'value',
-
- getPopupContainer: () => document.body,
+ {
+ field: 'fullName',
+ label: '名称',
+ component: 'Input'
},
- },
- {
- field: 'code',
- label: '编码',
- component: 'Input',
- },
- {
- field: 'localSign',
- label: '是否本币',
- component: 'XjrSelect',
- componentProps: {
- datasourceType: 'dic',
- params: { itemId: '1978056598125330433' },
- labelField: 'name',
- valueField: 'value',
+ {
+ field: 'valid',
+ label: '有效标志',
+ component: 'XjrSelect',
+ componentProps: {
+ datasourceType: 'dic',
+ params: { itemId: '1978057078528327681' },
+ labelField: 'name',
+ valueField: 'value',
- getPopupContainer: () => document.body,
- },
- },
- {
- field: 'note',
- label: '备注',
- component: 'Input',
- },
+ getPopupContainer: () => document.body
+ }
+ }
];
export const columns: BasicColumn[] = [
- {
- dataIndex: 'code',
- title: '编码',
- componentType: 'input',
- align: 'left',
+ {
+ dataIndex: 'code',
+ title: '编码',
+ componentType: 'input',
+ align: 'left',
- sorter: true,
- },
+ sorter: true
+ },
- {
- dataIndex: 'fullName',
- title: '名称',
- componentType: 'input',
- align: 'left',
+ {
+ dataIndex: 'fullName',
+ title: '名称',
+ componentType: 'input',
+ align: 'left',
- sorter: true,
- },
+ sorter: true
+ },
- {
- dataIndex: 'localSign',
- title: '是否本币',
- componentType: 'select',
- align: 'left',
+ {
+ dataIndex: 'localSign',
+ title: '是否本币',
+ componentType: 'select',
+ align: 'left',
- sorter: true,
- },
+ sorter: true
+ },
- {
- dataIndex: 'valid',
- title: '有效标志',
- componentType: 'select',
- align: 'left',
+ {
+ dataIndex: 'valid',
+ title: '有效标志',
+ componentType: 'select',
+ align: 'left',
- sorter: true,
- },
+ sorter: true
+ },
- {
- dataIndex: 'note',
- title: '备注',
- componentType: 'textarea',
- align: 'left',
+ {
+ dataIndex: 'note',
+ title: '备注',
+ componentType: 'textarea',
+ align: 'left',
- sorter: true,
- },
+ sorter: true
+ }
];
//表单事件
export const formEventConfigs = {
- 0: [
- {
- type: 'circle',
- color: '#2774ff',
- text: '开始节点',
- icon: '#icon-kaishi',
- bgcColor: '#D8E5FF',
- isUserDefined: false,
- },
- {
- color: '#F6AB01',
- icon: '#icon-chushihua',
- text: '初始化表单',
- bgcColor: '#f9f5ea',
- isUserDefined: false,
- nodeInfo: { processEvent: [] },
- },
- ],
- 1: [
- {
- color: '#B36EDB',
- icon: '#icon-shujufenxi',
- text: '获取表单数据',
- detail: '(新增无此操作)',
- bgcColor: '#F8F2FC',
- isUserDefined: false,
- nodeInfo: { processEvent: [] },
- },
- ],
- 2: [
- {
- color: '#F8625C',
- icon: '#icon-jiazai',
- text: '加载表单',
- bgcColor: '#FFF1F1',
- isUserDefined: false,
- nodeInfo: { processEvent: [] },
- },
- ],
- 3: [
- {
- color: '#6C6AE0',
- icon: '#icon-jsontijiao',
- text: '提交表单',
- bgcColor: '#F5F4FF',
- isUserDefined: false,
- nodeInfo: { processEvent: [] },
- },
- ],
- 4: [
- {
- type: 'circle',
- color: '#F8625C',
- text: '结束节点',
- icon: '#icon-jieshuzhiliao',
- bgcColor: '#FFD6D6',
- isLast: true,
- isUserDefined: false,
- },
- ],
+ 0: [
+ {
+ type: 'circle',
+ color: '#2774ff',
+ text: '开始节点',
+ icon: '#icon-kaishi',
+ bgcColor: '#D8E5FF',
+ isUserDefined: false
+ },
+ {
+ color: '#F6AB01',
+ icon: '#icon-chushihua',
+ text: '初始化表单',
+ bgcColor: '#f9f5ea',
+ isUserDefined: false,
+ nodeInfo: { processEvent: [] }
+ }
+ ],
+ 1: [
+ {
+ color: '#B36EDB',
+ icon: '#icon-shujufenxi',
+ text: '获取表单数据',
+ detail: '(新增无此操作)',
+ bgcColor: '#F8F2FC',
+ isUserDefined: false,
+ nodeInfo: { processEvent: [] }
+ }
+ ],
+ 2: [
+ {
+ color: '#F8625C',
+ icon: '#icon-jiazai',
+ text: '加载表单',
+ bgcColor: '#FFF1F1',
+ isUserDefined: false,
+ nodeInfo: { processEvent: [] }
+ }
+ ],
+ 3: [
+ {
+ color: '#6C6AE0',
+ icon: '#icon-jsontijiao',
+ text: '提交表单',
+ bgcColor: '#F5F4FF',
+ isUserDefined: false,
+ nodeInfo: { processEvent: [] }
+ }
+ ],
+ 4: [
+ {
+ type: 'circle',
+ color: '#F8625C',
+ text: '结束节点',
+ icon: '#icon-jieshuzhiliao',
+ bgcColor: '#FFD6D6',
+ isLast: true,
+ isUserDefined: false
+ }
+ ]
};
export const formProps: FormProps = {
- labelCol: { span: 3, offset: 0 },
- labelAlign: 'right',
- layout: 'horizontal',
- size: 'default',
- schemas: [
- {
- key: '216e1018f11a4d4aa5ad0879dd4d8209',
- field: 'code',
- label: '编码',
- type: 'input',
- component: 'Input',
- colProps: { span: 24 },
- defaultValue: '',
- componentProps: {
- width: '100%',
- span: '',
- defaultValue: '',
- labelWidthMode: 'fix',
- labelFixWidth: 120,
- responsive: false,
- respNewRow: false,
- placeholder: '请输入编码',
- prefix: '',
- suffix: '',
- addonBefore: '',
- addonAfter: '',
- disabled: false,
- allowClear: true,
- showLabel: true,
- required: true,
- rules: [],
- events: {},
- isSave: false,
- isShow: true,
- scan: false,
- style: { width: '100%' },
- },
- },
- {
- key: '6074c6c1ac8b4f528fa421f8464e6e73',
- field: 'fullName',
- label: '名称',
- type: 'input',
- component: 'Input',
- colProps: { span: 24 },
- defaultValue: '',
- componentProps: {
- width: '100%',
- span: '',
- defaultValue: '',
- labelWidthMode: 'fix',
- labelFixWidth: 120,
- responsive: false,
- respNewRow: false,
- placeholder: '请输入名称',
- prefix: '',
- suffix: '',
- addonBefore: '',
- addonAfter: '',
- disabled: false,
- allowClear: true,
- showLabel: true,
- required: true,
- rules: [],
- events: {},
- isSave: false,
- isShow: true,
- scan: false,
- style: { width: '100%' },
- },
- },
- {
- key: '477dc52fa33b402f94146203c9ffcdc7',
- field: 'localSign',
- label: '是否本币',
- type: 'select',
- component: 'XjrSelect',
- colProps: { span: 24 },
- componentProps: {
- width: '100%',
- span: '',
- labelWidthMode: 'fix',
- labelFixWidth: 120,
- responsive: false,
- respNewRow: false,
- placeholder: '请选择是否本币',
- sepTextField: '',
- showLabel: true,
- showSearch: false,
- clearable: false,
- disabled: false,
- mode: '',
- 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' },
- ],
- datasourceType: 'dic',
- params: { itemId: '1978056598125330433' },
- labelField: 'name',
- valueField: 'value',
- apiConfig: {
- path: 'CodeGeneration/selection',
- method: 'GET',
- apiId: '93d735dcb7364a0f8102188ec4d77ac7',
+ labelCol: { span: 3, offset: 0 },
+ labelAlign: 'right',
+ layout: 'horizontal',
+ size: 'default',
+ schemas: [
+ {
+ key: '216e1018f11a4d4aa5ad0879dd4d8209',
+ field: 'code',
+ label: '编码',
+ type: 'input',
+ component: 'Input',
+ colProps: { span: 24 },
+ defaultValue: '',
+ componentProps: {
+ width: '100%',
+ span: '',
+ defaultValue: '',
+ labelWidthMode: 'fix',
+ labelFixWidth: 120,
+ responsive: false,
+ respNewRow: false,
+ placeholder: '请输入编码',
+ prefix: '',
+ suffix: '',
+ addonBefore: '',
+ addonAfter: '',
+ disabled: false,
+ allowClear: true,
+ showLabel: true,
+ required: true,
+ rules: [],
+ events: {},
+ isSave: false,
+ isShow: true,
+ scan: false,
+ style: { width: '100%' }
+ }
},
- dicOptions: [],
- required: true,
- rules: [],
- events: {},
- isShow: true,
- itemId: '1978056598125330433',
- style: { width: '100%' },
- },
- },
- {
- key: '7940a5fbdf024f44b18d063c2023ee46',
- field: 'valid',
- label: '有效标志',
- type: 'select',
- component: 'XjrSelect',
- colProps: { span: 24 },
- componentProps: {
- width: '100%',
- span: '',
- labelWidthMode: 'fix',
- labelFixWidth: 120,
- responsive: false,
- respNewRow: false,
- placeholder: '请选择有效标志',
- sepTextField: '',
- showLabel: true,
- showSearch: false,
- clearable: false,
- disabled: true,
- mode: '',
- 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' },
- ],
- datasourceType: 'dic',
- params: { itemId: '1978057078528327681' },
- labelField: 'name',
- valueField: 'value',
- apiConfig: {
- path: 'CodeGeneration/selection',
- method: 'GET',
- apiId: '93d735dcb7364a0f8102188ec4d77ac7',
+ {
+ key: '6074c6c1ac8b4f528fa421f8464e6e73',
+ field: 'fullName',
+ label: '名称',
+ type: 'input',
+ component: 'Input',
+ colProps: { span: 24 },
+ defaultValue: '',
+ componentProps: {
+ width: '100%',
+ span: '',
+ defaultValue: '',
+ labelWidthMode: 'fix',
+ labelFixWidth: 120,
+ responsive: false,
+ respNewRow: false,
+ placeholder: '请输入名称',
+ prefix: '',
+ suffix: '',
+ addonBefore: '',
+ addonAfter: '',
+ disabled: false,
+ allowClear: true,
+ showLabel: true,
+ required: true,
+ rules: [],
+ events: {},
+ isSave: false,
+ isShow: true,
+ scan: false,
+ style: { width: '100%' }
+ }
},
- dicOptions: [],
- required: false,
- rules: [],
- events: {},
- isShow: true,
- itemId: '1978057078528327681',
- style: { width: '100%' },
- },
- },
- {
- key: '45d20cfa03a747b2a1e1ebb0cb8198c5',
- field: 'note',
- label: '备注',
- type: 'textarea',
- component: 'InputTextArea',
- colProps: { span: 24 },
- defaultValue: '',
- componentProps: {
- width: '100%',
- span: '',
- defaultValue: '',
- labelWidthMode: 'fix',
- labelFixWidth: 120,
- responsive: false,
- respNewRow: true,
- placeholder: '请输入备注',
- maxlength: 400,
- rows: 4,
- autoSize: false,
- showCount: true,
- disabled: false,
- showLabel: true,
- allowClear: false,
- required: false,
- isShow: true,
- rules: [],
- events: {},
- style: { width: '100%' },
- },
- },
- ],
- showActionButtonGroup: false,
- buttonLocation: 'center',
- actionColOptions: { span: 24 },
- showResetButton: false,
- showSubmitButton: false,
- hiddenComponent: [],
-};
\ No newline at end of file
+ {
+ key: '477dc52fa33b402f94146203c9ffcdc7',
+ field: 'localSign',
+ label: '是否本币',
+ type: 'select',
+ component: 'XjrSelect',
+ colProps: { span: 24 },
+ componentProps: {
+ width: '100%',
+ span: '',
+ labelWidthMode: 'fix',
+ labelFixWidth: 120,
+ responsive: false,
+ respNewRow: false,
+ placeholder: '请选择是否本币',
+ sepTextField: '',
+ showLabel: true,
+ showSearch: false,
+ clearable: false,
+ disabled: false,
+ mode: '',
+ 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' }
+ ],
+ datasourceType: 'dic',
+ params: { itemId: '1978056598125330433' },
+ labelField: 'name',
+ valueField: 'value',
+ apiConfig: {
+ path: 'CodeGeneration/selection',
+ method: 'GET',
+ apiId: '93d735dcb7364a0f8102188ec4d77ac7'
+ },
+ dicOptions: [],
+ required: true,
+ rules: [],
+ events: {},
+ isShow: true,
+ itemId: '1978056598125330433',
+ style: { width: '100%' }
+ }
+ },
+ {
+ key: '7940a5fbdf024f44b18d063c2023ee46',
+ field: 'valid',
+ label: '有效标志',
+ type: 'select',
+ component: 'XjrSelect',
+ colProps: { span: 24 },
+ componentProps: {
+ width: '100%',
+ span: '',
+ labelWidthMode: 'fix',
+ labelFixWidth: 120,
+ responsive: false,
+ respNewRow: false,
+ placeholder: '请选择有效标志',
+ sepTextField: '',
+ showLabel: true,
+ showSearch: false,
+ clearable: false,
+ disabled: true,
+ defaultSelect: 'Y',
+ 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' }
+ ],
+ datasourceType: 'dic',
+ params: { itemId: '1978057078528327681' },
+ labelField: 'name',
+ valueField: 'value',
+ apiConfig: {
+ path: 'CodeGeneration/selection',
+ method: 'GET',
+ apiId: '93d735dcb7364a0f8102188ec4d77ac7'
+ },
+ dicOptions: [],
+ required: false,
+ rules: [],
+ events: {},
+ isShow: true,
+ itemId: '1978057078528327681',
+ style: { width: '100%' }
+ }
+ },
+ {
+ key: '45d20cfa03a747b2a1e1ebb0cb8198c5',
+ field: 'note',
+ label: '备注',
+ type: 'textarea',
+ component: 'InputTextArea',
+ colProps: { span: 24 },
+ defaultValue: '',
+ componentProps: {
+ width: '100%',
+ span: '',
+ defaultValue: '',
+ labelWidthMode: 'fix',
+ labelFixWidth: 120,
+ responsive: false,
+ respNewRow: true,
+ placeholder: '请输入备注',
+ maxlength: 400,
+ rows: 4,
+ autoSize: false,
+ showCount: true,
+ disabled: false,
+ showLabel: true,
+ allowClear: false,
+ required: false,
+ isShow: true,
+ rules: [],
+ events: {},
+ style: { width: '100%' }
+ }
+ }
+ ],
+ showActionButtonGroup: false,
+ buttonLocation: 'center',
+ actionColOptions: { span: 24 },
+ showResetButton: false,
+ showSubmitButton: false,
+ hiddenComponent: []
+};
diff --git a/src/views/mdm/Currency/index.vue b/src/views/mdm/Currency/index.vue
index 56f6053..3b243d2 100644
--- a/src/views/mdm/Currency/index.vue
+++ b/src/views/mdm/Currency/index.vue
@@ -1,356 +1,365 @@
-
-
-
-
-
-
-
- {{ button.name }}
-
-
-
- {{ button.name }}
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+ {{ button.name }}
+
+
+
+ {{ button.name }}
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
+ :deep(.ant-table-selection-col) {
+ width: 50px;
+ }
+ .show {
+ display: flex;
+ }
+ .hide {
+ display: none !important;
+ }
+
diff --git a/src/views/mdm/PriceTerms/components/config.ts b/src/views/mdm/PriceTerms/components/config.ts
index 424948a..c978857 100644
--- a/src/views/mdm/PriceTerms/components/config.ts
+++ b/src/views/mdm/PriceTerms/components/config.ts
@@ -2,424 +2,388 @@ import { FormProps, FormSchema } from '/@/components/Form';
import { BasicColumn } from '/@/components/Table';
export const formConfig = {
- useCustomConfig: false,
+ useCustomConfig: false
};
export const searchFormSchema: FormSchema[] = [
- {
- field: 'fullName',
- label: '名称',
- component: 'Input',
- },
- {
- field: 'valid',
- label: '有效标志',
- component: 'XjrSelect',
- componentProps: {
- datasourceType: 'dic',
- params: { itemId: '1978057078528327681' },
- labelField: 'name',
- valueField: 'value',
-
- getPopupContainer: () => document.body,
+ {
+ field: 'fullName',
+ label: '名称',
+ component: 'Input'
},
- },
- {
- field: 'code',
- label: '编码',
- component: 'Input',
- },
- {
- field: 'freightSign',
- label: '是否承担运费',
- component: 'XjrSelect',
- componentProps: {
- datasourceType: 'dic',
- params: { itemId: '1978056598125330433' },
- labelField: 'name',
- valueField: 'value',
+ {
+ field: 'valid',
+ label: '有效标志',
+ component: 'XjrSelect',
+ componentProps: {
+ datasourceType: 'dic',
+ params: { itemId: '1978057078528327681' },
+ labelField: 'name',
+ valueField: 'value',
- getPopupContainer: () => document.body,
- },
- },
- {
- field: 'insuranceSign',
- label: '是否承担保险',
- component: 'XjrSelect',
- componentProps: {
- datasourceType: 'dic',
- params: { itemId: '1978056598125330433' },
- labelField: 'name',
- valueField: 'value',
-
- getPopupContainer: () => document.body,
- },
- },
- {
- field: 'note',
- label: '备注',
- component: 'Input',
- },
+ getPopupContainer: () => document.body
+ }
+ }
];
export const columns: BasicColumn[] = [
- {
- dataIndex: 'code',
- title: '编码',
- componentType: 'input',
- align: 'left',
+ {
+ dataIndex: 'code',
+ title: '编码',
+ componentType: 'input',
+ align: 'left',
- sorter: true,
- },
+ sorter: true
+ },
- {
- dataIndex: 'fullName',
- title: '名称',
- componentType: 'input',
- align: 'left',
+ {
+ dataIndex: 'fullName',
+ title: '名称',
+ componentType: 'input',
+ align: 'left',
- sorter: true,
- },
+ sorter: true
+ },
- {
- dataIndex: 'freightSign',
- title: '是否承担运费',
- componentType: 'select',
- align: 'left',
+ {
+ dataIndex: 'freightSign',
+ title: '是否承担运费',
+ componentType: 'select',
+ align: 'left',
- sorter: true,
- },
+ sorter: true
+ },
- {
- dataIndex: 'insuranceSign',
- title: '是否承担保险',
- componentType: 'select',
- align: 'left',
+ {
+ dataIndex: 'insuranceSign',
+ title: '是否承担保险',
+ componentType: 'select',
+ align: 'left',
- sorter: true,
- },
+ sorter: true
+ },
- {
- dataIndex: 'valid',
- title: '有效标志',
- componentType: 'select',
- align: 'left',
+ {
+ dataIndex: 'valid',
+ title: '有效标志',
+ componentType: 'select',
+ align: 'left',
- sorter: true,
- },
+ sorter: true
+ },
- {
- dataIndex: 'note',
- title: '备注',
- componentType: 'textarea',
- align: 'left',
+ {
+ dataIndex: 'note',
+ title: '备注',
+ componentType: 'textarea',
+ align: 'left',
- sorter: true,
- },
+ sorter: true
+ }
];
//表单事件
export const formEventConfigs = {
- 0: [
- {
- type: 'circle',
- color: '#2774ff',
- text: '开始节点',
- icon: '#icon-kaishi',
- bgcColor: '#D8E5FF',
- isUserDefined: false,
- },
- {
- color: '#F6AB01',
- icon: '#icon-chushihua',
- text: '初始化表单',
- bgcColor: '#f9f5ea',
- isUserDefined: false,
- nodeInfo: { processEvent: [] },
- },
- ],
- 1: [
- {
- color: '#B36EDB',
- icon: '#icon-shujufenxi',
- text: '获取表单数据',
- detail: '(新增无此操作)',
- bgcColor: '#F8F2FC',
- isUserDefined: false,
- nodeInfo: { processEvent: [] },
- },
- ],
- 2: [
- {
- color: '#F8625C',
- icon: '#icon-jiazai',
- text: '加载表单',
- bgcColor: '#FFF1F1',
- isUserDefined: false,
- nodeInfo: { processEvent: [] },
- },
- ],
- 3: [
- {
- color: '#6C6AE0',
- icon: '#icon-jsontijiao',
- text: '提交表单',
- bgcColor: '#F5F4FF',
- isUserDefined: false,
- nodeInfo: { processEvent: [] },
- },
- ],
- 4: [
- {
- type: 'circle',
- color: '#F8625C',
- text: '结束节点',
- icon: '#icon-jieshuzhiliao',
- bgcColor: '#FFD6D6',
- isLast: true,
- isUserDefined: false,
- },
- ],
+ 0: [
+ {
+ type: 'circle',
+ color: '#2774ff',
+ text: '开始节点',
+ icon: '#icon-kaishi',
+ bgcColor: '#D8E5FF',
+ isUserDefined: false
+ },
+ {
+ color: '#F6AB01',
+ icon: '#icon-chushihua',
+ text: '初始化表单',
+ bgcColor: '#f9f5ea',
+ isUserDefined: false,
+ nodeInfo: { processEvent: [] }
+ }
+ ],
+ 1: [
+ {
+ color: '#B36EDB',
+ icon: '#icon-shujufenxi',
+ text: '获取表单数据',
+ detail: '(新增无此操作)',
+ bgcColor: '#F8F2FC',
+ isUserDefined: false,
+ nodeInfo: { processEvent: [] }
+ }
+ ],
+ 2: [
+ {
+ color: '#F8625C',
+ icon: '#icon-jiazai',
+ text: '加载表单',
+ bgcColor: '#FFF1F1',
+ isUserDefined: false,
+ nodeInfo: { processEvent: [] }
+ }
+ ],
+ 3: [
+ {
+ color: '#6C6AE0',
+ icon: '#icon-jsontijiao',
+ text: '提交表单',
+ bgcColor: '#F5F4FF',
+ isUserDefined: false,
+ nodeInfo: { processEvent: [] }
+ }
+ ],
+ 4: [
+ {
+ type: 'circle',
+ color: '#F8625C',
+ text: '结束节点',
+ icon: '#icon-jieshuzhiliao',
+ bgcColor: '#FFD6D6',
+ isLast: true,
+ isUserDefined: false
+ }
+ ]
};
export const formProps: FormProps = {
- labelCol: { span: 3, offset: 0 },
- labelAlign: 'right',
- layout: 'horizontal',
- size: 'default',
- schemas: [
- {
- key: 'e5b395b24d214214a16951d8df4e2004',
- field: 'code',
- label: '编码',
- type: 'input',
- component: 'Input',
- colProps: { span: 24 },
- defaultValue: '',
- componentProps: {
- width: '100%',
- span: '',
- defaultValue: '',
- labelWidthMode: 'fix',
- labelFixWidth: 120,
- responsive: false,
- respNewRow: false,
- placeholder: '请输入编码',
- prefix: '',
- suffix: '',
- addonBefore: '',
- addonAfter: '',
- disabled: false,
- allowClear: false,
- showLabel: true,
- required: true,
- rules: [],
- events: {},
- isSave: false,
- isShow: true,
- scan: false,
- style: { width: '100%' },
- },
- },
- {
- key: '86536f9d2e8c473b8821c9216c765c9c',
- field: 'fullName',
- label: '名称',
- type: 'input',
- component: 'Input',
- colProps: { span: 24 },
- defaultValue: '',
- componentProps: {
- width: '100%',
- span: '',
- defaultValue: '',
- labelWidthMode: 'fix',
- labelFixWidth: 120,
- responsive: false,
- respNewRow: false,
- placeholder: '请输入名称',
- prefix: '',
- suffix: '',
- addonBefore: '',
- addonAfter: '',
- disabled: false,
- allowClear: false,
- showLabel: true,
- required: true,
- rules: [],
- events: {},
- isSave: false,
- isShow: true,
- scan: false,
- style: { width: '100%' },
- },
- },
- {
- key: '38c7f7488fe24254a1a939fa9b445657',
- field: 'freightSign',
- label: '是否承担运费',
- type: 'select',
- component: 'XjrSelect',
- colProps: { span: 24 },
- componentProps: {
- width: '100%',
- span: '',
- labelWidthMode: 'fix',
- labelFixWidth: 120,
- responsive: false,
- respNewRow: false,
- placeholder: '请选择是否承担运费',
- sepTextField: '',
- showLabel: true,
- showSearch: false,
- clearable: false,
- disabled: false,
- mode: '',
- 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' },
- ],
- datasourceType: 'dic',
- params: { itemId: '1978056598125330433' },
- labelField: 'name',
- valueField: 'value',
- apiConfig: {
- path: 'CodeGeneration/selection',
- method: 'GET',
- apiId: '93d735dcb7364a0f8102188ec4d77ac7',
+ labelCol: { span: 3, offset: 0 },
+ labelAlign: 'right',
+ layout: 'horizontal',
+ size: 'default',
+ schemas: [
+ {
+ key: 'e5b395b24d214214a16951d8df4e2004',
+ field: 'code',
+ label: '编码',
+ type: 'input',
+ component: 'Input',
+ colProps: { span: 24 },
+ defaultValue: '',
+ componentProps: {
+ width: '100%',
+ span: '',
+ defaultValue: '',
+ labelWidthMode: 'fix',
+ labelFixWidth: 120,
+ responsive: false,
+ respNewRow: false,
+ placeholder: '请输入编码',
+ prefix: '',
+ suffix: '',
+ addonBefore: '',
+ addonAfter: '',
+ disabled: false,
+ allowClear: false,
+ showLabel: true,
+ required: true,
+ rules: [],
+ events: {},
+ isSave: false,
+ isShow: true,
+ scan: false,
+ style: { width: '100%' }
+ }
},
- dicOptions: [],
- required: true,
- rules: [],
- events: {},
- isShow: true,
- itemId: '1978056598125330433',
- style: { width: '100%' },
- },
- },
- {
- key: '10bfa57236b74a5f9a680e9bc5861d55',
- field: 'insuranceSign',
- label: '是否承担保险',
- type: 'select',
- component: 'XjrSelect',
- colProps: { span: 24 },
- componentProps: {
- width: '100%',
- span: '',
- labelWidthMode: 'fix',
- labelFixWidth: 120,
- responsive: false,
- respNewRow: false,
- placeholder: '请选择是否承担保险',
- sepTextField: '',
- showLabel: true,
- showSearch: false,
- clearable: false,
- disabled: false,
- mode: '',
- 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' },
- ],
- datasourceType: 'dic',
- params: { itemId: '1978056598125330433' },
- labelField: 'name',
- valueField: 'value',
- apiConfig: {
- path: 'CodeGeneration/selection',
- method: 'GET',
- apiId: '93d735dcb7364a0f8102188ec4d77ac7',
+ {
+ key: '86536f9d2e8c473b8821c9216c765c9c',
+ field: 'fullName',
+ label: '名称',
+ type: 'input',
+ component: 'Input',
+ colProps: { span: 24 },
+ defaultValue: '',
+ componentProps: {
+ width: '100%',
+ span: '',
+ defaultValue: '',
+ labelWidthMode: 'fix',
+ labelFixWidth: 120,
+ responsive: false,
+ respNewRow: false,
+ placeholder: '请输入名称',
+ prefix: '',
+ suffix: '',
+ addonBefore: '',
+ addonAfter: '',
+ disabled: false,
+ allowClear: false,
+ showLabel: true,
+ required: true,
+ rules: [],
+ events: {},
+ isSave: false,
+ isShow: true,
+ scan: false,
+ style: { width: '100%' }
+ }
},
- dicOptions: [],
- required: true,
- rules: [],
- events: {},
- isShow: true,
- itemId: '1978056598125330433',
- style: { width: '100%' },
- },
- },
- {
- key: 'd1feff0a3b454fa4a29c53355ab6c9cd',
- field: 'valid',
- label: '有效标志',
- type: 'select',
- component: 'XjrSelect',
- colProps: { span: 24 },
- componentProps: {
- width: '100%',
- span: '',
- labelWidthMode: 'fix',
- labelFixWidth: 120,
- responsive: false,
- respNewRow: false,
- placeholder: '请选择有效标志',
- sepTextField: '',
- showLabel: true,
- showSearch: false,
- clearable: false,
- disabled: true,
- mode: 'multiple',
- 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' },
- ],
- datasourceType: 'dic',
- params: { itemId: '1978057078528327681' },
- labelField: 'name',
- valueField: 'value',
- apiConfig: {
- path: 'CodeGeneration/selection',
- method: 'GET',
- apiId: '93d735dcb7364a0f8102188ec4d77ac7',
+ {
+ key: '38c7f7488fe24254a1a939fa9b445657',
+ field: 'freightSign',
+ label: '是否承担运费',
+ type: 'select',
+ component: 'XjrSelect',
+ colProps: { span: 24 },
+ componentProps: {
+ width: '100%',
+ span: '',
+ labelWidthMode: 'fix',
+ labelFixWidth: 120,
+ responsive: false,
+ respNewRow: false,
+ placeholder: '请选择是否承担运费',
+ sepTextField: '',
+ showLabel: true,
+ showSearch: false,
+ clearable: false,
+ disabled: false,
+ mode: '',
+ 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' }
+ ],
+ datasourceType: 'dic',
+ params: { itemId: '1978056598125330433' },
+ labelField: 'name',
+ valueField: 'value',
+ apiConfig: {
+ path: 'CodeGeneration/selection',
+ method: 'GET',
+ apiId: '93d735dcb7364a0f8102188ec4d77ac7'
+ },
+ dicOptions: [],
+ required: true,
+ rules: [],
+ events: {},
+ isShow: true,
+ itemId: '1978056598125330433',
+ style: { width: '100%' }
+ }
},
- dicOptions: [],
- required: false,
- rules: [],
- events: {},
- isShow: true,
- itemId: '1978057078528327681',
- style: { width: '100%' },
- },
- },
- {
- key: '297be674c3e84930a81ec6d92600e896',
- field: 'note',
- label: '备注',
- type: 'textarea',
- component: 'InputTextArea',
- colProps: { span: 24 },
- defaultValue: '',
- componentProps: {
- width: '100%',
- span: '',
- defaultValue: '',
- labelWidthMode: 'fix',
- labelFixWidth: 120,
- responsive: false,
- respNewRow: true,
- placeholder: '请输入备注',
- maxlength: 400,
- rows: 4,
- autoSize: false,
- showCount: true,
- disabled: false,
- showLabel: true,
- allowClear: false,
- required: false,
- isShow: true,
- rules: [],
- events: {},
- style: { width: '100%' },
- },
- },
- ],
- showActionButtonGroup: false,
- buttonLocation: 'center',
- actionColOptions: { span: 24 },
- showResetButton: false,
- showSubmitButton: false,
- hiddenComponent: [],
-};
\ No newline at end of file
+ {
+ key: '10bfa57236b74a5f9a680e9bc5861d55',
+ field: 'insuranceSign',
+ label: '是否承担保险',
+ type: 'select',
+ component: 'XjrSelect',
+ colProps: { span: 24 },
+ componentProps: {
+ width: '100%',
+ span: '',
+ labelWidthMode: 'fix',
+ labelFixWidth: 120,
+ responsive: false,
+ respNewRow: false,
+ placeholder: '请选择是否承担保险',
+ sepTextField: '',
+ showLabel: true,
+ showSearch: false,
+ clearable: false,
+ disabled: false,
+ mode: '',
+ 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' }
+ ],
+ datasourceType: 'dic',
+ params: { itemId: '1978056598125330433' },
+ labelField: 'name',
+ valueField: 'value',
+ apiConfig: {
+ path: 'CodeGeneration/selection',
+ method: 'GET',
+ apiId: '93d735dcb7364a0f8102188ec4d77ac7'
+ },
+ dicOptions: [],
+ required: true,
+ rules: [],
+ events: {},
+ isShow: true,
+ itemId: '1978056598125330433',
+ style: { width: '100%' }
+ }
+ },
+ {
+ key: 'd1feff0a3b454fa4a29c53355ab6c9cd',
+ field: 'valid',
+ label: '有效标志',
+ type: 'select',
+ component: 'XjrSelect',
+ colProps: { span: 24 },
+ componentProps: {
+ width: '100%',
+ span: '',
+ labelWidthMode: 'fix',
+ labelFixWidth: 120,
+ responsive: false,
+ respNewRow: false,
+ placeholder: '请选择有效标志',
+ sepTextField: '',
+ showLabel: true,
+ showSearch: false,
+ clearable: false,
+ disabled: true,
+ 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' }
+ ],
+ datasourceType: 'dic',
+ params: { itemId: '1978057078528327681' },
+ labelField: 'name',
+ valueField: 'value',
+ apiConfig: {
+ path: 'CodeGeneration/selection',
+ method: 'GET',
+ apiId: '93d735dcb7364a0f8102188ec4d77ac7'
+ },
+ dicOptions: [],
+ required: false,
+ rules: [],
+ events: {},
+ isShow: true,
+ itemId: '1978057078528327681',
+ defaultSelect: 'Y',
+ style: { width: '100%' }
+ }
+ },
+ {
+ key: '297be674c3e84930a81ec6d92600e896',
+ field: 'note',
+ label: '备注',
+ type: 'textarea',
+ component: 'InputTextArea',
+ colProps: { span: 24 },
+ defaultValue: '',
+ componentProps: {
+ width: '100%',
+ span: '',
+ defaultValue: '',
+ labelWidthMode: 'fix',
+ labelFixWidth: 120,
+ responsive: false,
+ respNewRow: true,
+ placeholder: '请输入备注',
+ maxlength: 400,
+ rows: 4,
+ autoSize: false,
+ showCount: true,
+ disabled: false,
+ showLabel: true,
+ allowClear: false,
+ required: false,
+ isShow: true,
+ rules: [],
+ events: {},
+ style: { width: '100%' }
+ }
+ }
+ ],
+ showActionButtonGroup: false,
+ buttonLocation: 'center',
+ actionColOptions: { span: 24 },
+ showResetButton: false,
+ showSubmitButton: false,
+ hiddenComponent: []
+};
diff --git a/src/views/mdm/PriceTerms/index.vue b/src/views/mdm/PriceTerms/index.vue
index d110b3f..5a10677 100644
--- a/src/views/mdm/PriceTerms/index.vue
+++ b/src/views/mdm/PriceTerms/index.vue
@@ -1,356 +1,361 @@
-
-
-
-
-
-
-
- {{ button.name }}
-
-
-
- {{ button.name }}
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+ {{ button.name }}
+
+
+
+ {{ button.name }}
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
+ :deep(.ant-table-selection-col) {
+ width: 50px;
+ }
+ .show {
+ display: flex;
+ }
+ .hide {
+ display: none !important;
+ }
+