Commit f893bed0 by sunhaiwei

合金标准页面动态生成客户标准和内控标准

parent 4df3fc1e
......@@ -538,7 +538,7 @@ export const formProps: FormProps = {
suffix: '',
addonBefore: '',
addonAfter: '',
disabled: false,
disabled: true,
allowClear: false,
showLabel: true,
required: false,
......@@ -556,7 +556,7 @@ export const formProps: FormProps = {
},
{
key: '98af38feed0f417f9c9a1a899720ec06',
title: '客户标准上限',
title: '客户标准上限(%)',
dataIndex: 'customerUpperLimit',
componentType: 'Input',
defaultValue: '',
......@@ -572,9 +572,12 @@ export const formProps: FormProps = {
disabled: false,
allowClear: false,
showLabel: true,
required: false,
required: true,
rules: [],
events: {},
events: {
change:
'const list = formModel[\'mesAlloyStandardDetailsList\'];\nif (list && list.length > 0) {\n for (let i=0; i < list.length; i++) {\n if (list[i].customerUpperLimit && \t\t\tlist[i].customerLowerLimit) { \t\t\t list[i].customerStandard=list[i].customerLowerLimit+"~"+list[i].customerUpperLimit\n}\n }\n}\n\n \n',
},
listStyle: '',
isSave: false,
isShow: true,
......@@ -586,7 +589,7 @@ export const formProps: FormProps = {
},
{
key: 'acb300ec5c0f4ca9b7b91b250f668800',
title: '客户标准下限',
title: '客户标准下限(%)',
dataIndex: 'customerLowerLimit',
componentType: 'Input',
defaultValue: '',
......@@ -602,9 +605,12 @@ export const formProps: FormProps = {
disabled: false,
allowClear: false,
showLabel: true,
required: false,
required: true,
rules: [],
events: {},
events: {
change:
'const list = formModel[\'mesAlloyStandardDetailsList\'];\nif (list && list.length > 0) {\n for (let i=0; i < list.length; i++) {\n if (list[i].customerUpperLimit && \t\t\tlist[i].customerLowerLimit) { \t\t\t list[i].customerStandard=list[i].customerLowerLimit+"~"+list[i].customerUpperLimit\n}\n }\n}\n\n \n',
},
listStyle: '',
isSave: false,
isShow: true,
......@@ -629,7 +635,7 @@ export const formProps: FormProps = {
suffix: '',
addonBefore: '',
addonAfter: '',
disabled: false,
disabled: true,
allowClear: false,
showLabel: true,
required: false,
......@@ -646,7 +652,7 @@ export const formProps: FormProps = {
},
{
key: 'eadf6efef4094aa080eead40c9eaa177',
title: '内控标准上限',
title: '内控标准上限(%)',
dataIndex: 'internalUpperLimit',
componentType: 'Input',
defaultValue: '',
......@@ -662,9 +668,12 @@ export const formProps: FormProps = {
disabled: false,
allowClear: false,
showLabel: true,
required: false,
required: true,
rules: [],
events: {},
events: {
change:
'const list = formModel[\'mesAlloyStandardDetailsList\'];\nif (list && list.length > 0) {\n for (let i=0; i < list.length; i++) {\n if (list[i].internalUpperLimit && \t\t\tlist[i].internalLowerLimit) { \t\t\t list[i].internalStandard=list[i].internalLowerLimit+"~"+list[i].internalUpperLimit\n}\n }\n}\n',
},
listStyle: '',
isSave: false,
isShow: true,
......@@ -676,7 +685,7 @@ export const formProps: FormProps = {
},
{
key: '53085afd908a493f859852a6b02d517c',
title: '内控标准下限',
title: '内控标准下限(%)',
dataIndex: 'internalLowerLimit',
componentType: 'Input',
defaultValue: '',
......@@ -692,9 +701,12 @@ export const formProps: FormProps = {
disabled: false,
allowClear: false,
showLabel: true,
required: false,
required: true,
rules: [],
events: {},
events: {
change:
'const list = formModel[\'mesAlloyStandardDetailsList\'];\nif (list && list.length > 0) {\n for (let i=0; i < list.length; i++) {\n if (list[i].internalUpperLimit && \t\t\tlist[i].internalLowerLimit) { \t\t\t list[i].internalStandard=list[i].internalLowerLimit+"~"+list[i].internalUpperLimit\n}\n }\n}\n',
},
listStyle: '',
isSave: false,
isShow: true,
......
......@@ -150,7 +150,7 @@ export const permissionList = [
isSaveTable: false,
showChildren: false,
tableName: 'mesAlloyStandardDetailsList',
fieldName: '客户标准上限',
fieldName: '客户标准上限(%)',
fieldId: 'customerUpperLimit',
type: 'Input',
key: '98af38feed0f417f9c9a1a899720ec06',
......@@ -165,7 +165,7 @@ export const permissionList = [
isSaveTable: false,
showChildren: false,
tableName: 'mesAlloyStandardDetailsList',
fieldName: '客户标准下限',
fieldName: '客户标准下限(%)',
fieldId: 'customerLowerLimit',
type: 'Input',
key: 'acb300ec5c0f4ca9b7b91b250f668800',
......@@ -195,7 +195,7 @@ export const permissionList = [
isSaveTable: false,
showChildren: false,
tableName: 'mesAlloyStandardDetailsList',
fieldName: '内控标准上限',
fieldName: '内控标准上限(%)',
fieldId: 'internalUpperLimit',
type: 'Input',
key: 'eadf6efef4094aa080eead40c9eaa177',
......@@ -210,7 +210,7 @@ export const permissionList = [
isSaveTable: false,
showChildren: false,
tableName: 'mesAlloyStandardDetailsList',
fieldName: '内控标准下限',
fieldName: '内控标准下限(%)',
fieldId: 'internalLowerLimit',
type: 'Input',
key: '53085afd908a493f859852a6b02d517c',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment