李林
2024-03-20 f8626cd1e16b4a3986bdaf2fc85afc478caa199e
src/components/do/b1-ins-order/add.vue
@@ -988,8 +988,7 @@
               this.units = res.data
            })
         },
         methodChange(val) {
            this.$refs.sampleTable.doLayout()
         methodChange(val, row) {
            this.getProductLoad = true
            this.$axios.post(this.$api.standardTree.selectStandardProductList, {
               model: this.addObj.model,
@@ -1002,14 +1001,7 @@
               res.data.forEach(a => {
                  a.state = 1
               })
               this.sampleIds.forEach(a => {
                  for (var b in this.sampleList) {
                     if (this.sampleList[b].id == a) {
                        this.sampleList[b].standardMethodListId = val
                        this.sampleList[b].insProduct = this.HaveJson(res.data)
                     }
                  }
               })
               row.insProduct = this.HaveJson(res.data)
               this.getProductLoad = false
               this.productList = []
               this.$refs.sampleTable.setCurrentRow()