Commit ea67cb62 by 李伟康

commit 修复批次显示问题

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