| | |
| | | <div class="app-container"> |
| | | <!-- 搜索表单 --> |
| | | <el-form :inline="true" :model="queryParams" class="search-form"> |
| | | <el-form-item label="搜索"> |
| | | <el-input |
| | | v-model="queryParams.searchAll" |
| | | placeholder="请输入关键词" |
| | | clearable |
| | | /> |
| | | <el-form-item label="状态"> |
| | | <el-select style="width: 200px;" clearable v-model="queryParams.searchAll" placeholder="请选择状态"> |
| | | <el-option label="待排产" value="1"></el-option> |
| | | <el-option label="排产中" value="2"></el-option> |
| | | <el-option label="已排产" value="3"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button type="primary" @click="handleSearch">查询</el-button> |
| | |
| | | } |
| | | }, |
| | | { prop: "producer", label: "生产人", minWidth: 150 }, |
| | | { prop: "productionQuantity", label: "生产数量", minWidth: 120 }, |
| | | { prop: "productionQuantity", label: "排产数量", minWidth: 120 }, |
| | | { prop: "pendingQuantity", label: "已排产数量", minWidth: 120, |
| | | formatter: (row) => { |
| | | return row.pendingQuantity || '0'; |
| | | } |
| | | }, |
| | | { prop: "laborCost", label: "人工成本", minWidth: 150 }, |
| | | { prop: "energyConsumptionCost", label: "能耗成本", minWidth: 120 }, |
| | | { prop: "equipmentDepreciation", label: "设备折旧", minWidth: 143 }, |