diff --git a/src/pages/mes/workScheduling/inspectionItems.vue b/src/pages/mes/workScheduling/inspectionItems.vue index 81a524f..00b5241 100644 --- a/src/pages/mes/workScheduling/inspectionItems.vue +++ b/src/pages/mes/workScheduling/inspectionItems.vue @@ -188,13 +188,15 @@ onLoad((option) => { completeInspectStatus.value = false } } - //获取质检模板单号 workSchedulingListApi.getCompleteInspectionMark("complete_inspect").then((res) => { quaifyFormNo.value = res.data.remark + getList() + console.log("11111",res.data) }).catch(() => { proxy.$modal.closeLoading() }) + }) //刷新页面 @@ -217,13 +219,16 @@ onLoad((option) => { // } onShow(() => { + +}) +function getList(){ list.value = [] workSchedulingListApi.getQualityformInfo(quaifyFormNo.value).then((res) => { list.value = list.value.concat(res.data.itemCode.split(',')) }).catch(() => { proxy.$modal.closeLoading() }) -}) +}