Browse Source

模具报价历史报价更新

Hu Jie 8 years ago
parent
commit
067673707e

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

@@ -6434,8 +6434,6 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
                     mould.history = data;
                 },function (response) {
                     $scope.historyShow = false;
-                    toaster.pop('error', '提示', response.data);
-                    //$Scope.PurcInquiryMouldpermission = true;
                 });
             }
         };
@@ -6645,7 +6643,7 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
                     mould.history = data;
                 },function (response) {
                     $scope.historyShow = false;
-                    toaster.pop('error', '提示', response.data);
+                    //toaster.pop('error', '提示', response.data);
                 });
             }
         };

+ 3 - 0
src/main/webapp/resources/tpl/index/sale/inquiry_mould.html

@@ -490,6 +490,9 @@ tbody td div.text-mould {
 								<div ng-if="historyShow">
 								<div ng-show="!inquiryMould.replyDate"
 									 class="text-center text-muted">暂无历史报价</div></div>
+								<div ng-if="!historyShow">
+									<div ng-show="!inquiryMould.replyDate"
+										 class="text-center text-muted">没有查看历史报价权限</div></div>
 							</div>
 						</div>
 					</div>

+ 2 - 0
src/main/webapp/resources/tpl/index/sale/inquiry_mould_detail.html

@@ -182,6 +182,8 @@ a:hover{
 									</ul>
 									<div ng-if="historyShow">
 										<div ng-show="!inquiryMould.replyDate" class="text-center text-muted">暂无历史报价</div></div>
+									<div ng-if="!historyShow">
+										<div ng-show="!inquiryMould.replyDate" class="text-center text-muted">没有查看历史报价权限</div></div>
 
 								</div>
 							</div>