This commit is contained in:
fengjh5 2024-04-09 14:19:52 +08:00
parent 9d294c213b
commit 7815eba1ce
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@
<div class="modal fade" tabindex="-1" data-attention-animation="true" id="modalView"></div> <div class="modal fade" tabindex="-1" data-attention-animation="true" id="modalView"></div>
<script> <script>
$(function(){ $(function(){
var isSupplier = "<?=isSupplier?>"; var isSupplier = <?=$isSupplier?>;
if (isSupplier == -1){ if (isSupplier == -1){
$.zui.messager.show("未绑定供应商!"); $.zui.messager.show("未绑定供应商!");
$('#addjob').hide(); $('#addjob').hide();

View File

@ -48,7 +48,7 @@
<div class="modal fade" tabindex="-1" data-attention-animation="true" id="modalView"></div> <div class="modal fade" tabindex="-1" data-attention-animation="true" id="modalView"></div>
<script> <script>
$(function () { $(function () {
var isSupplier = "<?=isSupplier?>"; var isSupplier = <?=$isSupplier?>;
if (isSupplier == -1){ if (isSupplier == -1){
$.zui.messager.show("未绑定供应商!"); $.zui.messager.show("未绑定供应商!");
$('#btn-submit').hide(); $('#btn-submit').hide();