|
@@ -3764,6 +3764,7 @@ function ($rootScope, $scope, $state, $translate, $localStorage, $cookieStore, $
|
3764
|
3764
|
$rootScope.newOrder = function (model1, type = '') {
|
3765
|
3765
|
$rootScope.newOrderShowOpen = true;
|
3766
|
3766
|
$rootScope.newOrderType = type;
|
|
3767
|
+ console.log('newOrderType', $rootScope.newOrderType)
|
3767
|
3768
|
//进入弹窗,强制示忙
|
3768
|
3769
|
if (localStorage.getItem('fenjiNumber')) {
|
3769
|
3770
|
setTimeout(()=>{
|
|
@@ -3789,6 +3790,15 @@ function ($rootScope, $scope, $state, $translate, $localStorage, $cookieStore, $
|
3789
|
3790
|
) {
|
3790
|
3791
|
// -------------------start----------------------
|
3791
|
3792
|
$scope.modelData = modelData;
|
|
3793
|
+ $scope.menuAuth = {
|
|
3794
|
+ allSupplement: false,//补单
|
|
3795
|
+ }
|
|
3796
|
+ for (var i = 0; i < $rootScope.user.menu.length; i++) {
|
|
3797
|
+ if ($rootScope.user.menu[i].link == "shijianliebiao_supplement") {
|
|
3798
|
+ $scope.menuAuth.allSupplement = true
|
|
3799
|
+ }
|
|
3800
|
+ }
|
|
3801
|
+ console.log('补单', $scope.menuAuth.allSupplement)
|
3792
|
3802
|
// 事件报修图片
|
3793
|
3803
|
$scope.requestImgs = [];
|
3794
|
3804
|
// 当前所属院区处理
|