Commit 31e5f66b by 李伟康

commit 修复批次显示问题

1 parent 4b3805dd
......@@ -31,7 +31,7 @@
</div>
<div class="info-item flex">
<label>接待批次/批:</label>
<span>{{ queryData.batchNum }}</span>
<span>{{ batchNum }}</span>
</div>
</div>
</div>
......@@ -225,7 +225,8 @@ export default {
confLabel: '未知'
}
]
}
},
batchNum: null
}
},
components: {
......@@ -234,6 +235,14 @@ export default {
mounted () {
this.setQuery()
this.getOptionsList()
let timer = setInterval(() => {
if (timer && this.batchNum != null) {
clearInterval(timer)
timer = null
return
}
this.batchNum = deepClone(this.$refs.recepDetail.total)
}, 1e3)
},
methods: {
setQuery () {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!