李林
2024-03-20 f8626cd1e16b4a3986bdaf2fc85afc478caa199e
功能调整
已修改1个文件
12 ■■■■ 文件已修改
src/components/do/b1-ins-order/add.vue 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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()