| | |
| | | </el-row> |
| | | </el-alert> |
| | | </div> |
| | | <div style="margin-top:10px;width:400px"> |
| | | <!-- <div style="margin-top:10px;width:400px"> |
| | | <el-form ref="form" :model="form" label-width="90px"> |
| | | <el-form-item label="åºåºåºå" prop="areaId"> |
| | | <el-select v-model="form.areaId" placeholder="è¯·éæ©åºåºåºå"> |
| | |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | | </div> --> |
| | | <div class="box-table" style="margin-top: 1%"> |
| | | <el-table ref="singleTable" :data="tableData" style="width: 100%; height: 800px" highlight-current-row |
| | | @row-click="handleRowClick" height="500px" @selection-change="handleSelectionChange"> |
| | |
| | | title: "ç©æåç§°", |
| | | type: "string", |
| | | width: 150, |
| | | |
| | | }, |
| | | { |
| | | prop: "palletCode", |
| | |
| | | }, |
| | | ], |
| | | selection: [], |
| | | ids:[], |
| | | ids: [], |
| | | selectionSum: 0, |
| | | selectionClass: "less-style", |
| | | originalQuantity: 0, |
| | |
| | | } |
| | | this.ids.push(this.row.id); |
| | | var param = { |
| | | "orderIds":this.ids, |
| | | "orderIds": this.ids, |
| | | "stockViews": this.selection, |
| | | "AreaId": this.form.areaId, |
| | | } |
| | |
| | | .post( |
| | | "api/ProductionOutboundOrder/GeneratetProductOutboundTask", |
| | | param, |
| | | "æ°æ®å¤çä¸" |
| | | "æ°æ®å¤çä¸..." |
| | | ) |
| | | .then((x) => { |
| | | if (!x.status) return this.$message.error(x.message); |
| | |
| | | }, |
| | | getData() { |
| | | var param = { |
| | | "materielCode":this.row.materielCode, |
| | | "materielCode": this.row.materielCode, |
| | | "materielName": this.row.materielName, |
| | | "demandClassification": this.row.demandClassification, |
| | | } |
| | | this.http |
| | | .post("api/StockInfo/GetStockSelectViews",param,"æ¥è¯¢ä¸").then((x) => { |
| | | .post("api/StockInfo/GetStockSelectViews", param, "æ¥è¯¢ä¸...").then((x) => { |
| | | this.tableData = x; |
| | | }); |
| | | }, |