| | |
| | | </el-table> |
| | | </div> |
| | | <template #footer> |
| | | <el-button type="primary" size="small" @click="outbound">鐩存帴鍑哄簱</el-button> |
| | | <el-button type="primary" size="small" @click="lockStock">閿佸畾搴撳瓨</el-button> |
| | | <el-button type="primary" size="small" @click="outbound" |
| | | >鐩存帴鍑哄簱</el-button |
| | | > |
| | | <el-button type="primary" size="small" @click="lockStock" |
| | | >閿佸畾搴撳瓨</el-button |
| | | > |
| | | <el-button type="danger" size="small" @click="showDetialBox = false" |
| | | >鍏抽棴</el-button |
| | | > |
| | |
| | | this.originalQuantity = this.row.lockQuantity; |
| | | this.selectionSum = this.row.lockQuantity; |
| | | this.getData(); |
| | | if (this.selectionSum == this.row.orderQuantity) { |
| | | this.selectionClass = "equle-style"; |
| | | } else if (this.selectionSum < this.row.orderQuantity) { |
| | | this.selectionClass = "less-style"; |
| | | } else { |
| | | this.selectionClass = "more-style"; |
| | | } |
| | | }, |
| | | lockStock() { |
| | | this.http |
| | |
| | | }); |
| | | }); |
| | | }, |
| | | outbound(){ |
| | | outbound() { |
| | | this.http |
| | | .post( |
| | | "api/Task/GenerateOutboundTask?id=" + this.row.id, |