Browse Source

验退单详情采购单号显示错误的处理

hejq 8 years ago
parent
commit
847199794d
1 changed files with 1 additions and 5 deletions
  1. 1 5
      src/main/webapp/resources/tpl/index/sale/return_detail.html

+ 1 - 5
src/main/webapp/resources/tpl/index/sale/return_detail.html

@@ -98,11 +98,7 @@
                 <tr ng-repeat="returnitem in returns.returnItems| orderBy:'number'" ng-class="{'scoroll':order.orderItems.length>10}">
                     <td width="50"><span ng-bind="::returnitem.number"></span></td>
                     <td width="180">
-                        <div>
-                            <span ng-bind="::acceptitem.orderItem.product.code"></span>
-                            <span ng-bind="::acceptitem.orderItem.product.title"></span>
-                            <span ng-bind="::acceptitem.orderItem.product.cmpCode"></span>
-                        </div>
+                        <a ng-bind="returnitem.orderItem.order.code" ui-sref="sale.order_detail({id:returnitem.orderItem.order.id})" target="_blank"></a>
                     </td>
                     <td width="180" class="text-center"><span ng-bind="::returnitem.product.title"></span></td>
                     <td width="100" class="text-center"><span ng-bind="::returnitem.product.brand"></span></td>