| | |
| | | { |
| | | "appId": "202108312122504607B107A83F55B40C98CCF", |
| | | "appkey": "20210831212235413F287EC3BF489424496C8", |
| | | "appId": "201912040924165801464FF1788654BC5AC73", |
| | | "appkey": "20191106103859640976D6E924E464D029CF0", |
| | | "mainSystemApi": "http://sso.mk9h.cn/cloud/webapi/dostars", |
| | | "systemType": "", |
| | | "externalDatabase": "", |
| | | "lineColor": "red", |
| | | "lineColor": "", |
| | | "filter": "false", |
| | | "defaultApp": "retail_pad", |
| | | "defaultApp": "mk", |
| | | "defaultLang": "zh-CN", |
| | | "WXAppID": "", |
| | | "WXminiAppID": "", |
| | |
| | | "transfer": "false", |
| | | "keepPassword": "true", |
| | | "platforms": ["H5", "wechat", "android", "ios", "wxMiniProgram"], |
| | | "host": "http://demo.mk9h.cn", |
| | | "service": "erp_new/" |
| | | "host": "http://qingqiumarket.cn", |
| | | "service": "MKWMS/" |
| | | } |
| | |
| | | right: -30px; |
| | | font-size: 16px; |
| | | } |
| | | .page-card { |
| | | line-height: 55px; |
| | | } |
| | | } |
| | | .ant-pagination { |
| | | float: right; |
| | | margin: 10px; |
| | | } |
| | | |
| | | .model-menu-action-list { |
| | | .page-card { |
| | | line-height: 55px; |
| | | } |
| | | } |
| | | .normal-pagination { |
| | | .am-button::before { |
| | |
| | | this.actionFormRef.handleConfirm().then(btn => { |
| | | _actionlist = _actionlist.filter(item => !item.origin || item.uuid === btn.uuid) |
| | | |
| | | if ((btn.OpenType === 'excelIn' || btn.OpenType === 'excelOut') && (!btn.verify || !btn.verify.columns) && config.subtype === 'basetable') { |
| | | if ((btn.OpenType === 'excelIn' || btn.OpenType === 'excelOut') && (!btn.verify || !btn.verify.columns) && (config.subtype === 'basetable' || config.subtype === 'normaltable')) { |
| | | let columns = [] |
| | | let maps = [] |
| | | |
| | | if (btn.OpenType === 'excelOut') { |
| | | config.cols.forEach(item => { |
| | | if (!item.field || item.Hide === 'true') return |
| | | |
| | | let pushcol = (item) => { |
| | | let cell = { |
| | | Column: item.field, |
| | | Text: item.label, |
| | |
| | | } |
| | | |
| | | columns.push(cell) |
| | | } |
| | | |
| | | config.cols.forEach(item => { |
| | | if (item.type === 'colspan' && config.subtype === 'normaltable') { |
| | | item.subcols.forEach(cell => { |
| | | if (!cell.field || cell.Hide === 'true' || maps.includes(cell.field)) return |
| | | maps.push(cell.field) |
| | | |
| | | pushcol(cell) |
| | | }) |
| | | } |
| | | |
| | | if (!item.field || item.Hide === 'true' || maps.includes(item.field)) return |
| | | maps.push(item.field) |
| | | |
| | | pushcol(item) |
| | | }) |
| | | |
| | | btn.verify = btn.verify || {enable: 'false', dataType: 'default', scripts: []} |
| | | btn.verify.columns = columns |
| | | } else { |
| | | config.cols.forEach(item => { |
| | | if (!item.field || item.Hide === 'true') return |
| | | |
| | | let pushcol = (item) => { |
| | | let _type = 'Nvarchar(50)' |
| | | let _limit = '50' |
| | | if (item.type === 'number' && !item.decimal) { |
| | |
| | | } |
| | | |
| | | columns.push(_cell) |
| | | } |
| | | |
| | | config.cols.forEach(item => { |
| | | if (item.type === 'colspan' && config.subtype === 'normaltable') { |
| | | item.subcols.forEach(cell => { |
| | | if (!cell.field || cell.Hide === 'true' || maps.includes(cell.field)) return |
| | | maps.push(cell.field) |
| | | |
| | | pushcol(cell) |
| | | }) |
| | | } |
| | | |
| | | if (!item.field || item.Hide === 'true' || maps.includes(item.field)) return |
| | | maps.push(item.field) |
| | | |
| | | pushcol(item) |
| | | }) |
| | | |
| | | btn.verify = btn.verify || {sheet: 'Sheet1', default: 'true', range: 1, scripts: [], uniques: []} |
| | |
| | | } |
| | | |
| | | card.action.forEach(cell => { |
| | | if (cell.hidden === 'true') return |
| | | if (cell.hidden === 'true' || cell.origin) return |
| | | if (cell.OpenType === 'pop' || (cell.OpenType === 'funcbutton' && cell.execMode === 'pop')) { |
| | | if (!cell.modal || cell.modal.fields.length === 0) { |
| | | card.errors.push({ level: 0, detail: `按钮“${cell.label}”中表单尚未添加`}) |
| | |
| | | min-height: 55px; |
| | | } |
| | | } |
| | | .model-menu-action-list:not(.length0):not(.length1):not(.length2):not(.length3):not(.length4):not(.length5):not(.length6):not(.length7):not(.length8):not(.length9) { |
| | | margin-bottom: 20px; |
| | | } |
| | | |
| | | .ant-btn.mk-link { |
| | | padding: 0; |
| | |
| | | |
| | | let _group = config.subcards[0] |
| | | |
| | | if (_data && config.wrap.statusControl && _data[config.wrap.statusControl]) { |
| | | let _status = _data[config.wrap.statusControl] |
| | | if (_data && config.wrap.statusControl && _data[config.wrap.statusControl] !== undefined) { |
| | | let _status = _data[config.wrap.statusControl] + '' |
| | | |
| | | let _groups = config.subcards.filter(item => item.setting.status === _status)[0] |
| | | _group = _groups || _group |
| | |
| | | |
| | | _data.$$uuid = _data[config.setting.primaryKey] || '' |
| | | |
| | | if (config.wrap.statusControl && _data[config.wrap.statusControl]) { |
| | | let _status = _data[config.wrap.statusControl] |
| | | if (config.wrap.statusControl && _data[config.wrap.statusControl] !== undefined) { |
| | | let _status = _data[config.wrap.statusControl] + '' |
| | | let _groups = config.subcards.filter(item => item.setting.status === _status)[0] |
| | | _group = _groups || _group |
| | | } |
| | |
| | | _group = config.subcards[0] |
| | | } |
| | | |
| | | if (config.wrap.statusControl && _data[config.wrap.statusControl]) { |
| | | let _status = _data[config.wrap.statusControl] |
| | | if (config.wrap.statusControl && _data[config.wrap.statusControl] !== undefined) { |
| | | let _status = _data[config.wrap.statusControl] + '' |
| | | let _groups = config.subcards.filter(item => item.setting.status === _status)[0] |
| | | _group = _groups || _group |
| | | } |
| | |
| | | |
| | | btnconfig.fields.forEach(item => { |
| | | if (!item.field) return |
| | | |
| | | let _item = { |
| | | key: item.field, |
| | | readin: item.readin !== 'false' && item.readin !== 'top', |
| | | fieldlen: item.fieldlength || 50, |
| | | writein: item.writein !== 'false', |
| | | type: item.type |
| | | type: item.type, |
| | | value: item.initval |
| | | } |
| | | |
| | | let _initval = item.initval |
| | | let key = item.field.toLowerCase() |
| | | let _readin = item.readin !== 'false' |
| | | let _format = item.precision || 'day' // 时间格式化 |
| | | |
| | | if (item.type === 'funcvar') { |
| | | _initval = '' |
| | | _readin = false |
| | | _item.readin = false |
| | | } else if (item.type === 'linkMain') { |
| | | _readin = false |
| | | _item.readin = false |
| | | } else if (item.type === 'date') { |
| | | if (_format !== 'day') { |
| | | _format = 'YYYY-MM-DD HH:mm:ss' |
| | | } else { |
| | | _format = 'YYYY-MM-DD' |
| | | } |
| | | } else if (item.type === 'datetime') { |
| | | if (_item.type === 'date') { // 时间兼容 |
| | | _item.precision = item.precision || 'day' |
| | | } else if (_item.type === 'datetime') { |
| | | _item.type = 'date' |
| | | _format = 'YYYY-MM-DD HH:mm:ss' |
| | | } else if (['select', 'link', 'radio'].includes(item.type)) { // 选中第一项 |
| | | if (typeof(_initval) === 'string' && _initval.indexOf('$first') > -1) { |
| | | _initval = '' |
| | | _item.precision = 'second' |
| | | } else if (['funcvar', 'linkMain'].includes(_item.type)) { |
| | | _readin = false |
| | | _item.readin = false |
| | | } else if (['select', 'link', 'radio'].includes(_item.type)) { // 选中第一项 |
| | | if (/^\s*\$first\s*$/.test(_item.value)) { |
| | | _item.value = '' |
| | | |
| | | if (item.resourceType === '0' && item.options[0] && item.options[0].Value) { |
| | | _initval = item.options[0].Value |
| | | _item.value = item.options[0].Value |
| | | } |
| | | } |
| | | } |
| | | |
| | | let key = item.field.toLowerCase() |
| | | |
| | | if (_item.type === 'linkMain' && BData.hasOwnProperty(key)) { |
| | | _initval = BData[key] |
| | | if (_item.type === 'funcvar') { |
| | | _item.value = '' |
| | | } else if (_item.type === 'linkMain' && BData.hasOwnProperty(key)) { |
| | | _item.value = BData[key] |
| | | } else if (_readin && _data.hasOwnProperty(key)) { |
| | | _initval = _data[key] |
| | | } else if (_item.type === 'date' && _initval) { |
| | | _initval = moment().subtract(_initval, 'days').format(_format) |
| | | } else if (_item.type === 'datemonth' && _initval) { |
| | | _initval = moment().subtract(_initval, 'month').format('YYYY-MM') |
| | | _item.value = _data[key] |
| | | } else if (_item.type === 'date' && _item.value) { |
| | | _item.value = moment().subtract(_item.value, 'days').format(_item.precision === 'day' ? 'YYYY-MM-DD' : 'YYYY-MM-DD HH:mm:ss') |
| | | } else if (_item.type === 'datemonth' && _item.value) { |
| | | _item.value = moment().subtract(_item.value, 'month').format('YYYY-MM') |
| | | } |
| | | |
| | | _item.value = _initval === undefined ? '' : _initval |
| | | _item.value = _item.value === undefined ? '' : _item.value |
| | | |
| | | if (_item.type === 'number' || item.declare === 'decimal') { |
| | | _item.type = 'number' |
| | |
| | | _item.value = _item.value.slice(-item.fieldlength) |
| | | } |
| | | } |
| | | } else if (_item.type.indexOf('date') > -1) { |
| | | if (item.declareType === 'nvarchar(50)') { |
| | | _item.type = 'text' |
| | | } |
| | | } else if (_item.type === 'datemonth') { |
| | | _item.type = 'text' |
| | | } else if (_item.type === 'date') { |
| | | _item.type = item.declareType === 'nvarchar(50)' ? 'text' : 'date' |
| | | } else if (_item.type === 'rate') { |
| | | let count = item.rateCount || 5 |
| | | _item.value = parseInt(_item.value) |
| | |
| | | |
| | | btnconfig.fields.forEach(item => { |
| | | if (!item.field) return |
| | | let _readin = item.readin !== 'false' |
| | | let _initval = item.initval |
| | | |
| | | if (item.type === 'linkMain' || item.type === 'funcvar') { |
| | | let _item = { |
| | | key: item.field, |
| | | readin: item.readin !== 'false' && item.readin !== 'top', |
| | | fieldlen: item.fieldlength || 50, |
| | | writein: item.writein !== 'false', |
| | | type: item.type, |
| | | value: item.initval |
| | | } |
| | | |
| | | let key = item.field.toLowerCase() |
| | | let _readin = item.readin !== 'false' |
| | | |
| | | if (_item.type === 'date') { // 时间兼容 |
| | | _item.precision = item.precision || 'day' |
| | | } else if (_item.type === 'datetime') { |
| | | _item.type = 'date' |
| | | _item.precision = 'second' |
| | | } else if (['funcvar', 'linkMain'].includes(_item.type)) { |
| | | _readin = false |
| | | } else if (['select', 'link', 'radio'].includes(item.type)) { // 选中第一项 |
| | | if (typeof(_initval) === 'string' && _initval.indexOf('$first') > -1) { |
| | | _initval = '' |
| | | _item.readin = false |
| | | } else if (['select', 'link', 'radio'].includes(_item.type)) { // 选中第一项 |
| | | if (/^\s*\$first\s*$/.test(_item.value)) { |
| | | _item.value = '' |
| | | |
| | | if (item.resourceType === '0' && item.options[0] && item.options[0].Value) { |
| | | _initval = item.options[0].Value |
| | | _item.value = item.options[0].Value |
| | | } |
| | | } |
| | | } |
| | | |
| | | if (item.type === 'linkMain' && BData.hasOwnProperty(item.field.toLowerCase())) { |
| | | _initval = BData[item.field.toLowerCase()] |
| | | } else if (_readin && _data.hasOwnProperty(item.field.toLowerCase())) { |
| | | _initval = _data[item.field.toLowerCase()] |
| | | } else if (item.type === 'date' && _initval) { |
| | | _initval = moment().subtract(_initval, 'days').format('YYYY-MM-DD') |
| | | } else if (item.type === 'datemonth' && _initval) { |
| | | _initval = moment().subtract(_initval, 'month').format('YYYY-MM') |
| | | } else if (item.type === 'datetime' && _initval) { |
| | | _initval = moment().subtract(_initval, 'days').format('YYYY-MM-DD HH:mm:ss') |
| | | if (_item.type === 'funcvar') { |
| | | _item.value = '' |
| | | } else if (_item.type === 'linkMain' && BData.hasOwnProperty(key)) { |
| | | _item.value = BData[key] |
| | | } else if (_readin && _data.hasOwnProperty(key)) { |
| | | _item.value = _data[key] |
| | | } else if (_item.type === 'date' && _item.value) { |
| | | _item.value = moment().subtract(_item.value, 'days').format(_item.precision === 'day' ? 'YYYY-MM-DD' : 'YYYY-MM-DD HH:mm:ss') |
| | | } else if (_item.type === 'datemonth' && _item.value) { |
| | | _item.value = moment().subtract(_item.value, 'month').format('YYYY-MM') |
| | | } |
| | | |
| | | let _fieldlen = item.fieldlength || 50 |
| | | if (item.type === 'textarea' || item.type === 'fileupload' || item.type === 'multiselect') { |
| | | _fieldlen = item.fieldlength || 512 |
| | | } else if (item.type === 'number') { |
| | | _fieldlen = item.decimal ? item.decimal : 0 |
| | | } else if (item.type === 'rate') { |
| | | item.rateCount = item.rateCount || 5 |
| | | let allowHalf = item.allowHalf === 'true' |
| | | _item.value = _item.value === undefined ? '' : _item.value |
| | | |
| | | if (allowHalf) { |
| | | _initval = parseFloat(_initval) |
| | | if (_initval % 0.5 !== 0) { |
| | | _initval = parseInt(_initval) |
| | | if (_item.type === 'number' || item.declare === 'decimal') { |
| | | _item.type = 'number' |
| | | _item.fieldlen = item.decimal || 0 |
| | | } else if (['text', 'textarea', 'linkMain'].includes(_item.type)) { |
| | | _item.value = _item.value + '' |
| | | _item.value = _item.value.replace(/\t*|\v*/g, '') // 去除制表符 |
| | | |
| | | if (item.interception !== 'false') { // 去除首尾空格 |
| | | _item.value = _item.value.replace(/(^\s*|\s*$)/g, '') |
| | | } |
| | | if (_item.type === 'text' && /@appkey@|@SessionUid@|@bid@/ig.test(_item.value)) { // 特殊字段替换 |
| | | _item.value = _item.value.replace(/^(\s*)@appkey@(\s*)$/ig, window.GLOB.appkey).replace(/^(\s*)@SessionUid@(\s*)$/ig, (localStorage.getItem('SessionUid') || '')).replace(/^(\s*)@bid@(\s*)$/ig, (this.props.BID || '')) |
| | | } |
| | | if (_item.type === 'text' && item.lenControl && item.lenControl !== 'limit') { |
| | | if (item.lenControl === 'left') { |
| | | _item.value = _item.value.substr(0, item.fieldlength) |
| | | } else { |
| | | _item.value = _item.value.slice(-item.fieldlength) |
| | | } |
| | | } else { |
| | | _initval = parseInt(_initval) |
| | | } |
| | | } else if (_item.type === 'datemonth') { |
| | | _item.type = 'text' |
| | | } else if (_item.type === 'date') { |
| | | _item.type = item.declareType === 'nvarchar(50)' ? 'text' : 'date' |
| | | } else if (_item.type === 'rate') { |
| | | let count = item.rateCount || 5 |
| | | _item.value = parseInt(_item.value) |
| | | |
| | | if (isNaN(_initval) || _initval < 0) { |
| | | _initval = 0 |
| | | } else if (_initval > item.rateCount) { |
| | | _initval = item.rateCount |
| | | if (isNaN(_item.value) || _item.value < 0) { |
| | | _item.value = 0 |
| | | } else if (_item.value > count) { |
| | | _item.value = count |
| | | } |
| | | } |
| | | |
| | | if (_initval === undefined) { |
| | | _initval = '' |
| | | } |
| | | |
| | | result.push({ |
| | | key: item.field, |
| | | readonly: item.readonly === 'true', |
| | | readin: item.readin !== 'false' && item.readin !== 'top', |
| | | fieldlen: _fieldlen, |
| | | type: item.type, |
| | | value: _initval |
| | | }) |
| | | result.push(_item) |
| | | }) |
| | | |
| | | if (btnconfig.setting.display === 'exec') { |
| | |
| | | } |
| | | delete item.field |
| | | return true |
| | | } else if (item.type === 'date') { // 时间搜索 |
| | | } else if (item.type === 'date') { |
| | | item.precision = item.precision || 'day' |
| | | } else if (item.type === 'datetime') { |
| | | item.type = 'date' |
| | |
| | | } |
| | | |
| | | if (['select', 'link', 'radio'].includes(item.type)) { // 选中第一项 |
| | | if (typeof(item.initval) === 'string' && item.initval.indexOf('$first') > -1) { |
| | | if (/^\s*\$first\s*$/.test(item.initval)) { |
| | | item.$first = true |
| | | item.initval = '' |
| | | } |
| | |
| | | _item.value = _item.value.slice(-item.fieldlength) |
| | | } |
| | | } |
| | | } else if (item.type.indexOf('date') > -1) { |
| | | if (item.declareType === 'nvarchar(50)') { |
| | | _item.type = 'text' |
| | | } |
| | | } else if (item.type === 'datemonth') { |
| | | _item.type = 'text' |
| | | } else if (item.type === 'date') { |
| | | _item.type = item.declareType === 'nvarchar(50)' ? 'text' : 'date' |
| | | } else if (item.type === 'vercode') { |
| | | _item.type = 'text' |
| | | forms.push({ |
| | |
| | | message: '请输入字段!' |
| | | } |
| | | ] |
| | | })(<Input placeholder="" autoComplete="off" />)} |
| | | })(<Input placeholder="" autoComplete="off" onPressEnter={this.handleConfirm}/>)} |
| | | </Form.Item> |
| | | </Col> |
| | | <Col span={6}> |
| | |
| | | message: '请输入名称!' |
| | | } |
| | | ] |
| | | })(<Input placeholder="" autoComplete="off" />)} |
| | | })(<Input placeholder="" autoComplete="off" onPressEnter={this.handleConfirm}/>)} |
| | | </Form.Item> |
| | | </Col> |
| | | <Col span={6}> |
| | |
| | | message: '请输入字段!' |
| | | } |
| | | ] |
| | | })(<Input placeholder="" autoComplete="off" />)} |
| | | })(<Input placeholder="" autoComplete="off" onPressEnter={this.handleConfirm}/>)} |
| | | </Form.Item> |
| | | </Col> |
| | | <Col span={5}> |
| | |
| | | message: '请输入名称!' |
| | | } |
| | | ] |
| | | })(<Input placeholder="" autoComplete="off" />)} |
| | | })(<Input placeholder="" autoComplete="off" onPressEnter={this.handleConfirm}/>)} |
| | | </Form.Item> |
| | | </Col> |
| | | <Col span={5}> |
| | |
| | | message: '请输入列宽!' |
| | | } |
| | | ] |
| | | })(<InputNumber min={5} max={200} precision={0} />)} |
| | | })(<InputNumber min={5} max={200} precision={0} onPressEnter={this.handleConfirm}/>)} |
| | | </Form.Item> |
| | | </Col> |
| | | <Col span={6}> |
| | |
| | | fileupload: ['readonly', 'required', 'readin', 'fieldlength', 'maxfile', 'fileType', 'span', 'labelwidth', 'tooltip', 'extra', 'compress', 'miniSet', 'splitline', 'marginTop', 'marginBottom', 'maxSize'], |
| | | switch: ['initval', 'openVal', 'closeVal', 'openText', 'closeText', 'readonly', 'hidden', 'readin', 'span', 'labelwidth', 'tooltip', 'extra', 'splitline', 'marginTop', 'marginBottom'], |
| | | date: ['initval', 'readonly', 'required', 'hidden', 'readin', 'span', 'labelwidth', 'tooltip', 'extra', 'declareType', 'mode', 'splitline', 'place', 'marginTop', 'marginBottom', 'minDate', 'maxDate', 'precision'], |
| | | datemonth: ['initval', 'readonly', 'required', 'hidden', 'readin', 'span', 'labelwidth', 'tooltip', 'extra', 'declareType', 'splitline', 'place', 'marginTop', 'marginBottom'], |
| | | datemonth: ['initval', 'readonly', 'required', 'hidden', 'readin', 'span', 'labelwidth', 'tooltip', 'extra', 'splitline', 'place', 'marginTop', 'marginBottom'], |
| | | datetime: ['initval', 'readonly', 'required', 'hidden', 'readin', 'span', 'labelwidth', 'tooltip', 'extra', 'declareType', 'mode', 'splitline', 'marginTop', 'marginBottom', 'minDate', 'maxDate'], |
| | | textarea: ['initval', 'readonly', 'required', 'hidden', 'readin', 'fieldlength', 'span', 'labelwidth', 'maxRows', 'encryption', 'interception', 'tooltip', 'extra', 'place', 'count', 'placeholder', 'marginTop', 'marginBottom'], |
| | | cascader: ['readonly', 'required', 'hidden', 'readin', 'resourceType', 'fieldlength', 'span', 'labelwidth', 'tooltip', 'extra', 'place', 'splitline', 'marginTop', 'marginBottom', 'separator'], |
| | |
| | | } |
| | | |
| | | reload = () => { |
| | | const { tempId } = this.state |
| | | |
| | | this.setState({ |
| | | loadingview: true, |
| | | pages: null, |
| | | data: '', |
| | | config: null |
| | | }, () => { |
| | | this.getMenuParam() |
| | | Api.deleteMenuStorage(tempId) |
| | | setTimeout(() => { |
| | | this.getMenuParam() |
| | | }, 50) |
| | | // Api.getAppVersion(tempId).then(() => { |
| | | // this.getMenuParam() |
| | | // }, () => { |
| | | // this.getMenuParam() |
| | | // }) |
| | | }) |
| | | } |
| | | |
| | |
| | | }} /> |
| | | </Form.Item> |
| | | </Col> |
| | | <Col span={24}> |
| | | <Col span={24} className="red-font"> |
| | | <Form.Item label="备注"> |
| | | {getFieldDecorator('Remark', { |
| | | initialValue: config.Remark || '', |
| | |
| | | font-size: 12px; |
| | | } |
| | | } |
| | | .red-font { |
| | | label { |
| | | color: red; |
| | | } |
| | | textarea { |
| | | color: red; |
| | | } |
| | | } |
| | | } |
| | |
| | | )} |
| | | </Form.Item> |
| | | </Col> : null} |
| | | <Col span={24}> |
| | | <Col span={24} className="red-font"> |
| | | <Form.Item label="备注"> |
| | | {getFieldDecorator('Remark', { |
| | | initialValue: config.Remark || '', |
| | |
| | | } |
| | | } |
| | | } |
| | | .red-font { |
| | | label { |
| | | color: red; |
| | | } |
| | | textarea { |
| | | color: red; |
| | | } |
| | | } |
| | | } |
| | |
| | | )} |
| | | </Form.Item> |
| | | </Col> : null} |
| | | <Col span={24}> |
| | | <Col span={24} className="red-font"> |
| | | <Form.Item label="备注"> |
| | | {getFieldDecorator('Remark', { |
| | | initialValue: config.Remark || '', |
| | |
| | | font-size: 12px; |
| | | } |
| | | } |
| | | .red-font { |
| | | label { |
| | | color: red; |
| | | } |
| | | textarea { |
| | | color: red; |
| | | } |
| | | } |
| | | } |
| | |
| | | })(<Input placeholder="" autoComplete="off" onChange={this.changeEasyCode}/>)} |
| | | </Form.Item> |
| | | </Col> |
| | | <Col span={24}> |
| | | <Col span={24} className="red-font"> |
| | | <Form.Item label="备注"> |
| | | {getFieldDecorator('Remark', { |
| | | initialValue: config.Remark || '', |
| | |
| | | font-size: 12px; |
| | | } |
| | | } |
| | | .red-font { |
| | | label { |
| | | color: red; |
| | | } |
| | | textarea { |
| | | color: red; |
| | | } |
| | | } |
| | | } |