查询库存更新记录添加结束日期
This commit is contained in:
parent
facd0fc788
commit
11519bd3f8
|
|
@ -9,7 +9,9 @@
|
||||||
:suffix-icon="Search" />
|
:suffix-icon="Search" />
|
||||||
<el-select-v2 v-model="reasonQuery" style="width: 158px; margin-right: 10px;"
|
<el-select-v2 v-model="reasonQuery" style="width: 158px; margin-right: 10px;"
|
||||||
placeholder="请选择更新原因" :options="reasonOptions" @change="search()"></el-select-v2>
|
placeholder="请选择更新原因" :options="reasonOptions" @change="search()"></el-select-v2>
|
||||||
<el-date-picker v-model="updateTimeQuery" type="date" placeholder="选择完成日期" :shortcuts="shortcuts"
|
<el-date-picker v-model="updateTimeQuery" type="date" placeholder="起始完成日期" :shortcuts="shortcuts"
|
||||||
|
style="width: 158px; margin-right: 10px;" clearable />
|
||||||
|
<el-date-picker v-model="updateEndTimeQuery" type="date" placeholder="完成结束日期" :shortcuts="shortcuts"
|
||||||
style="width: 158px; margin-right: 10px;" clearable />
|
style="width: 158px; margin-right: 10px;" clearable />
|
||||||
<el-button type="primary" @click="search()">搜索</el-button>
|
<el-button type="primary" @click="search()">搜索</el-button>
|
||||||
<el-button type="warning" @click="reset()">重置</el-button>
|
<el-button type="warning" @click="reset()">重置</el-button>
|
||||||
|
|
@ -68,6 +70,7 @@ export default {
|
||||||
goodsIdQuery: '',
|
goodsIdQuery: '',
|
||||||
reasonQuery: '',
|
reasonQuery: '',
|
||||||
updateTimeQuery: null,
|
updateTimeQuery: null,
|
||||||
|
updateEndTimeQuery: null,
|
||||||
shortcuts: [
|
shortcuts: [
|
||||||
{
|
{
|
||||||
text: '今天',
|
text: '今天',
|
||||||
|
|
@ -145,6 +148,7 @@ export default {
|
||||||
goodsId: this.goodsIdQuery.trim(),
|
goodsId: this.goodsIdQuery.trim(),
|
||||||
reason: this.reasonQuery.trim(),
|
reason: this.reasonQuery.trim(),
|
||||||
updateTime: timeFormatter(this.updateTimeQuery),
|
updateTime: timeFormatter(this.updateTimeQuery),
|
||||||
|
updateEndTime: timeFormatter(this.updateEndTimeQuery),
|
||||||
userName: store.getters.getUserName
|
userName: store.getters.getUserName
|
||||||
}
|
}
|
||||||
getStockUpdateRecord(request).then(res => {
|
getStockUpdateRecord(request).then(res => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user