Commit 00d6f25f by huangqy

11

parent 153e09b0
...@@ -1696,7 +1696,7 @@ ...@@ -1696,7 +1696,7 @@
<el-button @click="ruku" v-if="workTypeName == '入库'">入库</el-button> <el-button @click="ruku" v-if="workTypeName == '入库'">入库</el-button>
<el-button @click="chuku" v-if="workTypeName == '出库'">出库</el-button> <el-button @click="chuku" v-if="workTypeName == '出库'">出库</el-button>
<el-button @click="fuwei">复位</el-button> <el-button @click="fuwei">复位</el-button>
<el-button @click="alertWin">完成</el-button> <el-button @click="alertWin" v-show="showSubmit">完成</el-button>
</div> </div>
</el-card> </el-card>
...@@ -1731,7 +1731,8 @@ export default { ...@@ -1731,7 +1731,8 @@ export default {
move3: false, move3: false,
goodsLan3: false, goodsLan3: false,
workTypeName: '', workTypeName: '',
workId: '' workId: '',
showSubmit: false
} }
}, },
...@@ -1758,6 +1759,7 @@ export default { ...@@ -1758,6 +1759,7 @@ export default {
}, 9000) }, 9000)
setTimeout(() => { setTimeout(() => {
this.showGoods = true this.showGoods = true
this.showSubmit = true
// let url = '/work/makeFinish' // let url = '/work/makeFinish'
// var params = { // var params = {
// workId: this.workId // workId: this.workId
...@@ -1789,6 +1791,7 @@ export default { ...@@ -1789,6 +1791,7 @@ export default {
}, 16000) }, 16000)
setTimeout(() => { setTimeout(() => {
this.showGoods = false this.showGoods = false
this.showSubmit = true
// let url = '/work/makeFinish' // let url = '/work/makeFinish'
// var params = { // var params = {
// workId: this.workId // workId: this.workId
...@@ -1800,7 +1803,6 @@ export default { ...@@ -1800,7 +1803,6 @@ export default {
const { data: res } = await this.$axios.get('/work/makeFinish?workId=' +this.workId) const { data: res } = await this.$axios.get('/work/makeFinish?workId=' +this.workId)
if (res.code === 99200) { if (res.code === 99200) {
this.$message.success(res.message) this.$message.success(res.message)
} else { } else {
this.$message.error(res.message) this.$message.error(res.message)
} }
...@@ -1813,12 +1815,13 @@ export default { ...@@ -1813,12 +1815,13 @@ export default {
this.lanMoveY = false this.lanMoveY = false
this.lanMoveZ= false this.lanMoveZ= false
this.moveC = false this.moveC = false
this.move1 = false this.move1 = false
this.goodsLan = false this.goodsLan = false
this.move3 = false this.move3 = false
this.goodsLan3 = false this.goodsLan3 = false
this.showSubmit = false
} }
}, },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论