Commit ea67cb62 by 李伟康

commit 修复批次显示问题

1 parent afeb4e1e
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
</div> </div>
<div class="info-item flex"> <div class="info-item flex">
<label>接待批次/批:</label> <label>接待批次/批:</label>
<span>{{ queryData.batchNum }}</span> <span>{{ batchNum }}</span>
</div> </div>
</div> </div>
</div> </div>
...@@ -245,7 +245,8 @@ export default { ...@@ -245,7 +245,8 @@ export default {
] ]
}, },
qualityDetailList: [], qualityDetailList: [],
currentNum: 0 currentNum: 0,
batchNum: null
} }
}, },
components: { components: {
...@@ -254,6 +255,14 @@ export default { ...@@ -254,6 +255,14 @@ export default {
}, },
mounted () { mounted () {
this.getOptionsList() this.getOptionsList()
let timer = setInterval(() => {
if (timer && this.batchNum != null) {
clearInterval(timer)
timer = null
return
}
this.batchNum = deepClone(this.$refs.recepDetail.total)
}, 1e3)
}, },
methods: { methods: {
toMinutesAndSeconds (seconds) { toMinutesAndSeconds (seconds) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!