Commit a95fc50c authored by hubaoshan's avatar hubaoshan

wcp

parent 04f4148f
......@@ -52,7 +52,7 @@
</div>
</el-form>
</div>
<el-dialog class="pd" :title="title" :visible.sync="open" width="100%" append-to-body>
<el-dialog class="pd" :title="title" :visible.sync="open" width="100%" append-to-body @close="handleDialogClose">
<el-table v-loading="loading" border :data="queryPd.PdList" :row-class-name="rowClassName">
<el-table-column type="index" label="序号" width="55" align="center" />
<el-table-column v-if="false" label="orderId" prop="orderId" :show-overflow-tooltip="true">
......@@ -87,7 +87,7 @@
@pagination="handleView"
/>
</el-dialog>
<el-dialog class="pdDel" :title="title" :visible.sync="openDel" width="1300px" append-to-body>
<el-dialog class="pdDel" :title="title" :visible.sync="openDel" width="1300px" append-to-body @close="handleDialogClose">
<div class="top">
<div class="oneButtion">
<el-button
......@@ -206,6 +206,7 @@
title="选择人员"
:visible.sync="dialogVisible"
width="500px"
@close="handleDialogClose"
>
<div class="button-container">
<el-button
......@@ -293,6 +294,7 @@ export default {
this.getList()
this.getPallet()
this.getInfo()
this.move()
},
mounted() {
},
......@@ -489,6 +491,11 @@ export default {
})
},
handleEnd() {
if (this.queryForm.totalCount === this.queryForm.endCount) {
this.$message({ message: '盘点已完成', type: 'info' })
this.queryForm.value = ''
return
}
this.values = this.queryForm.value
const values = this.queryForm.value.split('-')
const obj = {
......@@ -505,6 +512,7 @@ export default {
this.queryForm.value = ''
this.getList()
this.valuePd = 'bacc-red'
this.move()
},
deletePd() {
const queryParams = {
......@@ -529,6 +537,7 @@ export default {
this.openDel = false
this.queryPdDel.PdDelList = []
this.resetList()
this.move()
})
this.handleDel()
},
......@@ -539,6 +548,14 @@ export default {
this.pallet = value
this.dialogVisible = false
},
handleDialogClose() {
this.$nextTick(() => {
const item = this.$refs.input1
if (item) {
item.focus()
}
})
}
}
}
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment