Przeglądaj źródła

批量回复自定义交期提示语的更换以及默认选中自定义标签

hangb 8 lat temu
rodzic
commit
a33602f192

+ 1 - 2
src/main/webapp/resources/js/index/app.js

@@ -3342,8 +3342,7 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
      * 批量回复模态框
      * 批量回复模态框
      */
      */
     app.controller('ReplyByBatchCtrl', ['$scope', '$modalInstance', '$filter', 'toaster', function($scope, $modalInstance, $filter, toaster) {
     app.controller('ReplyByBatchCtrl', ['$scope', '$modalInstance', '$filter', 'toaster', function($scope, $modalInstance, $filter, toaster) {
-        $scope.activeTab = 'default';
-
+        $scope.activeTab = 'custom';
         $scope.getMinDate = function () {
         $scope.getMinDate = function () {
             return $filter('date')(new Date, 'yyyy-MM-dd');
             return $filter('date')(new Date, 'yyyy-MM-dd');
         };
         };

+ 2 - 2
src/main/webapp/resources/tpl/index/sale/modal/reply_bybatch.html

@@ -106,7 +106,7 @@
             <label for="default" ng-class="{'active': activeTab == 'default'}">默认交期</label>
             <label for="default" ng-class="{'active': activeTab == 'default'}">默认交期</label>
         </div>
         </div>
         <div class="form-group">
         <div class="form-group">
-            <input type="radio" id="custom" ng-click="activeTab = 'custom'" ng-model="reply.method" ng-value=1 name="method">
+            <input type="radio" id="custom" ng-click="activeTab = 'custom'" ng-model="reply.method" ng-value=1 name="method"  ng-checked="1">
             <label for="custom" ng-class="{'active': activeTab == 'custom'}">自定义交期</label>
             <label for="custom" ng-class="{'active': activeTab == 'custom'}">自定义交期</label>
         </div>
         </div>
     </div>
     </div>
@@ -116,7 +116,7 @@
     </div>
     </div>
     <!--自定义交期-->
     <!--自定义交期-->
     <div class="bottom" ng-show="activeTab == 'custom'">
     <div class="bottom" ng-show="activeTab == 'custom'">
-        <span>对选中的单据按照满足客户需求的数量和交期默认回复</span>
+        <span>对选中的单据按照自定义交期和客户需求的数量进行回复</span>
         <div class="choose">
         <div class="choose">
             <div class="input-group">
             <div class="input-group">
                 <input ng-model="reply.date" type="text" class="form-control"
                 <input ng-model="reply.date" type="text" class="form-control"