zm
2020-04-12 0d659cff38f50d83e782a9f8c5c20fb54a5c0321
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<div class="bg-modal bill_create_pop  {{edit?'bill_detail_edit':'bill_detail_pop'}}" >
    <div class="pop_panel" ng-drop="true" ng-drag="$root.drag_flag" ng-mousedown="$root.drag_div($event)" ng-drag-start="$root.draging()" ng-drag-stop="$root.drag_div_end()" style="padding-top:69px;">
        <div class="heading" style="margin-top:-69px;">
            <ul>
                <li ng-click="flow_status_show = false">
                                                      流程表单
                </li>
                <!--<li ng-show="$root.permission_check('flow',1)" ng-click="flowstatus()">
                    流程状态
                </li>-->
                <li ng-click="flowstatus()">
                    流程状态
                </li>
            </ul>
            <div class="close" ng-click="close_lock()">
                <img src="./static/img/close.png">
            </div>
        </div>
        <div class="body" style="border: 1px solid #ddd;height:100%;">
            <div class="audit_commit" ng-if="audit_commit_show">
                <div class="audit_commit_header">
                    审核意见
                </div>
                <div class="audit_commit_content">
                    <!--<p>备注</p>-->
                    <textarea id="audit_commit_content_textarea"></textarea>
                </div>
                <div class="audit_commit_btn">
                    <button class="btn btn-action" ng-click="audit_commit()">确定</button>
                    <button class="btn btn-action" ng-click="audit_commit_close()">取消</button>
                </div>
            </div>
            <div class="audit_commit" ng-if="back_commit_show">
                <div class="audit_commit_header">
                    退回意见
                </div>
                <div class="audit_commit_content">
                    <!--<p>备注</p>-->
                    <textarea id="back_commit_content_textarea"></textarea>
                </div>
                <div class="audit_commit_btn">
                    <button class="btn btn-action" ng-click="back_commit()">确定</button>
                    <button class="btn btn-action" ng-click="back_commit_close()">取消</button>
                </div>
            </div>
            <div class="tool_icon" style="z-index: 99999999999999999999;"><!--  (true && re_upload) || (flow_back && true) -->
                <div ng-if="type==30 && $root.permission_check(bill_commit_permission) && ((flow_back || (res.length == 0 && res != undefined))&& re_upload)">
                    <a ng-href="javascript:void(0);" ng-click="show_iframe();">
                    <img src="./static/img/update.png" title="票据上传" /> {{bill_commit_text}}
                    </a>
                </div>
                 <div ng-if="restart_review_show" id="restart_review"> 
                <!-- <div ng-if="1==0" id="restart_review"> -->
                    <a ng-href="javascript:void(0);" ng-click="restart_review()">
                    <img src="./static/img/page.png" style="height:20px;width:20px"/> 重新审单
                    </a>
                </div>
                <div id="pic" ng-if="exCouldNumber != undefined">
                    <a ng-href="javascript:void(0);" ng-click="show_pic()">
                    <img src="./static/img/pic.png" /> 查看票据图片
                    </a>
                </div>
                <div class="paper_iframe" ng-if="type==30 && iframe_show">
                    <div class="paper_iframe_nav">
                        <span>
                             票据上传
                        </span>
                        <div class="close" ng-click="close_iframe()">
                            <img src="./static/img/close.png">
                        </div>
                    </div>
                    <iframe id="iframeId" style="width: 100%;overflow: auto;" name='myiframe' ng-init="show_iframe()" ng-src='{{iframe_src}}'></iframe>
                </div>
                <div class="order_number"><span ng-if="type == 10">预算单</span><span ng-if="type == 20">申请单</span><span ng-if="type == 30">报销单</span>号:{{order_number}}</div>
                <div class="order_number" ng-if="exCouldNumber != undefined"><span ng-if="type == 30">云单编</span>号:{{exCouldNumber}}</div>
                <!--<div ng-if="!edit && type == 30 && rectification_show"><a ng-click="rectification();" ng-href="javascript:void(0);"><i class="fa fa-eraser" aria-hidden="true" ></i>&nbsp;重新纠偏</a></div>-->
                <div ng-if="!edit && type == 30 && re_account_show"><a ng-click="re_account();" ng-href="javascript:void(0);"><i class="fa fa-pencil" aria-hidden="true" ></i>&nbsp;重新记账</a></div>
                <div ng-show="$root.permission_check('deletebtn',1)&&deleteflag"id="deletebtn"><a ng-click="rm_bill();" ng-href="javascript:void(0);"><i class="fa fa-trash" aria-hidden="true"></i>&nbsp;删除</a></div>
                <div ng-show="$root.permission_check('editbtn',1)&&editflag" id="editbtn"><a ng-click="edit_bill();" ng-class="{'allow_commit':save_btn_flag,'forbidden_commit':!save_btn_flag}" ng-href="javascript:void(0);"><i class="fa fa-pencil" aria-hidden="true" ></i>&nbsp;编辑</a></div>
                <div ng-show="$root.permission_check(check,2)&&commitflag&&!edit&&commitflag_bill&&submit_Pors" id="commitbtn"><a ng-click="commit_bill();" ng-class="{'allow_commit':(save_btn_flag && init_btn_flag),'forbidden_commit':(!save_btn_flag || !init_btn_flag)}" ng-href="javascript:void(0);" ><i class="fa fa-file-text-o" aria-hidden="true"></i>&nbsp;{{check}}</a></div>
                <div ng-show="$root.permission_check('backbtn',1)&&backflag"  id="backbtn"><a ng-click="back_bill();" ng-href="javascript:void(0);"><i class="fa fa-arrow-circle-o-left" aria-hidden="true"></i>&nbsp;退回</a></div>
               <!--
                <div><i class="fa fa-print" aria-hidden="true"></i>&nbsp;打印</div>
                -->
 
            </div>   
 
            <div id="flowcontent" ng-show="!flow_status_show">
                <div class="form_container">
                    <div saved-form type="type" isbill='true' billid="billid" edit="edit" btnflag="btnflag"></div>
                    <div class="row btn-zone-center" ng-show="btnflag">
                        <button class="btn btn-success btn-favourite " ng-disabled="!save_btn_flag" ng-click="create_bill()">保存</button>
                           <button class="btn btn-success btn-favourite " ng-click="cancel();">取消</button>
                    </div>
                </div>
            </div>
            
            
        
        <div ng-show="flow_status_show" class="flowstatus" id="flow_content">
                <ul>
                    <li ng-repeat="response in res">
                        <div style="position: relative;text-align: center;clear:left;border-right:1px solid {{response.flStepCode|borderfilter}}" class="flowdetail">
                            <p>{{response.activityName}}</p>
                            <span style="background:{{response.flStepCode|colorfilter}};">{{response.flStepCode|stepfilter}}</span>
                            <!--<img src='{{response.flStepCode|statusfilter}}'/>-->
                        </div>
                        <div style="border-right:none;">
                            <p>{{response.flOperatorName}}&nbsp;&nbsp;{{response.flTime}}</p>
                            <p>{{response.info}}</p>
                        </div>
                    </li>
                </ul>
            </div>
    </div>
                                             
 
</div>