guoyujia 1 년 전
부모
커밋
46b44c0f7b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/business/productionBatch/computedMaterialForm.vue

+ 1 - 1
src/views/business/productionBatch/computedMaterialForm.vue

@@ -95,7 +95,7 @@ function open(data) {
   console.log(detailInfo.value)
   getProductionLotAmount({lotno:detailInfo.value.productionPlanNo,lotseq:detailInfo.value.lineNumber}).then(res =>{
     if(res.code == 200) {
-      form.value.peqty = res.data.peqty
+      form.value.peqty = res.data[0].peqty
        visible.value = true;
     }
   }