李林
2024-03-22 4944f8d2aec1ebd5eb18afa7b500c0c27edbbade
src/components/do/b1-inspect-order-plan/Inspection.vue
@@ -140,7 +140,9 @@
               state: null
            },
        productList:[],
            id: 0
            id: 0,
            insOrder: {},
            sampleProduct: []
         }
      },
      created() {
@@ -148,6 +150,16 @@
      },
      mounted() {
         
      },
      watch:{
         id(val){
            this.$axios.post(this.$api.insOrderPlan.doInsOrder,{
               id: val
            }).then(res=>{
               this.insOrder = res.data.insOrder
               this.sampleProduct = res.data.sampleProduct
            })
         }
      },
      methods: {
      handleChangeSample(row){
@@ -157,7 +169,7 @@
      handleChangeTask(row){
        console.log(222222222,row)
        this.taskVisible = false;
      }
      },
      }
   }
</script>