jiazx0107@163.com
2023-12-13 3a56308b1a8f3f453a56da52af64ad4ba669aec1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
<?xml version="1.0" encoding="UTF-8"?>
<ViewConfig>
  <Arguments/>
  <Context/>
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.api.entity.Api1202</Property>
      <PropertyDef name="czbz">
        <Property></Property>
        <Property name="label">操作标志</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;CZBZ&quot;)}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="rkywdh">
        <Property></Property>
        <Property name="label">入库业务单号</Property>
      </PropertyDef>
      <PropertyDef name="hwdm">
        <Property></Property>
        <Property name="label">货位代码</Property>
      </PropertyDef>
      <PropertyDef name="ywlx">
        <Property></Property>
        <Property name="label">业务类型</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;CRKYWLX&quot;)}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="ywrq">
        <Property name="dataType">Date</Property>
        <Property name="label">业务日期</Property>
      </PropertyDef>
      <PropertyDef name="jhmxh">
        <Property></Property>
        <Property name="label">计划明细号</Property>
      </PropertyDef>
      <PropertyDef name="hth">
        <Property></Property>
        <Property name="label">合同号</Property>
      </PropertyDef>
      <PropertyDef name="cyr">
        <Property></Property>
        <Property name="label">承运人</Property>
      </PropertyDef>
      <PropertyDef name="lxdh">
        <Property></Property>
        <Property name="label">联系电话</Property>
      </PropertyDef>
      <PropertyDef name="sfzh">
        <Property></Property>
        <Property name="label">身份证号</Property>
      </PropertyDef>
      <PropertyDef name="xxdz">
        <Property></Property>
        <Property name="label">详细地址</Property>
      </PropertyDef>
      <PropertyDef name="ysgj">
        <Property></Property>
        <Property name="label">运输工具</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;YSGJ&quot;)}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="cch">
        <Property></Property>
        <Property name="label">车船号</Property>
      </PropertyDef>
      <PropertyDef name="gch">
        <Property></Property>
        <Property name="label">挂车号</Property>
      </PropertyDef>
      <PropertyDef name="ldd">
        <Property></Property>
        <Property name="label">装粮地点</Property>
      </PropertyDef>
      <PropertyDef name="djsj">
        <Property name="dataType">DateTime</Property>
        <Property name="label">登记时间</Property>
      </PropertyDef>
      <PropertyDef name="djmgryxm">
        <Property></Property>
        <Property name="label">登记门岗人员姓名</Property>
      </PropertyDef>
      <PropertyDef name="lspzdm">
        <Property></Property>
        <Property name="label">粮食品种代码</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;LSPZ&quot;)}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="lsxzdm">
        <Property></Property>
        <Property name="label">粮食性质代码</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;LSXZ&quot;)}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="shnd">
        <Property></Property>
        <Property name="label">收获年度</Property>
      </PropertyDef>
      <PropertyDef name="cddm">
        <Property></Property>
        <Property name="label">产地代码</Property>
      </PropertyDef>
      <PropertyDef name="jjlx">
        <Property></Property>
        <Property name="label">检斤类型</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;JJLX&quot;)}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="mz">
        <Property name="dataType">double</Property>
        <Property name="label">毛重(公斤)</Property>
      </PropertyDef>
      <PropertyDef name="mzjby">
        <Property></Property>
        <Property name="label">毛重监磅员</Property>
      </PropertyDef>
      <PropertyDef name="mzjlsj">
        <Property name="dataType">DateTime</Property>
        <Property name="label">毛重计量时间</Property>
      </PropertyDef>
      <PropertyDef name="mzjly">
        <Property></Property>
        <Property name="label">毛重计量员</Property>
      </PropertyDef>
      <PropertyDef name="zcy">
        <Property></Property>
        <Property name="label">值仓员</Property>
      </PropertyDef>
      <PropertyDef name="pz">
        <Property name="dataType">double</Property>
        <Property name="label">皮重(公斤)</Property>
      </PropertyDef>
      <PropertyDef name="pzjby">
        <Property></Property>
        <Property name="label">皮重监磅员</Property>
      </PropertyDef>
      <PropertyDef name="pzjlsj">
        <Property name="dataType">DateTime</Property>
        <Property name="label">皮重计量时间</Property>
      </PropertyDef>
      <PropertyDef name="pzjly">
        <Property></Property>
        <Property name="label">皮重计量员</Property>
      </PropertyDef>
      <PropertyDef name="bzw">
        <Property></Property>
        <Property name="label">包装物</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;LSBZW&quot;)}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="bzbdbz">
        <Property name="dataType">double</Property>
        <Property name="label">标准包单包重(公斤)</Property>
      </PropertyDef>
      <PropertyDef name="bzbjs">
        <Property name="dataType">Integer</Property>
        <Property name="label">标准包件数(件)</Property>
      </PropertyDef>
      <PropertyDef name="zjklxj">
        <Property name="dataType">double</Property>
        <Property name="label">质检扣量(小计:公斤)</Property>
      </PropertyDef>
      <PropertyDef name="qzsfzkl">
        <Property name="dataType">double</Property>
        <Property name="label">其中:水分增扣量(公斤)</Property>
      </PropertyDef>
      <PropertyDef name="qzzzzkl">
        <Property name="dataType">double</Property>
        <Property name="label">其中:杂质增扣量(公斤)</Property>
      </PropertyDef>
      <PropertyDef name="qzbwslkl">
        <Property name="dataType">double</Property>
        <Property name="label">其中:不完善粒扣量(公斤)</Property>
      </PropertyDef>
      <PropertyDef name="qzhhkl">
        <Property name="dataType">double</Property>
        <Property name="label">其中:互混扣量(公斤)</Property>
      </PropertyDef>
      <PropertyDef name="qzsmlkl">
        <Property name="dataType">double</Property>
        <Property name="label">其中:生霉粒扣量(公斤)</Property>
      </PropertyDef>
      <PropertyDef name="qzzjmlkl">
        <Property name="dataType">double</Property>
        <Property name="label">其中:整精米粒扣量(公斤)</Property>
      </PropertyDef>
      <PropertyDef name="qzgwcmkl">
        <Property name="dataType">double</Property>
        <Property name="label">其中:谷外糙米扣量(公斤)</Property>
      </PropertyDef>
      <PropertyDef name="qzhlmkl">
        <Property name="dataType">double</Property>
        <Property name="label">其中黄粒米扣量(公斤)</Property>
      </PropertyDef>
      <PropertyDef name="zlfyzkl">
        <Property name="dataType">double</Property>
        <Property name="label">整理费用折扣量(公斤)</Property>
      </PropertyDef>
      <PropertyDef name="bzwkl">
        <Property name="dataType">double</Property>
        <Property name="label">包装物扣量(公斤)</Property>
      </PropertyDef>
      <PropertyDef name="qtkl">
        <Property name="dataType">double</Property>
        <Property name="label">其他扣量(公斤)</Property>
      </PropertyDef>
      <PropertyDef name="klyy">
        <Property></Property>
        <Property name="label">扣量原因</Property>
      </PropertyDef>
      <PropertyDef name="xckl">
        <Property name="dataType">double</Property>
        <Property name="label">现场扣量(公斤)</Property>
      </PropertyDef>
      <PropertyDef name="zkj">
        <Property name="dataType">double</Property>
        <Property name="label">增扣价(公斤)</Property>
      </PropertyDef>
      <PropertyDef name="zkhyy">
        <Property></Property>
        <Property name="label">增扣价原因</Property>
      </PropertyDef>
      <PropertyDef name="jz">
        <Property name="dataType">double</Property>
        <Property name="label">净重(公斤)</Property>
      </PropertyDef>
      <PropertyDef name="zxzydw">
        <Property></Property>
        <Property name="label">装卸作业单位</Property>
      </PropertyDef>
      <PropertyDef name="cmsj">
        <Property name="dataType">DateTime</Property>
        <Property name="label">出门时间</Property>
      </PropertyDef>
      <PropertyDef name="cmqrmgryxm">
        <Property></Property>
        <Property name="label">出门确认门岗人员姓名</Property>
      </PropertyDef>
      <PropertyDef name="rkjsdh">
        <Property></Property>
        <Property name="label">入库结算单号</Property>
      </PropertyDef>
      <PropertyDef name="bz">
        <Property></Property>
        <Property name="label">备注</Property>
      </PropertyDef>
      <PropertyDef name="zhgxsj">
        <Property name="dataType">DateTime</Property>
        <Property name="label">更新时间</Property>
      </PropertyDef>
      <PropertyDef name="bizId">
        <Property></Property>
        <Property name="label">业务id</Property>
      </PropertyDef>
      <PropertyDef name="kqdm">
        <Property></Property>
        <Property name="label">库区代码</Property>
      </PropertyDef>
      <PropertyDef name="cchlx">
        <Property/>
        <Property name="label">车船号类型</Property>
      </PropertyDef>
    </DataType>
    <DataType name="dtParam">
      <Property name="creationType">com.fzzy.api.data.ApiParam</Property>
      <PropertyDef name="kqdm">
        <Property></Property>
        <Property name="label">所属库区</Property>
      </PropertyDef>
      <PropertyDef name="start">
        <Property name="dataType">Date</Property>
        <Property name="label">开始时间</Property>
      </PropertyDef>
      <PropertyDef name="end">
        <Property name="dataType">Date</Property>
        <Property name="label">截止时间</Property>
      </PropertyDef>
      <PropertyDef name="czbz">
        <Property></Property>
        <Property name="label">操作标志</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;CZBZ&quot;)}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
    </DataType>
    <DataType name="dtGBArea">
      <Property name="creationType">com.fzzy.api.entity.GbArea</Property>
      <PropertyDef name="code">
        <Property></Property>
        <Property name="label">接口编码</Property>
      </PropertyDef>
      <PropertyDef name="name">
        <Property></Property>
        <Property name="label">名称</Property>
      </PropertyDef>
      <PropertyDef name="parentCode">
        <Property></Property>
        <Property name="label">父编码</Property>
      </PropertyDef>
      <PropertyDef name="disabledTag">
        <Property></Property>
        <Property name="label">禁用</Property>
      </PropertyDef>
      <PropertyDef name="simple">
        <Property></Property>
        <Property name="label">是否默认</Property>
      </PropertyDef>
      <PropertyDef name="remark">
        <Property></Property>
        <Property name="label">备注说明</Property>
      </PropertyDef>
    </DataType>
  </Model>
  <View layout="regionPadding:10">
    <Property name="packages">font-awesome,css-common</Property>
    <DataSet id="dsMain">
      <Property name="dataType">[dtMain]</Property>
      <Property name="dataProvider">api1202PR#pageList</Property>
      <Property name="pageSize">20</Property>
    </DataSet>
    <DataSet id="dsQuery">
      <ClientEvent name="onReady">self.insert();</ClientEvent>
      <Property name="dataType">dtParam</Property>
    </DataSet>
    <ToolBar>
      <ToolBarLabel>
        <Property name="text">工具栏:</Property>
        <Property name="style">
          <Property name="font-weight">bold</Property>
        </Property>
      </ToolBarLabel>
      <ToolBarButton>
        <ClientEvent name="onClick">var query = view.get(&quot;#dsQuery&quot;).getData();&#xD;
view.get(&quot;#dsMain&quot;).set(&quot;parameter&quot;,query).flushAsync();</ClientEvent>
        <Property name="caption">查询</Property>
        <Property name="iconClass">fa fa-search</Property>
        <Property name="width">100</Property>
        <Property name="exClassName">toolbar-button-push</Property>
      </ToolBarButton>
      <ToolBarButton id="btnAdd">
        <ClientEvent name="onClick">view.get(&quot;#dsMain&quot;).insert();&#xD;
view.get(&quot;#dialogMain&quot;).show();</ClientEvent>
        <Property name="caption">新增</Property>
        <Property name="iconClass">fa fa-plus</Property>
        <Property name="width">100</Property>
        <Property name="exClassName">toolbar-button</Property>
        <Property name="hideMode">display</Property>
      </ToolBarButton>
      <ToolBarButton id="btnUpdate">
        <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#xD;
    view.get(&quot;#dialogMain&quot;).show();&#xD;
}</ClientEvent>
        <Property name="caption">修改</Property>
        <Property name="iconClass">fa fa-pencil</Property>
        <Property name="width">100</Property>
        <Property name="exClassName">toolbar-button-warm</Property>
        <Property name="hideMode">display</Property>
      </ToolBarButton>
      <ToolBarButton>
        <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
view.get(&quot;#ajaxDelUpdate&quot;).set(&quot;parameter&quot;,cur).execute(function(result){&#xD;
    if(result){&#xD;
        $alert(result);&#xD;
    } else{&#xD;
        cur.set(&quot;czbz&quot;,&quot;d&quot;)&#xD;
    }&#xD;
});&#xD;
</ClientEvent>
        <Property name="caption">标记删除</Property>
        <Property name="iconClass">fa fa-minus</Property>
        <Property name="exClassName">toolbar-button-warn</Property>
        <Property name="width">100</Property>
      </ToolBarButton>
      <ToolBarButton id="btnDel">
        <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
view.get(&quot;#ajaxDel&quot;).set(&quot;parameter&quot;,cur).execute(function(result){&#xD;
    if(result){&#xD;
        $alert(result);&#xD;
    } else{&#xD;
        cur.remove();&#xD;
    }&#xD;
});&#xD;
</ClientEvent>
        <Property name="caption">直接删除</Property>
        <Property name="iconClass">fa fa-minus</Property>
        <Property name="exClassName">toolbar-button-warn</Property>
        <Property name="width">100</Property>
        <Property name="hideMode">display</Property>
      </ToolBarButton>
      <ToolBarButton>
        <ClientEvent name="onClick">var select = view.get(&quot;#dgMain&quot;).get(&quot;selection&quot;);&#xD;
if(select &amp;&amp; select.length > 0){&#xD;
    view.get(&quot;#ajaxPush&quot;).set(&quot;parameter&quot;,select).execute(function(result){&#xD;
        view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
          $notify(result);&#xD;
    });&#xD;
}else{&#xD;
    $alert(&quot;请勾选上报数据!&quot;);&#xD;
}&#xD;
</ClientEvent>
        <Property name="caption">手动上传</Property>
        <Property name="iconClass">fa fa-hand-o-up</Property>
        <Property name="exClassName">toolbar-button-push</Property>
        <Property name="width">100</Property>
      </ToolBarButton>
      <Fill/>
      <ToolBarButton>
        <Property name="caption">上传记录</Property>
        <Property name="iconClass">fa fa-bars</Property>
        <Property name="exClassName">toolbar-button</Property>
        <Property name="width">100</Property>
      </ToolBarButton>
    </ToolBar>
    <AutoForm>
      <Property name="dataSet">dsQuery</Property>
      <Property name="cols">*,*,*,*</Property>
      <Property name="labelAlign">right</Property>
      <Property name="labelSeparator">:</Property>
      <Property name="labelWidth">90</Property>
      <AutoFormElement>
        <Property name="name">kqdm</Property>
        <Property name="property">kqdm</Property>
        <Editor/>
      </AutoFormElement>
      <AutoFormElement>
        <Property name="name">start</Property>
        <Property name="property">start</Property>
        <Editor/>
      </AutoFormElement>
      <AutoFormElement>
        <Property name="name">end</Property>
        <Property name="property">end</Property>
        <Editor/>
      </AutoFormElement>
      <AutoFormElement>
        <Property name="name">czbz</Property>
        <Property name="property">czbz</Property>
        <Property name="trigger">autoMappingDropDown2</Property>
        <Editor/>
      </AutoFormElement>
    </AutoForm>
    <DataGrid id="dgMain">
      <Property name="dataSet">dsMain</Property>
      <Property name="selectionMode">multiRows</Property>
      <Property name="readOnly">true</Property>
      <RowNumColumn/>
      <RowSelectorColumn>
        <Property name="caption">上传</Property>
      </RowSelectorColumn>
      <DataColumn name="rkywdh">
        <Property name="property">rkywdh</Property>
      </DataColumn>
      <DataColumn name="hwdm">
        <Property name="property">hwdm</Property>
      </DataColumn>
      <DataColumn name="ywrq">
        <Property name="property">ywrq</Property>
      </DataColumn>
      <DataColumn name="cyr">
        <Property name="property">cyr</Property>
      </DataColumn>
      <DataColumn name="cch">
        <Property name="property">cch</Property>
      </DataColumn>
      <DataColumn name="lspzdm">
        <Property name="property">lspzdm</Property>
      </DataColumn>
      <DataColumn name="lsxzdm">
        <Property name="property">lsxzdm</Property>
      </DataColumn>
      <DataColumn name="jz">
        <Property name="property">jz</Property>
      </DataColumn>
      <DataColumn name="cmsj">
        <Property name="property">cmsj</Property>
      </DataColumn>
      <DataColumn name="zhgxsj">
        <Property name="property">zhgxsj</Property>
      </DataColumn>
      <DataColumn name="czbz">
        <Property name="property">czbz</Property>
      </DataColumn>
    </DataGrid>
    <ToolBar layoutConstraint="bottom">
      <Fill/>
      <DataPilot>
        <Property name="itemCodes">pageSize,pages</Property>
        <Property name="dataSet">dsMain</Property>
      </DataPilot>
    </ToolBar>
    <Dialog id="dialogMain">
      <Property name="width">1000</Property>
      <Property name="caption">合同信息</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Property name="closeable">false</Property>
      <Property name="height">90%</Property>
      <Buttons>
        <Button>
          <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
view.get(&quot;#updateSave&quot;).execute(function(){&#xD;
    self.get(&quot;parent&quot;).hide();&#xD;
});</ClientEvent>
          <Property name="caption">保存修改</Property>
          <Property name="iconClass">fa fa-check</Property>
          <Property name="exClassName">toolbar-button</Property>
        </Button>
        <Button>
          <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
self.get(&quot;parent&quot;).hide();&#xD;
if(cur) cur.cancel();</ClientEvent>
          <Property name="caption">取消修改</Property>
          <Property name="iconClass">fa fa-times</Property>
          <Property name="exClassName">toolbar-button-warn</Property>
        </Button>
      </Buttons>
      <Children>
        <AutoForm>
          <Property name="dataSet">dsMain</Property>
          <Property name="cols">*,*,*</Property>
          <Property name="labelWidth">100</Property>
          <Property name="labelAlign">left</Property>
          <Property name="labelSeparator">:</Property>
          <Property name="labelPosition">top</Property>
          <AutoFormElement>
            <Property name="name">rkywdh</Property>
            <Property name="property">rkywdh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">hwdm</Property>
            <Property name="property">hwdm</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ywlx</Property>
            <Property name="property">ywlx</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ywrq</Property>
            <Property name="property">ywrq</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jhmxh</Property>
            <Property name="property">jhmxh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">hth</Property>
            <Property name="property">hth</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cyr</Property>
            <Property name="property">cyr</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">lxdh</Property>
            <Property name="property">lxdh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sfzh</Property>
            <Property name="property">sfzh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">xxdz</Property>
            <Property name="property">xxdz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ysgj</Property>
            <Property name="property">ysgj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cch</Property>
            <Property name="property">cch</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cchlx</Property>
            <Property name="property">cchlx</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">gch</Property>
            <Property name="property">gch</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ldd</Property>
            <Property name="property">ldd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">djsj</Property>
            <Property name="property">djsj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">djmgryxm</Property>
            <Property name="property">djmgryxm</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">lspzdm</Property>
            <Property name="property">lspzdm</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">lsxzdm</Property>
            <Property name="property">lsxzdm</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">shnd</Property>
            <Property name="property">shnd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cddm</Property>
            <Property name="property">cddm</Property>
            <Property name="trigger">cddGbArea</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jjlx</Property>
            <Property name="property">jjlx</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">mz</Property>
            <Property name="property">mz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">mzjby</Property>
            <Property name="property">mzjby</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">mzjlsj</Property>
            <Property name="property">mzjlsj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">mzjly</Property>
            <Property name="property">mzjly</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zcy</Property>
            <Property name="property">zcy</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">pz</Property>
            <Property name="property">pz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">pzjby</Property>
            <Property name="property">pzjby</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">pzjlsj</Property>
            <Property name="property">pzjlsj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">pzjly</Property>
            <Property name="property">pzjly</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">bzw</Property>
            <Property name="property">bzw</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">bzbdbz</Property>
            <Property name="property">bzbdbz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">bzbjs</Property>
            <Property name="property">bzbjs</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zjklxj</Property>
            <Property name="property">zjklxj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qzsfzkl</Property>
            <Property name="property">qzsfzkl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qzzzzkl</Property>
            <Property name="property">qzzzzkl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qzbwslkl</Property>
            <Property name="property">qzbwslkl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qzhhkl</Property>
            <Property name="property">qzhhkl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qzsmlkl</Property>
            <Property name="property">qzsmlkl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qzzjmlkl</Property>
            <Property name="property">qzzjmlkl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qzgwcmkl</Property>
            <Property name="property">qzgwcmkl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qzhlmkl</Property>
            <Property name="property">qzhlmkl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zlfyzkl</Property>
            <Property name="property">zlfyzkl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">bzwkl</Property>
            <Property name="property">bzwkl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qtkl</Property>
            <Property name="property">qtkl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">klyy</Property>
            <Property name="property">klyy</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">xckl</Property>
            <Property name="property">xckl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zkj</Property>
            <Property name="property">zkj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zkhyy</Property>
            <Property name="property">zkhyy</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jz</Property>
            <Property name="property">jz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zxzydw</Property>
            <Property name="property">zxzydw</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cmsj</Property>
            <Property name="property">cmsj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cmqrmgryxm</Property>
            <Property name="property">cmqrmgryxm</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">rkjsdh</Property>
            <Property name="property">rkjsdh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">bz</Property>
            <Property name="property">bz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">czbz</Property>
            <Property name="property">czbz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zhgxsj</Property>
            <Property name="property">zhgxsj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">kqdm</Property>
            <Property name="property">kqdm</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">bizId</Property>
            <Property name="property">bizId</Property>
            <Editor/>
          </AutoFormElement>
        </AutoForm>
      </Children>
      <Tools/>
    </Dialog>
    <UpdateAction id="updateSave">
      <Property name="dataResolver">api1202PR#updateSave</Property>
      <UpdateItem>
        <Property name="dataPath">[#current]</Property>
        <Property name="dataSet">dsMain</Property>
      </UpdateItem>
    </UpdateAction>
    <AjaxAction id="ajaxPush">
      <Property name="service">api1202PR#pushData</Property>
      <Property name="confirmMessage">确定要上报么?</Property>
    </AjaxAction>
    <AjaxAction id="ajaxDel">
      <Property name="service">api1202PR#delData</Property>
      <Property name="confirmMessage">当前数据删除后无法恢复,请确认要删除么?</Property>
    </AjaxAction>
    <AjaxAction id="ajaxDelUpdate">
      <Property name="service">api1202PR#delUpdate</Property>
      <Property name="confirmMessage">确定要将数据标记为删除么?</Property>
    </AjaxAction>
    <CustomDropDown id="cddGbArea">
      <Property name="assignmentMap">cddm=code</Property>
      <Property name="height">500</Property>
      <Property name="minHeight">500</Property>
      <Property name="maxHeight">500</Property>
      <Property name="width">400</Property>
      <Container layout="regionPadding:5">
        <DataSet id="dsGBArea">
          <Property name="dataProvider">gbAreaPR#findByCode</Property>
          <Property name="dataType">[dtGBArea]</Property>
        </DataSet>
        <Container layout="hbox regionPadding:5">
          <TextEditor id="key2">
            <Property name="blankText"> -- 编码或者名称 --</Property>
            <Property name="width">200</Property>
          </TextEditor>
          <Button>
            <ClientEvent name="onClick">var key = view.get(&quot;#key2.value&quot;);&#xD;
view.get(&quot;#dsGBArea&quot;).set(&quot;parameter&quot;,{key:key}).flushAsync();</ClientEvent>
            <Property name="iconClass">fa fa-search</Property>
            <Property name="caption">查询</Property>
          </Button>
          <Button>
            <ClientEvent name="onClick">var data = view.get(&quot;#dsGBArea.data:#&quot;);&#xD;
if (data) {&#xD;
    view.get(&quot;#cddGbArea&quot;).close(data.toJSON());&#xD;
}</ClientEvent>
            <Property name="caption">确定</Property>
            <Property name="iconClass">fa fa-check</Property>
          </Button>
        </Container>
        <DataGrid>
          <ClientEvent name="onDataRowDoubleClick">var data = view.get(&quot;#dsGBArea.data:#&quot;);&#xD;
if(data){&#xD;
    view.get(&quot;#cddGbArea&quot;).close(data.toJSON());&#xD;
}</ClientEvent>
          <Property name="dataSet">dsGBArea</Property>
          <Property name="readOnly">true</Property>
          <DataColumn name="code">
            <Property name="property">code</Property>
          </DataColumn>
          <DataColumn name="name">
            <Property name="property">name</Property>
          </DataColumn>
        </DataGrid>
      </Container>
    </CustomDropDown>
  </View>
</ViewConfig>