jinquanwu лет назад: 6
Родитель
Сommit
98da2a9194

+ 26 - 6
CallCenterWeb.UI/WorkOrder/AddWorkOrder.html

@@ -55,7 +55,8 @@
55 55
 						</div>
56 56
 						<div class="form-group col-md-4">
57 57
 							<label for="order_tel"><b class="text-red">*</b>客户电话:</label>
58
-							<input type="text" class="form-control input-sm" id="order_tel" placeholder="请输入联系电话">
58
+							<input type="text" class="form-control input-sm" id="order_tel" placeholder="请输入联系电话"
59
+							onkeyup="this.value=this.value.replace(/[^0-9\.]/g,'')">
59 60
 						</div>
60 61
 						<div class="form-group col-md-4">
61 62
 							<label for="order_company"><b class="text-red">*</b>公司名称:</label>
@@ -151,7 +152,15 @@
151 152
 							<label for="order_tel"><b class="text-red">*</b>客户编号:</label>
152 153
 							<input type="text" class="form-control input-sm" id="number" placeholder="请输入10位纯数字客户编号"
153 154
 							 onkeyup="this.value=this.value.replace(/[^0-9\.]/g,'')">
154
-							<span id="span"></span>
155
+							<span id="span"><button type="button">查看</button></span>
156
+						</div>
157
+						<div id="" class="form-group col-md-4" style="display: none;">
158
+							<div id="" >
159
+								<label for="order_tel">客户编号:<span id="">11111111</span></label>
160
+								<label for="order_tel">公司名称:<span id="">11111111</span></label>
161
+								<label for="order_tel">公司电话:<span id="">11111111</span></label>
162
+								<label for="order_tel">渠道类型:<span id="">11111111</span></label>
163
+							</div>
155 164
 						</div>
156 165
 						<div class="form-group col-md-4">
157 166
 							<label for="order_tel">物料编码:</label>
@@ -191,12 +200,16 @@
191 200
 							<label for="order_tel">配方:</label>
192 201
 							<input type="text" class="form-control input-sm" id="formula" placeholder="请输入配方">
193 202
 						</div>
194
-						<div class="form-group col-md-4">
203
+						<div class="form-group col-md-4" >
195 204
 							<label for="order_handle">产品种类:</label>
196 205
 							<select class="form-control input-sm " id="Product_Category">
197 206
 								<option value="0">请选择产品种类</option>
198 207
 							</select>
199 208
 						</div>
209
+						<div class="form-group col-md-4" style="display: none;" id="qita">
210
+							<label for="order_handle">其他请输入:</label>
211
+							<input type="text" class="form-control input-sm " id="Product_" placeholder="其他请输入">
212
+						</div>
200 213
 						<div class="form-group col-md-4">
201 214
 							<label for="order_tel">问题数量(吨):</label>
202 215
 							<input type="text" class="form-control input-sm" id="quantity" placeholder="请输入问题数量(吨)"
@@ -233,9 +246,11 @@
233 246
 							<input type="text" class="form-control input-sm" id="der_Code" placeholder="请输入物料编码"
234 247
 							onkeyup="this.value=this.value.replace(/[^0-9\.]/g,'')">
235 248
 						</div>
236
-						<div class="form-group col-md-4">
237
-							<label for="order_tel">抽检时间:</label>
238
-							<input type="text" class="form-control input-sm" id="der_time" placeholder="请输入抽检时间">
249
+						<div class="form-group col-md-4">							
250
+							<label for="order_tel">抽检时间:</label>		
251
+							<input class="form-control search_time" type="text" id="sc_time" placeholder="请选择起止时间">
252
+							<!-- <input class="form-control search_time" type="text" id="sc_time" placeholder="请选择起止时间"> -->
253
+							<!-- <input type="text" class="form-control input-sm" id="der_time" placeholder="请输入抽检时间"> -->
239 254
 						</div>
240 255
 						<div class="form-group col-md-4">
241 256
 							<label for="order_handle">抽检级别:</label>
@@ -249,6 +264,10 @@
249 264
 								<option value="0">请选择抽检单位</option>
250 265
 							</select>
251 266
 						</div>
267
+						<div class="form-group col-md-4" style="display: none;" id="danwei">
268
+							<label for="order_handle">其他请输入:</label>
269
+							<input type="text" class="form-control input-sm " id="Prod" placeholder="其他请输入">
270
+						</div>
252 271
 						<div class="form-group col-md-4">
253 272
 							<label for="order_tel">化验单位:</label>
254 273
 							<input type="text" class="form-control input-sm" id="der_Test" placeholder="请输入化验单位">
@@ -320,6 +339,7 @@
320 339
 				</form>
321 340
 			</div>
322 341
 		</div>
342
+		<script src="../js/laydate/laydate.js"></script>
323 343
 		<script src="../js/autosize/autosize.min.js"></script>
324 344
 		<script src="../js/bootstrap-select/js/bootstrap-select.js"></script>
325 345
 		<script src="../js/bootstrap-select/js/i18n/defaults-zh_CN.js"></script>

+ 1 - 1
CallCenterWeb.UI/WorkOrder/js/materiel.js

@@ -166,7 +166,7 @@ function btn_export() {
166 166
 		maxmin: true, //开启最大化最小化按钮
167 167
 		type: 2,
168 168
 		content: "import.html", //iframe的url,no代表不显示滚动条
169
-		title: '导入客户信息',
169
+		title: '导入信息',
170 170
 		area: ['50%', '55%'], //宽高
171 171
 	});
172 172
 }

+ 19 - 16
CallCenterWeb.UI/commonTpl/WorkOrderEnd.html

@@ -79,7 +79,7 @@
79 79
 								
80 80
 							</div>
81 81
 						</td>						
82
-                        <th></th>
82
+                        <th id="F_Address">请选择原因:</th>
83 83
 						<td  id="F_Address">					
84 84
 							<label class="radio-inline">
85 85
 								<select  class="col-md-3 form-control" type="radio" name="isove" id="wclyy"></select> 
@@ -127,17 +127,18 @@
127 127
 						<tr>
128 128
 						   <th >索赔金额:</th>
129 129
 						   <td>
130
-							   <input type="text" class="form-control selectpicker"  id="suopei"  placeholder="单位:元"/>
130
+							   <input type="text" class="form-control selectpicker"  id="suopei"  placeholder="单位:元"
131
+							   onkeyup="this.value=this.value.replace(/[^0-9\.]/g,'')"/>
131 132
 						   </td>
132 133
 						   <th >责任段位可多选:</th>
133 134
 						   <td>
134 135
 							   <div id="duoxuan">					   
135
-								   <input type="radio" name="duo" value="生产" checked="checked">生产
136
-								   <input type="radio" name="duo" value="研发">研发
137
-								   <input type="radio" name="duo" value="农化">农化
138
-								   <input type="radio" name="duo" value="物流">物流
139
-								   <input type="radio" name="duo" value="质量管理科">质量管理科
140
-								   <input type="radio" name="duo" value="销售内勤">销售内勤
136
+								   <input type="checkbox" name="duo" value="生产" checked="checked">生产
137
+								   <input type="checkbox" name="duo" value="研发">研发
138
+								   <input type="checkbox" name="duo" value="农化">农化
139
+								   <input type="checkbox" name="duo" value="物流">物流
140
+								   <input type="checkbox" name="duo" value="质量管理科">质量管理科
141
+								   <input type="checkbox" name="duo" value="销售内勤">销售内勤
141 142
 							   </div>
142 143
 						   </td>
143 144
 						</tr>
@@ -149,9 +150,9 @@
149 150
 								  <input type="radio" name="tong" value="不同意">不同意
150 151
 							   </div>
151 152
 						   </td>
152
-						   <th>不同意意见:</th>
153
-						   <td>
154
-							  <input type="text" name="" id="butong" value=""  class="form-control selectpicker"/>
153
+						   <th style="display: none;" id="nnn">不同意意见:</th>
154
+						   <td style="display: none;" id="nnn">
155
+						   	  <input type="text" name="" id="butong" value=""  class="form-control selectpicker" placeholder="请输入不同意意见"/>
155 156
 						   </td>
156 157
 						</tr>
157 158
 						<tr>
@@ -162,9 +163,10 @@
162 163
 								  <input type="radio" name="buchang" value="钱款">钱款
163 164
 							   </div>
164 165
 						   </td>
165
-						   <th>补偿钱款:</th>
166
-						   <td>
167
-							  <input type="text" name="" id="buqian" value=""  class="form-control selectpicker"/>
166
+						   <th style="display: none;" id="mmm">补偿钱款:</th>
167
+						   <td style="display: none;" id="mmm">
168
+						   	  <input type="text" name="" id="butong" value=""  class="form-control selectpicker"
169
+						   	onkeyup="this.value=this.value.replace(/[^0-9\.]/g,'')" placeholder="请输入补偿钱款"/>
168 170
 						   </td>
169 171
 						</tr>
170 172
 						<tr>
@@ -176,7 +178,8 @@
176 178
 						   </td>
177 179
 							<th>确认实收数量:</th>
178 180
 						   <td>
179
-							   <input type="text"  id="shuliang" value=""  placeholder="吨" class="form-control selectpicker"/>
181
+							   <input type="text"  id="shuliang" value=""  placeholder="吨" class="form-control selectpicker"
182
+							   onkeyup="this.value=this.value.replace(/[^0-9\.]/g,'')"/>
180 183
 						   </td>
181 184
 						</tr>
182 185
 						<tr>
@@ -231,7 +234,7 @@
231 234
 						   		<input type="radio" name="radio" id="" value="1" />是
232 235
 						   	</div>			
233 236
 						   </td>	
234
-						   <th>对应审批工作流单号:</th>
237
+						   <th>是否备案:</th>
235 238
 						   <td>
236 239
 						      <div id="gongzuol">
237 240
 						      	<input type="radio" name="chou" id="" value="未备案"  checked="checked"/>未备案

+ 33 - 23
CallCenterWeb.UI/commonTpl/WorkOrderTransfer.html

@@ -19,6 +19,9 @@
19 19
 			#abc,#abcd,#abcde,#abcdef{
20 20
 				display:none;
21 21
 			}
22
+			#btyyj{
23
+				display: none;
24
+			}
22 25
 		</style>
23 26
 	</head>
24 27
 
@@ -157,17 +160,18 @@
157 160
 						<tr>
158 161
 						   <th >索赔金额:</th>
159 162
 						   <td>
160
-							   <input type="text" class="form-control selectpicker"  id="suopei"  placeholder="单位:元"/>
163
+							   <input type="text" class="form-control selectpicker"  id="suopei"  placeholder="单位:元"
164
+							   onkeyup="this.value=this.value.replace(/[^0-9\.]/g,'')"/>
161 165
 						   </td>
162
-						   <th >责任位可多选:</th>
166
+						   <th >责任位可多选:</th>
163 167
 						   <td>
164 168
 						   	   <div id="duoxuan">					   
165
-						   	   	   <input type="radio" name="duo" value="生产" checked="checked">生产
166
-								   <input type="radio" name="duo" value="研发">研发
167
-								   <input type="radio" name="duo" value="农化">农化
168
-								   <input type="radio" name="duo" value="物流">物流
169
-								   <input type="radio" name="duo" value="质量管理科">质量管理科
170
-								   <input type="radio" name="duo" value="销售内勤">销售内勤
169
+						   	   	   <input type="checkbox" name="duo" value="生产" checked="checked">生产
170
+								   <input type="checkbox" name="duo" value="研发">研发
171
+								   <input type="checkbox" name="duo" value="农化">农化
172
+								   <input type="checkbox" name="duo" value="物流">物流
173
+								   <input type="checkbox" name="duo" value="质量管理科">质量管理科
174
+								   <input type="checkbox" name="duo" value="销售内勤">销售内勤
171 175
 						   	   </div>
172 176
 						   </td>
173 177
 						</tr>
@@ -179,10 +183,12 @@
179 183
 								  <input type="radio" name="tong" value="不同意">不同意
180 184
 							   </div>
181 185
 						   </td>
182
-						   <th>不同意意见:</th>
183
-						   <td>
184
-						   	  <input type="text" name="" id="butong" value=""  class="form-control selectpicker"/>
185
-						   </td>
186
+						
187
+						   	  <th style="display: none;" id="nnn">不同意意见:</th>
188
+						   	  <td style="display: none;" id="nnn">
189
+						   	  	  <input type="text" name="" id="butong" value=""  class="form-control selectpicker" placeholder="请输入不同意意见"/>
190
+						   	  </td>
191
+						
186 192
 						</tr>
187 193
 						<tr>
188 194
 						   <th>补偿方式:</th>
@@ -192,9 +198,10 @@
192 198
 								  <input type="radio" name="buchang" value="钱款">钱款
193 199
 							   </div>
194 200
 						   </td>
195
-						   <th>补偿钱款:</th>
196
-						   <td>
197
-						   	  <input type="text" name="" id="butong" value=""  class="form-control selectpicker"/>
201
+						   <th style="display: none;" id="mmm">补偿钱款:</th>
202
+						   <td style="display: none;" id="mmm">
203
+						   	  <input type="text" name="" id="butong" value=""  class="form-control selectpicker"
204
+							  onkeyup="this.value=this.value.replace(/[^0-9\.]/g,'')" placeholder="请输入补偿钱款"/>
198 205
 						   </td>
199 206
 						</tr>
200 207
 						<tr>
@@ -206,7 +213,8 @@
206 213
 						   </td>
207 214
 						    <th>确认实收数量:</th>
208 215
 						   <td>
209
-						       <input type="text"  id="shuliang" value=""  placeholder="吨" class="form-control selectpicker"/>
216
+						       <input type="text"  id="shuliang" value=""  placeholder="吨" class="form-control selectpicker"
217
+							   onkeyup="this.value=this.value.replace(/[^0-9\.]/g,'')"/>
210 218
 						   </td>
211 219
 						</tr>
212 220
 						<tr>
@@ -244,13 +252,14 @@
244 252
 						   <td>
245 253
 							  <input type="text" class="form-control" id="duiying"  placeholder="请输入工作流单号"/>
246 254
 						   </td>
247
-						   <th>对应审批工作流单号:</th>
255
+						   <th>确认返账金额:</th>
248 256
 						   <td>
249
-						      <input type="text" class="form-control" id="shenpi"  placeholder="请输入工作流单号"/>
257
+						      <input type="text" class="form-control" id="shenpi"  placeholder="请输入工作流单号"
258
+							  onkeyup="this.value=this.value.replace(/[^0-9\.]/g,'')"/>
250 259
 						   </td>
251 260
 						</tr>
252 261
                     </table>
253
-					<table id="abcdef" class="_table1 table table-bordered  table-hover " border="0" cellspacing="0" cellpadding="0" style="width: 100%; display: none;" >
262
+					<table id="abcdef" class="_table1 table table-bordered  table-hover " border="0" cellspacing="0" cellpadding="0" style="width: 100%; " >
254 263
 						<tr>
255 264
 						   <th colspan="4">抽检类质量管理部</th>
256 265
 						</tr>
@@ -262,11 +271,11 @@
262 271
 						   		<input type="radio" name="radio" id="" value="1" />是
263 272
 						   	</div>			
264 273
 						   </td>	
265
-						   <th>抽检:</th>
274
+						   <th>是否备案:</th>
266 275
 						   <td>
267 276
 							   <div id="shenpi">
268
-							   	  <input type="radio" name="beian" class="form-control" value="已备案" />已备案
269
-								  <input type="radio" name="beian" class="form-control" value="未备案"/>未备案
277
+							   	  <input type="radio" name="beian"  value="已备案" />已备案
278
+								  <input type="radio" name="beian"  value="未备案"/>未备案
270 279
 							   </div>
271 280
 						      
272 281
 						   </td>
@@ -274,7 +283,8 @@
274 283
 						<th>索赔金额:</th>
275 284
 						<td>
276 285
 						   <div id="">
277
-							  <input type="text" name="" id="suopeijin" value="" placeholder="请输入金额/单位元"/>
286
+							  <input type="text" name="" id="suopeijin" value="" placeholder="请输入金额/单位元"
287
+							  onkeyup="this.value=this.value.replace(/[^0-9\.]/g,'')"/>
278 288
 						   </div>						   
279 289
 						</td>
280 290
 					 </table>	

+ 15 - 15
CallCenterWeb.UI/commonTpl/addOrEditWorkOrder.html

@@ -84,7 +84,7 @@
84 84
 						</div>
85 85
 						<div class="form-group col-md-4">
86 86
 							<label for="order_tel">详细地址:</label>
87
-							<input type="text" class="form-control input-sm" id="xiangxi" placeholder="请输入联系电话">
87
+							<input type="text" class="form-control input-sm" id="xiangxi" placeholder="请输入详细地址">
88 88
 						</div>
89 89
 						<div class="form-group col-md-4" id="sanjiliandong">
90 90
 							<label for="order_name">销售基地:</label>
@@ -94,7 +94,7 @@
94 94
 					</div>
95 95
 					<div class="form-group col-md-12">
96 96
 						<label for="order_reception">问题描述:</label>
97
-						<textarea id="reception" rows="3" cols="20" class="form-control" placeholder="请输入反馈内容"></textarea>
97
+						<textarea id="reception" rows="3" cols="20" class="form-control" placeholder="请输入问题描述"></textarea>
98 98
 					</div>
99 99
 					
100 100
 					<div class="form-group col-md-12 clearfix">
@@ -128,7 +128,7 @@
128 128
 						</div>
129 129
 						<div class="form-group col-md-4">
130 130
 							<label for="order_name">问题数量:</label>
131
-							<input type="text" class="form-control input-sm" id="Product_Quantity" placeholder="请输入客户姓名">
131
+							<input type="text" class="form-control input-sm" id="Product_Quantity" placeholder="请输入数量">
132 132
 						</div>
133 133
 						<div class="form-group col-md-4" id="PageArrival">
134 134
 							<label for="order_handle">咨询大区:</label>
@@ -149,11 +149,11 @@
149 149
 						
150 150
 						<div class="form-group col-md-4">
151 151
 							<label for="order_tel"><b class="text-red">*</b>客户编号:</label>
152
-							<input type="text" class="form-control input-sm" id="numb" placeholder="请输入联系电话">
152
+							<input type="text" class="form-control input-sm" id="numb" placeholder="请输入10位数字">
153 153
 						</div>
154 154
 						<div class="form-group col-md-4">
155 155
 							<label for="order_tel">物料编码:</label>
156
-							<input type="text" class="form-control input-sm" id="Code" placeholder="请输入联系电话">
156
+							<input type="text" class="form-control input-sm" id="Code" placeholder="请输入11位数字">
157 157
 						</div>
158 158
 						<!-- <div class="form-group col-md-4">
159 159
 							<label for="order_handle">乡:</label>
@@ -181,11 +181,11 @@
181 181
 						</div>
182 182
 						<div class="form-group col-md-4">
183 183
 							<label for="order_tel">生产批号:</label>
184
-							<input type="text" class="form-control input-sm" id="Batch_number" placeholder="请输入联系电话">
184
+							<input type="text" class="form-control input-sm" id="Batch_number" placeholder="请输入批号">
185 185
 						</div>
186 186
 						<div class="form-group col-md-4">
187 187
 							<label for="order_tel">配方:</label>
188
-							<input type="text" class="form-control input-sm" id="formula" placeholder="请输入联系电话">
188
+							<input type="text" class="form-control input-sm" id="formula" placeholder="请输入配方">
189 189
 						</div>
190 190
 						<div class="form-group col-md-4">
191 191
 							<label for="order_handle">产品种类:</label>
@@ -195,7 +195,7 @@
195 195
 						</div>
196 196
 						<div class="form-group col-md-4">
197 197
 							<label for="order_tel">问题数量(吨):</label>
198
-							<input type="text" class="form-control input-sm" id="quantity" placeholder="请输入联系电话">
198
+							<input type="text" class="form-control input-sm" id="quantity" placeholder="请输入数量">
199 199
 						</div>
200 200
 						<div class="form-group col-md-4">
201 201
 							<label for="order_handle">重要级别:</label>
@@ -220,15 +220,15 @@
220 220
 						</div>
221 221
 						<div class="form-group col-md-4">
222 222
 							<label for="order_tel"><b class="text-red">*</b>客户编号:</label>
223
-							<input type="text" class="form-control input-sm" id="der_name" placeholder="请输入联系电话">
223
+							<input type="text" class="form-control input-sm" id="der_name" placeholder="请输入11纯数字">
224 224
 						</div>
225 225
 						<div class="form-group col-md-4">
226 226
 							<label for="order_tel">物料编码:</label>
227
-							<input type="text" class="form-control input-sm" id="der_Code" placeholder="请输入联系电话">
227
+							<input type="text" class="form-control input-sm" id="der_Code" placeholder="请输入11位纯数字">
228 228
 						</div>
229 229
 						<div class="form-group col-md-4">
230 230
 							<label for="order_tel">抽检时间:</label>
231
-							<input type="text" class="form-control input-sm" id="der_time" placeholder="请输入联系电话">
231
+							<input type="text" class="form-control input-sm" id="der_time" placeholder="请输入抽检时间">
232 232
 						</div>
233 233
 						<div class="form-group col-md-4">
234 234
 							<label for="order_handle">抽检级别:</label>
@@ -244,19 +244,19 @@
244 244
 						</div>
245 245
 						<div class="form-group col-md-4">
246 246
 							<label for="order_tel">化验单位:</label>
247
-							<input type="text" class="form-control input-sm" id="der_Test" placeholder="请输入联系电话">
247
+							<input type="text" class="form-control input-sm" id="der_Test" placeholder="请输入化验单位">
248 248
 						</div>
249 249
 						<div class="form-group col-md-4">
250 250
 							<label for="order_tel">抽检吨数:</label>
251
-							<input type="text" class="form-control input-sm" id="der_Tonnage" placeholder="请输入联系电话">
251
+							<input type="text" class="form-control input-sm" id="der_Tonnage" placeholder="请输入吨数">
252 252
 						</div>
253 253
 						<div class="form-group col-md-4">
254 254
 							<label for="order_tel">抽检袋数:</label>
255
-							<input type="text" class="form-control input-sm" id="der_Ton" placeholder="请输入联系电话">
255
+							<input type="text" class="form-control input-sm" id="der_Ton" placeholder="请输入袋数">
256 256
 						</div>
257 257
 						<div class="form-group col-md-4">
258 258
 							<label for="order_tel">公关费用金额:</label>
259
-							<input type="text" class="form-control input-sm" id="der_Amount" placeholder="请输入联系电话">
259
+							<input type="text" class="form-control input-sm" id="der_Amount" placeholder="请输入金额">
260 260
 						</div>
261 261
 					</div>
262 262
 					

+ 23 - 0
CallCenterWeb.UI/js/WorkOrder/AddWorkOrder.js

@@ -5,6 +5,12 @@
5 5
 //通话记录跳转过来的
6 6
 var callId = helper.request.queryString("cid");
7 7
 $(function() {
8
+	laydate.render({
9
+		elem: '#sc_time',
10
+		range: '~',
11
+		theme: '#1ab394',
12
+		calendar: true
13
+	});
8 14
 	//通话记录跳转过来的
9 15
 	var cphone = helper.request.queryString("cphone");
10 16
 	var cCustomerName = decodeURIComponent(helper.request.queryString("cCustomerName"));
@@ -152,6 +158,7 @@ function orderSave() {
152 158
 				  F_BatchNumber: $('#Batch_number').val(),//生产批号
153 159
 				  F_TS_Formula: $('#formula').val(),//配方
154 160
 				  F_TS_Category: $('#Product_Category').val(),//产品种类
161
+				  F_TS_Category: $('#Product_').val(),//其他
155 162
 				  F_TS_Quantity: $('#quantity').val(),//问题数量(吨)
156 163
 				  F_TS_Level: $('#level').val(),//重要界别
157 164
 				  //抽检模块
@@ -161,6 +168,7 @@ function orderSave() {
161 168
 				  F_CJ_Time: $('#der_time').val(),//抽检时间
162 169
 				  F_CJ_Level: $('#der_level').val(),//抽检级别
163 170
 				  F_CJ_Unit: $('#der_Company').val(),//抽检单位
171
+				  F_CJ_Unit: $('#Prod').val(),//抽检单位其他
164 172
 				  F_CJ_TestUnit: $('#der_Test').val(),//化验单位
165 173
 				  F_CJ_Tonnage: $('#der_Tonnage').val(),//抽检吨数
166 174
 				  F_CJ_BagNo: $('#der_Ton').val(),//抽检袋数
@@ -756,3 +764,18 @@ $(document).ready(function () {
756 764
 				});
757 765
 		})
758 766
 
767
+
768
+$("#Product_Category").change(function(){
769
+	if($("#Product_Category").find("option:selected").text()=="其他"){
770
+		$("#qita").show()
771
+	}else{
772
+		$("#qita").hide()
773
+	}
774
+})
775
+$("#der_Company").change(function(){
776
+	if($("#der_Company").find("option:selected").text()=="其他"){
777
+		$("#danwei").show()
778
+	}else{
779
+		$("#danwei").hide()
780
+	}
781
+})

+ 31 - 5
CallCenterWeb.UI/js/WorkOrder/WorkOrderEnd.js

@@ -23,6 +23,14 @@ $(document).ready(function() {
23 23
 
24 24
 })
25 25
 
26
+$('#Depth').find('input[type="radio"]').on('change', function() {
27
+			if($(this).val() == "0") { //业务办理
28
+				$('#F_Address,#F_Address').show();
29
+			}else{
30
+				$('#F_Address,#F_Address').hide();
31
+			}
32
+		});
33
+
26 34
 //获取工单信息
27 35
 function getWorkOrderInfo(oid) {
28 36
 	$.ajax({
@@ -68,18 +76,18 @@ function getWorkOrderInfo(oid) {
68 76
 					   
69 77
 					if($("#cl_gdlx").text()=="抽检"){
70 78
 					   if($("#cl_gdn").text()=="质量管理部"){
71
-						  $("#abcd").show(); 
72
-						  $("#abcdef").hide();
79
+						  $("#abcdef").show(); 
80
+						  $("#abcde").hide();
73 81
 					   }
74 82
 					}else if($("#cl_gdlx").text()=="投诉"){
75 83
 						   if($("#cl_gdn").text()=="质量管理部"){
76 84
 							   $("#abcd").show();
77
-							    $("#abcdef").hide(); 
85
+							    $("#abc").hide(); 
78 86
 						   }
79 87
 					 }else if($("#cl_gdlx").text()=="咨询"){
80 88
 						   if($("#cl_gdn").text()=="质量管理部"){
81
-							   $("#abcdef").show();
82
-							    $("#abcd").hide(); 
89
+							   $("#abcd").show();
90
+							    $("#abc").hide(); 
83 91
 						   }
84 92
 					   }
85 93
 					//微信内文件(暂时不用)
@@ -106,6 +114,23 @@ function getWorkOrderInfo(oid) {
106 114
 	});
107 115
 }
108 116
 
117
+
118
+$('#yijian').find('input[type="radio"]').on('change', function() {
119
+			if($(this).val() == "不同意") { //业务办理
120
+				$('#nnn,#nnn').show();
121
+			}else{
122
+				$('#nnn,#nnn').hide();
123
+			}
124
+});
125
+$('#buchang').find('input[type="radio"]').on('change', function() {
126
+			if($(this).val() == "钱款") { //业务办理
127
+				$('#mmm,#mmm').show();
128
+			}else{
129
+				$('#mmm,#mmm').hide();
130
+			}
131
+});
132
+
133
+
109 134
 //获取工单类型
110 135
 function getTypeName(val) {
111 136
 	var str = '';
@@ -141,6 +166,7 @@ function dealWorkOrder(oid) {
141 166
 		ImprovementRequirements: $("#yaoqiu").val(),
142 167
 		CApprovalNo: $("#danhao").val(),
143 168
 		ProductBase: $("#chou").val(),
169
+		uncont: $("#wclyy").val(),//未处理原因
144 170
 		isvisit: $("#hui_FA").find('input[type="radio"]:checked').val(),
145 171
 		IsRecord: $("#gongzuol").find('input[type="radio"]:checked').val(),
146 172
 		// QualityMonth:

+ 22 - 41
CallCenterWeb.UI/js/WorkOrder/WorkOrderTransfer.js

@@ -86,24 +86,20 @@ $("#clbm").blur(function(){
86 86
 	
87 87
 })
88 88
 
89
-// $("#customer_feeEx").change(function(){
90
-// 	if($("#customer_feeEx").find("option:selected").text()=="其他"){
91
-// 		$("#ddd").show()
92
-// 	}else{
93
-// 		$("#ddd").hide()
94
-// 	}
95
-// 	
96
-// })
97
-// $("#customer_Qualification").change(function(){
98
-// 	if($("#customer_Qualification").find("option:selected").text()=="其他"){
99
-// 		$("#eee").show()
100
-// 	}else{
101
-// 		$("#eee").hide()
102
-// 	}
103
-// 	
104
-// })
105
-
106
-
89
+$('#yijian').find('input[type="radio"]').on('change', function() {
90
+			if($(this).val() == "不同意") { //业务办理
91
+				$('#nnn,#nnn').show();
92
+			}else{
93
+				$('#nnn,#nnn').hide();
94
+			}
95
+});
96
+$('#buchang').find('input[type="radio"]').on('change', function() {
97
+			if($(this).val() == "钱款") { //业务办理
98
+				$('#mmm,#mmm').show();
99
+			}else{
100
+				$('#mmm,#mmm').hide();
101
+			}
102
+});
107 103
 //获取工单信息
108 104
 function getWorkOrderInfo(oid) {
109 105
 	$.ajax({
@@ -225,48 +221,33 @@ function zTreeOnClick(event, treeId, treeNode) {
225 221
 
226 222
 	  if($("#cl_gdlx").text()=="抽检"){  
227 223
 		   $("#abcde").show();
228
-		   $("#abc").hide();
224
+		   $("#abcdef").hide();
229 225
 	  }else if($("#cl_gdlx").text()=="投诉"){
230 226
 		  $("#abc").show();
231
-		  $("#abcde").hide();	
227
+		  $("#abcd").hide();	
232 228
 	  }else if($("#cl_gdlx").text()=="咨询"){
233 229
 		  $("#abc").show();
234
-		  $("#abcde").hide();	
230
+		  $("#abcd").hide();	
235 231
 	  }
236 232
 	 }
237 233
 	
238 234
 	if ($("#clbm").val()==12) {
239 235
 	  if($("#cl_gdlx").text()=="抽检"){  
240 236
 		   $("#abcdef").show();
241
-		   $("#abcd").hide();
237
+		   $("#abcde").hide();
242 238
 	  }else if($("#cl_gdlx").text()=="投诉"){
243 239
 		  $("#abcd").show();
244
-		  $("#abcdef").hide();	
240
+		  $("#abc").hide();	
245 241
 	  }else if($("#cl_gdlx").text()=="咨询"){
246 242
 		  $("#abcd").show();
247 243
 		  $("#abc").hide();	
248 244
 	  }
249 245
 	 }
250 246
 	
251
-	// if ($("#clbm").val()==12) {
252
-	// 	// $("#abc").show();
253
-	// 	
254
-	//   if($("#cl_gdlx").text()=="抽检"){ 
255
-	// 	  alert($("#cl_gdlx").text());
256
-	// 	  $("#abcdef").show();
257
-	// 	   $("#abcd").hide();
258
-	//   }
259
-	// }else if($("#cl_gdlx").text()=="投诉"){
260
-	// 	  $("#abcd").show();
261
-	// 	   $("#abcdef").hide();
262
-	//   }	
263
-	// if($("#clbm").val()==12){
264
-	// 	$("#abcd").show()
265
-	// }else{
266
-	// 	$("#abcd").hide()
267
-	// }
268 247
 };
269 248
 
249
+
250
+
270 251
 //获取人员
271 252
 function getRY(obj, deptid) {
272 253
 	var proid = helper.request.queryString("proid"); //项目id
@@ -321,7 +302,7 @@ function dealWorkOrder(oid) {
321 302
 		isvisit: $("#huifang").find('input[type="radio"]:checked').val(), 
322 303
 		QualityEventLevel: $("#dengji").val(), 
323 304
 		ApprovalDisagree: $("#butong").val(), 
324
-		ResponsibleUnit: $("#duoxuan").find('input[type="radio"]:checked').val(),
305
+		ResponsibleUnit: $("#duoxuan").find('input[type="checkbox"]:checked').val(),
325 306
 		ApprovalOpinions: $("#yijian").find('input[type="radio"]:checked').val(), 
326 307
 		CompensationMethod: $("#buchang").find('input[type="radio"]:checked').val(),
327 308
 		CompensationMoney: $("#buqian").val(),