demo20230512/Views/Partial/Management/Supplier.cshtml
2023-05-12 10:20:28 +08:00

90 lines
4.7 KiB
Plaintext

<div class="body_content receive_tool_menu">
@*<div class="header_search">
<img class="header_image_button" src="../Browser_Local/img/header_image11_1.png" />
<input type="text" class="expand" ng-model="searchText" />
</div>*@
</div>
<div class="body_content"
style="padding: 0; margin: 0; border-left: 1px solid rgb(35, 176, 99); border-right: 1px solid rgb(35, 176, 99);"
ng-model="currentPage"
ng-init="currentPage = 1">
<div class="table-responsive">
<div class="table_overflow">
<table class="table">
<!-- Table header -->
<thead>
<tr class="table-active" style="text-align:center">
<th>@Resource.UserAccountName</th>
<th>Vendor Code</th>
<th>@Resource.StaticLabelGlobal_Name</th>
<th>@Resource.PhoneNumber</th>
<th>@Resource.StaticLabelContactName</th>
<th>@Resource.StaticLabelContactPhone</th>
<th>@Resource.StaticLabelContactEmail</th>
<th></th>
</tr>
</thead>
<!-- Table row -->
<tbody>
<tr ng-repeat="supplier in supplierList | filter : searchText | orderBy : predicate : reverse | smarterLimitTo : 10 : (currentPage - 1) * 10">
<td ng-bind="supplier.UserName"></td>
<td ng-bind="supplier.VendorCode"></td>
<td ng-bind="supplier.Name"></td>
<td ng-bind="supplier.Phone"></td>
<td ng-bind="supplier.ContactName"></td>
<td ng-bind="supplier.ContactPhone"></td>
<td ng-bind="supplier.ContactEmail"></td>
<td>
<img style="cursor: pointer;"
ng-init="editIcon = 'edit'"
ng-src="@ViewBag.baseUrl/Browser_Local/img/{{ editIcon }}.png"
ng-click="editSupplier(supplier)"
ng-mouseenter="editIcon = 'edit_active'"
ng-mouseleave="editIcon = 'edit'" />
</td>
</tr>
</tbody>
</table>
</div>
</div>
<!--<div style="height: 29px;">-->
<!-- Table header -->
<!--<div class="table_header_wrap" style="height: 29px;">
<div class="table_header" style="width: 243px;">Vendor Code</div>
<div class="table_header" style="width: 106px;">@Resource.StaticLabelGlobal_Name</div>
<div class="table_header" style="width: 156px;">@Resource.PhoneNumber</div>
<div class="table_header" style="width: 105px;">@Resource.StaticLabelContactName</div>
<div class="table_header" style="width: 155px;">@Resource.StaticLabelContactPhone</div>
<div class="table_header" style="width: 243px;">@Resource.StaticLabelContactEmail</div>
<div class="table_header" style="width: 62px;"></div>
</div>-->
<!-- Table row -->
<!--<div class="survey_order_table_row"
style="height: 30px;"
ng-style="{ borderBottomColor: $last ? 'rgb(35, 176, 99)' : 'rgb(201, 201, 201)' }"
ng-repeat="supplier in supplierList | filter : searchText | orderBy : predicate : reverse | smarterLimitTo : 10 : (currentPage - 1) * 10">
<div style="position: relative; margin: 0 auto;">
<div class="table_text" style="width: 243px;" ng-bind="supplier.VendorCode"></div>
<div class="table_text" style="width: 106px;" ng-bind="supplier.Name"></div>
<div class="table_text" style="width: 156px;" ng-bind="supplier.Phone"></div>
<div class="table_text" style="width: 105px;" ng-bind="supplier.ContactName"></div>
<div class="table_text" style="width: 155px;" ng-bind="supplier.ContactPhone"></div>
<div class="table_text" style="width: 243px;" ng-bind="supplier.ContactEmail"></div>
</div>
<div class="table_reply" style="width: 62px;">
<img style="cursor: pointer;"
ng-init="editIcon = 'edit'"
ng-src="../../../Browser_Local/img/{{ editIcon }}.png"
ng-click="editSupplier(supplier)"
ng-mouseenter="editIcon = 'edit_active'"
ng-mouseleave="editIcon = 'edit'" />
</div>
</div>
</div>-->
</div>
<page passed-total-page="Math.ceil((supplierList | filter : searchText).length / 10)" passed-current-page="currentPage"></page>