| | |
| | | searchBox: 'hide', |
| | | pick:'hide', |
| | | matnr:'', |
| | | matList:[{}], |
| | | matList:[], |
| | | result: '', |
| | | enableQty:'', |
| | | count:'', |
| | |
| | | } |
| | | if (add) { |
| | | if(mat.batch === '' || mat.batch === null) { |
| | | mat.batch = today |
| | | // 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 |
| | | this.cstmr = this.matList[index].cstmr |
| | | this.rowNum = index |
| | | this.eject() |
| | | }, |
| | |
| | | this.matList[this.rowNum].anfme = this.count |
| | | this.matList[this.rowNum].batch = this.batch |
| | | this.matList[this.rowNum].memo = this.memo |
| | | this.matList[this.rowNum].cstmr = this.cstmr |
| | | this.$refs.revise.close() |
| | | this.$forceUpdate() // 强制刷新 |
| | | }, |
| | |
| | | background-color: #ebebeb; |
| | | } |
| | | .data-list { |
| | | border-bottom: 1px solid #d8d8d8; |
| | | height: 250rpx; |
| | | min-height: 250rpx; |
| | | margin: 15rpx; |
| | | border-radius: 20rpx; |
| | | display: flex; |
| | | } |
| | | .data-list:first-child { |
| | | margin-top: 20rpx; |
| | | } |
| | | .data-list:last-child { |
| | | margin-bottom: 120rpx; |
| | | margin-bottom: 180rpx; |
| | | } |
| | | /* .data-list-left { |
| | | display: inline-block; |
| | |
| | | line-height: 180rpx; |
| | | } */ |
| | | .data-list-left { |
| | | display: inline-block; |
| | | float: left; |
| | | margin-left: 6%; |
| | | height: 180rpx; |
| | | color: #676767; |
| | | max-width: 450rpx; |
| | | } |
| | | .matnr { |
| | | padding-top: 10rpx; |
| | | } |
| | | .data-list-right { |
| | | display: inline-block; |
| | | float: right; |
| | | height: 250rpx; |
| | | line-height: 250rpx; |
| | | } |
| | | /* display: inline-block; |
| | | float: right; |
| | | width: 200rpx; |
| | | height: 180rpx; |
| | | line-height: 180rpx; */ |
| | | .data-list-right label { |
| | | display: inline-block; |
| | | float: left; |
| | | width: 80rpx; |
| | | height: 180rpx; |
| | | width: 200rpx; |
| | | display: flex; |
| | | justify-content: space-around; |
| | | align-items: center; |
| | | } |
| | | </style> |