From f196c2c4e8b1a8c7171703fd37ea22f92d33dcb4 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Fri, 2 Aug 2024 09:25:23 +0800 Subject: [PATCH] =?UTF-8?q?PDA=E9=A2=84=E7=94=9F=E4=BA=A7=E6=8A=A5?= =?UTF-8?q?=E5=B7=A5=E5=92=8C=E8=A3=85=E9=85=8D=E6=8A=A5=E5=B7=A5=E6=89=AB?= =?UTF-8?q?=E6=8F=8F=E7=AE=B1=E7=A0=81=E7=BC=96=E8=BE=91=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=8C=85=E8=A3=85=E4=B8=AA=E6=95=B0=E4=B8=8D=E6=AD=A3=E7=A1=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mycomponents/qty/recommendQtyEdit.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mycomponents/qty/recommendQtyEdit.vue b/src/mycomponents/qty/recommendQtyEdit.vue index ef5ce407..db2ad1e1 100644 --- a/src/mycomponents/qty/recommendQtyEdit.vue +++ b/src/mycomponents/qty/recommendQtyEdit.vue @@ -62,6 +62,7 @@ import uom from '@/mycomponents/qty/uom.vue' import stdUom from '@/mycomponents/qty/stdUom.vue' import packUnit from '@/mycomponents/qty/packUnit.vue' +import { nextTick } from 'vue'; export default { components: { uom, @@ -136,8 +137,12 @@ this.recommendQty = Number(recommendQty); this.labelQty = Number(labelQty); this.allQty = Number(handleQty) + // this.dataContent = item + // console.log(333,this.allQty) + // console.log(222,this.dataContent.packQty) setTimeout(res => { this.$refs.popup.open('bottom') + this.stdCount = Math.ceil(this.allQty / this.dataContent.packQty); }, 500) }, openRecordEditPopup(labelQty) {