Commit 042f7eb02485eaf9327a5503682a8114198ae75a

Authored by zhangzzzz
1 parent fd691713

修改功能;

src/mes/productionExec/productionExecMain/index.js
... ... @@ -656,28 +656,8 @@ const ProductionExecContent0 = props => {
656 656 .filter(item => item.bControl && item.sControlName.indexOf("Btn") === -1)
657 657 // .filter((_, index) => index < 8)
658 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 659 return {
679 660 ...item,
680   - ...addState,
681 661 iColValue: 24
682 662 };
683 663 });
... ... @@ -823,7 +803,6 @@ const ProductionExecContent0 = props =&gt; {
823 803 >
824 804 下料
825 805 </Button>
826   - {/* <Button {...btnProps}>产品②</Button> */}
827 806 </Space>
828 807 </div>
829 808 <div className="rightFormBtnFloor">
... ... @@ -838,14 +817,8 @@ const ProductionExecContent0 = props =&gt; {
838 817 </Button>
839 818 </Space>
840 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 822 </Space>
850 823 </div>
851 824 <div className="rightFormBtnFoot pagesNuxt">
... ...