Commit 6675b7b5d4e8e79fdc6fa21e8015c552a9a66e3b

Authored by qmj
2 parents a82c1e80 3471cf7b

Merge remote-tracking branch 'origin/release/customer/2025/劲嘉' into release/customer/2025/劲嘉

Showing 1 changed file with 15 additions and 2 deletions
src/mes/costomPageFun/index.js
@@ -825,12 +825,25 @@ const mesTableBtnClick3 = props => { @@ -825,12 +825,25 @@ const mesTableBtnClick3 = props => {
825 825
826 const iIndex = table0Data.findIndex(item => item.sId === sId); 826 const iIndex = table0Data.findIndex(item => item.sId === sId);
827 if (iIndex === -1) { 827 if (iIndex === -1) {
828 - message.info("未找到对应报工任务,请检查登录班次!", 3); 828 + setTimeout(() => {
  829 + props.onTableSelectRowChange("table0", []);
  830 + props.onSaveState({
  831 + refreshTableList: ["table0,table0NotFirstlineSelected"],
  832 + });
  833 + }, 200);
  834 +
  835 + const oTabs = document.querySelectorAll(`.ant-tabs-tab-btn[id*="班组报工"]`);
  836 + oTabs?.[0]?.click();
  837 + setTimeout(() => {
  838 + const oTabs1 = document.querySelectorAll(`.ant-tabs-tab-btn[id*="产量上报信息"]`);
  839 + oTabs1?.[0]?.click();
  840 + }, 200);
  841 + return;
829 // props.onExecInstructSet({ 842 // props.onExecInstructSet({
830 // nextProps: props, 843 // nextProps: props,
831 // btnConfig: config 844 // btnConfig: config
832 // }); 845 // });
833 - return; 846 + // return;
834 } 847 }
835 848
836 props.onSaveState({ 849 props.onSaveState({