MoreDeclaration.vue
37.0 KB
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
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
<template>
<div class="app-container">
<el-scrollbar style="height: 100%">
<el-row style="" class="titleRow">
<el-col :span="12">
<el-button size="mini" type="primary" plain>新增</el-button>
<el-button size="mini" type="primary" plain>暂存</el-button>
<el-button size="mini" type="primary" plain>复制</el-button>
<el-button size="mini" type="primary" plain>打印</el-button>
<el-button size="mini" type="primary" plain>删除</el-button>
<el-button size="mini" type="primary" plain>备录</el-button>
</el-col>
<el-col :span="8">
<el-checkbox v-model="headType.card"><span style="color: red">涉证</span></el-checkbox>
<el-checkbox v-model="headType.checked"><span style="color: red">涉检</span></el-checkbox>
<el-checkbox v-model="headType.tax"><span style="color: red">涉税</span></el-checkbox>
</el-col>
<span style="float: right">
<el-button size="mini" type="primary" icon="el-icon-star-off">申报</el-button>
</span>
</el-row>
<div class="divContent">
<div class="divBox leftDiv">
<div class="divBoxTop">
<el-form ref="" :model="outLintModel" :rules="outLintRules" size="mini">
<table class="divTable">
<tr>
<td class="tableLabel">申报地海关</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text" v-model="outLintModel.custom" @click=""></el-input>
</el-form-item>
</td>
<td class="tableLabel">申报状态</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">申报日期</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
</tr>
<tr>
<td class="tableLabel">统一编号</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">预录入编号</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">海关编号</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
</tr>
<tr>
<td class="tableLabel">进境关别</td>
<td colspan="">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">进境日期</td>
<td colspan="">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">备案号</td>
<td colspan="">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">合同协议号</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
</tr>
<tr>
<td class="tableLabel">境内收发货人</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text" placeholder="18位社会信用信用代码"></el-input>
</el-form-item>
</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text" placeholder="10位海关代码"></el-input>
</el-form-item>
</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text" placeholder="10位检验检疫编码"></el-input>
</el-form-item>
</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text" placeholder="企业名称(中文)"></el-input>
</el-form-item>
</td>
</tr>
<tr>
<td class="tableLabel">境内收发货人</td>
<td colspan="4">
<el-form-item prop="custom">
<el-input type="text" placeholder="境内收发货人代码"></el-input>
</el-form-item>
</td>
<td colspan="4">
<el-form-item prop="custom">
<el-input type="text" placeholder="企业名称(外文)"></el-input>
</el-form-item>
</td>
</tr>
<tr>
<td class="tableLabel">消费使用单位</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text" placeholder="18位社会信用信用代码"></el-input>
</el-form-item>
</td>
<td>
<el-form-item prop="custom">
<el-input type="text" placeholder="10位海关代码"></el-input>
</el-form-item>
</td>
<td colspan="2">
<el-form-item>
<el-input type="text" placeholder="10位检验检疫编码" style="background-color: #fff"></el-input>
</el-form-item>
</td>
<td colspan="3">
<el-form-item prop="custom">
<el-input type="text" placeholder="企业名称(中文)"></el-input>
</el-form-item>
</td>
</tr>
<tr>
<td class="tableLabel">申报单位</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text" placeholder="18位社会信用信用代码"></el-input>
</el-form-item>
</td>
<td>
<el-form-item prop="custom">
<el-input type="text" placeholder="10位海关代码"></el-input>
</el-form-item>
</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text" placeholder="10位检验检疫编码"></el-input>
</el-form-item>
</td>
<td colspan="3">
<el-form-item prop="custom">
<el-input type="text" placeholder="企业名称(中文)"></el-input>
</el-form-item>
</td>
</tr>
<tr>
<td class="tableLabel">运输方式</td>
<td>
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">运输工具名称</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">航次号</td>
<td colspan="3">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
</tr>
<tr>
<td class="tableLabel">提运单号</td>
<td colspan="4">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">监管方式</td>
<td>
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">征免性质</td>
<td>
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
</tr>
<tr>
<td class="tableLabel">许可证号</td>
<td colspan="">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">启运国(地区)</td>
<td colspan="">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">经停港</td>
<td colspan="">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">成交方式</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
</tr>
<tr>
<td class="tableLabel">运费</td>
<td colspan="">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">保险费</td>
<td colspan="">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">杂费</td>
<td colspan="">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">件数</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
</tr>
<tr>
<td class="tableLabel">包装类型</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">包重(KG)</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">净重(kg)</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
</tr>
<tr>
<td class="tableLabel">贸易国别(地区)</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">集装箱数</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">随附单证</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
</tr>
<tr>
<td class="tableLabel">入境口岸</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">货物存放点</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">启运港</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
</tr>
<tr>
<td class="tableLabel">报关单类型</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">备注</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">其他事项确认</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
</tr>
<tr>
<td class="tableLabel">标准唛码</td>
<td colspan="4">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">业务事项</td>
<td colspan="3">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
</tr>
<tr>
<td class="tableLabel">检验检疫受理机关</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">企业资质类型</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">企业资质编码</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
</tr>
<tr>
<td class="tableLabel">领证机关</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">口岸检验检疫机关</td>
<td colspan="">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">启运日期</td>
<td colspan="">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">B/L号</td>
<td colspan="">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
</tr>
<tr>
<td class="tableLabel">目的地检验检疫机关</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">关联号码</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">关联理由</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
</tr>
<tr>
<td class="tableLabel">原箱运输</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">特殊业务标识</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">所需单证</td>
<td colspan="2">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
</tr>
</table>
</el-form>
</div>
<div class="divBoxMid">
<el-table border style="width: 100%;font-size: 12px" height="200"
@selection-change="handleSelectionChange" >
<el-table-column type="selection" width="60px" align="center"></el-table-column>
<el-table-column prop="" label="项号" align="center" width="60px"></el-table-column>
<el-table-column prop="" label="备案序号" align="center"></el-table-column>
<el-table-column prop="" label="商品编号" align="center"></el-table-column>
<el-table-column prop="" label="商品名称" align="center"></el-table-column>
<el-table-column prop="" label="检验检疫名称" align="center" width="110px"></el-table-column>
<el-table-column prop="" label="规格" align="center"></el-table-column>
<el-table-column prop="" label="成交数量" align="center"></el-table-column>
<el-table-column prop="" label="成交计量单位" align="center" width="110px"></el-table-column>
<el-table-column prop="" label="单价" align="center" width="60px"></el-table-column>
<el-table-column prop="" label="总价" align="center" width="60px"></el-table-column>
<el-table-column prop="" label="币值" align="center" width="60px"></el-table-column>
<el-table-column prop="" label="原产国(地区)" align="center" width="100px"></el-table-column>
<el-table-column prop="" label="最终目的地" align="center" width="100px"></el-table-column>
<el-table-column prop="" label="征免方式" align="center"></el-table-column>
<el-table-column prop="" label="监管要求" align="center" ></el-table-column>
<el-table-column prop="" label="操作" align="center">
<template slot-scope="scope">
<el-button type="danger" size="mini" @click="handleDelete(scope.row)">删除</el-button>
</template>
</el-table-column>
</el-table>
</div>
<div class="divBoxBtm">
<el-form ref="" :model="outLintGoods">
<table class="divTable">
<tr>
<td class="tableLabel">项号</td>
<td colspan="">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">备案序号</td>
<td colspan="">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">商品编号</td>
<td>
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">检验检疫名称</td>
<td colspan="3">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
</tr>
<tr>
<td class="tableLabel">商品名称</td>
<td colspan="">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">成交数量</td>
<td>
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">成交计量单位</td>
<td>
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">总价</td>
<td>
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">币值</td>
<td>
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
</tr>
<tr>
</tr>
<tr>
<td class="tableLabel">法定第一计量数量</td>
<td>
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">法定第一计量单位</td>
<td>
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">原产国(地区)</td>
<td colspan="">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">原产地区</td>
<td colspan="">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td colspan="2"></td>
</tr>
<tr>
<td class="tableLabel">法定第二计量数量</td>
<td colspan="">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">法定第二计量单位</td>
<td colspan="">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">成品单耗版本号</td>
<td colspan="">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">货号</td>
<td colspan="">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">最终目的国(地区)</td>
<td colspan="">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
</tr>
<tr >
<td class="tableLabel">货物属性</td>
<td colspan="">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">用途</td>
<td>
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">产品资质</td>
<td colspan="">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">境内目的地</td>
<td colspan="">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">征免方式</td>
<td>
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
</tr>
<tr >
</tr>
<tr >
<td class="tableLabel">非危险化学品</td>
<td colspan="">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">UN编码</td>
<td>
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">危险货物名称</td>
<td colspan="">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">危包类别</td>
<td colspan="">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
<td class="tableLabel">危包规格</td>
<td colspan="">
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
</tr>
</table>
</el-form>
<div style="margin:5px; float: right; ">
<el-button type="primary" size="small" @click="createOutLint()" plain>新增商品信息</el-button>
</div>
</div>
</div>
<div class="divBox rightDiv">
<div class="rightDivTop">
<div>
<el-table border @selection-change="handleSelectContainer" height="300px">
<el-table-column type="selection" width="60px" align="center"></el-table-column>
<el-table-column prop="" label="集装箱号" align="center"></el-table-column>
<el-table-column prop="" label="集装箱规格" align="center"></el-table-column>
<el-table-column prop="" label="拼装标识" align="center"></el-table-column>
<el-table-column label="操作" width="100px" align="center">
<template slot-scope="scope">
<el-button type="danger" size="mini">删除</el-button>
</template>
</el-table-column>
</el-table>
<el-form ref="" :model="containerModel">
<table class="divTable">
<tr>
<td class="tableLabel">集装箱号</td>
<td>
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
</tr>
<tr>
<td class="tableLabel">集装箱规格</td>
<td>
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
</tr>
<tr>
<td class="tableLabel">自重(KG)</td>
<td>
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
</tr>
<tr>
<td class="tableLabel">拼箱标识</td>
<td>
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
</tr>
<tr>
<td class="tableLabel">商品项号关系</td>
<td>
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
</tr>
</table>
<div style="float: right; margin-top: 5px">
<el-button type="primary" size="small" plain>新增集装箱</el-button>
</div>
</el-form>
</div>
<div>
</div>
</div>
<div class="rightDivBtm">
<el-table border @selection-change="handleSelectDocument" height="300px">
<el-table-column type="selection" width="60px" align="center"></el-table-column>
<el-table-column prop="" label="单证代码" align="center"></el-table-column>
<el-table-column prop="" label="单证编号" align="center"></el-table-column>
<el-table-column label="操作" width="100px" align="center">
<template slot-scope="scope">
<el-button type="danger" size="mini">删除</el-button>
</template>
</el-table-column>
</el-table>
<el-form ref="" :model="billModel">
<table class="divTable">
<tr>
<td class="tableLabel">随附单证代码</td>
<td>
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
</tr>
<tr>
<td class="tableLabel">随附单证编号</td>
<td>
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
</tr>
</table>
</el-form>
<div style="float: right;margin-top: 5px">
<el-button type="primary" size="small" plain>新增单证</el-button>
</div>
</div>
<div class="customTable">
<table class="divTable">
<tr>
<td class="tableLabel">关联报关单</td>
<td>
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
</tr>
<tr>
<td class="tableLabel">关联备案</td>
<td>
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
</tr>
<tr>
<td class="tableLabel">报税/监管场地</td>
<td>
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
</tr>
<tr>
<td class="tableLabel">场地代码</td>
<td>
<el-form-item prop="custom">
<el-input type="text"></el-input>
</el-form-item>
</td>
</tr>
</table>
</div>
</div>
</div>
</el-scrollbar>
</div>
</template>
<script>
export default {
name: "MoreDeclaration",
data() {
const validateCustomCode = (rule, value, callback) => {
if (!value) {
this.$message.error('海关没填')
}
callback();
};
return {
headType: {
card: false,
checked: false,
tax: false
},
outLintForm: {},
outLintModel: {
custom: '4604'
},
outLintRules: {
custom: [{validator: validateCustomCode, target: 'blur'}]
},
outLintGoods: {},
containerModel: {},
billModel: {},
}
},
watch: {
'headType.card': function (newVal, oldVal) {
console.log('headType.card newVal: ' + newVal)
console.log(oldVal)
},
'headType.checked': function (newVal, oldVal) {
console.log('headType.checked newVal: ' + newVal)
console.log(oldVal)
},
'headType.tax': function (newVal, oldVal) {
console.log('headType.tax newVal: ' + newVal)
console.log(oldVal)
}
},
methods: {
/**
* 多选商品信息
*/
handleSelectionChange() {
},
/**
* 删除商品信息
*/
handleDelete() {
},
/**
* 新增概要商品信息
*/
createOutLint() {
},
/**
* 多选集装箱
*/
handleSelectContainer() {
},
/**
* 多选单证编号
*/
handleSelectDocument() {
}
}
}
</script>
<style>
.app-container .el-form-item {
margin-bottom: 0px;
}
.titleRow {
background-color: #e3effd;
height: 35px;
line-height: 35px;
}
.divTable .el-form-item__content {
line-height: 20px;
height: 20px;
}
.divTable .el-input__inner {
border: none;
border-radius: 0px;
background-color: #fafafa;
color: #000;
line-height: 20px;
height: 20px;
}
.titleSpan {
margin-top: 5px;
margin-bottom: 5px;
color: #44acfd;
}
.app-container .leftDiv {
float: left;
width: 75%;
}
.app-container .divBox .divBoxTop {
height: 70%;
}
.app-container .divTable {
border: #31abff 1px solid;
border-collapse: collapse;
font-size: 13px;
}
.app-container .divTable tr {
line-height: 25px;
}
.app-container .tableLabel {
text-align: right;
padding-right: 10px;
}
.app-container .tableInput {
width: 100%;
height: 100%;
border: none;
background-color: #f7f7f7;
outline: none;
}
.divTable td {
width: 8%;
border: #bfcbd9 1px solid;
}
.app-container .divBox .divBoxMid {
height: 30%;
margin-top: 5px;
margin-bottom: 5px;
}
.app-container .divBox .divBoxBtm {
height: 20%;
}
.app-container .rightDiv {
float: right;
width: 25%;
}
.rightDivTop{
height: 40%;
}
.rightDivBtm {
height: 67%;
margin-top: 5px;
margin-bottom: 5px;
}
.customTable{
float: right;
margin-top: -2px;
}
</style>