ysy 2 роки тому
батько
коміт
cea36d280b

+ 5 - 1
src/views/technology/productParam/components/process.vue

@@ -233,7 +233,7 @@ export default {
     /*配置工艺参数 */
     openSetting(row) {
       this.current = row;
-      this.$refs.paramRefs.open(this.tableData, this.current)
+      this.$refs.paramRefs.open(row.produceList, this.current)
     },
 
     /* 表格数据源 */
@@ -253,6 +253,7 @@ export default {
     },
 
     chooseModal(data, current) {
+   
       data.map((m => {
         m.parentId = current.id
         return {
@@ -262,10 +263,13 @@ export default {
 
       let tableList = []
       tableList = this.$refs.table.getData()
+      console.log(tableList)
 
       tableList.forEach(e => {
         if (e.id == current.id) {
+          console.log(e)
           e.produceList = data
+        
         }
       })
 

+ 0 - 1
src/views/technology/productParam/components/user-edit.vue

@@ -359,7 +359,6 @@ export default {
 
 
     chooseModal(data) {
-      console.log(data)
       let arr = deepClone(data)
       this.$refs.table.setData([...arr, ...this.$refs.table.getData()]);
     },