Browse Source

修改报完

lijuncheng0816
lijuncheng 1 month ago
parent
commit
ac9da76b5b
  1. 13
      src/pages/fg/receiptByPlan.vue

13
src/pages/fg/receiptByPlan.vue

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

Loading…
Cancel
Save