diff --git a/src/pages/fg/receiptByPlan.vue b/src/pages/fg/receiptByPlan.vue index abb35529..7548197a 100644 --- a/src/pages/fg/receiptByPlan.vue +++ b/src/pages/fg/receiptByPlan.vue @@ -132,6 +132,7 @@ import { Exception } from 'sass'; +import { nextTick } from 'vue'; export default { components: { @@ -352,9 +353,13 @@ throw new Error("未查找到单据信息") } uni.hideLoading() - this.showCommitSuccessMessage("提交成功
生成装配收货记录
" + list[0].requestNumber, list) this.showList = []; this.dataContent.handleQty = 0; + nextTick(()=>{ + this.showCommitSuccessMessage("提交成功
生成装配收货记录
" + list[0].requestNumber, list) + }) + + } catch (error) { uni.hideLoading() var hint = error.message ? error.message : error