|
|
@@ -27,6 +27,12 @@ $(function() {
|
|
27
|
27
|
window.location.href = "details.html?id=" + id + '&itype=' + itype;
|
|
28
|
28
|
|
|
29
|
29
|
});
|
|
|
30
|
+ $(".order_unit").on("click",function(){
|
|
|
31
|
+ var ichk=$("input:checkbox:checked").map(function(){
|
|
|
32
|
+ return $(this).val();
|
|
|
33
|
+ }).get().join(",");
|
|
|
34
|
+ $("#zerenSel").val(ichk);
|
|
|
35
|
+ })
|
|
30
|
36
|
//提交按钮
|
|
31
|
37
|
$('#submit').on('tap', function() {
|
|
32
|
38
|
if($('#recive_type').val== '') {
|
|
|
@@ -53,7 +59,7 @@ $(function() {
|
|
53
|
59
|
isvisit:$('.order_pay').find('input[type="radio"]:checked').val(), //是否回访
|
|
54
|
60
|
QualityEventLevel: $('#ower_event').attr('data-index'), //事件等级
|
|
55
|
61
|
ClaimAmount: $('#order_money').attr('data-index'), //索赔金额
|
|
56
|
|
- ResponsibleUnit:$('.order_unit').find('input[type="checkbox"]:checked').val(), //责任单位
|
|
|
62
|
+ ResponsibleUnit:$("#zerenSel").val(), //责任单位
|
|
57
|
63
|
ApprovalOpinions: $('.order_opinion').find('input[type="radio"]:checked').val(), //审批意见
|
|
58
|
64
|
ApprovalDisagree:$("#order_idea").val(), //不同意意见
|
|
59
|
65
|
CompensationMethod: $('.order_coin').find('input[type="radio"]:checked').val(), //补偿方式
|
|
|
@@ -370,18 +376,18 @@ var base = [];
|
|
370
|
376
|
// });
|
|
371
|
377
|
// }, false);
|
|
372
|
378
|
//生产基地
|
|
373
|
|
- var produ = new $.PopPicker();
|
|
374
|
|
- produ.setData(base);
|
|
375
|
|
- var showCityPickerButton6 = doc.getElementById('result');
|
|
376
|
|
- var cityResultc6 = doc.getElementById('ower_result');
|
|
377
|
|
- showCityPickerButton6.addEventListener('tap', function(event) {
|
|
378
|
|
- produ.show(function(items) {
|
|
379
|
|
- cityResultc6.value = items[0].text;
|
|
380
|
|
- cityResultc6.setAttribute("data-index", items[0].text);
|
|
381
|
|
- //返回 false 可以阻止选择框的关闭
|
|
382
|
|
- //return false;
|
|
383
|
|
- });
|
|
384
|
|
- }, false);
|
|
|
379
|
+// var produ = new $.PopPicker();
|
|
|
380
|
+// produ.setData(base);
|
|
|
381
|
+// var showCityPickerButton6 = doc.getElementById('result');
|
|
|
382
|
+// var cityResultc6 = doc.getElementById('ower_result');
|
|
|
383
|
+// showCityPickerButton6.addEventListener('tap', function(event) {
|
|
|
384
|
+// produ.show(function(items) {
|
|
|
385
|
+// cityResultc6.value = items[0].text;
|
|
|
386
|
+// cityResultc6.setAttribute("data-index", items[0].text);
|
|
|
387
|
+// //返回 false 可以阻止选择框的关闭
|
|
|
388
|
+// //return false;
|
|
|
389
|
+// });
|
|
|
390
|
+// }, false);
|
|
385
|
391
|
|
|
386
|
392
|
|
|
387
|
393
|
|