feat: 支持顺运宝多订单号搜索 (#217)
This commit is contained in:
@@ -45,9 +45,11 @@
|
||||
<label for="shop">店铺</label>
|
||||
<input id="shop" type="text" name="shop" value="{{.ShopFilter}}"
|
||||
class="syb-search-input" placeholder="店铺名">
|
||||
<label for="q">订单号</label>
|
||||
<input id="q" type="text" name="order_no" value="{{.Keyword}}"
|
||||
class="syb-search-input" placeholder="订单号">
|
||||
<label for="q">订单号(可多条)</label>
|
||||
<textarea id="q" name="order_no" rows="1" data-syb-order-search
|
||||
class="syb-search-input syb-order-search-input" placeholder="多个可直接粘贴" maxlength="4000"
|
||||
title="支持中英文逗号、分号、空格、Tab 或换行分隔,最多 100 个订单号"
|
||||
{{if .OrderNoError}}aria-invalid="true" aria-describedby="order-no-error"{{end}}>{{.Keyword}}</textarea>
|
||||
<a class="button-link" href="/syb?date_from={{urlquery .SyncDateFrom}}&date_to={{urlquery .SyncDateTo}}">清除</a>
|
||||
<button type="submit">搜索</button>
|
||||
</form>
|
||||
@@ -62,6 +64,8 @@
|
||||
</form>
|
||||
</div>
|
||||
|
||||
{{if .OrderNoError}}<p id="order-no-error" class="missing filter-feedback" role="alert">{{.OrderNoError}}</p>{{end}}
|
||||
{{if .OrderNoFeedback}}<p class="hint filter-feedback" role="status">{{.OrderNoFeedback}}</p>{{end}}
|
||||
{{if .RangeError}}<p class="missing sync-range-message" role="alert">{{.RangeError}}</p>{{end}}
|
||||
{{if .RangeWarning}}<p class="hint sync-range-message">{{.RangeWarning}}</p>{{end}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user