Commit d1adef5b04e1d9f91d0396b04b09a03a3a36d72f

Authored by Min
1 parent a345d7b2

1.补充弹窗翻译

src/mes/productionExec/noticeModal/index.js
... ... @@ -268,6 +268,13 @@ const firstNoticeModal = _props => {
268 268 };
269 269 const firstNotice = commonFunc.showLocalMessage(props, 'firstNotice', '首签样通知');
270 270 const firstNoticeList = commonFunc.showLocalMessage(props, 'firstNoticeList', '版材消耗登记');
  271 + const employeeNameIdTitle = commonFunc.showLocalMessage(props, 'employeeName', '员工名称/工号');
  272 + const btnAll = commonFunc.showLocalMessage(props, 'btnAll', '全部');
  273 + const btnSearch = commonFunc.showLocalMessage(props, 'BtnSearch', '查询');
  274 + const BtnCancel = commonFunc.showLocalMessage(props, 'BtnCancel', '取消');
  275 + const selectRecipient = commonFunc.showLocalMessage(props, 'selectRecipient', '请先选择接收人!');
  276 + const btnSend = commonFunc.showLocalMessage(props, 'btnSend', '确认');
  277 +
271 278 return (
272 279 <Modal
273 280 title={firstNotice}
... ... @@ -303,11 +310,11 @@ const firstNoticeModal = _props =&gt; {
303 310 setFilterEmployeeName("");
304 311 }}
305 312 >
306   - 全 部
  313 + {btnAll}
307 314 </Button>
308 315 <Input
309 316 size="large"
310   - placeholder="员工名称/工号"
  317 + placeholder={employeeNameIdTitle}
311 318 style={{ border: "1px solid #AAA", borderRadius: 5 }}
312 319 value={employeeName}
313 320 onChange={e => {
... ... @@ -321,7 +328,7 @@ const firstNoticeModal = _props =&gt; {
321 328 setFilterEmployeeName(employeeName);
322 329 }}
323 330 >
324   - 查 询
  331 + {btnSearch}
325 332 </Button>
326 333 </div>
327 334 </div>
... ... @@ -336,14 +343,14 @@ const firstNoticeModal = _props =&gt; {
336 343 onClick={() => props.setModalShow(false)}
337 344 style={{ background: "#ff7800", "border-color": "#ff7800" }}
338 345 >
339   - 取 消
  346 + {BtnCancel}
340 347 </Button>
341 348 <Button
342 349 size="large"
343 350 type="primary"
344 351 onClick={() => {
345 352 if (commonUtils.isEmptyObject(tablePropsCollect.data)) {
346   - message.info("请先选择接收人!");
  353 + message.info(selectRecipient);
347 354 return;
348 355 }
349 356  
... ... @@ -360,7 +367,7 @@ const firstNoticeModal = _props =&gt; {
360 367 });
361 368 }}
362 369 >
363   - 发 送
  370 + {btnSend}
364 371 </Button>
365 372 </div>
366 373 </div>
... ...