|
|
@@ -24,6 +24,12 @@
|
|
|
<td >
|
|
|
<input type="date" name="date_start" class=" form-control-sm tooltipTarget" title="选择显示指定日期的起始时间"
|
|
|
v-model="filterData.date_start" :class="filterData.created_at_start?'bg-warning':''">
|
|
|
+ <select v-model="filterData.range" name="range" @change="submit" title="查询内容的日期范围" class="form-control-sm tooltipTarget m-2">
|
|
|
+ <option value="1">近一天</option>
|
|
|
+ <option value="3">近三天</option>
|
|
|
+ <option value="7">近七天</option>
|
|
|
+ <option value="30">近三十天</option>
|
|
|
+ </select>
|
|
|
</td>
|
|
|
<td>
|
|
|
<input name="TOLocation" v-model="filterData.TOLocation" class="form-control-sm tooltipTarget" placeholder="库位" :class="filterData.TOLocation?'bg-warning':''">
|
|
|
@@ -62,7 +68,7 @@
|
|
|
v-model="filterData.LotAtt02_end" :class="filterData.LotAtt02_end?'bg-warning':''" >
|
|
|
</td>
|
|
|
<td colspan="5">
|
|
|
- <input hidden type="submit" >
|
|
|
+ <input type="submit" class="btn btn-sm btn-outline-dark pull-left" value="按条件搜索">
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
@@ -152,7 +158,7 @@
|
|
|
data:{
|
|
|
oracleActTransactingLogs:{!! $oracleActTransactingLogs !!},
|
|
|
page:Number('{{$page}}'),
|
|
|
- filterData:{date_start:'',date_end:'',SKU:'',paginate:"50",TOLocation:'',
|
|
|
+ filterData:{date_start:'',date_end:'',SKU:'',paginate:"50",TOLocation:'',range:'',
|
|
|
LotAtt05:'',LotAtt02_start:'',LotAtt02_end:'',descr_c:'',ALTERNATE_SKU1:'',export:''},
|
|
|
owners:[
|
|
|
@foreach($owners as $owner)
|
|
|
@@ -235,6 +241,7 @@
|
|
|
if (this.filterData.LotAtt02_end)url+="&&LotAtt02_end="+this.filterData.LotAtt02_end;
|
|
|
if (this.filterData.ALTERNATE_SKU1)url+="&&ALTERNATE_SKU1="+this.filterData.ALTERNATE_SKU1;
|
|
|
if (this.filterData.descr_c)url+="&&descr_c="+this.filterData.descr_c;
|
|
|
+ if (this.filterData.range)url+="&&range="+this.filterData.range;
|
|
|
window.location.href=url;
|
|
|
},
|
|
|
//提交表单
|