Commit a95fc50c authored by hubaoshan's avatar hubaoshan

wcp

parent 04f4148f
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
</div> </div>
</el-form> </el-form>
</div> </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 v-loading="loading" border :data="queryPd.PdList" :row-class-name="rowClassName">
<el-table-column type="index" label="序号" width="55" align="center" /> <el-table-column type="index" label="序号" width="55" align="center" />
<el-table-column v-if="false" label="orderId" prop="orderId" :show-overflow-tooltip="true"> <el-table-column v-if="false" label="orderId" prop="orderId" :show-overflow-tooltip="true">
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
@pagination="handleView" @pagination="handleView"
/> />
</el-dialog> </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="top">
<div class="oneButtion"> <div class="oneButtion">
<el-button <el-button
...@@ -206,6 +206,7 @@ ...@@ -206,6 +206,7 @@
title="选择人员" title="选择人员"
:visible.sync="dialogVisible" :visible.sync="dialogVisible"
width="500px" width="500px"
@close="handleDialogClose"
> >
<div class="button-container"> <div class="button-container">
<el-button <el-button
...@@ -293,6 +294,7 @@ export default { ...@@ -293,6 +294,7 @@ export default {
this.getList() this.getList()
this.getPallet() this.getPallet()
this.getInfo() this.getInfo()
this.move()
}, },
mounted() { mounted() {
}, },
...@@ -489,6 +491,11 @@ export default { ...@@ -489,6 +491,11 @@ export default {
}) })
}, },
handleEnd() { handleEnd() {
if (this.queryForm.totalCount === this.queryForm.endCount) {
this.$message({ message: '盘点已完成', type: 'info' })
this.queryForm.value = ''
return
}
this.values = this.queryForm.value this.values = this.queryForm.value
const values = this.queryForm.value.split('-') const values = this.queryForm.value.split('-')
const obj = { const obj = {
...@@ -505,6 +512,7 @@ export default { ...@@ -505,6 +512,7 @@ export default {
this.queryForm.value = '' this.queryForm.value = ''
this.getList() this.getList()
this.valuePd = 'bacc-red' this.valuePd = 'bacc-red'
this.move()
}, },
deletePd() { deletePd() {
const queryParams = { const queryParams = {
...@@ -529,6 +537,7 @@ export default { ...@@ -529,6 +537,7 @@ export default {
this.openDel = false this.openDel = false
this.queryPdDel.PdDelList = [] this.queryPdDel.PdDelList = []
this.resetList() this.resetList()
this.move()
}) })
this.handleDel() this.handleDel()
}, },
...@@ -539,6 +548,14 @@ export default { ...@@ -539,6 +548,14 @@ export default {
this.pallet = value this.pallet = value
this.dialogVisible = false this.dialogVisible = false
}, },
handleDialogClose() {
this.$nextTick(() => {
const item = this.$refs.input1
if (item) {
item.focus()
}
})
}
} }
} }
</script> </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