guoyujia il y a 1 an
Parent
commit
46b44c0f7b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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;
     }
   }