|
|
@@ -87,7 +87,8 @@
|
|
|
padding-left: 20px;
|
|
|
}
|
|
|
|
|
|
-.input-xs,.input-group-xs>.form-control, .input-group-xs>.input-group-addon, .input-group-xs>.input-group-btn>.btn {
|
|
|
+.input-xs,.input-group-xs>.form-control,.input-group-xs>.input-group-addon,.input-group-xs>.input-group-btn>.btn
|
|
|
+ {
|
|
|
height: 26px;
|
|
|
padding: 0 5px;
|
|
|
font-size: 12px;
|
|
|
@@ -95,7 +96,8 @@
|
|
|
border-radius: 3px;
|
|
|
}
|
|
|
|
|
|
-.input-group-xs .form-control:last-child, .input-group-addon:last-child, .input-group-btn:first-child>.btn:not(:first-child), .input-group-btn:last-child>.btn {
|
|
|
+.input-group-xs .form-control:last-child,.input-group-addon:last-child,.input-group-btn:first-child>.btn:not
|
|
|
+ (:first-child ),.input-group-btn:last-child>.btn {
|
|
|
border-top-left-radius: 0;
|
|
|
border-bottom-left-radius: 0;
|
|
|
}
|
|
|
@@ -104,7 +106,6 @@
|
|
|
border-radius: 0;
|
|
|
border: none;
|
|
|
}
|
|
|
-
|
|
|
</style>
|
|
|
<div ng-controller="SaleOrderCtrl" class="block">
|
|
|
<div class="loading in">
|
|
|
@@ -137,8 +138,9 @@
|
|
|
<tr class="toolbar toolbar-top">
|
|
|
<td colspan="6">
|
|
|
<div>
|
|
|
- <label><input type="checkbox" class="selector select_all">全选</label>
|
|
|
- <a href="javascript:void(0)" class="btn btn-default btn-xs">批量回复</a>
|
|
|
+ <label><input type="checkbox" class="selector select_all"
|
|
|
+ ng-model="selectAll">全选</label> <a href="javascript:void(0)"
|
|
|
+ class="btn btn-default btn-xs">批量回复</a>
|
|
|
</div> <!-- 分页 -->
|
|
|
</td>
|
|
|
</tr>
|
|
|
@@ -150,7 +152,8 @@
|
|
|
<tr class="order-hd">
|
|
|
<td class="first">
|
|
|
<div class="order-main">
|
|
|
- <span> <input type="checkbox" class="selector">
|
|
|
+ <span> <input type="checkbox" class="selector"
|
|
|
+ ng-model="order.$selected">
|
|
|
</span> <span class="text-num text-bold" title="{{order.date}}"
|
|
|
ng-bind="order.date"></span> <span>订单号:<a class="text-num"
|
|
|
ng-bind="order.code" href="#"></a></span>
|
|
|
@@ -185,28 +188,38 @@
|
|
|
<div class="text-num" title="{{item.qty}}" ng-bind="item.qty"></div>
|
|
|
<div class="text-muted" ng-bind="item.product.unit"></div>
|
|
|
<div style="margin: 0 auto" ng-show="item.$editing">
|
|
|
- <input type="text" ng-model="item.reply.qty" ng-init="item.reply.qty=item.qty-item.replyQty" class="form-control input-xs" placeholder="回复数量">
|
|
|
+ <input type="text" ng-model="item.reply.qty"
|
|
|
+ ng-init="item.reply.qty=item.qty-item.replyQty"
|
|
|
+ class="form-control input-xs" placeholder="回复数量">
|
|
|
</div>
|
|
|
</td>
|
|
|
<td class="text-center br-l">
|
|
|
- <div class="text-num" ng-bind="item.delivery"></div>
|
|
|
- <br>
|
|
|
- <div style="margin: 0 auto" class="input-group input-group-xs input-trigger" ng-show="item.$editing">
|
|
|
- <input type="text" ng-model="item.reply.delivery" ng-init="item.reply.delivery=parseDate(item.delivery)" class="form-control"
|
|
|
- placeholder="回复交期" datepicker-popup="yyyy-MM-dd" is-open="item.$opened" min-date="order.date"
|
|
|
- ng-required="true" current-text="今天" clear-text="清除" close-text="关闭"
|
|
|
- datepicker-options="{formatDayTitle: 'yyyy年M月', formatMonth: 'M月', showWeeks: false}"
|
|
|
- ng-focus="openDatePicker($event, item)">
|
|
|
- <span class="input-group-btn">
|
|
|
- <button type="button" class="btn btn-default" ng-click="openDatePicker($event, item)"><i class="fa fa-calendar"></i></button>
|
|
|
- </span>
|
|
|
+ <div class="text-num" ng-bind="item.delivery"></div> <br>
|
|
|
+ <div style="margin: 0 auto"
|
|
|
+ class="input-group input-group-xs input-trigger"
|
|
|
+ ng-show="item.$editing">
|
|
|
+ <input type="text" ng-model="item.reply.delivery"
|
|
|
+ ng-init="item.reply.delivery=parseDate(item.delivery)"
|
|
|
+ class="form-control" placeholder="回复交期"
|
|
|
+ datepicker-popup="yyyy-MM-dd" is-open="item.$opened"
|
|
|
+ min-date="order.date" ng-required="true" current-text="今天"
|
|
|
+ clear-text="清除" close-text="关闭"
|
|
|
+ datepicker-options="{formatDayTitle: 'yyyy年M月', formatMonth: 'M月', showWeeks: false}"
|
|
|
+ ng-focus="openDatePicker($event, item)"> <span
|
|
|
+ class="input-group-btn">
|
|
|
+ <button type="button" class="btn btn-default"
|
|
|
+ ng-click="openDatePicker($event, item)">
|
|
|
+ <i class="fa fa-calendar"></i>
|
|
|
+ </button>
|
|
|
+ </span>
|
|
|
</div>
|
|
|
</td>
|
|
|
<td class="text-center br-l">
|
|
|
<div>数量完成48%</div>
|
|
|
<div>交期未达标</div>
|
|
|
<div style="margin: 0 auto" ng-show="item.$editing">
|
|
|
- <input type="text" ng-model="item.reply.remark" class="form-control input-xs" placeholder="回复备注">
|
|
|
+ <input type="text" ng-model="item.reply.remark"
|
|
|
+ class="form-control input-xs" placeholder="回复备注">
|
|
|
</div>
|
|
|
</td>
|
|
|
<td class="text-center br-l">
|
|
|
@@ -214,9 +227,13 @@
|
|
|
<a ng-click="item.$editing=!item.$editing">回复</a>
|
|
|
</div>
|
|
|
<div ng-show="item.$editing">
|
|
|
- <div><a ng-click="item.$editing=!item.$editing">取消</a></div>
|
|
|
+ <div>
|
|
|
+ <a ng-click="item.$editing=!item.$editing">取消</a>
|
|
|
+ </div>
|
|
|
<br>
|
|
|
- <div><a ng-click="onReplyClick(item)" class="text-inverse">确认回复</a></div>
|
|
|
+ <div>
|
|
|
+ <a ng-click="onReplyClick(item)" class="text-inverse">确认回复</a>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</td>
|
|
|
</tr>
|