| | |
| | | } |
| | | } |
| | | if (add) { |
| | | console.log(mat); |
| | | if(mat.batch == '') { |
| | | if(mat.batch === '' || mat.batch === null) { |
| | | mat.batch = today |
| | | } |
| | | this.matList.unshift(mat) |
| | |
| | | this.count = this.matList[index].anfme |
| | | this.batch = this.matList[index].batch |
| | | this.memo = this.matList[index].memo |
| | | // var maxCount = this.matList[index].maxCount |
| | | // if (maxCount == undefined ) { |
| | | // this.matList[index]["maxCount"] = item.enableQty |
| | | // } |
| | | // this.enableQty = item.enableQty |
| | | // this.count = this.minCount |
| | | // this.maxCount = item.maxCount |
| | | this.rowNum = index |
| | | this.eject() |
| | | }, |