fix: 10车间mlog编辑
This commit is contained in:
		
							parent
							
								
									6cb3e526aa
								
							
						
					
					
						commit
						4855ab4028
					
				|  | @ -458,20 +458,20 @@ export default { | ||||||
|             }); |             }); | ||||||
|         }, |         }, | ||||||
|         table_edit(row) { |         table_edit(row) { | ||||||
|             let arr = []; |             // let arr = []; | ||||||
|             let mlogb = row.mlogb; |             // let mlogb = row.mlogb; | ||||||
|             this.brothersListorigin.forEach(item => { |             // this.brothersListorigin.forEach(item => { | ||||||
|                 let obj = {}; |             //     let obj = {}; | ||||||
|                 obj.count_ok = null; |             //     obj.count_ok = null; | ||||||
|                 obj.material_out = item; |             //     obj.material_out = item; | ||||||
|                 for (let i = 0; i < mlogb.length; i++) { |             //     for (let i = 0; i < mlogb.length; i++) { | ||||||
|                     if (mlogb[i].material_out == item) { |             //         if (mlogb[i].material_out == item) { | ||||||
|                         obj.count_ok = mlogb[i].count_ok; |             //             obj.count_ok = mlogb[i].count_ok; | ||||||
|                     } |             //         } | ||||||
|                 } |             //     } | ||||||
|                 arr.push(obj) |             //     arr.push(obj) | ||||||
|             }) |             // }) | ||||||
|             this.brothersList = arr; |             // this.brothersList = arr; | ||||||
|             this.dialogSave = true; |             this.dialogSave = true; | ||||||
|             this.$nextTick(() => { |             this.$nextTick(() => { | ||||||
|                 this.$refs.saveDialog.open("edit").setData(row); |                 this.$refs.saveDialog.open("edit").setData(row); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue