| | |
| | | <el-table-column label="含税总价(元)" prop="taxInclusiveTotalPrice" width="150"></el-table-column> |
| | | <el-table-column fixed="right" label="操作" min-width="60" align="center"> |
| | | <template #default="scope"> |
| | | <el-button link type="primary" size="small" @click="openForm(scope.row);">领用</el-button> |
| | | <el-button link type="primary" size="small" @click="openForm(scope.row);">发料</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | <el-table-column label="剩余库存" prop="inboundNum0" width="90" show-overflow-tooltip /> |
| | | <el-table-column fixed="right" label="操作" width="100" align="center"> |
| | | <template #default="scope"> |
| | | <el-button link type="primary" size="small" @click="openForm(scope.row);">领用</el-button> |
| | | <el-button link type="primary" size="small" @click="openForm(scope.row);">发料</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | width: 120, |
| | | }, |
| | | { |
| | | label: "状态", |
| | | prop: "status", |
| | | dataType: "tag", |
| | | formatType: (params) => { |
| | | if (params == '生产中') { |
| | | return "warning"; |
| | | } else if (params == '未开始') { |
| | | return "danger"; |
| | | } else { |
| | | return "success"; |
| | | } |
| | | }, |
| | | }, |
| | | { |
| | | label: "生产进度", |
| | | prop: "progress", |
| | | formatData: (cellValue) => { |
| | |
| | | // width:300 |
| | | // }, |
| | | { |
| | | label: "付款状态", |
| | | label: "生产状态", |
| | | prop: "status", |
| | | dataType: "tag", |
| | | formatType: (params) => { |
| | | if (params == '未完成') { |
| | | if (params == '生产中') { |
| | | return "warning"; |
| | | } else if (params == '未开始') { |
| | | return "danger"; |
| | | } else if (params == '已完成') { |
| | | return "success"; |
| | | } else { |
| | | return null; |
| | | return "success"; |
| | | } |
| | | }, |
| | | }, |