代码更新:
1. 非计划领料优化 2. 拣选任务界面优化
This commit is contained in:
parent
e723013ec2
commit
c0f4b8c652
|
|
@ -241,6 +241,9 @@ export default {
|
|||
methods: {
|
||||
// 查询库存余量
|
||||
getStockNumOfGoodsIdMethod() {
|
||||
if (this.workFormEntity.goodsId == '') {
|
||||
return
|
||||
}
|
||||
const request = {
|
||||
goodsId: this.workFormEntity.goodsId,
|
||||
userName: store.getters.getUserName
|
||||
|
|
|
|||
|
|
@ -178,7 +178,7 @@ export default {
|
|||
this.$refs.goodsId.focus()
|
||||
this.timer = setInterval(() => {
|
||||
this.queryFinish()
|
||||
}, 3000)
|
||||
}, 1000)
|
||||
},
|
||||
beforeUnmount() {
|
||||
clearInterval(this.timer)
|
||||
|
|
|
|||
|
|
@ -3,10 +3,12 @@
|
|||
<el-config-provider :locale="zhCn">
|
||||
<div style="display: flex;justify-content: space-between;">
|
||||
<el-row>
|
||||
<el-input v-model="vehicleIdQuery" style="width: 256px; margin-right: 10px;" placeholder="箱号"
|
||||
<el-input v-model="vehicleIdQuery" style="width: 158px; margin-right: 10px;" placeholder="箱号"
|
||||
:suffix-icon="Search" />
|
||||
<el-input v-model="standQuery" style="width: 256px; margin-right: 10px;" placeholder="工站"
|
||||
<el-input v-model="standQuery" style="width: 158px; margin-right: 10px;" placeholder="工站"
|
||||
:suffix-icon="Search" />
|
||||
<el-select-v2 v-model="pickStatusQuery" style="width: 158px; margin-right: 10px;"
|
||||
placeholder="请选择状态" :options="pickStatusOptions" @change="search()"></el-select-v2>
|
||||
<el-button type="primary" @click="search()">搜索</el-button>
|
||||
<el-button type="warning" @click="reset()">重置</el-button>
|
||||
</el-row>
|
||||
|
|
@ -103,6 +105,7 @@ export default {
|
|||
total: 0,
|
||||
vehicleIdQuery: '',
|
||||
standQuery: '',
|
||||
pickStatusQuery: -99,
|
||||
loading: true,
|
||||
dialogVisible: false,
|
||||
pickTaskId: '',
|
||||
|
|
@ -128,6 +131,28 @@ export default {
|
|||
label: '已到达'
|
||||
}
|
||||
],
|
||||
pickStatusOptions: [
|
||||
{
|
||||
value: -99,
|
||||
label: '全部'
|
||||
},
|
||||
{
|
||||
value: -1,
|
||||
label: '暂存'
|
||||
},
|
||||
{
|
||||
value: 0,
|
||||
label: '待下发'
|
||||
},
|
||||
{
|
||||
value: 1,
|
||||
label: '已下发'
|
||||
},
|
||||
{
|
||||
value: 2,
|
||||
label: '已到达'
|
||||
}
|
||||
],
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
|
@ -141,6 +166,7 @@ export default {
|
|||
pageSize: this.pageSize,
|
||||
vehicleId: this.vehicleIdQuery.trim(),
|
||||
standId: this.standQuery.trim(),
|
||||
pickStatus: this.pickStatusQuery == -99 ? null : this.pickStatusQuery,
|
||||
userName: store.getters.getUserName
|
||||
}
|
||||
getPickTasksByPage(request).then(res => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user