Quellcode durchsuchen

解决发票抬头、收票人都搜索不出来(卖家中心)问题修改

zengchao vor 8 Jahren
Ursprung
Commit
adb290bb73

+ 2 - 2
src/main/webapp/resources/js/vendor/controllers/forstore/vendor_invoice_ctrl.js

@@ -92,12 +92,12 @@ define([ 'app/app' ], function(app) {
             initTable();
         }
 
-        $scope.searchByKey = function (k) {
+        $scope.searchByKey = function () {
         //    console.log($scope.keyword)
         //     $scope.param.keyword = k;
         //     console.log(k)
         //     console.log($scope.param.keyword)
-            $scope.keyword = k;
+           // $scope.keyword = k;
             initTable();
         }
 

+ 1 - 1
src/main/webapp/resources/view/vendor/forstore/vendor-invoice.html

@@ -257,7 +257,7 @@
         <div class="invoice-search">
             <div class="fr">
                 <input type="text" class="form-control" ng-model="keyword" placeholder="订单号/发票抬头/收票人/联系电话"/>
-                <button ng-click="searchByKey(keyword)">搜索</button>
+                <button ng-click="searchByKey()">搜索</button>
             </div>
         </div>
         <div class="vendor-invoice-content">