diff --git a/src/pages/fg/receiptByPlan.vue b/src/pages/fg/receiptByPlan.vue index a64fb88e..74c31bcc 100644 --- a/src/pages/fg/receiptByPlan.vue +++ b/src/pages/fg/receiptByPlan.vue @@ -347,15 +347,15 @@ import { nextTick } from 'vue'; this.dataContent.goodQty = planeInfo.data.list[0].goodQty this.dataContent.noGoodQty = calc.sub(planeInfo.data.list[0].planQty, planeInfo.data.list[ 0].goodQty), - this.dataContent.subList = [] + this.dataContent.subList = [] this.showList = []; this.allList = [] this.index = 1 } - - } else { - throw new Error("未查找到单据信息") - } + } + // else { + // throw new Error("未查找到单据信息") + // } uni.hideLoading() if(isAllSubmit){ this.clearData() @@ -366,13 +366,10 @@ import { nextTick } from 'vue'; this.dataContent.handleQty = 0; } - - nextTick(()=>{ this.showCommitSuccessMessage("提交成功\n生成装配收货记录\n" + list[0].requestNumber, list) }) - } catch (error) { uni.hideLoading() var hint = error.message ? error.message : error