YYC
2023-10-30 73fc635888a5ab20ed1e85ac4e2f8bf6879c4fd9
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
<?xml version="1.0" encoding="UTF-8"?>
<ViewConfig>
  <Arguments/>
  <Context/>
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1206</Property>
      <PropertyDef name="htid">
        <Property></Property>
        <Property name="label">合同ID</Property>
      </PropertyDef>
      <PropertyDef name="jlqybh">
        <Property></Property>
        <Property name="label">军粮企业编号</Property>
      </PropertyDef>
      <PropertyDef name="ssqymc">
        <Property></Property>
        <Property name="label">军粮企业名称</Property>
      </PropertyDef>
      <PropertyDef name="jgzdbh">
        <Property></Property>
        <Property name="label">军供站点编号</Property>
      </PropertyDef>
      <PropertyDef name="jgzdmc">
        <Property></Property>
        <Property name="label">军供站点名称</Property>
      </PropertyDef>
      <PropertyDef name="htlx">
        <Property></Property>
        <Property name="label">合同类型</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;HT_YWLX&quot;)}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="htbh">
        <Property></Property>
        <Property name="label">合同编号</Property>
      </PropertyDef>
      <PropertyDef name="htbt">
        <Property></Property>
        <Property name="label">合同标题</Property>
      </PropertyDef>
      <PropertyDef name="jljgqybh">
        <Property></Property>
        <Property name="label">加工企业编号</Property>
      </PropertyDef>
      <PropertyDef name="jljgqymc">
        <Property></Property>
        <Property name="label">加工企业名称</Property>
      </PropertyDef>
      <PropertyDef name="htkhbh">
        <Property></Property>
        <Property name="label">合同客户编号</Property>
      </PropertyDef>
      <PropertyDef name="htkhmc">
        <Property></Property>
        <Property name="label">合同客户名称</Property>
      </PropertyDef>
      <PropertyDef name="htspdj">
        <Property></Property>
        <Property name="label">合同商品单价</Property>
      </PropertyDef>
      <PropertyDef name="htspsl">
        <Property name="dataType">Double</Property>
        <Property name="label">合同商品数量</Property>
        <Property name="displayFormat">#0.00</Property>
      </PropertyDef>
      <PropertyDef name="spbm">
        <Property></Property>
        <Property name="label">商品编码</Property>
      </PropertyDef>
      <PropertyDef name="zje">
        <Property name="dataType">Double</Property>
        <Property name="label">总金额</Property>
      </PropertyDef>
      <PropertyDef name="htqdr">
        <Property></Property>
        <Property name="label">合同签订人</Property>
      </PropertyDef>
      <PropertyDef name="htqdsj">
        <Property name="dataType">DateTime</Property>
        <Property name="label">合同签订时间</Property>
      </PropertyDef>
      <PropertyDef name="htsxrq">
        <Property name="dataType">Date</Property>
        <Property name="label">合同生效日期</Property>
      </PropertyDef>
      <PropertyDef name="htjzrq">
        <Property name="dataType">Date</Property>
        <Property name="label">合同截止时间</Property>
      </PropertyDef>
      <PropertyDef name="htcjr">
        <Property></Property>
        <Property name="label">合同创建人</Property>
      </PropertyDef>
      <PropertyDef name="htcjsj">
        <Property name="dataType">DateTime</Property>
        <Property name="label">合同创建时间</Property>
      </PropertyDef>
      <PropertyDef name="htdbgjlbz">
        <Property></Property>
        <Property name="label">合同的变更记录标志</Property>
      </PropertyDef>
      <PropertyDef name="htbgyy">
        <Property></Property>
        <Property name="label">合同变更原因</Property>
      </PropertyDef>
      <PropertyDef name="htgylx">
        <Property></Property>
        <Property name="label">合同供应类型</Property>
      </PropertyDef>
      <PropertyDef name="yhtbh">
        <Property></Property>
        <Property name="label">原合同编号</Property>
      </PropertyDef>
      <PropertyDef name="zffs">
        <Property></Property>
        <Property name="label">支付方式</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;JSFS&quot;)}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="ywcsl">
        <Property name="dataType">Double</Property>
        <Property name="label">已完成数量</Property>
      </PropertyDef>
      <PropertyDef name="ywcslje">
        <Property></Property>
        <Property name="label">已完成数量金额</Property>
      </PropertyDef>
      <PropertyDef name="htbz">
        <Property></Property>
        <Property name="label">合同备注</Property>
      </PropertyDef>
      <PropertyDef name="xh">
        <Property></Property>
        <Property name="label">序号</Property>
        <Property name="dataType">Integer</Property>
      </PropertyDef>
      <PropertyDef name="sfyx">
        <Property></Property>
        <Property name="label">是否有效</Property>
      </PropertyDef>
      <PropertyDef name="bz">
        <Property></Property>
        <Property name="label">备注</Property>
      </PropertyDef>
      <PropertyDef name="bizId">
        <Property></Property>
        <Property name="label">业务ID</Property>
      </PropertyDef>
      <PropertyDef name="updateTime">
        <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>
      <PropertyDef name="kqdm">
        <Property></Property>
        <Property name="label">库区代码</Property>
      </PropertyDef>
      <Reference name="htspqd">
        <Property name="parameter">$${this.htid}</Property>
        <Property name="dataProvider">whjlApi1206PR#listItem</Property>
        <Property name="dataType">[dtItem]</Property>
      </Reference>
    </DataType>
    <DataType name="dtItem">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlQDItem</Property>
      <PropertyDef name="htspid">
        <Property></Property>
        <Property name="label">合同商品ID</Property>
      </PropertyDef>
      <PropertyDef name="htid">
        <Property></Property>
        <Property name="label">合同ID</Property>
      </PropertyDef>
      <PropertyDef name="ddid">
        <Property></Property>
        <Property name="label">订单ID</Property>
      </PropertyDef>
      <PropertyDef name="lspzbm">
        <Property></Property>
        <Property name="label">品种编号</Property>
      </PropertyDef>
      <PropertyDef name="lspzmc">
        <Property></Property>
        <Property name="label">品种名称</Property>
      </PropertyDef>
      <PropertyDef name="cpbh">
        <Property></Property>
        <Property name="label">产品编号</Property>
      </PropertyDef>
      <PropertyDef name="cpmc">
        <Property></Property>
        <Property name="label">产品名称</Property>
      </PropertyDef>
      <PropertyDef name="spsl">
        <Property></Property>
        <Property name="label">商品数量</Property>
        <Property name="dataType">Double</Property>
        <Property name="displayFormat">#0.00</Property>
      </PropertyDef>
      <PropertyDef name="spdj">
        <Property></Property>
        <Property name="label">商品单价</Property>
        <Property name="dataType">Double</Property>
        <Property name="displayFormat">#0.00</Property>
      </PropertyDef>
      <PropertyDef name="je">
        <Property></Property>
        <Property name="label">金额</Property>
        <Property name="dataType">Double</Property>
        <Property name="displayFormat">#0.00</Property>
      </PropertyDef>
      <PropertyDef name="ywcsl">
        <Property></Property>
        <Property name="label">已完成数量</Property>
        <Property name="dataType">Double</Property>
        <Property name="displayFormat">#0.00</Property>
      </PropertyDef>
      <PropertyDef name="ywcje">
        <Property></Property>
        <Property name="label">已完成金额</Property>
        <Property name="dataType">Double</Property>
        <Property name="displayFormat">#0.00</Property>
      </PropertyDef>
      <PropertyDef name="bz">
        <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">whjlApi1206PR#listData</Property>
    </DataSet>
    <Container layout="regionPadding:10" layoutConstraint="top">
      <Property name="exClassName">bg-color</Property>
      <Property name="height">55</Property>
      <Property name="contentOverflow">hidden</Property>
      <Label layoutConstraint="left">
        <Property name="text">菜单栏:</Property>
      </Label>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">view.get(&quot;#dsMain&quot;).insert();&#xD;
view.get(&quot;#dialogMain&quot;).show();</ClientEvent>
        <Property name="iconClass">fa fa-plus</Property>
        <Property name="caption">新增</Property>
        <Property name="exClassName">btn-default</Property>
      </Button>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#xD;
    view.get(&quot;#dialogMain&quot;).show();&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要修改的数据!&quot;);&#xD;
}</ClientEvent>
        <Property name="caption">编辑</Property>
        <Property name="iconClass">fa fa-pencil</Property>
        <Property name="exClassName">btn-warm</Property>
      </Button>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#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;
}else{&#xD;
    $alert(&quot;请勾选需要删除的数据!&quot;);&#xD;
}</ClientEvent>
        <Property name="caption">删除</Property>
        <Property name="iconClass">fa fa-minus</Property>
        <Property name="exClassName">btn-warn</Property>
      </Button>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">view.get(&quot;#dsMain&quot;).flushAsync();</ClientEvent>
        <Property name="caption">刷新</Property>
        <Property name="iconClass">fa fa-search</Property>
        <Property name="exClassName">btn-flush</Property>
      </Button>
      <Button layoutConstraint="left">
        <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;
}</ClientEvent>
        <Property name="caption">手动上传</Property>
        <Property name="iconClass">fa fa-hand-o-up</Property>
        <Property name="exClassName">btn-default</Property>
      </Button>
      <Button layoutConstraint="right">
        <ClientEvent name="onClick">//显示记录&#xD;
view.get(&quot;#iFrame&quot;).reload();&#xD;
view.get(&quot;#dialogLog&quot;).show();</ClientEvent>
        <Property name="caption">上传记录</Property>
        <Property name="iconClass">fa fa-bars</Property>
        <Property name="exClassName">btn-flush</Property>
      </Button>
    </Container>
    <Container layoutConstraint="center">
      <Property name="exClassName">bg-color</Property>
      <DataGrid id="dgMain">
        <ClientEvent name="onDataRowDoubleClick">var data = view.get(&quot;#dsMain.data:#&quot;);&#xD;
if(data){&#xD;
    view.get(&quot;#dialogMain&quot;).show();&#xD;
}</ClientEvent>
        <Property name="dataSet">dsMain</Property>
        <Property name="selectionMode">multiRows</Property>
        <Property name="readOnly">true</Property>
        <RowNumColumn/>
        <RowSelectorColumn>
          <Property name="caption">上传</Property>
        </RowSelectorColumn>
        <DataColumn name="htbh">
          <Property name="property">htbh</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="ssqymc">
          <Property name="property">ssqymc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="jgzdmc">
          <Property name="property">jgzdmc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="htlx">
          <Property name="property">htlx</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="htbt">
          <Property name="property">htbt</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="htkhmc">
          <Property name="property">htkhmc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="zje">
          <Property name="property">zje</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="zffs">
          <Property name="property">zffs</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="ywcsl">
          <Property name="property">ywcsl</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="ywcslje">
          <Property name="property">ywcslje</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="htbz">
          <Property name="property">htbz</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="xh">
          <Property name="property">xh</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="sfyx">
          <Property name="property">sfyx</Property>
          <Property name="align">center</Property>
        </DataColumn>
      </DataGrid>
    </Container>
    <Dialog id="dialogMain" layout="regionPadding:10;padding:5">
      <Property name="width">85%</Property>
      <Property name="closeable">false</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Property name="caption">客户信息</Property>
      <Property name="height">85%</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;
    view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
});</ClientEvent>
          <Property name="caption">确定</Property>
          <Property name="iconClass">fa fa-check</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>
        </Button>
      </Buttons>
      <Children>
        <FieldSet>
          <Property name="caption">合同信息</Property>
          <Buttons/>
          <Children>
            <AutoForm>
              <Property name="dataSet">dsMain</Property>
              <Property name="cols">*,*,*,*</Property>
              <Property name="labelPosition">top</Property>
              <Property name="labelSeparator">:</Property>
              <Property name="labelAlign">left</Property>
              <AutoFormElement>
                <Property name="name">htlx</Property>
                <Property name="property">htlx</Property>
                <Property name="editorType">RadioGroup</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htid</Property>
                <Property name="property">htid</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">jlqybh</Property>
                <Property name="property">jlqybh</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">ssqymc</Property>
                <Property name="property">ssqymc</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">jgzdbh</Property>
                <Property name="property">jgzdbh</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">jgzdmc</Property>
                <Property name="property">jgzdmc</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htbh</Property>
                <Property name="property">htbh</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htbt</Property>
                <Property name="property">htbt</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">jljgqybh</Property>
                <Property name="property">jljgqybh</Property>
                <Editor>
                  <TextEditor>
                    <Property name="blankText">----用于采购合同----</Property>
                  </TextEditor>
                </Editor>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">jljgqymc</Property>
                <Property name="property">jljgqymc</Property>
                <Editor>
                  <TextEditor>
                    <Property name="blankText">----用于采购合同----</Property>
                  </TextEditor>
                </Editor>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htkhbh</Property>
                <Property name="property">htkhbh</Property>
                <Editor>
                  <TextEditor>
                    <Property name="blankText">----用于销售合同----</Property>
                  </TextEditor>
                </Editor>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htkhmc</Property>
                <Property name="property">htkhmc</Property>
                <Editor>
                  <TextEditor>
                    <Property name="blankText">----用于销售合同----</Property>
                  </TextEditor>
                </Editor>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htspdj</Property>
                <Property name="property">htspdj</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htspsl</Property>
                <Property name="property">htspsl</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">spbm</Property>
                <Property name="property">spbm</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">zje</Property>
                <Property name="property">zje</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htqdr</Property>
                <Property name="property">htqdr</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htqdsj</Property>
                <Property name="property">htqdsj</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htsxrq</Property>
                <Property name="property">htsxrq</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htjzrq</Property>
                <Property name="property">htjzrq</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htcjr</Property>
                <Property name="property">htcjr</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htcjsj</Property>
                <Property name="property">htcjsj</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htdbgjlbz</Property>
                <Property name="property">htdbgjlbz</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htbgyy</Property>
                <Property name="property">htbgyy</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htgylx</Property>
                <Property name="property">htgylx</Property>
                <Property name="trigger">listDropLX</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">yhtbh</Property>
                <Property name="property">yhtbh</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">zffs</Property>
                <Property name="property">zffs</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">ywcsl</Property>
                <Property name="property">ywcsl</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">ywcslje</Property>
                <Property name="property">ywcslje</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htbz</Property>
                <Property name="property">htbz</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">xh</Property>
                <Property name="property">xh</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">sfyx</Property>
                <Property name="property">sfyx</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">bz</Property>
                <Property name="property">bz</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">bizId</Property>
                <Property name="property">bizId</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">updateTime</Property>
                <Property name="property">updateTime</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">czbz</Property>
                <Property name="property">czbz</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">kqdm</Property>
                <Property name="property">kqdm</Property>
                <Editor/>
              </AutoFormElement>
            </AutoForm>
          </Children>
        </FieldSet>
        <Panel layout="regionPadding:5">
          <Property name="caption">合同商品清单</Property>
          <Property name="height">400</Property>
          <Buttons/>
          <Children>
            <Container layout="regionPadding:10">
              <Label layoutConstraint="left">
                <Property name="text">菜单栏:</Property>
              </Label>
              <Button layoutConstraint="left">
                <ClientEvent name="onClick">var list = view.get(&quot;#dsMain.data:#&quot;).get(&quot;htspqd&quot;);&#xD;
list.insert({});</ClientEvent>
                <Property name="caption">新增</Property>
                <Property name="exClassName">btn-default</Property>
                <Property name="iconClass">fa fa-plus</Property>
              </Button>
              <Button layoutConstraint="left">
                <ClientEvent name="onClick">var data = view.get(&quot;#dataGridDetail.currentEntity&quot;);&#xD;
if(!data){&#xD;
 return;&#xD;
}&#xD;
view.get(&quot;#ajaxItem&quot;).set(&quot;parameter&quot;,data).execute(function(result){&#xD;
    if(result){&#xD;
          $alert(result);&#xD;
          return;&#xD;
     }else{&#xD;
          data.remove();&#xD;
     }&#xD;
});</ClientEvent>
                <Property name="caption">删除</Property>
                <Property name="exClassName">btn-warn</Property>
                <Property name="iconClass">fa fa-minus</Property>
              </Button>
            </Container>
            <DataGrid id="dataGridDetail">
              <Property name="dataSet">dsMain</Property>
              <Property name="dataPath">#.htspqd</Property>
              <DataColumn name="htspid">
                <Property name="property">htspid</Property>
                <Property name="align">center</Property>
              </DataColumn>
              <DataColumn name="ddid">
                <Property name="property">ddid</Property>
                <Property name="align">center</Property>
              </DataColumn>
              <DataColumn name="lspzbm">
                <Property name="property">lspzbm</Property>
                <Property name="align">center</Property>
              </DataColumn>
              <DataColumn name="lspzmc">
                <Property name="property">lspzmc</Property>
                <Property name="align">center</Property>
              </DataColumn>
              <DataColumn name="cpbh">
                <Property name="property">cpbh</Property>
                <Property name="align">center</Property>
              </DataColumn>
              <DataColumn name="cpmc">
                <Property name="property">cpmc</Property>
                <Property name="align">center</Property>
              </DataColumn>
              <DataColumn name="spsl">
                <Property name="property">spsl</Property>
                <Property name="align">center</Property>
              </DataColumn>
              <DataColumn name="spdj">
                <Property name="property">spdj</Property>
                <Property name="align">center</Property>
              </DataColumn>
              <DataColumn name="je">
                <Property name="property">je</Property>
                <Property name="align">center</Property>
              </DataColumn>
              <DataColumn name="ywcsl">
                <Property name="property">ywcsl</Property>
                <Property name="align">center</Property>
              </DataColumn>
              <DataColumn name="ywcje">
                <Property name="property">ywcje</Property>
                <Property name="align">center</Property>
              </DataColumn>
              <DataColumn name="bz">
                <Property name="property">bz</Property>
                <Property name="align">center</Property>
              </DataColumn>
            </DataGrid>
          </Children>
          <Tools/>
        </Panel>
      </Children>
      <Tools/>
    </Dialog>
    <UpdateAction id="updateSave">
      <Property name="dataResolver">whjlApi1206PR#saveData</Property>
      <UpdateItem>
        <Property name="dataPath">[#current]</Property>
        <Property name="dataSet">dsMain</Property>
      </UpdateItem>
    </UpdateAction>
    <AjaxAction id="ajaxDel">
      <Property name="confirmMessage">当前数据删除后无法恢复,请确认要删除么?</Property>
      <Property name="service">whjlApi1206PR#delData</Property>
    </AjaxAction>
    <AjaxAction id="ajaxItem">
      <Property name="confirmMessage">当前数据删除后无法恢复,请确认要删除么?</Property>
      <Property name="service">whjlApi1206PR#delItem</Property>
    </AjaxAction>
    <AjaxAction id="ajaxPush">
      <Property name="service">whjlApi1206PR#pushData</Property>
    </AjaxAction>
    <Dialog id="dialogLog">
      <Property name="width">90%</Property>
      <Property name="height">90%</Property>
      <Property name="caption">上传记录</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Buttons>
        <Button>
          <ClientEvent name="onClick">self.get(&quot;parent&quot;).hide();</ClientEvent>
          <Property name="caption">关闭</Property>
          <Property name="iconClass">fa fa-times</Property>
        </Button>
      </Buttons>
      <Children>
        <Container>
          <IFrame id="iFrame">
            <Property name="path">com.fzzy.api.view.ApiLog.d</Property>
            <Property name="userData">
              <Entity>
                <Property name="deptId">deptId</Property>
              </Entity>
            </Property>
          </IFrame>
        </Container>
      </Children>
      <Tools/>
    </Dialog>
    <ListDropDown id="listDropYN">
      <Property name="items">是,否</Property>
    </ListDropDown>
    <ListDropDown id="listDropLX">
      <Property name="items">军粮供应合同,副食供应合同</Property>
    </ListDropDown>
  </View>
</ViewConfig>