Browse Source

买家中心-已截止样式修改,处理打包出错问题

liusw 8 years ago
parent
commit
73e830b88a

+ 1 - 1
src/main/webapp/resources/js/admin/controllers/SeekQualityBuyerCtrl.js

@@ -28,7 +28,7 @@ define(['app/app'], function (app) {
     }
 
     // 删除采购商
-    $scope.delete = function (id) {
+    $scope.deleteBuyer = function (id) {
       seekQualityBuyer.deleteBuyer({id:id},function(){
         toaster.pop('success', '提示', '删除采购商成功');
         $scope.seekQualityBuyerTableParams.reload();

+ 1 - 1
src/main/webapp/resources/view/admin/seekQualityBuyer.html

@@ -31,7 +31,7 @@
 					<td><span ng-bind="buyer.sort"></span></td>
 					<td>
 						<button class="btn btn-primary" ng-click="edit(buyer.id)">编辑</button>
-						<button class="btn btn-primary" ng-click="delete(buyer.id)">删除</button>
+						<button class="btn btn-primary" ng-click="deleteBuyer(buyer.id)">删除</button>
 					</td>
 				</tr>
 			</tbody>

+ 1 - 1
src/main/webapp/resources/view/usercenter/forstore/seekPurchase.html

@@ -519,7 +519,7 @@
                 <td ng-bind="seek.encapsulation || '-'">盘装</td>
                 <td ng-bind="seek.produceDate || '-'">2012-12-12</td>
                 <td class="left-time" ng-if="seek.remainingTime > 0">剩余&nbsp;<span ng-bind="getDay(seek.remainingTime)"></span>&nbsp;天&nbsp;<span ng-bind="getHours(seek.remainingTime)">5</span>&nbsp;小时</td>
-                <td class="left-time" ng-if="seek.remainingTime <= 0"><span>已截止</span></td>
+                <td class="left-time" ng-if="seek.remainingTime <= 0"><span style="color: red;">已截止</span></td>
                 <td ng-switch="seek.status">
                     <span ng-switch-when="200" style="color:red;">待报价</span>
                     <span ng-switch-when="201">已报价</span>