瀏覽代碼

禅道bug修改

liuzhen 5 年之前
父節點
當前提交
3eaaa9c3fa

+ 2 - 2
CallCenterWeb.UI/WorkOrder/AddWorkOrder.html

@@ -383,8 +383,8 @@
383 383
 							</select>
384 384
 						</div>
385 385
 						<div class="form-group col-md-4">
386
-							<label for="order_name">数量及单位:</label>
387
-							<input type="text" class="form-control input-sm" id="Product_Quantity" placeholder="请输入问题数量及单位" >
386
+							<label for="order_name">问题数量:</label>
387
+							<input type="text" class="form-control input-sm" id="Product_Quantity" placeholder="请输入问题数量" >
388 388
 						</div>
389 389
 						<div class="form-group col-md-4" id="sanjiliandong">
390 390
 							<label for="order_name">销售基地:</label>

+ 2 - 2
CallCenterWeb.UI/commonTpl/WorkOrderTransfer.html

@@ -220,8 +220,8 @@
220 220
 						<th>是否短信提醒:</th>
221 221
 						<td >
222 222
 							<div id="duanxin">
223
-								<input type="radio" name="radio" id="" value="0" />否
224
-								<input type="radio" name="radio" id="" value="1" />是
223
+								<input type="radio" name="sms" id="" value="0" />否
224
+								<input type="radio" name="sms" id="" value="1" checked/>是
225 225
 							</div>
226 226
 							
227 227
 						</td>

+ 2 - 2
CallCenterWeb.UI/js/WorkOrder/AddWorkOrder.js

@@ -128,7 +128,7 @@ function orderSave() {
128 128
 		//咨询模块
129 129
 		F_QuestionType: catt, //问题类别
130 130
 		F_TS_Category: comdi, //产品名称
131
-		F_ZX_Quantity: $('#Product_Quantity').val(), //问题数量
131
+		F_ZX_Quantity: stion, //问题数量
132 132
 		F_SalesBase: coint, //销售基地
133 133
 		//投诉模块
134 134
 		F_BatchNumber: shengch, //生产批号
@@ -368,7 +368,7 @@ function typePro() {
368 368
 	} else if(orderIsover === '4') {
369 369
 		catt = $('#cateq').val(); //问题类别
370 370
 		comdi = $('#Produ_ctName').val(); //产品名称
371
-		stion = $('#Product_Quantity').val(); //问题数量
371
+		stion = $('#Product_Quan').val(); //问题数量
372 372
 		coint = $('#xiaosh').val(); //销售基地
373 373
 		daqu = '';
374 374
 		fengo = '';

+ 5 - 6
CallCenterWeb.UI/js/WorkOrder/addOrEditWorkOrder.js

@@ -98,7 +98,7 @@ function typePro() {
98 98
 		// }
99 99
 		catt = $("#cate").val();
100 100
 		shengch = $('#Batch_number').val(); //生产批次号
101
-		stion = $('#quantity').val(); //问题数量
101
+		stion = ''; //问题数量
102 102
 		coint = $('#Sales_base').val(); //销售基地
103 103
 	} else if(orderIsover === '3') {
104 104
 		daqu = $('#District').val();
@@ -113,7 +113,7 @@ function typePro() {
113 113
 	} else if(orderIsover === '4') {
114 114
 		catt = $('#cateq').val(); //问题类别
115 115
 		comdi = $('#Produ_ctName').val(); //产品名称
116
-		stion = $('#Product_Quantity').val(); //问题数量
116
+		stion = $('#Product_Quan').val(); //问题数量
117 117
 		coint = $('#xiaosh').val(); //销售基地
118 118
 		daqu = '';
119 119
 		fengo = '';
@@ -133,7 +133,6 @@ function typePro() {
133 133
 // 保存
134 134
 function orderSave() {
135 135
 	typePro();
136
-
137 136
 	var oid = helper.request.queryString("oid");
138 137
 	var isDetail = helper.request.queryString("isDetail");
139 138
 	// if(!regexs.userNameReg.test($.trim($('#order_name').val()))) {
@@ -164,7 +163,7 @@ function orderSave() {
164 163
 		//咨询模块
165 164
 		F_QuestionType: catt, //问题类别
166 165
 		F_TS_Category: comdi, //产品名称
167
-		F_ZX_Quantity: $('#Product_Quantity').val(), //问题数量
166
+		F_ZX_Quantity: stion, //问题数量
168 167
 		F_SalesBase: coint, //销售基地
169 168
 		//投诉模块
170 169
 		F_BatchNumber: shengch, //生产批号
@@ -257,7 +256,7 @@ function getWorkOrderDetails(oid) {
257 256
 	            $("#catego option:selected").text(data.F_QuestionTypetwo); // 问题类别2
258 257
 	            $("#catego option:selected").val(data.F_QuestionTypetwo); // 问题类别2
259 258
 				$("#cate option:selected").text(data.F_QuestionType); // 问题类别3
260
-				$("#cate option:selected").val(data.F_QuestionType); // 问题类别3
259
+				$("#cate option:selected").val(data.F_QuestionTypeid); // 问题类别3
261 260
 				// 抽检模块		
262 261
 				// $("#chou_wtlb option:selected").text(data.F_QuestionType); // 问题类别
263 262
 				// $("#chou_wtlb option:selected").val(data.F_QuestionType); // 问题类别				
@@ -276,7 +275,7 @@ function getWorkOrderDetails(oid) {
276 275
 				$("#cateq option:selected").val(data.F_QuestionTypeid); // 问题类别
277 276
 				$("#Produ_ctName option:selected").text(data.F_TS_Category); // 产品名称
278 277
 				$("#Produ_ctName option:selected").val(data.F_TS_Category); // 产品名称
279
-				$('#Product_Quan').val(); //问题数量
278
+				$('#Product_Quan').val(data.F_ZX_Quantity); //问题数量
280 279
 				$("#xiaosh option[value='" + data.F_SalesBase + "']").attr("selected", "selected"); // 销售基地
281 280
 				// 公共模块	
282 281
 				$('#number').val(data.F_CustomerID); //客户编码

+ 1 - 1
WeChat/client-side/AddWorkolder.html

@@ -135,7 +135,7 @@
135 135
 					</li>
136 136
 					<li class="mui-table-view-cell">
137 137
 						<div class="mui-input-row">
138
-							<label class="label">数量及单位:</label>
138
+							<label class="label">问题数量:</label>
139 139
 							<input id="order_Claimnumber" placeholder="请输入问题数量" class="size-14">
140 140
 						</div>
141 141
 					</li>

+ 43 - 26
WeChat/client-side/details.html

@@ -73,17 +73,9 @@
73 73
 				</li>
74 74
 				<li class="mui-table-view-cell mui-table-view-li">
75 75
 					<div class="mui-input-row">
76
-						<label class="label font-color5">客户姓名:</label>
77
-						<div class="mui-radio mui-right radio_box">
78
-							<label class="font-color6" id="customer"></label>
79
-						</div>
80
-					</div>
81
-				</li>
82
-				<li class="mui-table-view-cell mui-table-view-li">
83
-					<div class="mui-input-row">
84
-						<label class="label font-color5">联系电话:</label>
76
+						<label class="label font-color5">客户编号:</label>
85 77
 						<div class="mui-radio mui-right radio_box">
86
-							<label class="font-color6" id="customerTel"></label>
78
+							<label class="font-color6" id="order_coding"></label>
87 79
 						</div>
88 80
 					</div>
89 81
 				</li>
@@ -154,6 +146,14 @@
154 146
 				</li>
155 147
 				<li class="mui-table-view-cell mui-table-view-li">
156 148
 					<div class="mui-input-row">
149
+						<label class="label font-color5">问题数量:</label>
150
+						<div class="mui-radio mui-right radio_box">
151
+							<label class="font-color6" id="order_Claimnumber"></label>
152
+						</div>
153
+					</div>
154
+				</li>
155
+				<li class="mui-table-view-cell mui-table-view-li">
156
+					<div class="mui-input-row">
157 157
 						<label class="label font-color5">事发地:</label>
158 158
 						<div class="mui-radio mui-right radio_box">
159 159
 							<label class="font-color6" id="order_account"></label>
@@ -251,14 +251,6 @@
251 251
 				</li>
252 252
 				<li class="mui-table-view-cell mui-table-view-li">
253 253
 					<div class="mui-input-row">
254
-						<label class="label font-color5">客户编号:</label>
255
-						<div class="mui-radio mui-right radio_box">
256
-							<label class="font-color6" id="order_coding"></label>
257
-						</div>
258
-					</div>
259
-				</li>
260
-				<li class="mui-table-view-cell mui-table-view-li">
261
-					<div class="mui-input-row">
262 254
 						<label class="label font-color5">销售基地:</label>
263 255
 						<div class="mui-radio mui-right radio_box">
264 256
 							<label class="font-color6" id="order_matrix"></label>
@@ -331,6 +323,14 @@
331 323
 				</li>
332 324
 				<li class="mui-table-view-cell mui-table-view-li">
333 325
 					<div class="mui-input-row">
326
+						<label class="label font-color5">规格:</label>
327
+						<div class="mui-radio mui-right radio_box">
328
+							<label class="font-color6" id="order_guige"></label>
329
+						</div>
330
+					</div>
331
+				</li>
332
+				<li class="mui-table-view-cell mui-table-view-li">
333
+					<div class="mui-input-row">
334 334
 						<label class="label font-color5">品牌:</label>
335 335
 						<div class="mui-radio mui-right radio_box">
336 336
 							<label class="font-color6" id="order_pinpa"></label>
@@ -363,6 +363,22 @@
363 363
 				</li>
364 364
 				<li class="mui-table-view-cell mui-table-view-li">
365 365
 					<div class="mui-input-row">
366
+						<label class="label font-color5">客户姓名:</label>
367
+						<div class="mui-radio mui-right radio_box">
368
+							<label class="font-color6" id="customer"></label>
369
+						</div>
370
+					</div>
371
+				</li>
372
+				<li class="mui-table-view-cell mui-table-view-li">
373
+					<div class="mui-input-row">
374
+						<label class="label font-color5">联系电话:</label>
375
+						<div class="mui-radio mui-right radio_box">
376
+							<label class="font-color6" id="customerTel"></label>
377
+						</div>
378
+					</div>
379
+				</li>
380
+				<li class="mui-table-view-cell mui-table-view-li">
381
+					<div class="mui-input-row">
366 382
 						<label class="label font-color5">添加人姓名:</label>
367 383
 						<div class="mui-radio mui-right radio_box">
368 384
 							<label class="font-color6" id="Work_gohao"></label>
@@ -529,9 +545,6 @@
529 545
 					<!--待处理-->
530 546
 					<div class="mui_btn1 dispose2">
531 547
 						<li class=" mui-media mui-col-xs-3">
532
-							<button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block disp">完结</button>
533
-						</li>
534
-						<li class=" mui-media mui-col-xs-3">
535 548
 							<button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block allot">指派</button>
536 549
 						</li>
537 550
 						<li class=" mui-media mui-col-xs-3">
@@ -543,6 +556,9 @@
543 556
 						<li class=" mui-media mui-col-xs-3">
544 557
 							<button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block noteBtn">注解</button>
545 558
 						</li>
559
+						<li class=" mui-media mui-col-xs-3">
560
+							<button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block disp">完结</button>
561
+						</li>
546 562
 					</div>
547 563
 				</div>
548 564
 				<div class="type3">
@@ -941,7 +957,7 @@
941 957
 							} else if(itype == 16) {
942 958
 								//								$(".dispose2").show();
943 959
 								if(UserType == 4) {
944
-									$(".dispose1").show();
960
+//									$(".dispose1").show();
945 961
 									$(".dispose3").show();
946 962
 									$(".shenpi").remove();
947 963
 								} else if(UserType == 0) {
@@ -1020,8 +1036,9 @@
1020 1036
 							$("#order_mate").text(result.F_MaterialName); //物料名称
1021 1037
 							$('#order_material').text(result.F_MaterialID);//物料编码
1022 1038
 							$("#order_model").text(result.F_Model); //型号
1039
+							$('#order_guige').text(result.F_Specs);//规格
1023 1040
 							$("#order_product").text(result.F_TS_Category); //产品名称
1024
-							$("#order_Question").text(result.F_ZX_Quantity); //问题数量
1041
+							$("#order_Question").text(result.F_TS_Quantity); //问题数量
1025 1042
 							$("#Work_ownerRelations").text(result.F_DealBy); //处理人
1026 1043
 							$("#Work_source").text(result.F_DealTime); //处理时间
1027 1044
 							$(".Work_lastDealUser").text(result.F_DealContent); //处理内容
@@ -1177,15 +1194,15 @@
1177 1194
 							if($("#order_model").text() == '') { //型号
1178 1195
 								$('#order_model').parent().parent().remove();
1179 1196
 							}
1197
+							if($("#order_guige").text() == '') { //规格
1198
+								$('#order_guige').parent().parent().remove();
1199
+							}
1180 1200
 							if($("#order_product").text() == '') { //产品名称
1181 1201
 								$('#order_product').parent().parent().remove();
1182 1202
 							}
1183 1203
 							if($("#order_Question").text() == '') { //问题数量
1184 1204
 								$('#order_Question').parent().parent().remove();
1185 1205
 							}
1186
-							if($("#order_Question").text() == '') { //问题数量
1187
-								$('#order_Question').parent().parent().remove();
1188
-							}
1189 1206
 							if($("#Work_ownerRelations").text() == '') { //处理人
1190 1207
 								$('#Work_ownerRelations').parent().parent().remove();
1191 1208
 							}

+ 1 - 1
WeChat/client-side/editWorkolder.html

@@ -160,7 +160,7 @@
160 160
 				    <li class="mui-table-view-cell">
161 161
 						<div class="mui-input-row">
162 162
 							<label class="label">问题数量:</label>
163
-							<input type="number" id="order_Claimnu" placeholder="请输入问题数量" class="size-14">
163
+							<input type="text" id="order_Claimnu" placeholder="请输入问题数量" class="size-14">
164 164
 						</div>
165 165
 				    </li>
166 166
 				    <li class="mui-table-view-cell" id="rank">

+ 4 - 4
WeChat/client-side/js/AddWorkolder.js

@@ -186,7 +186,7 @@ function typePro(){
186 186
 	orderIsover=$('input:radio[name="form"]:checked').val();
187 187
 	if(orderIsover === '1'){
188 188
 //		debugger
189
-		catt = $('#order_category').val();//问题类别
189
+		catt = $('#order_category').attr('data-index');//问题类别
190 190
 		comdi = $('#order_productname').val();//产品名称
191 191
 		stion = $('#order_Claimnumber').val();//问题数量
192 192
 		coint=$('#ower_relationship').val();//销售基地
@@ -214,13 +214,13 @@ function typePro(){
214 214
 		fengo=$('#order_branch').val();
215 215
 		jyppai=$('#order_pinpai').val();
216 216
 		shengch=$('#batch_num').val();//生产批次号 
217
-		catt = $('#order_wentlb').val();
217
+		catt = $('#order_wentlb').attr('data-index');
218 218
 		cttt='';
219 219
 		comdi ='';
220 220
 		coint='';
221 221
 		stion='';
222 222
 	}else if(orderIsover === '4'){
223
-		catt = $('#order_texta').val();//问题类别
223
+		catt = $('#order_texta').attr('data-index');//问题类别
224 224
 		comdi = $('#order_chpi').val();//产品名称
225 225
 		stion = $('#order_wensu').val();//问题数量
226 226
 		coint=$('#ower_showCpke').val();//销售基地
@@ -293,7 +293,7 @@ function typePro(){
293 293
 						    overtime:$('.overtime').find('input[type="radio"]:checked').val(),//超期时间
294 294
 		                 	sms:$('.sms').find('input[type="radio"]:checked').val(),//是否发送短信
295 295
 		                 //咨询模块
296
-		                    F_QuestionType:catt,//问题类别
296
+		                    F_AddressFull:catt,//问题类别
297 297
 		                    F_TS_Category: comdi,//产品名称
298 298
 		                    F_ZX_Quantity:stion,//问题数量
299 299
 		                    F_SalesBase:coint,//销售基地 

+ 4 - 5
WeChat/client-side/js/editWorkolder.js

@@ -111,11 +111,12 @@ function Ajax1() {
111 111
 									$("#order_cat").val(result.F_QuestionTypeone), //问题类别1
112 112
 									$("#order_question").val(result.F_QuestionTypetwo), //问题类别2
113 113
 									$("#order_matter").val(result.F_QuestionType), //问题类别3
114
+									$("#order_matter").attr('data-index',result.F_QuestionTypeid);//问题类别id
114 115
 									$("#order_batch").val(result.F_BatchNumber), //生产批号
115 116
 //									$("#order_recipe").val(result.F_TS_Formula), //配方
116 117
 									$("#order_product").val(result.F_TS_Category), //产品名称
117 118
 //									$("#order_qi").val(result.F_TS_Category), //其他输入
118
-									$("#order_Claimnumber").val(result.F_TS_Quantity), //问题数量
119
+									$("#order_Claimnu").val(result.F_TS_Quantity), //问题数量
119 120
 									$("#order_rank").val(result.F_TS_Level), //重要级别
120 121
 									$("#order_xinghao").val(result.F_Model),//型号
121 122
 									$("#order_guige").val(result.F_Specs);//规格
@@ -145,8 +146,8 @@ function Ajax1() {
145 146
 							        $("#order_money").val(result.F_CJ_Outlay), //费用金额
146 147
 							//建议及其他
147 148
 							        $("#order_texta").val(result.F_QuestionType), //问题类别
148
-							        $("#order_chpi").val(result.F_CustomerID), //产品名称
149
-									$("#order_wensu").val(result.F_MaterialID), //问题数量
149
+							        $("#order_chpi").val(result.F_TS_Category), //产品名称
150
+									$("#order_wensu").val(result.F_ZX_Quantity), //问题数量
150 151
 									$("#ower_showCpke").val(result.F_SalesBase	), //销售基地
151 152
 							//公共字段
152 153
 									$('#order_name').val(result.F_CusName), //客户姓名
@@ -168,8 +169,6 @@ function Ajax1() {
168 169
 									$("#section").val(result.F_DeptName); //部门
169 170
 									
170 171
 									$("#Work_areaname").attr('data-index',result.IsAdminSend);
171
-									$("#order_yewuyi").val(result.F_Salesman); //业务员
172
-									$("#order_yewu").val(result.F_SalesPhone); //电话号
173 172
 									$("#Work_houseID").val(result.F_CreateBy); //添加人工号
174 173
 									$("#Work_ownerRelations").val(result.F_DealBy); //处理人
175 174
 //									$("#Work_source").val(result.F_DealTime); //处理时间

+ 13 - 17
WebChartNewEdit/js/liuzhangtu.js

@@ -100,10 +100,10 @@ function partpaat(sd, ed) {
100 100
 					var type_data_name_obj2 = {};
101 101
 					type_data_name_obj2 = n.name;
102 102
 					if(type_data_name_obj2==$('#customer_taxPointDes').val()){
103
-                        type_data_name_arry2.splice(0,0,$('#customer_taxPointDes').val())
104
-                    }else{
105
-                        type_data_name_arry2.push(type_data_name_obj2);
106
-                    }
103
+						type_data_name_arry2.splice(0,0,$('#customer_taxPointDes').val())
104
+					}else{
105
+						type_data_name_arry2.push(type_data_name_obj2);
106
+					}
107 107
 				})
108 108
 
109 109
 				// 基地反馈
@@ -124,14 +124,11 @@ function partpaat(sd, ed) {
124 124
 					var type_data_name_obj = {};
125 125
 					type_data_name_obj = n.name;
126 126
 					if(type_data_name_obj==$('#xiaoshou').val()){
127
-                        type_data_name_arry.splice(0,0,$('#xiaoshou').val())
128
-                    }else{
129
-                        type_data_name_arry.push(type_data_name_obj);
130
-                    }
131
-
132
-
127
+						type_data_name_arry.splice(0,0,$('#xiaoshou').val())
128
+					}else{
129
+						type_data_name_arry.push(type_data_name_obj);
130
+					}
133 131
 				})
134
-
135 132
 				// 产品类型
136 133
 				var type_data_aaa = [];
137 134
 				var type_data_name_arry1 = [];
@@ -149,13 +146,12 @@ function partpaat(sd, ed) {
149 146
 					var type_data_name_obj1 = {};
150 147
 					type_data_name_obj1 = n.name;
151 148
 					if(type_data_name_obj1==$('#Product_Category').val()){
152
-                        type_data_name_arry1.splice(0,0,$('#Product_Category').val());
153
-                    }else{
154
-                        type_data_name_arry1.push(type_data_name_obj1);
155
-                    }
156
-
149
+						type_data_name_arry1.splice(0,0,$('#Product_Category').val());
150
+					}else{
151
+						type_data_name_arry1.push(type_data_name_obj1);
152
+					}
153
+					
157 154
 				})
158
-
159 155
 				// 超期部门
160 156
 				var type_data_bbb = [];
161 157
 				var type_data_name_arry3 = [];