tax-document-list.html 84.6 KB
Newer Older
chase's avatar
chase committed
1
<div class="land-manage-page" watch-group temp-module down-load-module export-plugin>
chase's avatar
chase committed
2
    <style>
chase's avatar
chase committed
3 4 5
        ul {
            margin: 0;
            padding: 0;
chase's avatar
chase committed
6 7
            list-style: none;
        }
chase's avatar
chase committed
8 9 10 11
        .upload-fail-mark{
            border:2px solid red;
        }

chase's avatar
chase committed
12 13 14 15 16 17 18 19
        .edit-panel-left-part{
            padding-left:0;
            padding-right:0;
        }

        .required-tip{
            color: red;
        }
chase's avatar
chase committed
20 21

        .TDL-header {
chase's avatar
chase committed
22 23
            padding: 1rem;
        }
chase's avatar
chase committed
24 25

        .TDL-query-bar {
chase's avatar
chase committed
26 27 28 29 30 31
            width: 100%;
            padding: 1rem;
            border: 1px solid #dadada;
            border-radius: 4px;
            background: #F9F9F9;
        }
chase's avatar
chase committed
32 33 34

        .TDL-query-bar .TDL-query-row {
            width: 100%;
chase's avatar
chase committed
35
            padding: 7px 0;
chase's avatar
chase committed
36
            position: relative;
chase's avatar
chase committed
37
        }
chase's avatar
chase committed
38

chase's avatar
chase committed
39
        /*dx-datagrid-header-panel*/
chase's avatar
chase committed
40
        .TDL-query-bar .TDL-query-footer {
chase's avatar
chase committed
41 42
            margin-top: 1rem;
        }
chase's avatar
chase committed
43 44 45 46 47 48

        .TDL-query-bar .TDL-query-block {
            width: 24.75%;
            min-width: 24.75%;
            max-width: 24.75%;
            display: inline-block;
chase's avatar
chase committed
49 50
            box-sizing: border-box;
        }
chase's avatar
chase committed
51 52

        .TDL-query-bar .TDL-query-des {
chase's avatar
chase committed
53
            text-align: right;
chase's avatar
chase committed
54
            width: 30%;
chase's avatar
chase committed
55 56 57 58 59 60
            max-width: 30%;
            display: inline-block;
            box-sizing: border-box;
            overflow: hidden;
            line-height: 100%;
        }
chase's avatar
chase committed
61 62

        .TDL-query-bar .TDL-query-val {
chase's avatar
chase committed
63 64 65 66
            text-align: left;
            display: inline-block;
            width: 68%;
            max-width: 68%;
chase's avatar
chase committed
67
            padding-left: 1rem;
chase's avatar
chase committed
68
            box-sizing: border-box;
chase's avatar
chase committed
69
            position: relative;
chase's avatar
chase committed
70
        }
chase's avatar
chase committed
71 72

        .TDL-query-bar .TDL-query-val .TDL-query-val-multi {
chase's avatar
chase committed
73 74
            width: 50%;
            max-width: 50%;
chase's avatar
chase committed
75 76
            display: inline-block;
            margin: 0;
chase's avatar
chase committed
77 78 79 80 81
            position: absolute;
            top: -24px;
            left: 1rem;
        }
        .TDL-query-bar .TDL-query-val .TDL-query-val-multi:nth-child(even){
chase's avatar
chase committed
82
            left: 50%;
chase's avatar
chase committed
83
            border-radius: 0 4px 4px 0;
chase's avatar
chase committed
84 85 86
        }

        .TDL-query-bar .TDL-query-more {
chase's avatar
chase committed
87
            text-align: center;
chase's avatar
chase committed
88
            padding: 1rem 3rem;
chase's avatar
chase committed
89 90
            z-index: 1;
        }
chase's avatar
chase committed
91 92 93

        .DL-query-bar .TDL-query-more > span {
            color: #999;
chase's avatar
chase committed
94
        }
chase's avatar
chase committed
95 96

        .TDL-query-bar .TDL-query-operate {
chase's avatar
chase committed
97 98 99 100 101
            position: absolute;
            right: 1rem;
            top: 1rem;
            z-index: 2;
        }
chase's avatar
chase committed
102 103

        .TDL-query-bar .TDL-query-operate > button {
chase's avatar
chase committed
104 105 106 107
            border: 0;
            padding: 0.5rem 3rem;
            border-radius: 4px;
        }
chase's avatar
chase committed
108

chase's avatar
chase committed
109 110 111
        .TDL-query-bar .TDL-query-operate button.TDL-query-operate-search {
            color: #fff;
            background: #999;
chase's avatar
chase committed
112
            margin-right: 1rem;
chase's avatar
chase committed
113
        }
chase's avatar
chase committed
114

chase's avatar
chase committed
115 116
        .TDL-query-bar .TDL-query-operate button.TDL-query-operate-reset {
            background: #fff;
chase's avatar
chase committed
117
            border: 1px solid #bbb;
chase's avatar
chase committed
118 119 120
        }

        .TDL-query-bar .TDL-query-operate button.TDL-query-operate-search:hover,
chase's avatar
chase committed
121
        .TDL-query-bar .TDL-query-operate button.TDL-query-operate-reset:hover {
chase's avatar
chase committed
122
            background: #E6E6E6;
chase's avatar
chase committed
123
            color: inherit;
chase's avatar
chase committed
124
        }
chase's avatar
chase committed
125

chase's avatar
chase committed
126
        .TDL-query-bar .TDL-query-val > input,
chase's avatar
chase committed
127
        .TDL-query-bar .TDL-query-val > select {
chase's avatar
chase committed
128 129
            width: 100%;
            max-width: 100%;
chase's avatar
chase committed
130
            box-sizing: border-box;
chase's avatar
chase committed
131
            border: 1px solid #E1E1E1;
chase's avatar
chase committed
132
        }
chase's avatar
chase committed
133

chase's avatar
chase committed
134 135
        /*修改表格头部样式*/
        .TDL-data-grid-container .dx-header-row .dx-datagrid-action,
chase's avatar
chase committed
136
        .TDL-data-grid-container .dx-header-row .dx-datagrid-drag-action {
chase's avatar
chase committed
137 138 139 140 141 142
            background: #F2F2F2;
            color: #333;
            font-weight: 600;
        }

        /*修改头部动作条样式*/
chase's avatar
chase committed
143
        .TDL-data-grid-container .dx-datagrid-header-panel {
chase's avatar
chase committed
144 145 146 147
            border: 1px solid #dadada;
            border-bottom: 0;
            padding: 1rem 1rem 0 1rem;
        }
chase's avatar
chase committed
148 149

        .TDL-content-container {
chase's avatar
chase committed
150 151
            position: relative;
        }
chase's avatar
chase committed
152 153

        .TDL-content-container .DTL-content-head-bar {
chase's avatar
chase committed
154
            z-index: 2;
chase's avatar
chase committed
155 156
            padding-right: 1rem;
            margin-bottom: 1rem;
chase's avatar
chase committed
157
        }
chase's avatar
chase committed
158 159 160

        .TDL-content-container .DTL-content-head-bar button {
            border: 0;
chase's avatar
chase committed
161 162 163 164 165 166 167 168 169 170 171
            padding: 0 10px;
            height: 34px;
            font-weight: 400;
            border-radius: 5px;
            font-style: normal;
            outline: none;
            min-width: 100px;
            background-color: #FFF;
            color: #333;
            line-height: 36px;
        }
chase's avatar
chase committed
172 173

        .TDL-content-container .DTL-content-head-bar button > i {
chase's avatar
chase committed
174 175
            font-size: 16px;
        }
chase's avatar
chase committed
176 177 178

        .TDL-content-container .DTL-content-head-bar button.DTL-create-record {
            color: #DC6900;
chase's avatar
chase committed
179
        }
chase's avatar
chase committed
180 181 182

        .TDL-content-container .DTL-content-head-bar button.DTL-del-record {
            color: #999;
chase's avatar
chase committed
183 184
        }

chase's avatar
chase committed
185 186
        .TDL-content-container .DTL-content-head-bar button:hover {
            border: 0;
chase's avatar
chase committed
187
            background: #E6E6E6;
chase's avatar
chase committed
188
            color: inherit;
chase's avatar
chase committed
189 190
        }

chase's avatar
chase committed
191 192 193
        /*    .dx-toolbar .dx-toolbar-after .dx-toolbar-item-content .dx-datagrid-toolbar-button {
                border: 0;
            }
chase's avatar
chase committed
194

chase's avatar
chase committed
195 196 197 198 199
            .dx-toolbar .dx-toolbar-after .dx-toolbar-item-content .dx-datagrid-toolbar-button .dx-button-content {
                width: 100px;
                min-width: 100px;
                text-align: left;
            }
chase's avatar
chase committed
200

chase's avatar
chase committed
201 202 203 204 205 206 207
            .dx-toolbar .dx-toolbar-after .dx-toolbar-item-content .dx-datagrid-toolbar-button .dx-button-content i:after {
                content: "导出列表";
                font-size: 14px;
                position: relative;
                top: 0;
                left: 0;
            }*/
chase's avatar
chase committed
208

chase's avatar
chase committed
209
        .DTL-special-external-btn {
chase's avatar
chase committed
210 211 212 213
            width: 34px;
            line-height: 34px;
            height: 34px;
            text-align: center;
chase's avatar
chase committed
214 215 216
            position: absolute;
            left: 87%;
            top: 0;
chase's avatar
chase committed
217
        }
chase's avatar
chase committed
218

chase's avatar
chase committed
219
        .fake-exclamatory-circle:after,
chase's avatar
chase committed
220
        .fake-question-circle:after {
chase's avatar
chase committed
221 222 223 224 225 226 227
            position: relative;
            padding: 5px;
            border: 1px solid #bbb;
            width: 24px;
            height: 24px;
            display: block;
            border-radius: 100%;
chase's avatar
chase committed
228
            color: #bbb;
chase's avatar
chase committed
229
        }
chase's avatar
chase committed
230 231 232

        .fake-question-circle:after {
            content: "?";
chase's avatar
chase committed
233
        }
chase's avatar
chase committed
234 235 236

        .fake-exclamatory-circle:after {
            content: "!";
chase's avatar
chase committed
237
        }
chase's avatar
chase committed
238 239

        .TDL-multi-upload-tab {
chase's avatar
chase committed
240 241 242
            /*position: absolute;*/
            /*left: 0;*/
            /*top: 0;*/
chase's avatar
chase committed
243
            float: left;
chase's avatar
chase committed
244
            /*min-width: 100px;*/
chase's avatar
chase committed
245
            /*max-width: 100px;*/
chase's avatar
chase committed
246
            width: 10%;
chase's avatar
chase committed
247
        }
chase's avatar
chase committed
248 249

        .TDL-multi-upload-tab li.TDL-multi-upload-tab-item {
chase's avatar
chase committed
250 251 252 253 254 255 256
            width: 100%;
            /*background: #EB8C00;*/
            font-size: 1.6rem;
            text-align: center;
            line-height: 100%;
            padding: 1.4rem;
            /*color: #fff;*/
chase's avatar
chase committed
257
            cursor: pointer;
chase's avatar
chase committed
258 259
            border: 1px solid #e5e5e5;
        }
chase's avatar
chase committed
260 261

        .TDL-multi-upload-content {
chase's avatar
chase committed
262 263 264
            width: 90%;
            float: right;
        }
chase's avatar
chase committed
265 266

        .TDL-multi-upload-tab .TDL-multi-upload-tab-active {
chase's avatar
chase committed
267 268 269
            background: #EB8C00;
            color: #fff;
        }
chase's avatar
chase committed
270

chase's avatar
chase committed
271
        /*color:#4395ff*/
chase's avatar
chase committed
272 273
        .DTL-special-external-preview {
            color: #4395ff;
chase's avatar
chase committed
274
        }
chase's avatar
chase committed
275 276

        .TDL-pdf-preview-pop {
chase's avatar
chase committed
277
            position: fixed;
chase's avatar
chase committed
278 279 280
            top: 0;
            left: 0;
            z-index: 1051;
chase's avatar
chase committed
281 282 283
            background: #333;
            text-align: center;
            overflow: auto;
chase's avatar
chase committed
284
        }
chase's avatar
chase committed
285 286

        .TDL-pdf-preview-pop-close-btn {
chase's avatar
chase committed
287 288 289 290 291
            position: fixed;
            top: 6rem;
            right: 6rem;
            width: 4rem;
            height: 4rem;
chase's avatar
chase committed
292
            background: rgba(254, 66, 66, 0.5);
chase's avatar
chase committed
293
            color: #333;
chase's avatar
chase committed
294 295 296 297 298 299 300 301
            border-radius: 100%;
            text-align: center;
            line-height: 100%;
            cursor: pointer;
            padding: 0;
            z-index: 1502;
            border: 0;
        }
chase's avatar
chase committed
302 303 304 305

        .TDL-pdf-preview-pop-close-btn:hover {
            background: rgba(254, 66, 66, 0.8);
            color: #fff;
chase's avatar
chase committed
306
        }
chase's avatar
chase committed
307

chase's avatar
chase committed
308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327
        .TDL-pdf-preview-pop-rotateCw-btn {
            position: fixed;
            top: 12rem;
            right: 6rem;
            width: 4rem;
            height: 4rem;
            background: rgba(254, 66, 66, 0.5);
            color: #333;
            border-radius: 100%;
            text-align: center;
            line-height: 100%;
            cursor: pointer;
            padding: 0;
            z-index: 1502;
            border: 0;
        }
        .TDL-pdf-preview-pop-rotateCw-btn:hover{
            background: rgba(254, 66, 66, 0.8);
            color: #fff;
        }
chase's avatar
chase committed
328 329
        .TDL-pdf-layout-dialog {
            display: none;
chase's avatar
chase committed
330
        }
chase's avatar
chase committed
331 332

        .test {
chase's avatar
chase committed
333
            position: absolute;
chase's avatar
chase committed
334 335
            top: 0;
            left: 0;
chase's avatar
chase committed
336 337
            z-index: 1111;
        }
chase's avatar
chase committed
338 339

        .TDL-pdf-paging-btn {
chase's avatar
chase committed
340 341 342 343 344 345
            position: fixed;
            top: 49%;
            z-index: 1052;
            border: 0;
            padding: 2rem;
            font-size: 2rem;
chase's avatar
chase committed
346
            background: rgba(33, 33, 33, 0.5);
chase's avatar
chase committed
347 348
            outline: none;
        }
chase's avatar
chase committed
349 350

        .TDL-pdf-paging-btn:hover {
chase's avatar
chase committed
351
            background: rgba(255, 255, 198, 0.7);
chase's avatar
chase committed
352
            color: #fff;
chase's avatar
chase committed
353
        }
chase's avatar
chase committed
354 355

        .TDL-pdf-paging-btn-prev {
chase's avatar
chase committed
356 357
            left: 6rem;
        }
chase's avatar
chase committed
358 359

        .TDL-pdf-paging-btn-next {
chase's avatar
chase committed
360 361
            right: 6rem;
        }
chase's avatar
chase committed
362 363

        /*HACK,主要为了解决rangPicker插件的布局问题*/
chase's avatar
chase committed
364
        div.rangePicker.RTL > .wrap > .custom > div.calendar.from {
chase's avatar
chase committed
365 366
            float: left;
        }
chase's avatar
chase committed
367 368 369 370 371 372

        tr.TDL-has-checked{
            background: #337ab7;
            color: #fff;
        }

chase's avatar
chase committed
373 374 375 376
        div.showSweetAlert{
            box-shadow: 0 0 12px #9e9e9e;
            animation: showSweetAlert 0.3s;
        }
chase's avatar
chase committed
377 378 379 380 381 382 383 384 385 386 387 388 389 390 391
        /*页脚固定100px*/
        .wrapper{
            min-height: calc(100vh - 100px);
        }
        .page-footer{
            height: 100px;
        }
        /* id="uploadResultPop"*/
        .modal-dialog-stage{
            color:#9999BB;
        }
        .modal-dialog-erroritems{
            background-color: #F3F3F3;
            color:#C53232;
        }
chase's avatar
chase committed
392
    </style>
chase's avatar
chase committed
393
    <div class="menu-header TDL-header">
chase's avatar
chase committed
394
        <div class="TDL-query-bar" ng-init="More = false">
chase's avatar
chase committed
395 396 397
            <div data-id="1" class="TDL-query-row">
                <div class="TDL-query-block">
                    <div class="TDL-query-des">
chase's avatar
chase committed
398
                        <span translate="Document Attribute"></span>
chase's avatar
chase committed
399 400
                    </div>
                    <div class="TDL-query-val">
chase's avatar
chase committed
401 402
                        <select ng-model="queryFieldModel.fileAttr" ng-change="queryFileAttr(queryFieldModel.fileAttr)"
                                class="form-control radius3"
chase's avatar
chase committed
403
                                placeholder="{{'Please Select' | translate}}">
chase's avatar
chase committed
404 405 406
                            <option value=""></option>
                            <option  ng-repeat="fileAttr in fileAttrOptions track by $index"
                                     value="{{fileAttr}}">{{fileAttr}}
chase's avatar
chase committed
407
                            </option>
chase's avatar
chase committed
408 409 410 411 412 413 414
                        </select>
                        <!--<input type="text" class="form-control radius3"-->
                        <!--ng-model="queryFieldModel.fileAttr"/>-->
                    </div>
                </div>
                <div class="TDL-query-block">
                    <div class="TDL-query-des">
chase's avatar
chase committed
415
                        <span translate="Document Type"></span>
chase's avatar
chase committed
416 417 418 419
                    </div>
                    <div class="TDL-query-val">
                        <select ng-model="queryFieldModel.fileType"
                                class="form-control radius3"
chase's avatar
chase committed
420
                                placeholder="{{'Please Select' | translate}}">
chase's avatar
chase committed
421
                            <option value=""></option>
chase's avatar
chase committed
422 423 424
                            <option ng-repeat="fileType in fileTypeOptions track by $index" value="{{fileType}}">
                                {{fileType}}
                            </option>
chase's avatar
chase committed
425 426 427 428 429 430 431
                        </select>
                        <!--<input type="text" class="form-control radius3"-->
                        <!--ng-model="queryFieldModel.fileType"/>-->
                    </div>
                </div>
                <div class="TDL-query-block">
                    <div class="TDL-query-des">
chase's avatar
chase committed
432
                        <span translate="Effective_Date"></span>
chase's avatar
chase committed
433 434 435
                    </div>
                    <div class="TDL-query-val">
                        <!--<input type="text" class="form-control radius3"-->
chase's avatar
chase committed
436
                        <!--ng-model="queryFieldModel.Effective_Date"/>-->
chase's avatar
chase committed
437
                        <!--<input type="text" class="form-control radius3" id="period-picker1"/>-->
chase's avatar
chase committed
438
                        <input type='text' placeholder="From" ng-change="changeDateRangeError(1)"
chase's avatar
chase committed
439
                               date-time-picker class="form-control TDL-query-val-multi"
chase's avatar
chase committed
440 441
                               data-date-format="yyyy/mm/dd" ng-model="queryFieldModel.fileBeginTime"
                               data-min-view-mode="0" />
chase's avatar
chase committed
442
                        <input type='text' placeholder="To" ng-change="changeDateRangeError(2)"
chase's avatar
chase committed
443
                               date-time-picker class="form-control TDL-query-val-multi"
chase's avatar
chase committed
444 445
                               data-date-format="yyyy/mm/dd" ng-model="queryFieldModel.fileEndTTime"
                               data-min-view-mode="0" />
chase's avatar
chase committed
446 447 448 449 450

                    </div>
                </div>
                <div class="TDL-query-block">
                    <div class="TDL-query-des">
chase's avatar
chase committed
451
                        <span translate="Period"></span>
chase's avatar
chase committed
452 453 454
                    </div>
                    <div class="TDL-query-val">
                        <!--<input type="text" class="form-control radius3"-->
chase's avatar
chase committed
455
                        <!--ng-model="queryFieldModel.Period"/>-->
chase's avatar
chase committed
456
                        <input type='text' placeholder="From" ng-change="changeDateRangeError(1)"
chase's avatar
chase committed
457
                               date-time-picker class="form-control TDL-query-val-multi"
chase's avatar
chase committed
458 459
                               data-date-format="yyyymm" ng-model="queryFieldModel.ownBeginTime"
                               data-min-view-mode="1"/>
chase's avatar
chase committed
460
                        <input type='text' placeholder="To" ng-change="changeDateRangeError(2)"
chase's avatar
chase committed
461
                               date-time-picker class="form-control TDL-query-val-multi"
chase's avatar
chase committed
462 463
                               data-date-format="yyyymm" ng-model="queryFieldModel.ownEndTime"
                               data-min-view-mode="1"/>
chase's avatar
chase committed
464
                        <!--<input type="text" class="form-control radius3" id="period-picker2"/>-->
chase's avatar
chase committed
465 466 467 468

                    </div>
                </div>
            </div>
chase's avatar
chase committed
469
            <div data-id="2" ng-show="More" class="TDL-query-row">
chase's avatar
chase committed
470 471
                <div class="TDL-query-block">
                    <div class="TDL-query-des">
chase's avatar
chase committed
472
                        <span translate="Document Name"></span>
chase's avatar
chase committed
473 474 475 476 477 478 479 480
                    </div>
                    <div class="TDL-query-val">
                        <input type="text" class="form-control radius3"
                               ng-model="queryFieldModel.fileName"/>
                    </div>
                </div>
                <div class="TDL-query-block">
                    <div class="TDL-query-des">
chase's avatar
chase committed
481
                        <span translate="Business Line"></span>
chase's avatar
chase committed
482 483
                    </div>
                    <div class="TDL-query-val">
chase's avatar
chase committed
484 485
                        <select ng-model="queryFieldModel.businessLine"
                                class="form-control radius3"
chase's avatar
chase committed
486
                                placeholder="{{'Please Select' | translate}}">
chase's avatar
chase committed
487
                            <option value=""></option>
chase's avatar
chase committed
488 489 490 491 492 493
                            <option ng-repeat="businessLine in businessLineOptions track by $index" value="{{businessLine.name}}">
                                {{businessLine.name}}
                            </option>
                        </select>
                        <!--<input type="text" class="form-control radius3"-->
                        <!--ng-model="queryFieldModel.businessLine"/>-->
chase's avatar
chase committed
494 495 496 497
                    </div>
                </div>
                <div class="TDL-query-block">
                    <div class="TDL-query-des">
chase's avatar
chase committed
498
                        <span translate="Company Name"></span>
chase's avatar
chase committed
499 500
                    </div>
                    <div class="TDL-query-val">
chase's avatar
chase committed
501
                        <div dx-select-box="queryOrgOptions" style="height: 33px;position: relative;top: 9px"></div>
502 503 504
                        <!--<select ng-model="queryFieldModel.companyName" class="form-control radius3"-->
                                <!--title="{{queryFieldModel.companyName}}" required-->
                                <!--ng-change="matchCompanyId(queryFieldModel,companyNameOptionsMap)"-->
chase's avatar
chase committed
505
                                <!--placeholder="{{'Please Select' | translate}}">-->
506 507 508 509 510 511
                            <!--<option value=""></option>-->
                            <!--<option ng-repeat="(key,companyName) in companyNameOptionsMap"-->
                                    <!--ng-slected="queryFieldModel.companyName == companyName"-->
                                    <!--value="{{companyName}}">{{companyName}}-->
                            <!--</option>-->
                        <!--</select>-->
chase's avatar
chase committed
512 513 514 515
                    </div>
                </div>
                <div class="TDL-query-block">
                    <div class="TDL-query-des">
chase's avatar
chase committed
516
                        <span translate="Due Date"></span>
chase's avatar
chase committed
517 518 519 520
                    </div>
                    <div class="TDL-query-val">
                        <!--<input type="text" class="form-control radius3"-->
                        <!--ng-model="queryFieldModel.DueDate"/>-->
chase's avatar
chase committed
521
                        <input type='text' placeholder="From" ng-change="changeDateRangeError(1)"
chase's avatar
chase committed
522
                               date-time-picker class="form-control TDL-query-val-multi"
chase's avatar
chase committed
523 524
                               data-date-format="yyyy/mm/dd" ng-model="queryFieldModel.effectiveBeginTime"
                               data-min-view-mode="0"/>
chase's avatar
chase committed
525
                        <input type='text' placeholder="To" ng-change="changeDateRangeError(2)"
chase's avatar
chase committed
526
                               date-time-picker class="form-control TDL-query-val-multi"
chase's avatar
chase committed
527 528
                               data-date-format="yyyy/mm/dd" ng-model="queryFieldModel.effectiveEndTime"
                               data-min-view-mode="0"/>
chase's avatar
chase committed
529 530 531
                    </div>
                </div>
            </div>
chase's avatar
chase committed
532
            <div data-id="3" ng-show="More" class="TDL-query-row">
chase's avatar
chase committed
533 534
                <div class="TDL-query-block">
                    <div class="TDL-query-des">
chase's avatar
chase committed
535
                        <span translate="Tax Type"></span>
chase's avatar
chase committed
536 537
                    </div>
                    <div class="TDL-query-val">
chase's avatar
chase committed
538 539 540 541 542
                        <!--<input type="text" class="form-control radius3"-->
                        <!--ng-model="queryFieldModel.taxType"/>-->

                        <select ng-model="queryFieldModel.taxType"
                                class="form-control radius3">
chase's avatar
chase committed
543
                            <option value=""></option>
chase's avatar
chase committed
544 545 546 547 548
                            <option ng-repeat="taxType in taxTypeSelects track by $index"
                                    ng-selected="(queryFieldModel.taxType == taxType)"
                                    value="{{taxType}}">{{taxType}}
                            </option>
                        </select>
chase's avatar
chase committed
549 550 551 552
                    </div>
                </div>
                <div class="TDL-query-block">
                    <div class="TDL-query-des">
chase's avatar
chase committed
553
                        <span translate="Storage Index"></span>
chase's avatar
chase committed
554 555
                    </div>
                    <div class="TDL-query-val">
chase's avatar
chase committed
556
                        <input type="text" class="form-control radius3"
chase's avatar
chase committed
557 558 559 560 561
                               ng-model="queryFieldModel.physicalIndexNumber"/>
                    </div>
                </div>
                <div class="TDL-query-block">
                    <div class="TDL-query-des">
chase's avatar
chase committed
562
                        <span translate="Storage Location"></span>
chase's avatar
chase committed
563 564 565 566 567 568 569 570
                    </div>
                    <div class="TDL-query-val">
                        <input type="text" class="form-control radius3"
                               ng-model="queryFieldModel.storageArea"/>
                    </div>
                </div>
                <div class="TDL-query-block">
                    <div class="TDL-query-des">
chase's avatar
chase committed
571
                        <span translate="Custodian"></span>
chase's avatar
chase committed
572 573 574 575 576 577 578
                    </div>
                    <div class="TDL-query-val">
                        <input type="text" class="form-control radius3"
                               ng-model="queryFieldModel.keeper"/>
                    </div>
                </div>
            </div>
chase's avatar
chase committed
579
            <div data-id="4" ng-show="More" class="TDL-query-row">
chase's avatar
chase committed
580 581
                <div class="TDL-query-block">
                    <div class="TDL-query-des">
chase's avatar
chase committed
582
                        <span translate="Approval Status"></span>
chase's avatar
chase committed
583 584
                    </div>
                    <div class="TDL-query-val">
chase's avatar
chase committed
585 586 587 588
                        <!--auditSelectsMap-->

                        <select ng-model="queryFieldModel.auditStatus"
                                class="form-control radius3">
chase's avatar
chase committed
589
                            <option value=""></option>
chase's avatar
chase committed
590 591 592 593 594 595 596
                            <option ng-repeat="(code,val) in auditSelectsMap track by $index"
                                    ng-selected="(queryFieldModel.auditStatus == code || queryFieldModel.auditStatus == val)"
                                    value="{{code}}">{{val}}
                            </option>
                        </select>
                        <!--<input type="text" class="form-control radius3"-->
                        <!--ng-model="queryFieldModel.auditStatus"/>-->
chase's avatar
chase committed
597 598 599 600
                    </div>
                </div>
                <div class="TDL-query-block">
                    <div class="TDL-query-des">
chase's avatar
chase committed
601
                        <span translate="Upload Date"></span>
chase's avatar
chase committed
602 603 604 605
                    </div>
                    <div class="TDL-query-val">
                        <!--<input type="text" class="form-control radius3"-->
                        <!--ng-model="queryFieldModel.UploadDate"/>-->
chase's avatar
chase committed
606
                        <!--<input type="text" class="form-control radius3" id="period-picker4" />-->
chase's avatar
chase committed
607
                        <input type='text' placeholder="From" ng-change="changeDateRangeError(1)"
chase's avatar
chase committed
608
                               date-time-picker class="form-control TDL-query-val-multi"
chase's avatar
chase committed
609 610
                               data-date-format="yyyy/mm/dd" ng-model="queryFieldModel.uploadBeginTime"
                               data-min-view-mode="0"/>
chase's avatar
chase committed
611
                        <input type='text' placeholder="To" ng-change="changeDateRangeError(2)"
chase's avatar
chase committed
612
                               date-time-picker class="form-control TDL-query-val-multi"
chase's avatar
chase committed
613 614
                               data-date-format="yyyy/mm/dd" ng-model="queryFieldModel.uploadEndTime"
                               data-min-view-mode="0"/>
chase's avatar
chase committed
615 616
                        <!--$scope.queryFieldModel.uploadBeginTime = dateFormat(result[0].reverse());-->
                        <!--$scope.queryFieldModel.uploadEndTime = dateFormat(result[1].reverse());-->
chase's avatar
chase committed
617 618 619 620 621 622 623 624 625 626 627 628 629 630 631
                    </div>
                </div>
                <div class="TDL-query-block">
                    <div class="TDL-query-des">
                        <span translate="Creator"></span>
                    </div>
                    <div class="TDL-query-val">
                        <input type="text" class="form-control radius3"
                               ng-model="queryFieldModel.creator"/>
                    </div>
                </div>

            </div>
            <div data-id="5" class="TDL-query-row TDL-query-footer">
                <div class="TDL-query-more">
chase's avatar
chase committed
632 633
                    <a href="javascript:void(0)" ng-click="More = !More">
                        <span>{{More ? 'Less' : 'More' | translate}}</span>
chase's avatar
chase committed
634 635 636 637 638 639 640 641 642 643 644 645 646
                        <i class=""></i>
                    </a>
                </div>
                <div class="TDL-query-operate">
                    <button translate="Search" class="TDL-query-operate-search" ng-click="loadMainData()"></button>
                    <button translate="Reset" class="TDL-query-operate-reset" ng-click="resetQueryField()"></button>
                </div>
            </div>
        </div>
    </div>
    <div class="content-container TDL-content-container">

        <div class="DTL-content-head-bar">
chase's avatar
chase committed
647

chase's avatar
chase committed
648 649 650 651
            <app-usr-operate-log style="float:right"
                                 this-module-name="docManageListLog"
                                 this-module-id="checkedItemIds"
            ></app-usr-operate-log>
chase's avatar
chase committed
652 653 654
            <div style="text-align: right;">
                <button class="btn DTL-create-record" ng-click="openMultiUploadPop()">
                    <i class="fa fa-tasks"></i>
chase's avatar
chase committed
655
                    <span translate="Multiple File Upload"></span>
chase's avatar
chase committed
656 657 658
                </button>
                <button class="btn DTL-create-record" ng-click="openSimpleUploadPop()">
                    <i class="fa fa-plus-square"></i>
chase's avatar
chase committed
659
                    <span translate="Create Record"></span>
chase's avatar
chase committed
660 661 662
                </button>
                <button class="btn DTL-del-record">
                    <i class="fa fa-trash-o"></i>
chase's avatar
chase committed
663
                    <span translate="Delete Record" ng-click="delRecord()"></span>
chase's avatar
chase committed
664 665 666
                </button>
                <button class="btn">
                    <i class="fa fa-download"></i>
chase's avatar
chase committed
667
                    <span translate="Download Attachment" ng-click="downloadAttachment()"></span>
chase's avatar
chase committed
668 669 670
                </button>
                <button class="btn" ng-click="exportTableData()">
                    <i class="fa fa-file-excel-o"></i>
chase's avatar
chase committed
671
                    <span translate="Export Record"></span>
chase's avatar
chase committed
672 673
                </button>
            </div>
chase's avatar
chase committed
674 675 676
        </div>
        <div style="padding:0 1rem;background:#fff">
            <div class="TDL-data-grid-container dx-viewport demo-container">
chase's avatar
chase committed
677
                <div id="gridContainer" dx-data-grid="dataGridOptions" ng-style="getTableHeight()"></div>
chase's avatar
chase committed
678 679 680 681 682 683 684 685 686
            </div>
            <div class="form-group page-form-group">
                <div class="page-footer">
                    <ack-pagination page-options="pagingOptions" refresh-table="loadMainData()"></ack-pagination>
                </div>
            </div>
        </div>
    </div>

chase's avatar
chase committed
687 688
    <div class="modal fade" id="simpleUploadPopDialog" file-uploader tabindex="-1" role="dialog"
         aria-labelledby="myModalLabel" data-backdrop="static" data-keyboard="false">
chase's avatar
chase committed
689
        <div class="modal-dialog" style="width:80%;height:200px;max-width:1028px" role="document">
chase's avatar
chase committed
690
            <div class="modal-content">
chase's avatar
chase committed
691 692
                <form class="form-horizontal" name="newDocFileTypeForm"
                      ng-submit="simpleUploadSubmit(editFieldModel,'simple')">
chase's avatar
chase committed
693
                    <div class="modal-header">
chase's avatar
chase committed
694
                        <div class="modal-title"><span>{{isCreatePop ? 'Create Record' : 'Edit' | translate}}</span>
chase's avatar
chase committed
695
                        </div>
chase's avatar
chase committed
696 697 698 699
                    </div>
                    <div class="modal-body">

                        <div ng-if="isCreatePop" class="col-sm-6 form-group">
chase's avatar
chase committed
700 701
                            <label class="col-sm-3 control-label edit-panel-left-part">
                                <span class="required-tip"> * </span>
chase's avatar
chase committed
702
                                {{'Document Path'|translate}}
chase's avatar
chase committed
703 704 705
                            </label>
                            <div class="col-sm-11" style="width:61.67%">
                                <input class="form-control" title="{{editFieldModel.fileNativePath}}"
chase's avatar
chase committed
706
                                       placeholder="{{'Please Select' | translate}}"
chase's avatar
chase committed
707 708
                                       readonly
                                       ng-model="editFieldModel.fileNativePath"
chase's avatar
chase committed
709 710 711
                                       required/>
                                <input id="uploadFilePlugin" type="file" style="display:none" nv-file-select
                                       uploader="uploader" filters="fileTypeFilter">
chase's avatar
chase committed
712 713 714 715 716
                            </div>
                            <div class="DTL-special-external-btn">
                                <a href="javascript:void(0)" ng-click="uploadFile()"><i class="fa fa-upload"></i></a>
                            </div>
                        </div>
chase's avatar
chase committed
717 718 719

                        <!--取消上传时的预览功能-->
                        <!--<div ng-if="isCreatePop && uploader.queue.length" class="col-sm-6 form-group">
chase's avatar
chase committed
720 721 722
                            <label class="col-sm-3 control-label"  style="text-align: left;">
                                <a href="javascript:void(0)" class="DTL-special-external-preview" ng-click="viewNativeFile(uploader.queue[0])">{{'PreviewFile'|translate}}</a>
                            </label>
chase's avatar
chase committed
723
                        </div>-->
chase's avatar
chase committed
724 725 726
                        <div style="clear:both"></div>
                        <!--档案名称-->
                        <div class="col-sm-6 form-group">
chase's avatar
chase committed
727 728
                            <label class="col-sm-3 control-label edit-panel-left-part">
                                <span class="required-tip"> * </span>
chase's avatar
chase committed
729
                                {{'Document Name' | translate}}
chase's avatar
chase committed
730
                            </label>
chase's avatar
chase committed
731
                            <div class="col-sm-11" style="width:61.67%">
chase's avatar
chase committed
732
                                <input class="form-control" title="{{editFieldModel.fileName}}"
chase's avatar
chase committed
733
                                       placeholder="{{'Please Type' | translate}}"
chase's avatar
chase committed
734
                                       ng-model="editFieldModel.fileName"
chase's avatar
chase committed
735
                                       required/>
chase's avatar
chase committed
736 737 738
                            </div>
                        </div>
                        <div class="col-sm-6 form-group">
chase's avatar
chase committed
739 740
                            <label class="col-sm-3 control-label edit-panel-left-part">
                                <span class="required-tip"> * </span>
chase's avatar
chase committed
741
                                {{'Document Attribute' | translate}}
chase's avatar
chase committed
742 743
                            </label>
                            <div class="col-sm-11" style="width:61.67%" id="fileAttrOptions">
chase's avatar
chase committed
744 745 746
                                <select ng-model="editFieldModel.fileAttr"
                                        ng-change="syncFileType(editFieldModel.fileAttr)"
                                        class="form-control"
chase's avatar
chase committed
747
                                        required placeholder="{{'Please Select' | translate}}">
chase's avatar
chase committed
748
                                    <option value=""></option>
chase's avatar
chase committed
749
                                    <option ng-repeat="fileAttr in fileAttrEnableOptions track by $index"
chase's avatar
chase committed
750
                                            ng-selected="(editFieldModel.fileAttr == fileAttr)"
chase's avatar
chase committed
751 752
                                            value="{{fileAttr}}">{{fileAttr}}
                                    </option>
chase's avatar
chase committed
753 754 755
                                </select>
                            </div>

chase's avatar
chase committed
756
                            <div class="DTL-special-external-btn" title="查看类型列表">
chase's avatar
chase committed
757
                                <a href="javascript:void(0)" ng-click="openHelpPop(editFieldModel)">
chase's avatar
chase committed
758 759
                                    <i class="fa fake-question-circle" aria-hidden="true"></i>
                                </a>
chase's avatar
chase committed
760 761 762
                            </div>
                        </div>
                        <div class="col-sm-6 form-group">
chase's avatar
chase committed
763 764
                            <label class="col-sm-3 control-label edit-panel-left-part">
                                <span class="required-tip"> * </span>
chase's avatar
chase committed
765
                                {{'Company Name' | translate}}
chase's avatar
chase committed
766
                            </label>
767
                            <div class="col-sm-11" style="width:61.67%;height: 13px" id="companyNameOptionsMap">
768 769 770 771
                                <div dx-select-box="editOrgOptions"></div>
                                <!--<select ng-model="editFieldModel.companyName" class="form-control"-->
                                        <!--title="{{editFieldModel.companyName}}" required-->
                                        <!--ng-change="matchCompanyId(editFieldModel,companyNameOptionsMap)"-->
chase's avatar
chase committed
772
                                        <!--placeholder="{{'Please Select' | translate}}">-->
773 774 775 776 777 778
                                    <!--<option value=""></option>-->
                                    <!--<option ng-repeat="(key,companyName) in companyNameOptionsMap"-->
                                            <!--ng-selected="(editFieldModel.companyName == companyName)"-->
                                            <!--value="{{companyName}}">{{companyName}}-->
                                    <!--</option>-->
                                <!--</select>-->
chase's avatar
chase committed
779 780 781
                            </div>
                        </div>
                        <div class="col-sm-6 form-group">
chase's avatar
chase committed
782 783
                            <label class="col-sm-3 control-label edit-panel-left-part">
                                <span class="required-tip"> * </span>
chase's avatar
chase committed
784
                                {{'Document Type' | translate}}
chase's avatar
chase committed
785
                            </label>
chase's avatar
chase committed
786 787 788 789
                            <div class="col-sm-11" style="width:61.67%">
                                <select ng-model="editFieldModel.fileType"
                                        ng-disabled="curFileTypeOptions.length === 0"
                                        class="form-control"
chase's avatar
chase committed
790
                                        ng-change="syncRequiredFields(editFieldModel)"
chase's avatar
chase committed
791
                                        required placeholder="{{'Please Select' | translate}}">
chase's avatar
chase committed
792
                                    <option value=""></option>
chase's avatar
chase committed
793
                                    <option ng-repeat="fileType in curFileTypeOptions track by $index"
chase's avatar
chase committed
794
                                            ng-selected="(editFieldModel.fileType == fileType)"
chase's avatar
chase committed
795 796
                                            value="{{fileType}}">{{fileType}}
                                    </option>
chase's avatar
chase committed
797 798 799 800
                                </select>
                            </div>
                        </div>
                        <div class="col-sm-6 form-group">
chase's avatar
chase committed
801
                            <label class="col-sm-3 control-label edit-panel-left-part">
chase's avatar
chase committed
802 803
                                <span class="required-tip" ng-if="isRequired('Tax Type')"> * </span>
                                {{'Tax Type' | translate}}
chase's avatar
chase committed
804 805
                            </label>
                            <div class="col-sm-11" style="width:61.67%">
chase's avatar
chase committed
806 807
                                <!--<input class="form-control"-->
                                <!--ng-required="isRequired('TaxType')"-->
chase's avatar
chase committed
808
                                <!--placeholder="{{'Please Select' | translate}}"-->
chase's avatar
chase committed
809 810 811 812
                                <!--ng-model="editFieldModel.taxType"-->
                                <!--/>-->
                                <select ng-model="editFieldModel.taxType"
                                        class="form-control"
chase's avatar
chase committed
813 814
                                        ng-required="isRequired('Tax Type')"
                                        placeholder="{{'Please Select' | translate}}">
chase's avatar
chase committed
815
                                    <option value=""></option>
chase's avatar
chase committed
816 817 818 819 820
                                    <option ng-repeat="taxType in taxTypeSelects track by $index"
                                            ng-selected="(editFieldModel.taxType == taxType)"
                                            value="{{taxType}}">{{taxType}}
                                    </option>
                                </select>
chase's avatar
chase committed
821 822 823
                            </div>
                        </div>
                        <div class="col-sm-6 form-group">
chase's avatar
chase committed
824 825
                            <label class="col-sm-3 control-label edit-panel-left-part">
                                <span class="required-tip"> * </span>
chase's avatar
chase committed
826
                                {{'Period' | translate}}
chase's avatar
chase committed
827 828
                            </label>
                            <div class="col-sm-11" style="width:61.67%">
chase's avatar
chase committed
829
                                <input type='text' placeholder="{{'Please Select' | translate}}" date-time-picker
chase's avatar
chase committed
830
                                       data-date-format="yyyy/mm"
chase's avatar
chase committed
831
                                       class="form-control" ng-model="editFieldModel.ownTime" required
chase's avatar
chase committed
832
                                       data-min-view-mode="1"/>
chase's avatar
chase committed
833 834 835
                            </div>
                        </div>
                        <div class="col-sm-6 form-group">
chase's avatar
chase committed
836
                            <label class="col-sm-3 control-label edit-panel-left-part">
chase's avatar
chase committed
837 838
                                <span class="required-tip" ng-if="isRequired('Effective_Date')"> * </span>
                                {{'Effective_Date' | translate}}
chase's avatar
chase committed
839 840
                            </label>
                            <div class="col-sm-11" style="width:61.67%">
chase's avatar
chase committed
841
                                <input type='text' placeholder="{{'Please Select' | translate}}" date-time-picker
chase's avatar
chase committed
842
                                       data-date-format="yyyy/mm/dd" ng-change="changeFieldModel(1)"
chase's avatar
chase committed
843
                                       ng-required="isRequired('Effective_Date')"
chase's avatar
chase committed
844
                                       class="form-control" ng-model="editFieldModel.fileTime"/>
chase's avatar
chase committed
845 846 847
                            </div>
                        </div>
                        <div class="col-sm-6 form-group">
chase's avatar
chase committed
848
                            <label class="col-sm-3 control-label edit-panel-left-part">
chase's avatar
chase committed
849 850
                                <span class="required-tip" ng-if="isRequired('Due Date')"> * </span>
                                {{'Due Date' | translate}}
chase's avatar
chase committed
851
                            </label>
chase's avatar
chase committed
852
                            <div class="col-sm-11" style="width:61.67%">
chase's avatar
chase committed
853
                                <input type='text' placeholder="{{'Please Select' | translate}}" date-time-picker
chase's avatar
chase committed
854
                                       data-date-format="yyyy/mm/dd"
chase's avatar
chase committed
855
                                       ng-required="isRequired('Due Date')" ng-change="changeFieldModel(2)"
chase's avatar
chase committed
856
                                       class="form-control" ng-model="editFieldModel.effectiveTime"/>
chase's avatar
chase committed
857 858 859
                            </div>
                        </div>
                        <div class="col-sm-6 form-group">
chase's avatar
chase committed
860
                            <label class="col-sm-3 control-label edit-panel-left-part">
chase's avatar
chase committed
861 862
                                <span class="required-tip" ng-if="isRequired('Storage Location')"> * </span>
                                {{'Storage Location' | translate}}
chase's avatar
chase committed
863
                            </label>
chase's avatar
chase committed
864 865
                            <div class="col-sm-11" style="width:61.67%">
                                <input class="form-control"
chase's avatar
chase committed
866 867
                                       placeholder="{{'Please Type'|translate}}"
                                       ng-required="isRequired('Storage Location')"
chase's avatar
chase committed
868
                                       ng-model="editFieldModel.storageArea"
chase's avatar
chase committed
869
                                />
chase's avatar
chase committed
870 871
                            </div>
                            <div class="DTL-special-external-btn" title="{{'EntityStorageDescription' | translate}}">
chase's avatar
chase committed
872 873 874 875

                                <a href="javascript:void(0)" ng-click="openHelpPopForEntityStorage()">
                                    <i class="fa fake-exclamatory-circle" aria-hidden="true"></i>
                                </a>
chase's avatar
chase committed
876 877 878
                            </div>
                        </div>
                        <div class="col-sm-6 form-group">
chase's avatar
chase committed
879
                            <label class="col-sm-3 control-label edit-panel-left-part">
chase's avatar
chase committed
880 881
                                <span class="required-tip" ng-if="isRequired('Custodian')"> * </span>
                                {{'Custodian' | translate}}
chase's avatar
chase committed
882
                            </label>
chase's avatar
chase committed
883 884
                            <div class="col-sm-11" style="width:61.67%">
                                <input class="form-control"
chase's avatar
chase committed
885 886
                                       placeholder="{{'Please Type' | translate}}"
                                       ng-required="isRequired('Custodian')"
chase's avatar
chase committed
887
                                       ng-model="editFieldModel.keeper"
chase's avatar
chase committed
888
                                />
chase's avatar
chase committed
889 890 891
                            </div>
                        </div>
                        <div class="col-sm-6 form-group">
chase's avatar
chase committed
892
                            <label class="col-sm-3 control-label edit-panel-left-part">
chase's avatar
chase committed
893 894
                                <span class="required-tip" ng-if="isRequired('Storage Index')"> * </span>
                                {{'Storage Index' | translate}}
chase's avatar
chase committed
895
                            </label>
chase's avatar
chase committed
896
                            <div class="col-sm-11" style="width:61.67%">
chase's avatar
chase committed
897
                                <input class="form-control"
chase's avatar
chase committed
898
                                       type="text"
chase's avatar
chase committed
899 900
                                       placeholder="{{'Please Type' | translate}}"
                                       ng-required="isRequired('Storage Index')"
chase's avatar
chase committed
901
                                       ng-model="editFieldModel.physicalIndexNumber"
chase's avatar
chase committed
902
                                />
chase's avatar
chase committed
903 904 905
                            </div>
                        </div>
                        <div class="form-group" style="width:100%;float:left;">
chase's avatar
chase committed
906 907
                            <label class="col-sm-3 control-label edit-panel-left-part" style="width:12.5%">
                                <span class="required-tip" ng-if="isRequired('Remarks')"> * </span>
chase's avatar
chase committed
908
                                {{'Remarks' | translate}}</label></label>
chase's avatar
chase committed
909 910
                            <div class="col-sm-11" style="width:87.5%">
                                <textarea class="form-control"
chase's avatar
chase committed
911
                                          placeholder="{{'Please Type' | translate}}"
chase's avatar
chase committed
912
                                          ng-required="isRequired('Remarks')"
chase's avatar
chase committed
913
                                          ng-model="editFieldModel.remark">
chase's avatar
chase committed
914 915 916 917 918 919 920
                                </textarea>
                            </div>
                        </div>
                        <div style="clear:both;"></div>
                    </div>
                    <div class="modal-footer">
                        <button type="submit" class="btn btn-primary" translate="Confirm"></button>
chase's avatar
chase committed
921
                        <button type="button" class="btn btn-third" data-dismiss="modal" ng-click="cancelDocFileType()"
chase's avatar
chase committed
922
                                translate="Cancel"></button>
chase's avatar
chase committed
923 924 925 926 927 928
                    </div>
                </form>
            </div>
        </div>
    </div>

chase's avatar
chase committed
929 930
    <div class="modal fade" id="multiUploadPopDialog" multi-file-uploader tabindex="-1" role="dialog"
         aria-labelledby="myModalLabel" data-backdrop="static" data-keyboard="false">
chase's avatar
chase committed
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
        <div class="modal-dialog" style="width:80%;height:200px;max-width:1028px" role="document">
            <div class="modal-content">
                <form class="form-horizontal" name="newDocFileTypeForm">
                    <div class="modal-header" >
                        <div class="modal-title"><span>{{'MultiUploadFailList'|translate}}</span></div>
                        <input id="multiUploadFilePlugin" type="file" multiple style="display:none" nv-file-select
                               uploader="multiUploader">
                    </div>
                    <div class="modal-body">
                        <div class="TDL-multi-upload-tab">
                            <ul>
                                <li class="TDL-multi-upload-tab-item"
                                    ng-class="{true:'TDL-multi-upload-tab-active',false:''}[editFieldItem.iShow]"
                                    ng-repeat="editFieldItem in multiUploadErrorItems"
                                    ng-click="activeTab($index)">
                                    <span>{{'档案' + ($index + 1)}}</span>
                                </li>
                            </ul>
                        </div>
                        <div class="TDL-multi-upload-content">
                            <ul>
                                <li ng-repeat="editFieldItem in multiUploadErrorItems" ng-show="editFieldItem.iShow">
                                    <div class="col-sm-6 form-group">
                                        <label class="col-sm-3 control-label edit-panel-left-part">
                                            <span class="required-tip"> * </span>
chase's avatar
chase committed
956
                                            {{'Document Path'|translate}}
chase's avatar
chase committed
957 958 959
                                        </label>
                                        <div class="col-sm-11" style="width:61.67%">
                                            <input class="form-control" title="{{editFieldItem.fileNativePath}}"
chase's avatar
chase committed
960
                                                   placeholder="{{'Please Select' | translate}}"
chase's avatar
chase committed
961 962 963 964 965 966 967 968 969 970 971
                                                   ng-class="{'upload-fail-mark':!editFieldItem.fileNativePath && editFieldItem.fileNativePath != 0}"
                                                   ng-model="editFieldItem.fileNativePath"/>
                                            <!--<input id="{{multiUploadFilePlugin}}" type="file" style="display:none" nv-file-select uploader="uploader" filters="fileTypeFilter">-->
                                        </div>
                                    </div>

                                    <div style="clear:both"></div>
                                    <!--档案名称-->
                                    <div class="col-sm-6 form-group">
                                        <label class="col-sm-3 control-label edit-panel-left-part">
                                            <span class="required-tip"> * </span>
chase's avatar
chase committed
972
                                            {{'Document Name' | translate}}
chase's avatar
chase committed
973 974 975 976 977
                                        </label>
                                        <div class="col-sm-11" style="width:61.67%">
                                            <input class="form-control"
                                                   ng-class="{'upload-fail-mark':!editFieldItem.fileName && editFieldItem.fileName != 0}"
                                                   title="{{editFieldItem.fileName}}"
chase's avatar
chase committed
978
                                                   placeholder="{{'Please Type' | translate}}"
chase's avatar
chase committed
979
                                                   ng-model="editFieldItem.fileName"/>
chase's avatar
chase committed
980 981 982 983 984
                                        </div>
                                    </div>
                                    <div class="col-sm-6 form-group">
                                        <label class="col-sm-3 control-label edit-panel-left-part">
                                            <span class="required-tip"> * </span>
chase's avatar
chase committed
985
                                            {{'Document Attribute' | translate}}
chase's avatar
chase committed
986 987 988 989
                                        </label>
                                        <div class="col-sm-11" style="width:61.67%">
                                            <select ng-model="editFieldItem.fileAttr"
                                                    ng-class="{'upload-fail-mark':!editFieldItem.fileAttr}"
chase's avatar
chase committed
990
                                                    ng-change="syncFileType(editFieldItem.fileAttr)"
chase's avatar
chase committed
991
                                                    class="form-control" placeholder="{{'Please Select' | translate}}">
chase's avatar
chase committed
992
                                                <option value=""></option>
chase's avatar
chase committed
993 994 995 996 997 998 999
                                                <option ng-repeat="fileAttr in fileAttrOptions track by $index"
                                                        ng-selected="(editFieldItem.fileAttr == fileAttr)"
                                                        value="{{fileAttr}}">{{fileAttr}}
                                                </option>
                                            </select>
                                        </div>

chase's avatar
chase committed
1000 1001
                                        <div class="DTL-special-external-btn" title="查看类型列表">
                                            <a href="javascript:void(0)" ng-click="openHelpPop(editFieldItem)"><i
chase's avatar
chase committed
1002
                                                    class="fa fake-question-circle" aria-hidden="true"></i></a>
chase's avatar
chase committed
1003
                                        </div>
chase's avatar
chase committed
1004 1005 1006 1007
                                    </div>
                                    <div class="col-sm-6 form-group">
                                        <label class="col-sm-3 control-label edit-panel-left-part">
                                            <span class="required-tip"> * </span>
chase's avatar
chase committed
1008
                                            {{'Company Name' | translate}}
chase's avatar
chase committed
1009
                                        </label>
1010
                                        <div class="col-sm-11" style="width:61.67%;height: 13px">
chase's avatar
chase committed
1011
                                            <div ng-class="{'upload-fail-mark':!editFieldItem.companyName}" dx-select-box="editFieldItemOrgOptions"></div>
1012 1013 1014 1015
                                            <!--<select ng-model="editFieldItem.companyName" class="form-control"-->
                                                    <!--title="{{editFieldItem.companyName}}"-->
                                                    <!--ng-class="{'upload-fail-mark':!editFieldItem.companyName}"-->
                                                    <!--ng-change="matchCompanyId(editFieldItem,companyNameOptionsMap)"-->
chase's avatar
chase committed
1016
                                                    <!--placeholder="{{'Please Select' | translate}}">-->
1017 1018 1019 1020 1021 1022
                                                <!--<option value=""></option>-->
                                                <!--<option ng-repeat="(key,companyName) in companyNameOptionsMap"-->
                                                        <!--ng-selected="(editFieldItem.companyName == companyName)"-->
                                                        <!--value="{{companyName}}">{{companyName}}-->
                                                <!--</option>-->
                                            <!--</select>-->
chase's avatar
chase committed
1023 1024 1025 1026 1027
                                        </div>
                                    </div>
                                    <div class="col-sm-6 form-group">
                                        <label class="col-sm-3 control-label edit-panel-left-part">
                                            <span class="required-tip"> * </span>
chase's avatar
chase committed
1028
                                            {{'Document Type' | translate}}
chase's avatar
chase committed
1029 1030 1031
                                        </label>
                                        <div class="col-sm-11" style="width:61.67%">
                                            <select ng-model="editFieldItem.fileType"
chase's avatar
chase committed
1032
                                                    ng-disabled="curFileTypeOptions.length === 0"
chase's avatar
chase committed
1033
                                                    ng-change="syncRequiredFields(editFieldItem)"
chase's avatar
chase committed
1034
                                                    class="form-control"
chase's avatar
chase committed
1035
                                                    ng-class="{'upload-fail-mark':!editFieldItem.fileType}"
chase's avatar
chase committed
1036
                                                    placeholder="{{'Please Select' | translate}}">
chase's avatar
chase committed
1037
                                                <option value=""></option>
chase's avatar
chase committed
1038 1039 1040 1041 1042 1043 1044 1045 1046
                                                <option ng-repeat="fileType in curFileTypeOptions track by $index"
                                                        ng-selected="(editFieldItem.fileType == fileType)"
                                                        value="{{fileType}}">{{fileType}}
                                                </option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="col-sm-6 form-group">
                                        <label class="col-sm-3 control-label edit-panel-left-part">
chase's avatar
chase committed
1047 1048
                                            <span class="required-tip" ng-if="isRequired('Tax Type')"> * </span>
                                            {{'Tax Type' | translate}}
chase's avatar
chase committed
1049 1050 1051
                                        </label>
                                        <div class="col-sm-11" style="width:61.67%">
                                            <select ng-model="editFieldItem.taxType"
chase's avatar
chase committed
1052
                                                    class="form-control"
chase's avatar
chase committed
1053 1054 1055
                                                    ng-required="isRequired('Tax Type')"
                                                    ng-class="{'upload-fail-mark':isRequired('Tax Type') && !editFieldItem.taxType}"
                                                    placeholder="{{'Please Select' | translate}}">
chase's avatar
chase committed
1056
                                                <option value=""></option>
chase's avatar
chase committed
1057 1058 1059 1060 1061 1062 1063 1064 1065 1066
                                                <option ng-repeat="taxType in taxTypeSelects track by $index"
                                                        ng-selected="(editFieldItem.taxType == taxType)"
                                                        value="{{taxType}}">{{taxType}}
                                                </option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="col-sm-6 form-group">
                                        <label class="col-sm-3 control-label edit-panel-left-part">
                                            <span class="required-tip"> * </span>
chase's avatar
chase committed
1067
                                            {{'Period' | translate}}
chase's avatar
chase committed
1068 1069
                                        </label>
                                        <div class="col-sm-11" style="width:61.67%">
chase's avatar
chase committed
1070
                                            <input type='text' placeholder="{{'Please Select' | translate}}"
chase's avatar
chase committed
1071 1072
                                                   date-time-picker data-date-format="yyyy/mm"
                                                   ng-class="{'upload-fail-mark':!editFieldItem.ownTime}"
chase's avatar
chase committed
1073
                                                   class="form-control" ng-model="editFieldItem.ownTime"
chase's avatar
chase committed
1074 1075 1076 1077 1078
                                                   data-min-view-mode="1"/>
                                        </div>
                                    </div>
                                    <div class="col-sm-6 form-group">
                                        <label class="col-sm-3 control-label edit-panel-left-part">
chase's avatar
chase committed
1079 1080
                                            <span class="required-tip" ng-if="isRequired('Effective_Date')"> * </span>
                                            {{'Effective_Date' | translate}}
chase's avatar
chase committed
1081 1082
                                        </label>
                                        <div class="col-sm-11" style="width:61.67%">
chase's avatar
chase committed
1083 1084
                                            <input type='text' placeholder="{{'Please Select' | translate}}" ng-change="changeFieldItem(1)"
                                                   ng-class="{'upload-fail-mark':isRequired('Effective_Date') && !editFieldItem.fileTime}"
chase's avatar
chase committed
1085
                                                   date-time-picker data-date-format="yyyy/mm/dd"
chase's avatar
chase committed
1086 1087 1088 1089 1090
                                                   class="form-control" ng-model="editFieldItem.fileTime"/>
                                        </div>
                                    </div>
                                    <div class="col-sm-6 form-group">
                                        <label class="col-sm-3 control-label edit-panel-left-part">
chase's avatar
chase committed
1091 1092
                                            <span class="required-tip" ng-if="isRequired('Due Date')"> * </span>
                                            {{'Due Date' | translate}}
chase's avatar
chase committed
1093 1094
                                        </label>
                                        <div class="col-sm-11" style="width:61.67%">
chase's avatar
chase committed
1095 1096
                                            <input type='text' placeholder="{{'Please Select' | translate}}" ng-change="changeFieldItem(2)"
                                                   ng-class="{'upload-fail-mark':isRequired('Due Date') && !editFieldItem.effectiveTime}"
chase's avatar
chase committed
1097
                                                   date-time-picker data-date-format="yyyy/mm/dd"
chase's avatar
chase committed
1098 1099 1100 1101 1102
                                                   class="form-control" ng-model="editFieldItem.effectiveTime"/>
                                        </div>
                                    </div>
                                    <div class="col-sm-6 form-group">
                                        <label class="col-sm-3 control-label edit-panel-left-part">
chase's avatar
chase committed
1103 1104
                                            <span class="required-tip" ng-if="isRequired('Storage Location')"> * </span>
                                            {{'Storage Location' | translate}}
chase's avatar
chase committed
1105 1106 1107
                                        </label>
                                        <div class="col-sm-11" style="width:61.67%">
                                            <input class="form-control"
chase's avatar
chase committed
1108 1109
                                                   ng-class="{'upload-fail-mark':isRequired('Storage Location') && !editFieldItem.storageArea}"
                                                   placeholder="{{'Please Select'|translate}}"
chase's avatar
chase committed
1110
                                                   ng-model="editFieldItem.storageArea"
chase's avatar
chase committed
1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123
                                            />
                                        </div>
                                        <div class="DTL-special-external-btn"
                                             title="{{'EntityStorageDescription'|translate}}">
                                            <!--<i class="fa fake-exclamatory-circle"></i>-->

                                            <a href="javascript:void(0)" ng-click="openHelpPopForEntityStorage()">
                                                <i class="fa fake-exclamatory-circle" aria-hidden="true"></i>
                                            </a>
                                        </div>
                                    </div>
                                    <div class="col-sm-6 form-group">
                                        <label class="col-sm-3 control-label edit-panel-left-part">
chase's avatar
chase committed
1124 1125
                                            <span class="required-tip" ng-if="isRequired('Custodian')"> * </span>
                                            {{'Custodian' | translate}}
chase's avatar
chase committed
1126 1127
                                        </label>
                                        <div class="col-sm-11" style="width:61.67%">
chase's avatar
chase committed
1128
                                            <input class="form-control"
chase's avatar
chase committed
1129 1130
                                                   ng-class="{'upload-fail-mark':isRequired('Custodian') && !editFieldItem.keeper}"
                                                   placeholder="{{'Please Type' | translate}}"
chase's avatar
chase committed
1131 1132 1133 1134 1135 1136
                                                   ng-model="editFieldItem.keeper"
                                            />
                                        </div>
                                    </div>
                                    <div class="col-sm-6 form-group">
                                        <label class="col-sm-3 control-label edit-panel-left-part">
chase's avatar
chase committed
1137 1138
                                            <span class="required-tip" ng-if="isRequired('Storage Index')"> * </span>
                                            {{'Storage Index' | translate}}
chase's avatar
chase committed
1139 1140 1141 1142
                                        </label>
                                        <div class="col-sm-11" style="width:61.67%">
                                            <input class="form-control"
                                                   type="text"
chase's avatar
chase committed
1143 1144
                                                   placeholder="{{'Please Type' | translate}}"
                                                   ng-class="{'upload-fail-mark':isRequired('Storage Index') && !editFieldItem.physicalIndexNumber && editFieldItem.physicalIndexNumber != 0}"
chase's avatar
chase committed
1145
                                                   ng-model="editFieldItem.physicalIndexNumber"
chase's avatar
chase committed
1146
                                                   readonly
chase's avatar
chase committed
1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157
                                            />
                                        </div>
                                    </div>
                                    <div class="form-group" style="width:100%;float:left;">
                                        <label class="col-sm-3 control-label edit-panel-left-part" style="width:12.5%">
                                            <span class="required-tip" ng-if="isRequired('Remarks')"> * </span>
                                            {{'Remarks' | translate}}
                                        </label>
                                        <div class="col-sm-11" style="width:87.5%">
                                        <textarea class="form-control"
                                                  ng-class="{'upload-fail-mark':isRequired('Remarks') && !editFieldItem.remark && editFieldItem.remark != 0}"
chase's avatar
chase committed
1158
                                                  placeholder="{{'Please Type' | translate}}"
chase's avatar
chase committed
1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169
                                                  ng-model="editFieldItem.remark">
                                        </textarea>
                                        </div>
                                    </div>
                                    <div style="clear:both;"></div>
                                </li>
                            </ul>
                        </div>
                        <div style="clear:both"></div>
                    </div>
                    <div class="modal-footer">
chase's avatar
chase committed
1170 1171
                        <button type="button" class="btn btn-primary" translate="Confirm" ng-click="multiUploadSubmit_handmade()"></button>
                        <button type="button" class="btn btn-third" data-dismiss="modal" ng-click="closeUploadReview()"
chase's avatar
chase committed
1172
                                translate="Cancel"></button>
chase's avatar
chase committed
1173 1174 1175 1176 1177 1178 1179
                    </div>
                </form>
            </div>
        </div>
    </div>
    <!--<div class="modal fade" id="multiUploadPopDialog" multi-file-uploader tabindex="-1" role="dialog"
         aria-labelledby="myModalLabel" data-backdrop="static" data-keyboard="false">
chase's avatar
chase committed
1180
        <div class="modal-dialog" style="width:80%;height:200px;max-width:1028px" role="document">
chase's avatar
chase committed
1181
            <div class="modal-content">
chase's avatar
chase committed
1182
                <form class="form-horizontal" name="newDocFileTypeForm">
chase's avatar
chase committed
1183
                    <div class="modal-header" >
chase's avatar
chase committed
1184
                        <div class="modal-title"><span>{{'MultiUpload'|translate}}</span></div>
chase's avatar
chase committed
1185 1186
                        <input id="multiUploadFilePlugin" type="file" multiple style="display:none" nv-file-select
                               uploader="multiUploader">
chase's avatar
chase committed
1187 1188 1189 1190
                    </div>
                    <div class="modal-body">
                        <div class="TDL-multi-upload-tab">
                            <ul>
chase's avatar
chase committed
1191 1192
                                <li class="TDL-multi-upload-tab-item"
                                    ng-class="{true:'TDL-multi-upload-tab-active',false:''}[editFieldItem.iShow]"
chase's avatar
chase committed
1193
                                    ng-repeat="editFieldItem in multiUploadErrorItems"
chase's avatar
chase committed
1194 1195 1196 1197 1198 1199 1200 1201 1202
                                    ng-click="activeTab($index)">
                                    <span>{{'档案' + ($index + 1)}}</span>
                                </li>
                            </ul>
                        </div>
                        <div class="TDL-multi-upload-content">
                            <ul>
                                <li ng-repeat="editFieldItem in editFieldModel_multi" ng-show="editFieldItem.iShow">
                                    <div class="col-sm-6 form-group">
chase's avatar
chase committed
1203 1204
                                        <label class="col-sm-3 control-label edit-panel-left-part">
                                            <span class="required-tip"> * </span>
chase's avatar
chase committed
1205
                                            {{'Document Path'|translate}}
chase's avatar
chase committed
1206 1207 1208
                                        </label>
                                        <div class="col-sm-11" style="width:61.67%">
                                            <input class="form-control" title="{{editFieldItem.fileNativePath}}"
chase's avatar
chase committed
1209
                                                   placeholder="{{'Please Select' | translate}}"
chase's avatar
chase committed
1210 1211
                                                   readonly required
                                                   ng-model="editFieldItem.fileNativePath"/>
chase's avatar
chase committed
1212
                                            &lt;!&ndash;<input id="{{multiUploadFilePlugin}}" type="file" style="display:none" nv-file-select uploader="uploader" filters="fileTypeFilter">&ndash;&gt;
chase's avatar
chase committed
1213 1214
                                        </div>
                                    </div>
chase's avatar
chase committed
1215

chase's avatar
chase committed
1216 1217
                                    &lt;!&ndash;取消上传时的预览功能&ndash;&gt;
                                    &lt;!&ndash; <div class="col-sm-6 form-group">
chase's avatar
chase committed
1218 1219 1220
                                         <label class="col-sm-3 control-label" style="text-align: left;margin-left: -34px;">
                                             <a href="javascript:void(0)" class="DTL-special-external-preview" ng-click="viewNativeFile(multiUploader.queue[$index])">预览文件</a>
                                         </label>
chase's avatar
chase committed
1221
                                     </div>&ndash;&gt;
chase's avatar
chase committed
1222
                                    <div style="clear:both"></div>
chase's avatar
chase committed
1223
                                    &lt;!&ndash;档案名称&ndash;&gt;
chase's avatar
chase committed
1224
                                    <div class="col-sm-6 form-group">
chase's avatar
chase committed
1225 1226
                                        <label class="col-sm-3 control-label edit-panel-left-part">
                                            <span class="required-tip"> * </span>
chase's avatar
chase committed
1227
                                            {{'Document Name' | translate}}
chase's avatar
chase committed
1228
                                        </label>
chase's avatar
chase committed
1229
                                        <div class="col-sm-11" style="width:61.67%">
chase's avatar
chase committed
1230
                                            <input class="form-control" title="{{editFieldItem.fileName}}"
chase's avatar
chase committed
1231
                                                   placeholder="{{'Please Type' | translate}}"
chase's avatar
chase committed
1232
                                                   ng-model="editFieldItem.fileName"
chase's avatar
chase committed
1233
                                                   required/>
chase's avatar
chase committed
1234 1235 1236
                                        </div>
                                    </div>
                                    <div class="col-sm-6 form-group">
chase's avatar
chase committed
1237 1238
                                        <label class="col-sm-3 control-label edit-panel-left-part">
                                            <span class="required-tip"> * </span>
chase's avatar
chase committed
1239
                                            {{'Document Attribute' | translate}}
chase's avatar
chase committed
1240 1241
                                        </label>
                                        <div class="col-sm-11" style="width:61.67%">
chase's avatar
chase committed
1242 1243 1244
                                            <select ng-model="editFieldItem.fileAttr"
                                                    ng-change="syncFileType(editFieldItem.fileAttr)"
                                                    class="form-control"
chase's avatar
chase committed
1245
                                                    required placeholder="{{'Please Select' | translate}}">
chase's avatar
chase committed
1246 1247
                                                <option ng-repeat="fileAttr in fileAttrOptions track by $index"
                                                        ng-selected="(editFieldItem.fileAttr == fileAttr)"
chase's avatar
chase committed
1248 1249
                                                        value="{{fileAttr}}">{{fileAttr}}
                                                </option>
chase's avatar
chase committed
1250 1251 1252
                                            </select>
                                        </div>

chase's avatar
chase committed
1253
                                        &lt;!&ndash;<div class="DTL-special-external-btn" title="查看类型列表">
chase's avatar
chase committed
1254 1255
                                            <a href="javascript:void(0)" ng-click="openHelpPop()"><i
                                                    class="fa fake-question-circle" aria-hidden="true"></i></a>
chase's avatar
chase committed
1256
                                        </div>&ndash;&gt;
chase's avatar
chase committed
1257 1258
                                    </div>
                                    <div class="col-sm-6 form-group">
chase's avatar
chase committed
1259 1260
                                        <label class="col-sm-3 control-label edit-panel-left-part">
                                            <span class="required-tip"> * </span>
chase's avatar
chase committed
1261
                                            {{'Company Name' | translate}}
chase's avatar
chase committed
1262 1263 1264
                                        </label>
                                        <div class="col-sm-11" style="width:61.67%">
                                            <select ng-model="editFieldItem.companyName" class="form-control"
chase's avatar
chase committed
1265 1266
                                                    title="{{editFieldItem.companyName}}" required
                                                    ng-change="matchCompanyId(editFieldItem,companyNameOptionsMap)"
chase's avatar
chase committed
1267
                                                    placeholder="{{'Please Select' | translate}}">
chase's avatar
chase committed
1268 1269 1270

                                                <option ng-repeat="(key,companyName) in companyNameOptionsMap"
                                                        ng-selected="(editFieldItem.companyName == companyName)"
chase's avatar
chase committed
1271 1272
                                                        value="{{companyName}}">{{companyName}}
                                                </option>
chase's avatar
chase committed
1273 1274 1275 1276
                                            </select>
                                        </div>
                                    </div>
                                    <div class="col-sm-6 form-group">
chase's avatar
chase committed
1277 1278
                                        <label class="col-sm-3 control-label edit-panel-left-part">
                                            <span class="required-tip"> * </span>
chase's avatar
chase committed
1279
                                            {{'Document Type' | translate}}
chase's avatar
chase committed
1280 1281
                                        </label>
                                        <div class="col-sm-11" style="width:61.67%">
chase's avatar
chase committed
1282 1283
                                            <select ng-model="editFieldItem.fileType"
                                                    ng-disabled="curFileTypeOptions.length === 0"
chase's avatar
chase committed
1284 1285
                                                    ng-change="syncRequiredFields(editFieldItem)"
                                                    class="form-control" required
chase's avatar
chase committed
1286
                                                    placeholder="{{'Please Select' | translate}}">
chase's avatar
chase committed
1287
                                                <option ng-repeat="fileType in curFileTypeOptions track by $index"
chase's avatar
chase committed
1288
                                                        ng-selected="(editFieldItem.fileType == fileType)"
chase's avatar
chase committed
1289 1290
                                                        value="{{fileType}}">{{fileType}}
                                                </option>
chase's avatar
chase committed
1291 1292 1293 1294
                                            </select>
                                        </div>
                                    </div>
                                    <div class="col-sm-6 form-group">
chase's avatar
chase committed
1295 1296
                                        <label class="col-sm-3 control-label edit-panel-left-part">
                                            <span class="required-tip" ng-if="isRequired('TaxType')"> * </span>
chase's avatar
chase committed
1297 1298 1299
                                            {{'TaxType' | translate}}
                                        </label>
                                        <div class="col-sm-11" style="width:61.67%">
chase's avatar
chase committed
1300 1301 1302
                                            <select ng-model="editFieldItem.taxType"
                                                    class="form-control"
                                                    ng-required="isRequired('TaxType')"
chase's avatar
chase committed
1303
                                                    placeholder="{{'Please Select' | translate}}">
chase's avatar
chase committed
1304 1305 1306 1307 1308
                                                <option ng-repeat="taxType in taxTypeSelects track by $index"
                                                        ng-selected="(editFieldItem.taxType == taxType)"
                                                        value="{{taxType}}">{{taxType}}
                                                </option>
                                            </select>
chase's avatar
chase committed
1309 1310 1311
                                        </div>
                                    </div>
                                    <div class="col-sm-6 form-group">
chase's avatar
chase committed
1312 1313
                                        <label class="col-sm-3 control-label edit-panel-left-part">
                                            <span class="required-tip"> * </span>
chase's avatar
chase committed
1314
                                            {{'Period' | translate}}
chase's avatar
chase committed
1315 1316
                                        </label>
                                        <div class="col-sm-11" style="width:61.67%">
chase's avatar
chase committed
1317
                                            <input type='text' placeholder="{{'Please Select' | translate}}"
chase's avatar
chase committed
1318
                                                   date-time-picker data-date-format="yyyy/mm"
chase's avatar
chase committed
1319
                                                   class="form-control" ng-model="editFieldItem.ownTime" required
chase's avatar
chase committed
1320
                                                   data-min-view-mode="1"/>
chase's avatar
chase committed
1321 1322 1323
                                        </div>
                                    </div>
                                    <div class="col-sm-6 form-group">
chase's avatar
chase committed
1324
                                        <label class="col-sm-3 control-label edit-panel-left-part">
chase's avatar
chase committed
1325 1326
                                            <span class="required-tip" ng-if="isRequired('Effective_Date')"> * </span>
                                            {{'Effective_Date' | translate}}
chase's avatar
chase committed
1327 1328
                                        </label>
                                        <div class="col-sm-11" style="width:61.67%">
chase's avatar
chase committed
1329
                                            <input type='text' placeholder="{{'Please Select' | translate}}"
chase's avatar
chase committed
1330
                                                   date-time-picker data-date-format="yyyy/mm/dd"
chase's avatar
chase committed
1331
                                                   ng-required="isRequired('Effective_Date')"
chase's avatar
chase committed
1332
                                                   class="form-control" ng-model="editFieldItem.fileTime"/>
chase's avatar
chase committed
1333 1334 1335
                                        </div>
                                    </div>
                                    <div class="col-sm-6 form-group">
chase's avatar
chase committed
1336
                                        <label class="col-sm-3 control-label edit-panel-left-part">
chase's avatar
chase committed
1337 1338
                                            <span class="required-tip" ng-if="isRequired('Due Date')"> * </span>
                                            {{'Due Date' | translate}}
chase's avatar
chase committed
1339
                                        </label>
chase's avatar
chase committed
1340
                                        <div class="col-sm-11" style="width:61.67%">
chase's avatar
chase committed
1341
                                            <input type='text' placeholder="{{'Please Select' | translate}}"
chase's avatar
chase committed
1342
                                                   date-time-picker data-date-format="yyyy/mm/dd"
chase's avatar
chase committed
1343
                                                   ng-required="isRequired('Due Date')"
chase's avatar
chase committed
1344
                                                   class="form-control" ng-model="editFieldItem.effectiveTime"/>
chase's avatar
chase committed
1345 1346 1347
                                        </div>
                                    </div>
                                    <div class="col-sm-6 form-group">
chase's avatar
chase committed
1348
                                        <label class="col-sm-3 control-label edit-panel-left-part">
chase's avatar
chase committed
1349 1350
                                            <span class="required-tip" ng-if="isRequired('Storage Location')"> * </span>
                                            {{'Storage Location' | translate}}
chase's avatar
chase committed
1351
                                        </label>
chase's avatar
chase committed
1352 1353
                                        <div class="col-sm-11" style="width:61.67%">
                                            <input class="form-control"
chase's avatar
chase committed
1354
                                                   placeholder="{{'Please Select'|translate}}"
chase's avatar
chase committed
1355
                                                   ng-model="editFieldItem.storageArea"
chase's avatar
chase committed
1356
                                                   ng-required="isRequired('Storage Location')"
chase's avatar
chase committed
1357
                                            />
chase's avatar
chase committed
1358
                                        </div>
chase's avatar
chase committed
1359 1360
                                        <div class="DTL-special-external-btn"
                                             title="{{'EntityStorageDescription'|translate}}">
chase's avatar
chase committed
1361
                                            &lt;!&ndash;<i class="fa fake-exclamatory-circle"></i>&ndash;&gt;
chase's avatar
chase committed
1362 1363 1364 1365

                                            <a href="javascript:void(0)" ng-click="openHelpPopForEntityStorage()">
                                                <i class="fa fake-exclamatory-circle" aria-hidden="true"></i>
                                            </a>
chase's avatar
chase committed
1366 1367 1368
                                        </div>
                                    </div>
                                    <div class="col-sm-6 form-group">
chase's avatar
chase committed
1369
                                        <label class="col-sm-3 control-label edit-panel-left-part">
chase's avatar
chase committed
1370 1371
                                            <span class="required-tip" ng-if="isRequired('Custodian')"> * </span>
                                            {{'Custodian' | translate}}
chase's avatar
chase committed
1372
                                        </label>
chase's avatar
chase committed
1373 1374
                                        <div class="col-sm-11" style="width:61.67%">
                                            <input class="form-control"
chase's avatar
chase committed
1375 1376
                                                   ng-required="isRequired('Custodian')"
                                                   placeholder="{{'Please Type' | translate}}"
chase's avatar
chase committed
1377
                                                   ng-model="editFieldItem.keeper"
chase's avatar
chase committed
1378
                                            />
chase's avatar
chase committed
1379 1380 1381
                                        </div>
                                    </div>
                                    <div class="col-sm-6 form-group">
chase's avatar
chase committed
1382
                                        <label class="col-sm-3 control-label edit-panel-left-part">
chase's avatar
chase committed
1383 1384
                                            <span class="required-tip" ng-if="isRequired('Storage Index')"> * </span>
                                            {{'Storage Index' | translate}}
chase's avatar
chase committed
1385
                                        </label>
chase's avatar
chase committed
1386
                                        <div class="col-sm-11" style="width:61.67%">
chase's avatar
chase committed
1387
                                            <input class="form-control"
chase's avatar
chase committed
1388
                                                   type="text"
chase's avatar
chase committed
1389
                                                   placeholder="{{'Please Type' | translate}}"
chase's avatar
chase committed
1390
                                                   ng-model="editFieldItem.physicalIndexNumber"
chase's avatar
chase committed
1391
                                                   ng-required="isRequired('Storage Index')"
chase's avatar
chase committed
1392
                                            />
chase's avatar
chase committed
1393 1394 1395
                                        </div>
                                    </div>
                                    <div class="form-group" style="width:100%;float:left;">
chase's avatar
chase committed
1396 1397
                                        <label class="col-sm-3 control-label edit-panel-left-part" style="width:12.5%">
                                            <span class="required-tip" ng-if="isRequired('Remarks')"> * </span>
chase's avatar
chase committed
1398 1399
                                            {{'Remarks' | translate}}
                                        </label>
chase's avatar
chase committed
1400
                                        <div class="col-sm-11" style="width:87.5%">
chase's avatar
chase committed
1401
                                        <textarea class="form-control"
chase's avatar
chase committed
1402
                                                  placeholder="{{'Please Type' | translate}}"
chase's avatar
chase committed
1403 1404 1405
                                                  ng-required="isRequired('Remarks')"
                                                  ng-model="editFieldItem.remark">
                                        </textarea>
chase's avatar
chase committed
1406 1407 1408 1409 1410 1411 1412 1413 1414
                                        </div>
                                    </div>
                                    <div style="clear:both;"></div>
                                </li>
                            </ul>
                        </div>
                        <div style="clear:both"></div>
                    </div>
                    <div class="modal-footer">
chase's avatar
chase committed
1415
                        <button type="button" class="btn btn-primary" translate="Confirm" ng-click="multiUploadSubmit()"></button>
chase's avatar
chase committed
1416
                        <button type="button" class="btn btn-third" data-dismiss="modal" ng-click="cancelDocFileType()"
chase's avatar
chase committed
1417
                                translate="Cancel"></button>
chase's avatar
chase committed
1418 1419 1420 1421
                    </div>
                </form>
            </div>
        </div>
chase's avatar
chase committed
1422
    </div>-->
chase's avatar
chase committed
1423

1424 1425
    <div class="TDL-pdf-layout-dialog" id="filePreviewPop" file-preview >
        <div class="wrapper TDL-pdf-preview-pop" id="excetlContainer">
chase's avatar
chase committed
1426
        </div>
1427
        <button class="TDL-pdf-preview-pop-close-btn" ng-click="hideFilePreviewPop()">×</button>
chase's avatar
chase committed
1428

1429
    </div>
chase's avatar
chase committed
1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452
    <!---->
    <!--<div class="modal fade" id="filePreviewPop" file-preview tabindex="-1" role="dialog" aria-labelledby="myModal"-->
         <!--data-backdrop="static" data-keyboard="false">-->
        <!--<div class="modal-dialog" style="width:80%;" role="document">-->
            <!--<div class="modal-content">-->
                <!--<div class="modal-header">-->
                    <!--<span class="close" data-dismiss="modal" aria-hidden="true" ng-click="hideFilePreviewPop()">×</span>-->
                    <!--<div class="modal-title">{{currentSheetName}}</div>-->
                <!--</div>-->
                <!--<div class="modal-body">-->
                    <!--<div class="dx-viewport demo-container" id="preview_dataGrid">-->
                    <!--</div>-->
                <!--</div>-->

            <!--</div>-->

            <!--<button class="TDL-pdf-paging-btn TDL-pdf-paging-btn-prev" ng-click="prevPaging_xls()" title="上一页">&lt;-->
            <!--</button>-->
            <!--<button class="TDL-pdf-paging-btn TDL-pdf-paging-btn-next" ng-click="nextPaging_xls()" title="下一页">&gt;-->
            <!--</button>-->
        <!--</div>-->
    <!--</div>-->

chase's avatar
chase committed
1453 1454
    <div class="modal fade" id="uploadResultPop" tabindex="-1" role="dialog" aria-labelledby="myModal"
         data-backdrop="static" data-keyboard="false">
chase's avatar
chase committed
1455
        <div class="modal-dialog" style="width:60%;max-width:960px" role="document">
chase's avatar
chase committed
1456 1457
            <div class="modal-content">
                <div class="modal-header">
chase's avatar
chase committed
1458
                    <div class="modal-title" translate="Tips"></div>
chase's avatar
chase committed
1459 1460
                </div>
                <div class="modal-body">
chase's avatar
chase committed
1461 1462
                    <p class="modal-dialog-stage" ng-if="uploadResultSuccessList.length">{{uploadResultSuccessList.length}}{{'UploadSuccessCount'|translate}}</p>
                    <ul >
chase's avatar
chase committed
1463
                        <li ng-repeat="item in uploadResultSuccessList">
chase's avatar
chase committed
1464
                            <span>{{item.fileName}}</span>
chase's avatar
chase committed
1465 1466
                        </li>
                    </ul>
chase's avatar
chase committed
1467 1468 1469
                    <br ng-if="uploadResultSuccessList.length">
                    <p class="modal-dialog-stage" ng-if="multiUploadErrorItems.length">{{multiUploadErrorItems.length}}{{'UploadFailCount'|translate}}</p>
                    <ul class="modal-dialog-erroritems">
chase's avatar
chase committed
1470
                        <li ng-repeat="item in multiUploadErrorItems">
chase's avatar
chase committed
1471
                            <span>{{item.fileName}}</span>
chase's avatar
chase committed
1472 1473 1474 1475 1476
                        </li>
                    </ul>
                </div>
                <div class="modal-footer">
                    <button class="btn btn-primary" translate="Confirm" ng-click="confirmUploadResult()"></button>
chase's avatar
chase committed
1477
                    <button type="button" class="btn btn-third" ng-if="multiUploadErrorItems.length" data-dismiss="modal" translate="Cancel"></button>
chase's avatar
chase committed
1478 1479
                </div>
            </div>
chase's avatar
chase committed
1480 1481 1482
        </div>
    </div>

chase's avatar
chase committed
1483 1484
    <div class="modal fade" id="helpPopDialog" help-pop tabindex="-1" role="dialog" aria-labelledby="myModal"
         data-backdrop="static" data-keyboard="false">
chase's avatar
chase committed
1485
        <div class="modal-dialog" style="width:80%;max-width:1028px" role="document">
chase's avatar
chase committed
1486 1487 1488 1489 1490 1491 1492 1493 1494
            <div class="modal-content">
                <div class="modal-header">
                    <span class="close" data-dismiss="modal" aria-hidden="true" ng-click="hideFilePreviewPop()">×</span>
                    <div class="modal-title">{{currentSheetName}}</div>
                </div>
                <div class="modal-body">
                    <div class="dx-viewport demo-container" id="helpPopContainer">
                    </div>
                </div>
chase's avatar
chase committed
1495 1496 1497
                <div class="modal-footer">
                    <button type="button" class="btn btn-primary" translate="Confirm" ng-click="sniffHelpPopRadio()"></button>
                    <button type="button" class="btn btn-third" data-dismiss="modal" ng-click="cancelDocFileType()"
chase's avatar
chase committed
1498
                            translate="Cancel"></button>
chase's avatar
chase committed
1499
                </div>
chase's avatar
chase committed
1500 1501 1502 1503
            </div>
        </div>
    </div>

chase's avatar
chase committed
1504 1505
    <div class="TDL-pdf-layout-dialog" id="pdfLayoutDialog" pdf-preview>
        <div class="wrapper TDL-pdf-preview-pop" id="pdfContainer">
chase's avatar
chase committed
1506
            <canvas id="the-canvas"></canvas>
chase's avatar
chase committed
1507
        </div>
chase's avatar
chase committed
1508 1509 1510 1511
        <button class="TDL-pdf-preview-pop-close-btn" title="关闭" ng-click="closePdfPop()">×</button>
        <button class="TDL-pdf-preview-pop-rotateCw-btn" title="顺时针旋转" ng-click="webViewerRotateCw()">
            <span class="glyphicon glyphicon-repeat"></span>
        </button>
chase's avatar
chase committed
1512 1513
        <button class="TDL-pdf-paging-btn TDL-pdf-paging-btn-prev" ng-click="prevPaging()" title="上一页">&lt;</button>
        <button class="TDL-pdf-paging-btn TDL-pdf-paging-btn-next" ng-click="nextPaging()" title="下一页">&gt;</button>
chase's avatar
chase committed
1514
    </div>
chase's avatar
chase committed
1515

chase's avatar
chase committed
1516 1517 1518 1519 1520 1521 1522 1523
    <div class="modal fade" id="imgLayoutDialog" img-preview tabindex="-1" role="dialog" aria-labelledby="myModal"
         data-backdrop="static" data-keyboard="false">
        <div class="modal-dialog" style="width:80%;max-width:1028px" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <span class="close" data-dismiss="modal" aria-hidden="true" ng-click="closeImgPop()">×</span>
                    <div class="modal-title">{{curImgName}}</div>
                </div>
chase's avatar
chase committed
1524
                <div class="modal-body" style="text-align: center;overflow: auto;">
chase's avatar
chase committed
1525 1526 1527 1528 1529
                    <img src="{{curImgSrc}}" alt="please try again">
                </div>
            </div>
        </div>
    </div>
chase's avatar
chase committed
1530
</div>