Browse Source

开放信扬代采订单的打印功能

hejq 7 years ago
parent
commit
b27b2f6b51
1 changed files with 7 additions and 0 deletions
  1. 7 0
      src/main/webapp/resources/tpl/index/purc/deputyOrder.html

+ 7 - 0
src/main/webapp/resources/tpl/index/purc/deputyOrder.html

@@ -354,6 +354,13 @@
                             <div >
                             	<a ng-click="viewApprove(order.salecode, order.deputyuu)">审批流程</a>
                             </div>
+                            <span ng-if="order.print" class="label ng-scope operates-status" style="margin-right: 5px;background-color: #5D6C79">已打印</span>
+                            <span ng-if="!order.print" class="label ng-scope operates-status" style="margin-right: 5px;background-color: #CA3955">未打印</span>
+                            <div class="operates">
+                                <a ng-click="print(order)" title="打印{{order.print? '(已打印)':'(未打印)'}}" ng-class="{'unPrinted' : !order.print, 'text-muted': order.print}">
+                                    <i class="fa fa-print fa-lg"></i>
+                                </a>
+                            </div>
                         </div>
                         <div class="col-md-12" ng-if="order.remark != null && order.statuscode == 222">订单反馈:<span class="text-inverse" ng-bind="order.remark"></span></div>
                     </td>