Kaynağa Gözat

增加 补码 车间

姜永辉 1 yıl önce
ebeveyn
işleme
34e4cfee54

+ 11 - 1
wwwroot/mes/rpt/rpt201/rpt_index.html

@@ -28,7 +28,7 @@
                         <input class="easyui-datetimebox" id="dateendMaster" name="dateendMaster" data-options="required:true,prompt:'',tipPosition:'top'" style="width:180px; height:32px;">
                         车间:
                         <input class="easyui-combobox" id="linecodeMaster" name="linecodeMaster" data-options="required:false,valueField:'value',textField:'text',
-                               data:[{'text': '成A', 'value': 'A'}, {'text': '成B', 'value': 'B'}, {'text': '成C', 'value': 'C'}, {'text': '高压', 'value': '高压'}, {'text': '干补', 'value': '干补'}]" style=" width: 120px; height: 32px; ">
+                               data:[{'text': '成A', 'value': 'A'}, {'text': '成B', 'value': 'B'}, {'text': '成C', 'value': 'C'}, {'text': '高压', 'value': '高压'}, {'text': '干补', 'value': '干补'}, {'text': '补码', 'value': '补码'}]" style=" width: 120px; height: 32px; ">
 
                         成型段号:  <input class="easyui-combobox" id="linesection" name="linesection" data-options="required:false,valueField:'value',textField:'text',
                                data:[]" style=" width: 120px; height: 32px; " >
@@ -125,6 +125,16 @@
                         });
 
                     }
+                    if (val == "补码") {
+                        $('#linesection').combobox({   //初始化父级combobox控件
+                            valueField: 'id',  //显示数据的键的值
+                            textField: 'name', //显示数据的文本的值
+                            data: [
+                                { id: "01", name: "补码" },
+                            ]
+                        });
+
+                    }
                     if (val == "" || val == null) {
                         $('#linesection').combobox({   //初始化父级combobox控件
                             valueField: 'id',  //显示数据的键的值

+ 10 - 1
wwwroot/mes/rpt/rpt211/rpt_index.html

@@ -28,7 +28,7 @@
                         <input class="easyui-datetimebox" id="dateendMaster" name="dateendMaster" data-options="required:true,prompt:'',tipPosition:'top'" style="width:180px; height:32px;">
                         车间:
                         <input class="easyui-combobox" id="linecodeMaster" name="linecodeMaster" data-options="required:false,valueField:'value',textField:'text',
-                               data:[{'text': '成A', 'value': 'A'}, {'text': '成B', 'value': 'B'}, {'text': '成C', 'value': 'C'}, {'text': '高压', 'value': '高压'}, {'text': '干补', 'value': '干补'}]" style=" width: 120px; height: 32px; ">
+                               data:[{'text': '成A', 'value': 'A'}, {'text': '成B', 'value': 'B'}, {'text': '成C', 'value': 'C'}, {'text': '高压', 'value': '高压'}, {'text': '干补', 'value': '干补'}, {'text': '补码', 'value': '补码'}]" style=" width: 120px; height: 32px; ">
 
                         成型段号:  <input class="easyui-combobox" id="linesection" name="linesection" data-options="required:false,valueField:'value',textField:'text',
                                data:[]" style=" width: 120px; height: 32px; " onchange="choose(this.value)">
@@ -113,6 +113,15 @@
                             ]
                         });
                     }
+                    if (val == "补码") {
+                        $('#linesection').combobox({   //初始化父级combobox控件
+                            valueField: 'id',  //显示数据的键的值
+                            textField: 'name', //显示数据的文本的值
+                            data: [
+                                { id: "01", name: "补码" },
+                            ]
+                        });
+                    }
                 }
             });
         });

+ 2 - 0
wwwroot/mes/rpt/rpt306/rpt.ashx

@@ -179,6 +179,8 @@ public class rpt : IHttpHandler, IReadOnlySessionState
                                                                 '高压'
                                                                WHEN '00' THEN
                                                                 '干补'
+                                                                WHEN '01' THEN
+                                                                '补码'
                                                                ELSE
                                                                 ''
                                                            END 车间