From 374ce108d737c1e4d6608989090195a7346d10ad Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期四, 26 二月 2026 08:47:21 +0800
Subject: [PATCH] 优化格式美观度。 完成 (1)“印刷、打包、送货要求”放在右边的格子里面;右边格子拉通 (2)“单价”和“总价”的格子比例要调整适中 (3)把“印件名称”放在第一格 (1)操作中增加“问题处理”,进行处理操作  完成 (2)问题反馈除了生成在这个列表中,还要自动推送给对应订单的下单人或者送货安排(发起工作安排)的安排人,显示在他们的“工作提醒”中,处理完了就在列表中变成已完成问题处理,显示“√”,点“√”进去就显示谁处理的、什么时候处理的。  完成 生产施工单中,选“轮转印刷机”的,删除“纸张数量(张)”和“开料规格”  完成

---
 CY_ECommercePlatform/CY.WebForm/Pages/business/AgMergerOrderEdit.aspx |  165 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 164 insertions(+), 1 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/AgMergerOrderEdit.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/business/AgMergerOrderEdit.aspx
index a7a6d59..d6166fc 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/AgMergerOrderEdit.aspx
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/AgMergerOrderEdit.aspx
@@ -77,6 +77,80 @@
                 $(this).parent().parent().find("input").val($(this).text());
                 $(".xialapb").hide();
             });
+            
+
+
+            var selmachine = document.getElementById('selPMS_Machine');
+
+            if (selmachine.value.indexOf('杞浆') >= 0) {
+                //var select = document.getElementById("PSF_Typesetting");
+                //var option = select.options[0]; // index鏄淇敼鐨刼ption鐨勭储寮�
+                //option.text = "鎵g増";
+                //option.value = "鎵g増";
+
+                //var option1 = select.options[1]; // index鏄淇敼鐨刼ption鐨勭储寮�
+                //option1.text = "鍗曢潰";
+                //option1.value = "鍗曢潰";
+                // 鑾峰彇select鍏冪礌
+               
+                var selectElement = document.getElementById('PSF_Typesetting');
+
+                var sssssss = selectElement.value;
+
+                // 娓呯┖鐜版湁鐨刼ption
+                selectElement.innerHTML = '';
+
+                const newOptions = [
+                    { value: '鎵g増', text: '鎵g増' },
+                    { value: '鍗曢潰', text: '鍗曢潰' }
+
+                ];
+
+                // 4. 鎵归噺鏂板option鍒皊elect涓紙2绉嶆柟娉曪紝鎸夐渶閫夋嫨锛�
+                // 鏂规硶1锛氬惊鐜垱寤篛ption瀵硅薄锛堟爣鍑咲OM鎿嶄綔锛屾帹鑽愶紝鍏煎鎬ф渶濂斤級
+                newOptions.forEach(option => {
+                    // 鍒涘缓option鍏冪礌锛歯ew Option(鏄剧ず鏂囨湰, 瀹為檯鍊�)
+                    const opt = new Option(option.text, option.value);
+                    // 灏唎ption娣诲姞鍒皊elect涓�
+                    selectElement.add(opt);
+                });
+
+                selectElement.value = sssssss;
+            } else {
+                //var select = document.getElementById("PSF_Typesetting");
+                //var option = select.options[0]; // index鏄淇敼鐨刼ption鐨勭储寮�
+                //option.text = "鎵g増";
+                //option.value = "鎵g増";
+
+                //var option1 = select.options[1]; // index鏄淇敼鐨刼ption鐨勭储寮�
+                //option1.text = "鍗曢潰";
+                //option1.value = "鍗曢潰";
+                // 鑾峰彇select鍏冪礌
+                var selectElement = document.getElementById('PSF_Typesetting');
+                var sssssss = selectElement.value;
+                // 娓呯┖鐜版湁鐨刼ption
+                selectElement.innerHTML = '';
+
+                const newOptions = [
+                    { value: '鑷炕', text: '鑷炕' },
+                    { value: '婊氱炕', text: '婊氱炕' },
+                    { value: '鎵g増', text: '鎵g増' },
+                    { value: '鍗曢潰', text: '鍗曢潰' }
+
+                ];
+
+                // 4. 鎵归噺鏂板option鍒皊elect涓紙2绉嶆柟娉曪紝鎸夐渶閫夋嫨锛�
+                // 鏂规硶1锛氬惊鐜垱寤篛ption瀵硅薄锛堟爣鍑咲OM鎿嶄綔锛屾帹鑽愶紝鍏煎鎬ф渶濂斤級
+                newOptions.forEach(option => {
+                    // 鍒涘缓option鍏冪礌锛歯ew Option(鏄剧ず鏂囨湰, 瀹為檯鍊�)
+                    const opt = new Option(option.text, option.value);
+                    // 灏唎ption娣诲姞鍒皊elect涓�
+                    selectElement.add(opt);
+                });
+
+                selectElement.value = sssssss;
+            }
+
 
         });
     </script>
@@ -154,8 +228,18 @@
 
 
         $("#PSF_Typesetting").live("change", function () {
+
+
+            if ($("#selPMS_Machine").val().indexOf('鍏紑') >= 0 ) {
+                if ($("#PSF_Typesetting").val() == "鎵g増" || $("#PMS_ChromaticNumber").val() == "2") {
+                    $("#CTPCount").val("2");
+                } else {
+                    $("#CTPCount").val("1");
+                }
+            }
+
           
-            if ($("#selPMS_Machine").val().indexOf('鍏紑') >= 0 || $("#selPMS_Machine").val().indexOf('榛戠櫧') >= 0) {
+            if ( $("#selPMS_Machine").val().indexOf('榛戠櫧') >= 0) {
                 if ($("#PSF_Typesetting").val() == "鎵g増") {
                     $("#CTPCount").val("2");
                 } else {
@@ -173,6 +257,23 @@
 
 
         });
+
+
+
+        $("#PMS_ChromaticNumber").live("change", function () {
+
+            if ($("#selPMS_Machine").val().indexOf('鍏紑') >= 0 ) {
+                if ($("#PSF_Typesetting").val() == "鎵g増" || $("#PMS_ChromaticNumber").val() == "2") {
+                    $("#CTPCount").val("2");
+                } else {
+                    $("#CTPCount").val("1");
+                }
+            }
+
+           
+
+        });
+
 
         /*
 浜ゆ槗瀹㈡埛閫変腑鍊煎彂鐢熸敼鍙�
@@ -222,6 +323,68 @@
                 document.getElementById('CTPCount').value = '';
             }
 
+
+            if (sel.value.indexOf('杞浆') >= 0) {
+                //var select = document.getElementById("PSF_Typesetting");
+                //var option = select.options[0]; // index鏄淇敼鐨刼ption鐨勭储寮�
+                //option.text = "鎵g増";
+                //option.value = "鎵g増";
+
+                //var option1 = select.options[1]; // index鏄淇敼鐨刼ption鐨勭储寮�
+                //option1.text = "鍗曢潰";
+                //option1.value = "鍗曢潰";
+                // 鑾峰彇select鍏冪礌
+                var selectElement = document.getElementById('PSF_Typesetting');
+
+                // 娓呯┖鐜版湁鐨刼ption
+                selectElement.innerHTML = '';
+
+                const newOptions = [
+                    { value: '鎵g増', text: '鎵g増' },
+                    { value: '鍗曢潰', text: '鍗曢潰' }
+
+                ];
+
+                // 4. 鎵归噺鏂板option鍒皊elect涓紙2绉嶆柟娉曪紝鎸夐渶閫夋嫨锛�
+                // 鏂规硶1锛氬惊鐜垱寤篛ption瀵硅薄锛堟爣鍑咲OM鎿嶄綔锛屾帹鑽愶紝鍏煎鎬ф渶濂斤級
+                newOptions.forEach(option => {
+                    // 鍒涘缓option鍏冪礌锛歯ew Option(鏄剧ず鏂囨湰, 瀹為檯鍊�)
+                    const opt = new Option(option.text, option.value);
+                    // 灏唎ption娣诲姞鍒皊elect涓�
+                    selectElement.add(opt);
+                });
+            } else {
+                //var select = document.getElementById("PSF_Typesetting");
+                //var option = select.options[0]; // index鏄淇敼鐨刼ption鐨勭储寮�
+                //option.text = "鎵g増";
+                //option.value = "鎵g増";
+
+                //var option1 = select.options[1]; // index鏄淇敼鐨刼ption鐨勭储寮�
+                //option1.text = "鍗曢潰";
+                //option1.value = "鍗曢潰";
+                // 鑾峰彇select鍏冪礌
+                var selectElement = document.getElementById('PSF_Typesetting');
+
+                // 娓呯┖鐜版湁鐨刼ption
+                selectElement.innerHTML = '';
+
+                const newOptions = [
+                    { value: '鑷炕', text: '鑷炕' },
+                    { value: '婊氱炕', text: '婊氱炕' },
+                     { value: '鎵g増', text: '鎵g増' },
+                    { value: '鍗曢潰', text: '鍗曢潰' }
+
+                ];
+
+                // 4. 鎵归噺鏂板option鍒皊elect涓紙2绉嶆柟娉曪紝鎸夐渶閫夋嫨锛�
+                // 鏂规硶1锛氬惊鐜垱寤篛ption瀵硅薄锛堟爣鍑咲OM鎿嶄綔锛屾帹鑽愶紝鍏煎鎬ф渶濂斤級
+                newOptions.forEach(option => {
+                    // 鍒涘缓option鍏冪礌锛歯ew Option(鏄剧ず鏂囨湰, 瀹為檯鍊�)
+                    const opt = new Option(option.text, option.value);
+                    // 灏唎ption娣诲姞鍒皊elect涓�
+                    selectElement.add(opt);
+                });
+            }
            
            
         }

--
Gitblit v1.9.1