Commit 042f7eb02485eaf9327a5503682a8114198ae75a

Authored by zhangzzzz
1 parent fd691713

修改功能;

src/mes/productionExec/productionExecMain/index.js
@@ -656,28 +656,8 @@ const ProductionExecContent0 = props => { @@ -656,28 +656,8 @@ const ProductionExecContent0 = props => {
656 .filter(item => item.bControl && item.sControlName.indexOf("Btn") === -1) 656 .filter(item => item.bControl && item.sControlName.indexOf("Btn") === -1)
657 // .filter((_, index) => index < 8) 657 // .filter((_, index) => index < 8)
658 .map(item => { 658 .map(item => {
659 - const addState = {};  
660 - if (item.sName === "dReportQty") {  
661 - if (  
662 - props.workOrderInfoData?.[0]?.sProcessName?.includes("切纸") ||  
663 - props.workOrderInfoData?.[0]?.sProcessName?.includes("胶印") ||  
664 - props.workOrderInfoData?.[0]?.sProcessName === "大切张F"  
665 - ) {  
666 - addState.showName = `${item.showName}(张)`;  
667 - } else if (  
668 - ["大模压F", "UV模压F", "蒸镀F", "大分条F", "贴合F"].includes(  
669 - props.workOrderInfoData?.[0]?.sProcessName  
670 - )  
671 - ) {  
672 - addState.showName = `${item.showName}(米)`;  
673 - } else {  
674 - addState.showName = `${item.showName}(个)`;  
675 - }  
676 - }  
677 -  
678 return { 659 return {
679 ...item, 660 ...item,
680 - ...addState,  
681 iColValue: 24 661 iColValue: 24
682 }; 662 };
683 }); 663 });
@@ -823,7 +803,6 @@ const ProductionExecContent0 = props =&gt; { @@ -823,7 +803,6 @@ const ProductionExecContent0 = props =&gt; {
823 > 803 >
824 下料 804 下料
825 </Button> 805 </Button>
826 - {/* <Button {...btnProps}>产品②</Button> */}  
827 </Space> 806 </Space>
828 </div> 807 </div>
829 <div className="rightFormBtnFloor"> 808 <div className="rightFormBtnFloor">
@@ -838,14 +817,8 @@ const ProductionExecContent0 = props =&gt; { @@ -838,14 +817,8 @@ const ProductionExecContent0 = props =&gt; {
838 </Button> 817 </Button>
839 </Space> 818 </Space>
840 <Space className="rightPart"> 819 <Space className="rightPart">
841 - <Button  
842 - {...btnProps}  
843 - {...getBtnConfigByControlName("BtnPrint3")}  
844 - style={{ display: "none" }}  
845 - >  
846 - 异常③  
847 - </Button>  
848 - {/* <Button {...btnProps}>撤销</Button> */} 820 + <Button {...btnProps} {...getBtnConfigByControlName("BtnPrint1")}>产品①</Button>
  821 + <Button {...btnProps} {...getBtnConfigByControlName("BtnPrint2")}>产量②</Button>
849 </Space> 822 </Space>
850 </div> 823 </div>
851 <div className="rightFormBtnFoot pagesNuxt"> 824 <div className="rightFormBtnFoot pagesNuxt">