| | |
| | | showDetialBox: false, |
| | | tableData: [], |
| | | tableColumns: [ |
| | | { |
| | | prop: "materielCode", |
| | | title: "ç©æç¼å·", |
| | | type: "string", |
| | | width: 150, |
| | | }, |
| | | { |
| | | prop: "materielName", |
| | | title: "ç©æåç§°", |
| | | type: "string", |
| | | width: 150, |
| | | }, |
| | | // { |
| | | // prop: "materielCode", |
| | | // title: "ç©æç¼å·", |
| | | // type: "string", |
| | | // width: 150, |
| | | // }, |
| | | // { |
| | | // prop: "materielName", |
| | | // title: "ç©æåç§°", |
| | | // type: "string", |
| | | // width: 150, |
| | | // }, |
| | | { |
| | | prop: "palletCode", |
| | | title: "æçç¼å·", |
| | | type: "string", |
| | | width: 280, |
| | | }, |
| | | { |
| | | prop: "orderNo", |
| | | title: "æ¹æ¬¡å·", |
| | | type: "string", |
| | | width: 150, |
| | | }, |
| | | { |
| | | prop: "batchNo", |
| | | title: "æ¹æ¬¡å·", |
| | | title: "æå·", |
| | | type: "string", |
| | | width: 150, |
| | | }, |
| | |
| | | if (this.selection.length <= 0) { |
| | | return this.$message.error("è¯·éæ©æå®åºå"); |
| | | } |
| | | if (this.selectionSum > this.row.orderQuantity) { |
| | | return this.$message.error("已鿰éä¸è½è¶
è¿éæ±æ°é"); |
| | | } |
| | | this.http |
| | | .post( |
| | | "api/Task/GenerateOutboundTask?id=" + this.row.id, |