From 5bb2991e6d59adc9be9612171434c4ed696698b7 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期一, 13 五月 2024 16:24:21 +0800 Subject: [PATCH] 解决检验下单bug --- src/components/do/b1-ins-order/add.vue | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/components/do/b1-ins-order/add.vue b/src/components/do/b1-ins-order/add.vue index 8967cea..75adee2 100644 --- a/src/components/do/b1-ins-order/add.vue +++ b/src/components/do/b1-ins-order/add.vue @@ -667,6 +667,10 @@ this.addObj.sampleNum = this.sampleList.length this.$nextTick(() => { this.$refs.sampleTable.doLayout() + if(this.addObj.sampleNum>0){ + this.$refs.sampleTable.setCurrentRow(this.sampleList[0],true) + this.rowClick(this.sampleList[0]) + } }) }) } -- Gitblit v1.9.3