Commit 4e08bc672785086751633869fbf765d1be4beb4c

Authored by Min
1 parent 72365858

1.翻译成品不良类别,质量标识

src/components/Common/CommonComponent/index.js
... ... @@ -3128,6 +3128,8 @@ export default class CommonComponent extends Component {
3128 3128 const readonlyStyle = showConfig.bReadonly || showConfig.iTag === 1 ? 'readonlyStyle' : '';
3129 3129 const costomStyle = showConfig.costomStyle || '';
3130 3130  
  3131 + const Qualitylabel = commonFunc.showLocalMessage(props, 'Qualitylabel', '质量标识');
  3132 +
3131 3133 const { bNotEmpty } = showConfig;
3132 3134 let oPreDot = '';
3133 3135 if (enabled && bViewTable && !location.pathname.includes('login')) {
... ... @@ -3149,7 +3151,7 @@ export default class CommonComponent extends Component {
3149 3151 ))
3150 3152 ) {
3151 3153 oBllb = <div className='productionExecBllb'>
3152   - <span>{ '质量标识' } </span>
  3154 + <span>{ Qualitylabel } </span>
3153 3155 <Button
3154 3156 type="link"
3155 3157 size="large"
... ...
src/mes/productionExec/productionExecMain/index.js
... ... @@ -2221,7 +2221,7 @@ const BllbModalComponent = props =&gt; {
2221 2221 },
2222 2222 [refreshTime]
2223 2223 );
2224   -
  2224 + const defectcategory = commonFunc.showLocalMessage(props, 'defectcategory', '成品不良类别');
2225 2225 const onOk = () => {
2226 2226 props.onExecInstructSet({
2227 2227 btnConfig: {
... ... @@ -2252,7 +2252,7 @@ const BllbModalComponent = props =&gt; {
2252 2252  
2253 2253 return (
2254 2254 <Modal
2255   - title="成品不良类别"
  2255 + title={defectcategory}
2256 2256 className="mesCommonModal"
2257 2257 width={600}
2258 2258 height={480}
... ...