Commit e6aa96029ddb34586d27c2806fabbfe64029183e

Authored by Min
1 parent f007e03d

1.完善英文版的多语言翻译

src/components/Common/CommonComponent/index.js
... ... @@ -2961,6 +2961,8 @@ export default class CommonComponent extends Component {
2961 2961 </div>);
2962 2962 }
2963 2963 const sModelsType = commonUtils.isNotEmptyObject(this.props) && commonUtils.isNotEmptyObject(this.props.app) ? this.props.app.currentPane.sModelsType : '';
  2964 + const pleaseSelect = commonUtils.isNotEmptyObject(this.props) && commonUtils.isNotEmptyObject(this.props.app) ? commonFunc.showMessage(this.props.app.commonConst, 'pleaseSelect') : '请选择' ;
  2965 + const combinedInfo = commonUtils.isNotEmptyObject(this.props) && commonUtils.isNotEmptyObject(this.props.app) ? commonFunc.showMessage(this.props.app.commonConst, 'CombinedInfo') : '合版信息' ;
2964 2966 let bParamColor = false;
2965 2967 if (this.props && sName === 'sParamValue' && this.props.dataValue) {
2966 2968 if (this.props.dataValue === '选择色序' || this.props.record.sParamKey === 'sParam1001') {
... ... @@ -2985,7 +2987,7 @@ export default class CommonComponent extends Component {
2985 2987 });
2986 2988 sValue = commonUtils.isNotEmptyObject(sValue) ? sValue.substr(0, sValue.length - 1) : '';
2987 2989 }
2988   - } else if (sName === 'sColorSerialMemo' || bSColorSerialMemo || sName === 'sPositiveColor' || sName === 'sOppositeColor' || bParamColor) {
  2990 + } else if (sName === "sColorSerialMemo" || bSColorSerialMemo || sName === "sPositiveColor" || sName === "sOppositeColor" || bParamColor) {
2989 2991 let JsonData = [];
2990 2992 if (commonUtils.isNotEmptyObject(this.props.dataValue)) {
2991 2993 try {
... ... @@ -2994,13 +2996,13 @@ export default class CommonComponent extends Component {
2994 2996 JsonData = [];
2995 2997 }
2996 2998 }
2997   - if (typeof JsonData === 'object' && commonUtils.isNotEmptyArr(JsonData)) {
2998   - JsonData.forEach((item) => {
  2999 + if (typeof JsonData === "object" && commonUtils.isNotEmptyArr(JsonData)) {
  3000 + JsonData.forEach(item => {
2999 3001 sValue += `${item.sName}+`;
3000 3002 });
3001   - sValue = commonUtils.isNotEmptyObject(sValue) ? sValue.substr(0, sValue.length - 1) : '';
  3003 + sValue = commonUtils.isNotEmptyObject(sValue) ? sValue.substr(0, sValue.length - 1) : "";
3002 3004 }
3003   - } else if (sName === 'sParams' || sName === 'sQuoParams' || sName === 'sParamsNew') {
  3005 + } else if (sName === "sParams" || sName === "sQuoParams" || sName === "sParamsNew") {
3004 3006 if (this.props.onGetParamsValue) {
3005 3007 // 页面自行处理sparams的sValue
3006 3008 sValue = this.props.onGetParamsValue({ sName, sValue: this.props.dataValue, record: this.props.record });
... ... @@ -3014,13 +3016,13 @@ export default class CommonComponent extends Component {
3014 3016 }
3015 3017 }
3016 3018 if (commonUtils.isNotEmptyArr(JsonData)) {
3017   - JsonData.forEach((item) => {
  3019 + JsonData.forEach(item => {
3018 3020 if (item.bSelfCbx) {
3019   - const strValue = commonUtils.isNotEmptyObject(item.sParamValue) ? item.sParamValue : '';
  3021 + const strValue = commonUtils.isNotEmptyObject(item.sParamValue) ? item.sParamValue : "";
3020 3022 sValue += `${item.sParamName}:${strValue},`;
3021 3023 }
3022 3024 });
3023   - sValue = commonUtils.isNotEmptyObject(sValue) ? sValue.substr(0, sValue.length - 1) : '';
  3025 + sValue = commonUtils.isNotEmptyObject(sValue) ? sValue.substr(0, sValue.length - 1) : "";
3024 3026 }
3025 3027 }
3026 3028 } else {
... ... @@ -3043,15 +3045,16 @@ export default class CommonComponent extends Component {
3043 3045 style={{
3044 3046 width: '100%', overflow: 'hidden', color: '#2f54eb', background: 'transparent',
3045 3047 }}
3046   - > {commonUtils.isNotEmptyObject(sValue) ? sValue : sName === 'sCombinedMemo' ? '合版信息' : '请选择'}
  3048 + > {commonUtils.isNotEmptyObject(sValue) ? sValue : sName === 'sCombinedMemo' ? combinedInfo : pleaseSelect}
3047 3049 </span>
3048 3050 </div>);
3049 3051 }
3050 3052 /* commonClassify 制单日期、制单人员新增时设置保存时自动生成 */
3051 3053 let speacilNote = '';
3052 3054 const { record } = this.props;
  3055 + const afterSave = commonUtils.isNotEmptyObject(this.props) && commonUtils.isNotEmptyObject(this.props.app) ? commonFunc.showMessage(this.props.app.commonConst, 'afterSave') : '保存后自动生成';
3053 3056 if (commonUtils.isNotEmptyObject(record) && commonUtils.isEmptyObject(record[sName]) && commonUtils.isNotEmptyObject(sName) && (sName === 'tCreateDate' || sName === 'sMakePerson')) {
3054   - speacilNote = (<div className="speacialNote" style={{ position: 'absolute', padding: '0px 4px' }}> 保存后自动生成</div>);
  3057 + speacilNote = (<div className="speacialNote" style={{ position: 'absolute', padding: '0px 4px' }}> {afterSave}</div>);
3055 3058 }
3056 3059  
3057 3060 const bShowMemo = false && commonUtils.isNotEmptyObject(sName) && sName.indexOf('sMemo') > -1 && !sName.includes('ProcessMemo'); /* 非编辑状态下 备注以蓝色链接呈现 */
... ...
src/components/Common/CommonComponent/index_new.js
... ... @@ -1150,8 +1150,9 @@ function CommonComponent(props) {
1150 1150 }
1151 1151 let speacilNote = '';
1152 1152 const { record } = props;
  1153 + const afterSave = commonUtils.isNotEmptyObject(this.props) && commonUtils.isNotEmptyObject(this.props.app) ? commonFunc.showMessage(this.props.app.commonConst, 'afterSave') : '保存后自动生成';
1153 1154 if (commonUtils.isNotEmptyObject(record) && commonUtils.isEmptyObject(record[sName]) && commonUtils.isNotEmptyObject(sName) && (sName === 'tCreateDate' || sName === 'sMakePerson')) {
1154   - speacilNote = (<div className="speacialNote" style={{ position: 'absolute', padding: '0px 4px' }}> 保存后自动生成</div>);
  1155 + speacilNote = (<div className="speacialNote" style={{ position: 'absolute', padding: '0px 4px' }}> {afterSave}</div>);
1155 1156 }
1156 1157 let imgBox = '';
1157 1158 if (commonUtils.isNotEmptyObject(sName) && sName.indexOf('picture') > -1) {
... ...
src/components/Common/CommonTable/index.js
... ... @@ -1967,6 +1967,7 @@ class CommonTableRc extends React.Component {
1967 1967 }
1968 1968 // 处理拖拽排序
1969 1969 if (this.props.dragHandle) {
  1970 + const handleSortTitle = commonFunc.showMessage(this.props.app.commonConst, 'sort') || '排序' ;
1970 1971 const handleSort = tableColumn.filter(item => item.dataIndex === 'handleSort').length;
1971 1972 if (tableColumn[0]) {
1972 1973 function arrayMoveMutable(array, fromIndex, toIndex) {
... ... @@ -2029,7 +2030,7 @@ class CommonTableRc extends React.Component {
2029 2030 }
2030 2031 tableColumn.unshift(
2031 2032 {
2032   - title: '排序',
  2033 + title: handleSortTitle,
2033 2034 dataIndex: 'handleSort',
2034 2035 fixed: 'left',
2035 2036 width: 40,
... ... @@ -4924,17 +4925,20 @@ class CommonTableRc extends React.Component {
4924 4925 /** 删除行 */
4925 4926 handleDelRow = (index, record) => {
4926 4927 if(this.props.name !== 'slaveFilter') {
  4928 + const sureDel = commonUtils.isNotEmptyObject(this.props.app) ? commonFunc.showMessage(this.props.app.commonConst, 'SureDel') : '确认要删除吗?' ;
  4929 + const BtnSure = commonUtils.isNotEmptyObject(this.props.app) ? commonFunc.showMessage(this.props.app.commonConst, 'BtnSure') : '确定?' ;
  4930 + const BtnCancel = commonUtils.isNotEmptyObject(this.props.app) ? commonFunc.showMessage(this.props.app.commonConst, 'BtnCancel') : '确定?' ;
4927 4931 const _this = this;
4928 4932 confirm({
4929   - title: '确认要删除吗?',
  4933 + title: sureDel,
4930 4934 onOk() {
4931 4935 _this.handleDelOkRow(index, record);
4932 4936 },
4933 4937 onCancel() {
4934 4938 return false;
4935 4939 },
4936   - okText: '确定',
4937   - cancelText: '取消'
  4940 + okText: BtnSure,
  4941 + cancelText: BtnCancel
4938 4942 });
4939 4943 } else {
4940 4944 this.handleDelOkRow(index, record);
... ... @@ -5575,6 +5579,10 @@ class CommonTableRc extends React.Component {
5575 5579 let clickEvent = '';
5576 5580 /* 选择合版产品弹窗 */
5577 5581 const sModelsType = commonUtils.isNotEmptyObject(props) && commonUtils.isNotEmptyObject(props.app) ? props.app.currentPane.sModelsType : '';
  5582 + const combinedInfo = commonUtils.isNotEmptyObject(props) && commonUtils.isNotEmptyObject(props.app) ? commonFunc.showMessage(props.app.commonConst, 'CombinedInfo') : '合版信息' ;
  5583 +
  5584 + const pleaseSelect = commonUtils.isNotEmptyObject(props) && commonUtils.isNotEmptyObject(props.app) ? commonFunc.showMessage(this.props.app.commonConst, 'pleaseSelect') : '请选择' ;
  5585 +
5578 5586 if (commonUtils.isNotEmptyObject(sName) && ( sName === 'sCombinedMemo' || sName ==='sCombineProductNameNew' || sName === 'sColorSerialMemo' || sName === 'sPositiveColor' || sName === 'sOppositeColor' || sName === 'sParams' || sName === 'sParamsNew'|| sName === 'sQuoParams' || (commonUtils.isNotEmptyObject(sModelsType) && !sModelsType.includes('Set') && sName === 'sCombinePartsNameNew'))) {
5579 5587 linkStyle = 'linksActiveIdStyle';
5580 5588 clickEvent = 'onViewChoose';
... ... @@ -5651,7 +5659,7 @@ class CommonTableRc extends React.Component {
5651 5659 }
5652 5660 }
5653 5661 }
5654   - sValue = commonUtils.isEmpty(sValue) ? sName === 'sCombinedMemo' ? '合版信息' : '请选择' : sValue;
  5662 + sValue = commonUtils.isEmpty(sValue) ? sName === 'sCombinedMemo' ? combinedInfo : pleaseSelect : sValue;
5655 5663 } else if ((!props.enabled) && sName.indexOf('Memo') > -1 && showConfigObj.iTag !== 3 ) {
5656 5664 linkStyle = 'linksActiveIdStyle';
5657 5665 clickEvent = 'onMemoShow';
... ... @@ -6715,7 +6723,7 @@ class CommonTableRc extends React.Component {
6715 6723 /* 通用弹窗功能 */
6716 6724 let commonPopupProps = {};
6717 6725 let commonPopupTitle = '选择弹窗';
6718   - let bCommonPopup = false; /* 多列弹出窗 */
  6726 + let bCommonPopup = false; /* 多列弹出窗11 */
6719 6727 let bCommonPopup1 = false; /* 单列弹出窗 */
6720 6728 let bCommonPopupTree = false; /* 树形列弹出窗 */
6721 6729 let bCommonPopupProcess = false;
... ...
src/components/CommonElementEvent/StatementInfo.js
... ... @@ -36,18 +36,20 @@ export default class StatementInfo extends Component {
36 36 let { reportColumn } = nextProps;
37 37 const { app, visibleStatement } = nextProps;
38 38 const reportName = commonFunc.showMessage(app.commonConst, 'reportName');/* 设计功能 */
  39 + const sTemplateName= commonFunc.showMessage(app.commonConst, 'sTemplateName') || '模板名称' ;
  40 + const sReportName= commonFunc.showMessage(app.commonConst, 'sReportName') || '报表名称' ;
39 41 if (commonUtils.isEmptyArr(reportColumn) && visibleStatement) {
40 42 const reportConfig = {};
41 43 reportConfig.gdsconfigformslave = [{
42 44 bVisible: true,
43 45 sName: 'sReportName',
44 46 bNotEmpty: true,
45   - showName: '报表名称',
  47 + showName: sReportName,
46 48 }, {
47 49 bVisible: true,
48 50 sName: 'sReportPath',
49 51 bReadOnly: true,
50   - showName: '模板名称',
  52 + showName: sTemplateName,
51 53 iTag: 1,
52 54 }];
53 55 reportColumn = [{
... ... @@ -55,7 +57,7 @@ export default class StatementInfo extends Component {
55 57 dataIndex: 'sReportName',
56 58 width: 200,
57 59 }, {
58   - title: '模板名称',
  60 + title: sTemplateName,
59 61 dataIndex: 'sReportPath',
60 62 width: 239,
61 63 }];
... ...
src/components/Manufacture/ProcessCardPack/ProcessCardPackTableTree.js
... ... @@ -7665,7 +7665,7 @@ const ProcessCardComponent = Form.create({
7665 7665 if(commonUtils.isNotEmptyObject(processShowLeft)) {
7666 7666  
7667 7667 if(processShowLeft.bVisible) {
7668   - processShowTitle = processShowLeft.sChinese;
  7668 + processShowTitle = processShowLeft.showName;
7669 7669 }
7670 7670  
7671 7671 }
... ... @@ -8236,6 +8236,9 @@ const ProcessCardComponent = Form.create({
8236 8236 height: 50,
8237 8237 }
8238 8238 }
  8239 +
  8240 + const deleteAll = commonFunc.showMessage(props.app.commonConst, 'deleteAll') || '删除' ;
  8241 +
8239 8242 const autoHeight = `calc( 100vh - 92px )`;
8240 8243  
8241 8244 const renderByLayout = () => {
... ... @@ -8405,7 +8408,7 @@ const ProcessCardComponent = Form.create({
8405 8408 materialsChildTableProps = materialsChildTablePropsList[`${item}ChildTableProps`];
8406 8409 sWidth = '58.5%';
8407 8410 sRightWidth = '42%';
8408   - materialsChildTableTitle = commonUtils.isNotEmptyObject(materialsChildTableProps) && commonUtils.isNotEmptyObject(materialsChildTableProps.config) ? materialsChildTableProps.config.sChinese : '';
  8411 + materialsChildTableTitle = commonUtils.isNotEmptyObject(materialsChildTableProps) && commonUtils.isNotEmptyObject(materialsChildTableProps.config) ? materialsChildTableProps.config.showName : '';
8409 8412 } else {
8410 8413 sWidth = '100%';
8411 8414 }
... ... @@ -8422,7 +8425,7 @@ const ProcessCardComponent = Form.create({
8422 8425 <div className='dlhStyle'>
8423 8426 <div style={{ position: "relative", width: sWidth }}>
8424 8427 <StaticEditTable {...materialsOtherPropsType} setOpterationColumn="Y" noVlist dragHandle={bMaterialsSort} selfTableHeight={82}/>
8425   - {index === 0 ? <div className={selfstyles.delAll}><Button type='primary' disabled={!props.enabled} onClick={props.onDeleteAllMaterials.bind(this, materialsOtherPropsType.data)}>删除全部</Button></div> : ""}
  8428 + {index === 0 ? <div className={selfstyles.delAll}><Button type='primary' disabled={!props.enabled} onClick={props.onDeleteAllMaterials.bind(this, materialsOtherPropsType.data)}>{deleteAll}</Button></div> : ""}
8426 8429 </div>
8427 8430 {
8428 8431 commonUtils.isNotEmptyObject(materialsChildTableProps)?
... ...
src/components/Manufacture/ProcessCardPackTableTreeNew/index.js
... ... @@ -3776,8 +3776,8 @@ const OtherComponent = props =&gt; {
3776 3776 const dailyInfo = commonFunc.showMessage(commonConst, "dailyInfo"); // 日志信息
3777 3777 const visionInfo = commonUtils.isNotEmptyObject(commonFunc.showMessage(commonConst, "visionInfo")) ?
3778 3778 commonFunc.showMessage(commonConst, "visionInfo") : '改版记录';
3779   - const colorInfo = commonUtils.isNotEmptyObject(colorConfig) && commonUtils.isNotEmptyObject(colorConfig.sChinese ) ?
3780   - colorConfig.sChinese :
  3779 + const colorInfo = commonUtils.isNotEmptyObject(colorConfig) && commonUtils.isNotEmptyObject(colorConfig.showName ) ?
  3780 + colorConfig.showName :
3781 3781 commonUtils.isNotEmptyObject(commonFunc.showMessage(commonConst, "colorInfo")) ?
3782 3782 commonFunc.showMessage(commonConst, "colorInfo") : '工艺颜色'; // "工艺颜色";
3783 3783  
... ... @@ -3878,13 +3878,13 @@ const OtherComponent = props =&gt; {
3878 3878 <MaterialsComponent {...props} materialsTabValue={materialsTabValue} />
3879 3879 </Panel>
3880 3880 {materialsChildInfoListFilter.map(tablename => {
3881   - const { sChinese } = props[`${tablename}Config`];
  3881 + const { showName } = props[`${tablename}Config`];
3882 3882 return (
3883 3883 <Panel
3884 3884 collapsible="header"
3885 3885 header={getHeaderIcon(tablename)}
3886 3886 showArrow={false}
3887   - extra={panelExtra("", { selfName: sChinese, selfId: tablename })}
  3887 + extra={panelExtra("", { selfName: showName, selfId: tablename })}
3888 3888 key={tablename}
3889 3889 >
3890 3890 <MaterialsChildComponent {...props} materialsChildName={tablename} />
... ... @@ -3955,7 +3955,7 @@ const ProcessComponent = props =&gt; {
3955 3955 const showLeftConfig = processConfig.gdsconfigformslave.find(item => item.sControlName === "bShowLeft");
3956 3956  
3957 3957 if (showLeftConfig) {
3958   - const { iColValue, sChinese: processShowTitle } = showLeftConfig;
  3958 + const { iColValue, showName: processShowTitle } = showLeftConfig;
3959 3959  
3960 3960 const processTitleWidth = processConfig.gdsconfigformslave.find(item => item.sControlName === "titleWidth")?.sDefault;
3961 3961 const commonViewDragableProps = {
... ... @@ -4059,7 +4059,7 @@ const MaterialsComponent = props =&gt; {
4059 4059 materialsChildTableProps = materialsChildTablePropsList[`${item}ChildTableProps`];
4060 4060 sWidth = "58.5%";
4061 4061 sRightWidth = "42%";
4062   - materialsChildTableTitle = materialsChildTableProps.config.sChinese || "";
  4062 + materialsChildTableTitle = materialsChildTableProps.config.showName || "";
4063 4063 }
4064 4064 } else {
4065 4065 sWidth = "100%";
... ...
src/components/Manufacture/WorkOrderPack/WorkOrderPackTableTree.js
... ... @@ -8190,7 +8190,7 @@ const WorkOrderComponent = Form.create({
8190 8190 if(commonUtils.isNotEmptyObject(processShowLeft)) {
8191 8191  
8192 8192 if(processShowLeft.bVisible) {
8193   - processShowTitle = processShowLeft.sChinese;
  8193 + processShowTitle = processShowLeft.showName;
8194 8194 }
8195 8195  
8196 8196 }
... ... @@ -8738,7 +8738,7 @@ const WorkOrderComponent = Form.create({
8738 8738 let visionTableTitle = '改版记录';
8739 8739 const { visionConfig } = props;
8740 8740 if (commonUtils.isNotEmptyObject(visionConfig)) {
8741   - visionTableTitle = visionConfig.sChinese;
  8741 + visionTableTitle = visionConfig.showName;
8742 8742 }
8743 8743 str = <Radio.Group defaultValue={1} >
8744 8744 <Radio value={1}>{visionTableTitle}</Radio>
... ... @@ -8901,7 +8901,7 @@ const WorkOrderComponent = Form.create({
8901 8901 const iIndex = materialsChildInfoList.findIndex(child => child.includes(item));
8902 8902 if(iIndex > -1) {
8903 8903 materialsChildTableProps = materialsChildTablePropsList[`${item}ChildTableProps`];
8904   - materialsChildTableTitle = commonUtils.isNotEmptyObject(materialsChildTableProps) && commonUtils.isNotEmptyObject(materialsChildTableProps.config) ? materialsChildTableProps.config.sChinese : '';
  8904 + materialsChildTableTitle = commonUtils.isNotEmptyObject(materialsChildTableProps) && commonUtils.isNotEmptyObject(materialsChildTableProps.config) ? materialsChildTableProps.config.showName : '';
8905 8905 }
8906 8906 }
8907 8907 return (
... ... @@ -9348,7 +9348,14 @@ const WorkOrderComponent = Form.create({
9348 9348 // 工艺参数弹窗
9349 9349 const ModalComponent = props => {
9350 9350 const modalName = 'sWorkParamsModalVisible'; // commonParamVisible
9351   - const sProcessParams = "工单参数";
  9351 + const sProcessParams = commonFunc.showMessage(props.app.commonConst, 'workParam') || '工单参数' ;
  9352 + const BtnFirst= commonFunc.showMessage(props.app.commonConst, 'BtnFirst') || '首条' ;
  9353 +
  9354 + const BtnLast= commonFunc.showMessage(props.app.commonConst, 'Btnlast') || '末条' ;
  9355 +
  9356 + const BtnPrior= commonFunc.showMessage(props.app.commonConst, 'BtnPrior') || '上一条' ;
  9357 +
  9358 + const BtnNext= commonFunc.showMessage(props.app.commonConst, 'BtnNext') || '下一条' ;
9352 9359 return props[modalName] ?
9353 9360 <Modal
9354 9361 width="80%"
... ... @@ -9371,10 +9378,10 @@ const ModalComponent = props =&gt; {
9371 9378 >
9372 9379 <div>
9373 9380 <div className='oper'>
9374   - <Button type='primary' onClick={() => { props.onBtnParamPage(props, props.processTableId, 'first')}} >首条</Button>
9375   - <Button type='primary' onClick={() => { props.onBtnParamPage(props, props.processTableId, 'before')}} >上一条</Button>
9376   - <Button type='primary' onClick={() => { props.onBtnParamPage(props, props.processTableId, 'next')}} >下一条</Button>
9377   - <Button type='primary' onClick={() => { props.onBtnParamPage(props, props.processTableId, 'last')}} >末条</Button>
  9381 + <Button type='primary' onClick={() => { props.onBtnParamPage(props, props.processTableId, 'first')}} >{BtnFirst}</Button>
  9382 + <Button type='primary' onClick={() => { props.onBtnParamPage(props, props.processTableId, 'before')}} >{BtnPrior}</Button>
  9383 + <Button type='primary' onClick={() => { props.onBtnParamPage(props, props.processTableId, 'next')}} >{BtnNext}</Button>
  9384 + <Button type='primary' onClick={() => { props.onBtnParamPage(props, props.processTableId, 'last')}} >{BtnLast}</Button>
9378 9385 </div>
9379 9386 {
9380 9387 [''].map(() => {
... ...
src/components/Manufacture/WorkOrderPack/WorkOrderResearchTableTree.js
... ... @@ -8998,6 +8998,14 @@ const WorkOrderComponent = Form.create({
8998 8998 const ModalComponent = props => {
8999 8999 const modalName = 'sWorkParamsModalVisible'; // commonParamVisible
9000 9000 const sProcessParams = "工单参数";
  9001 + const BtnFirst= commonFunc.showMessage(props.app.commonConst, 'BtnFirst') || '首条' ;
  9002 +
  9003 + const BtnLast= commonFunc.showMessage(props.app.commonConst, 'Btnlast') || '末条' ;
  9004 +
  9005 + const BtnPrior= commonFunc.showMessage(props.app.commonConst, 'BtnPrior') || '上一条' ;
  9006 +
  9007 + const BtnNext= commonFunc.showMessage(props.app.commonConst, 'BtnNext') || '下一条' ;
  9008 +
9001 9009 return props[modalName] ?
9002 9010 <Modal
9003 9011 width="80%"
... ... @@ -9020,10 +9028,10 @@ const ModalComponent = props =&gt; {
9020 9028 >
9021 9029 <div>
9022 9030 <div className='oper'>
9023   - <Button type='primary' onClick={() => { props.onBtnParamPage(props, props.processTableId, 'first')}} >首条</Button>
9024   - <Button type='primary' onClick={() => { props.onBtnParamPage(props, props.processTableId, 'before')}} >上一条</Button>
9025   - <Button type='primary' onClick={() => { props.onBtnParamPage(props, props.processTableId, 'next')}} >下一条</Button>
9026   - <Button type='primary' onClick={() => { props.onBtnParamPage(props, props.processTableId, 'last')}} >末条</Button>
  9031 + <Button type='primary' onClick={() => { props.onBtnParamPage(props, props.processTableId, 'first')}} >{BtnFirst}</Button>
  9032 + <Button type='primary' onClick={() => { props.onBtnParamPage(props, props.processTableId, 'before')}} >{BtnPrior}</Button>
  9033 + <Button type='primary' onClick={() => { props.onBtnParamPage(props, props.processTableId, 'next')}} >{BtnNext}</Button>
  9034 + <Button type='primary' onClick={() => { props.onBtnParamPage(props, props.processTableId, 'last')}} >{BtnLast}</Button>
9027 9035 </div>
9028 9036 {
9029 9037 [''].map(() => {
... ... @@ -9052,4 +9060,5 @@ const ModalComponent = props =&gt; {
9052 9060  
9053 9061 };
9054 9062  
  9063 +
9055 9064 export default CommonBase(CommonSales(WorkOrderPack));
... ...