diff --git a/src/components/Common/CommonBillEvent.js b/src/components/Common/CommonBillEvent.js
index 35fcdd6..e9b9ce6 100644
--- a/src/components/Common/CommonBillEvent.js
+++ b/src/components/Common/CommonBillEvent.js
@@ -2116,6 +2116,7 @@ export default (ChildComponent) => {
const {
sModelsId, masterData, app, masterConfig, slaveConfig, checkConfig, token, sModelsType, controlConfig, materialsConfig, processConfig, colorConfig, packConfig, slaveData, orderDetailConfig,
} = this.props;
+ const FriendlyReminder = commonFunc.showLocalMessage(this.props, 'FriendlyReminder', '温馨提示');
const sSlaveIdArray = [];
if (commonUtils.isNotEmptyArr(slaveData)) {
slaveData.forEach((item) => {
@@ -2240,13 +2241,12 @@ export default (ChildComponent) => {
}
} else if(returnData.code === -8){
Modal.info({
- title: '温馨提示:',
+ title: FriendlyReminder,
content: (
{this.handleGetMsg(returnData.msg)}
),
- okText: '确认',
onOk() {},
});
this.props.onSaveState({
@@ -6071,6 +6071,9 @@ export default (ChildComponent) => {
/** 按钮操作事件 */
handleButtonClick = async (name) => {
+
+ const FriendlyReminder = commonFunc.showLocalMessage(this.props, 'FriendlyReminder', '温馨提示');
+
if (name === 'BtnOut') {
this.handleOut();
} else if (name === 'BtnDesignFunction') {
@@ -6329,13 +6332,12 @@ export default (ChildComponent) => {
this.props.onSaveState({ ...allReturnMap, pageLoading:false, });
}else if (dataReturn.code === -8 || dataReturn.code === 2) {
Modal.info({
- title: '温馨提示:',
+ title: FriendlyReminder,
content: (
{this.handleGetMsg(dataReturn.msg)}
),
- okText: '确认',
onOk() {},
});
this.props.onSaveState({ ...allReturnMap, pageLoading:false, });
diff --git a/src/components/Common/CommonListSelect/index.js b/src/components/Common/CommonListSelect/index.js
index 57dad09..79ec03f 100644
--- a/src/components/Common/CommonListSelect/index.js
+++ b/src/components/Common/CommonListSelect/index.js
@@ -854,6 +854,9 @@ const CommonListComponent = Form.create({
},
};
const upInvoiceName = commonUtils.isNotEmptyArr(btnUploadApi) ? btnUploadApi[0].showName : '发票上传(金税)';
+
+ const BtnSure = commonFunc.showLocalMessage(this.props, 'BtnSure', '确定');
+ const BtnCancel = commonFunc.showLocalMessage(this.props, 'BtnCancel', '取消');
return (