value
2023-08-30 e51cc97fbc836b1baabd5c24b1c36865f87baf32
src/views/inspectionManagement/commissionInspection/addCommision.vue
@@ -315,6 +315,7 @@
         this.viewId = this.$route.params.viewId
         this.$store.commit('settings/SAVE_LINK', this.viewId)
         this.getlink(this.$route.params.viewId)
         this.getContractsSampleInfo(this.$route.params.viewId)
      },
      mounted() {
         this.getSampleName()
@@ -336,6 +337,12 @@
                  this.getContractsSampleInfo()
               }
            })
         },
         async getContractsSampleInfo(viewId) {
            let res = await getContractsSampleInfo({
               viewId
            })
            console.log(res.data);
         },
         async getSampleName() {
            const res = await getSampleName()
@@ -442,6 +449,7 @@
            getContractsSampleInfo({
               viewId: this.viewId
            }).then(res => {
               if (res.data == null) return
               this.infoForm = {
                  commisioncode: res.data.entrustCoding,
                  deadline: res.data.completionDeadline,