This commit is contained in:
2025-02-14 16:17:58 +07:00
parent e60866c99f
commit 84731fc375
17 changed files with 283 additions and 170 deletions

View File

@@ -1,4 +1,4 @@
<div class="order-page m-[16px] p-[20px_15px] bg-white">
<div class="order-page m-[16px_0_16px_16px] p-[20px_15px] bg-white">
<p class="m-[0_0_10px] text-[24px] font-[600] leading-[31px]">Danh sách đơn hàng </p>
<div class="order-page-title flex flex-wrap mb-[17px] leading-[36px]">
@@ -19,14 +19,14 @@
<div
class="flex flex-wrap items-center mb-[15px] p-[15px_16px] border border-[#F6F6F6] shadow-[0px_1px_1px_0px_rgba(0,0,0,0.10)]">
<div class="flex items-center mb-[10px]">
<div class="flex items-center flex-wrap mb-[10px]">
<input type="text" name="orderCode" value="" placeholder="Mã đơn hàng"
class="w-[375px] h-[36px] p-[0_10px] m-[0_10px_0_0] rounded-[4px] border border-[#D8D8D8] shadow-[0px_2px_4px_0px_rgba(0,0,0,0.10)]">
<span class="whitespace-nowrap">hoặc</span>
<span class="whitespace-nowrap lg:hidden sm:hidden">hoặc</span>
<input type="text" name="q" value="" placeholder="Tìm người mua (* tên, email, điện thoại)"
class="w-[375px] h-[36px] p-[0_10px] m-[0_10px] rounded-[4px] border border-[#D8D8D8] shadow-[0px_2px_4px_0px_rgba(0,0,0,0.10)]">
class="w-[375px] sm:mt-[10px] sm:ml-[0] h-[36px] p-[0_10px] m-[0_10px] rounded-[4px] border border-[#D8D8D8] shadow-[0px_2px_4px_0px_rgba(0,0,0,0.10)]">
</div>
<div class="flex items-center mb-[10px]">
@@ -58,8 +58,8 @@
</div>
</form>
<div class="flex items-center justify-between m-[14px_0_20px]">
<div>
<div class="flex items-center flex-wrap justify-between m-[14px_0_20px]">
<div class="2xl:w-[50%] md:w-[100%]">
<p class="m-[0_55px_0_0] inline-block">
Tổng số đơn hàng: <b>1.458</b>
</p>
@@ -69,9 +69,9 @@
</p>
</div>
<div>
<div class="2xl:w-[50%] md:w-[100%] flex 2xl:justify-end md:justify-start md:mt-[10px]">
<a href=""
class="rounded-[4px] bg-[#F5F7FF] border border-[#0041E8] hover:text-[#fff] hover:bg-[#0041E8] leading-[36px] font-[600] text-[#0041E8] p-[0_14px] inline-block m-[0_0_0_15px]">
class="rounded-[4px] bg-[#F5F7FF] border border-[#0041E8] hover:text-[#fff] hover:bg-[#0041E8] leading-[36px] font-[600] text-[#0041E8] p-[0_14px] inline-block">
<i class="fas fa-print m-[0_4px_0_0]"></i> In danh sách
</a>
@@ -82,8 +82,8 @@
</div>
</div>
<div>
<table class="table">
<div class="max-w-[1600px] overflow-x-auto whitespace-nowrap">
<table class="table table-pin-rows table-pin-cols">
<thead class="bg-[#f6f6f6] text-[14px] font-500 text-[#000]">
<tr>
<td> STT </td>
@@ -93,7 +93,8 @@
<td> Tỉnh/TP </td>
<td class="w-[150px]"> Giá trị </td>
<td width="150">
<select onchange="setHiddenValue('js-payment', this.value); runFilter()">
<select onchange="setHiddenValue('js-payment', this.value); runFilter()"
class="select h-[35px] min-h-[35px] min-w-[110px] pl-[5px]">
<option value="">Thanh toán</option>
{% for _item in page.payment_status_list %}
<option value="{{ _item[1].id }}">{{ _item[1].title }}</option>
@@ -102,7 +103,8 @@
</td>
<td width="160">
<select onchange="setHiddenValue('js-fullfillment', this.value); runFilter()">
<select onchange="setHiddenValue('js-fullfillment', this.value); runFilter()"
class="select h-[35px] min-h-[35px] min-w-[110px] pl-[5px]">
<option value="">Vận chuyển</option>
{% for _item in page.fullfillment_status_list %}
<option value="{{ _item[1].id }}">{{ _item[1].title }}</option>
@@ -111,7 +113,8 @@
</td>
<td width="170">
<select onchange="setHiddenValue('js-status', this.value); runFilter()">
<select onchange="setHiddenValue('js-status', this.value); runFilter()"
class="select h-[35px] min-h-[35px] min-w-[140px] pl-[5px]">
<option value="">Tình trạng đơn</option>
{% for _item in page.order_status_list %}
<option value="{{ _item[1].id }}">{{ _item[1].title }}</option>
@@ -120,7 +123,8 @@
</td>
<td width="180">
<select onchange="setHiddenValue('assign_to', this.value); runFilter()">
<select onchange="setHiddenValue('assign_to', this.value); runFilter()"
class="select h-[35px] min-h-[35px] min-w-[150px] pl-[5px]">
<option value="">Người được giao</option>
</select>
</td>