Browse Source

補 select2 缺的 js檔

gary
gary_chen\gary_chen 2 years ago
parent
commit
cb7c2458c4
  1. 2
      wms/css/select2.min.js
  2. 4
      wms/wipwhole-index-function.php
  3. 2
      wms/wipwhole-renovate-index-function.php
  4. 2
      wms/wipwhole-renovate-rec-invoice-edit.php

2
wms/css/select2.min.js

File diff suppressed because one or more lines are too long

4
wms/wipwhole-index-function.php

@ -1038,7 +1038,7 @@ function getSaveEstimateInstallData($user_department_id, $role_id)
return true; return true;
if ($user_department_id == '312' && $role_id == '3') if ($user_department_id == '312' && $role_id == '3')
return true; return true;
if ($user_department_id == '541' && $role_id == '1') if ($user_department_id == '542' && $role_id == '1')
return true; return true;
return false; return false;
} }
@ -1047,7 +1047,7 @@ function saveInstallData($user_department_id, $role_id)
{ {
if ($user_department_id == '521' && $role_id == '9') if ($user_department_id == '521' && $role_id == '9')
return true; return true;
if ($user_department_id == '541' && $role_id == '1') if ($user_department_id == '542' && $role_id == '1')
return true; return true;
if ($user_department_id == '542' && in_array($role_id, ['5', '6'])) if ($user_department_id == '542' && in_array($role_id, ['5', '6']))
return true; return true;

2
wms/wipwhole-renovate-index-function.php

@ -1001,7 +1001,7 @@ function getWipwholeChangeButtonStatus($user_department_id)
function getSaveInstallDataButtonStatus($user_department_id, $role_id) function getSaveInstallDataButtonStatus($user_department_id, $role_id)
{ {
if ($user_department_id == '541' && $role_id == '1') if ($user_department_id == '542' && $role_id == '1')
return true; return true;
if ($user_department_id == '521' && $role_id == '9') if ($user_department_id == '521' && $role_id == '9')
return true; return true;

2
wms/wipwhole-renovate-rec-invoice-edit.php

@ -608,7 +608,7 @@ include "wipwhole-renovate-rec-invoice-edit-submit.php";
echo "<button onclick='saveEstimateInstallData()' type='button' class='btn btn-primary btn-lg pull-right' style='margin-left:3px;'>存檔</button>"; echo "<button onclick='saveEstimateInstallData()' type='button' class='btn btn-primary btn-lg pull-right' style='margin-left:3px;'>存檔</button>";
if ($user_department_id == '545' && $role_id == '6') if ($user_department_id == '545' && $role_id == '6')
echo "<button onclick='saveEstimateInstallData()' type='button' class='btn btn-primary btn-lg pull-right' style='margin-left:3px;'>存檔</button>"; echo "<button onclick='saveEstimateInstallData()' type='button' class='btn btn-primary btn-lg pull-right' style='margin-left:3px;'>存檔</button>";
if ($user_department_id == '541' && $role_id == '1') if ($user_department_id == '542' && $role_id == '1')
echo "<button onclick='saveEstimateInstallData()' type='button' class='btn btn-primary btn-lg pull-right' style='margin-left:3px;'>存檔</button>"; echo "<button onclick='saveEstimateInstallData()' type='button' class='btn btn-primary btn-lg pull-right' style='margin-left:3px;'>存檔</button>";
?> ?>
</td> </td>

Loading…
Cancel
Save