From 6029d9cca9e132c4ba7a64cefe3db5eeaaecdf74 Mon Sep 17 00:00:00 2001
From: yusijie <ysj@hz-kingdee.com>
Date: 星期五, 07 十一月 2025 09:24:53 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-LayUI

---
 WebTM/views/质量管理/质量报表/QC_ProcessPerformanceFirstPass.html |   49 ++++++++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 44 insertions(+), 5 deletions(-)

diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_ProcessPerformanceFirstPass.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_ProcessPerformanceFirstPass.html"
index e4d973b..9ef3642 100644
--- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_ProcessPerformanceFirstPass.html"
+++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_ProcessPerformanceFirstPass.html"
@@ -63,9 +63,12 @@
                                 <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px">閲嶇疆</button>
                                 <div class="layui-row" style="margin-top:5px;margin-left:82px;margin-bottom:5px;">
                                     <div class="layui-inline">
-                                        <label class="layui-form-label" style="width: 85px;">鐗╂枡缂栫爜</label>
+                                        <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">鐗╂枡缂栫爜</label>
                                         <div class="layui-input-block" style="margin-left: 120px;">
-                                            <input type="text" class="layui-input ForFilteringSchemes" name="HMaterNumber" id="HMaterNumber">
+                                            <input type="text" class="layui-input" name="HMaterNumber" id="HMaterNumber" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly>
+                                            <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnHMaterID" id="btnHMaterID" style="padding: 0 10px; margin-right: 3px;">
+                                                <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
+                                            </button>
                                         </div>
                                     </div>
                                     <div class="layui-inline">
@@ -174,6 +177,12 @@
             form.on('submit(btnReSearch)', function (data) {
                 set_ClearQuery();
             });
+
+            //#region 浜у搧缂栫爜
+            form.on('submit(btnHMaterID)', function (data) {
+                btnHMaterID();
+            });
+            //#endregion
             //#endregion
 
             //#region 鐐瑰嚮琛岄�変腑楂樹寒
@@ -531,6 +540,7 @@
                         {
                             name: '涓�娆″悎鏍肩巼',
                             type: 'line',
+                            yAxisIndex: 1, // 浣跨敤绗簩涓� yAxis 鏄剧ず鐧惧垎姣�
                             label: {
                                 show: true,
                                 formatter: '{c}%'
@@ -553,6 +563,7 @@
                         {
                             name: '鐩爣鍊�',
                             type: 'line',
+                            yAxisIndex: 1, // 浣跨敤绗簩涓� yAxis 鏄剧ず鐧惧垎姣�
                             label: {
                                 show: true,
                                 formatter: '{c}%'
@@ -655,9 +666,10 @@
                     series: [
                         {
                             name: '宸ユ枡鐜�',
-                            type: 'line',
+                            type: 'line',                          
                             label: {
-                                show: true
+                                show: true,
+                                formatter: '{c}%'
                             },
                             itemStyle: {
                                 normal: {
@@ -673,7 +685,8 @@
                             name: '鏂欏簾鐜�',
                             type: 'line',
                             label: {
-                                show: true
+                                show: true,
+                                formatter: '{c}%'
                             },
                             itemStyle: {
                                 normal: {
@@ -929,6 +942,32 @@
             }
             //#endregion
 
+            //鐗╂枡鍒楄〃
+            function btnHMaterID() {
+                layer.open({
+                    type: 2 //绫诲瀷
+                    , skin: 'layui-layer-rim'//鍔犱笂杈规
+                    , area: ['90%', '90%']//澶у皬
+                    , title: '鐗╂枡鍒楄〃'//鏍囬
+                    , shift: 2//寮瑰嚭鍔ㄧ敾
+                    , content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_Material.html', 'yes']
+                    , btn: ['纭畾', '鍙栨秷']
+                    , btn1: function (index, layero) {//鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟
+                        var iframeWindow = window['layui-layer-iframe' + index]  //鑾峰彇寮规椤甸潰
+                        var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//鑾峰彇table鐨別lem:"#test"
+                        if (checkStatus.data.length === 0) {
+                            return layer.msg('璇烽�夋嫨鏁版嵁');
+                        }
+                        //鑾峰彇鏁版嵁
+                        $("#HMaterNumber").val(checkStatus.data[0].鐗╂枡浠g爜);
+                        $("#HMaterName").val(checkStatus.data[0].鐗╂枡鍚嶇О);
+                        layer.close(index); //瀹冭幏鍙栫殑濮嬬粓鏄渶鏂板脊鍑虹殑鏌愪釜灞傦紝鍊兼槸鐢眑ayer鍐呴儴鍔ㄦ�侀�掑璁$畻鐨�
+                    }
+                    , btn2: function (index, layero) { }
+                })
+            }
+
+
             //浠ヤ笂鏄痩ayui妯″潡
         });
     </script>

--
Gitblit v1.9.1