| | |
| | | </el-form-item> |
| | | </el-form> |
| | | </el-card> |
| | | <el-row :gutter="0"> |
| | | <el-col :span="18"> |
| | | <div style="height: 490px; overflow: auto"> |
| | | <el-card style="margin-top: 10px" class="box-card"> |
| | | <el-table border v-loading="loading" :data="dataList" v-if="dataList.length > 0"> |
| | | <el-table border v-loading="loading" :data="dataList" height="490" |
| | | style="width: 100%" v-if="dataList.length > 0"> |
| | | <el-table-column type="selection" width="55" align="center" /> |
| | | <el-table-column :show-overflow-tooltip='true' label="工单编号" width="130" align="center"> |
| | | <el-table-column :show-overflow-tooltip='true' label="工单编号" width="130" align="center" prop="orderNo"> |
| | | </el-table-column> |
| | | <el-table-column :show-overflow-tooltip='true' label="产品小系列" width="130" align="center" prop="model"> |
| | | </el-table-column> |
| | | <el-table-column label="SN流水号" width="180" align="center" prop="engineNo"> |
| | | </el-table-column> |
| | | <el-table-column label="状态" width="80" align="center" prop="productionStatus"> |
| | | <template slot-scope="scope"> |
| | | <router-link :to="{path: '/main/route-data/index/', query: {routeCode: scope.row.routeCode,routeId: scope.row.id} }" class="link-type"> |
| | | <span>{{ scope.row.routeCode }}</span> |
| | | </router-link> |
| | | <span v-if="scope.row.whetherOrPrint === '1'">是</span> |
| | | <span v-if="scope.row.whetherOrPrint === '0'">否</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column :show-overflow-tooltip='true' label="产品小系列" width="130" align="center" prop="routeName"> |
| | | </el-table-column> |
| | | <el-table-column label="SN流水号" width="130" align="center" prop="productCode"> |
| | | </el-table-column> |
| | | <el-table-column label="状态" width="160" align="center" prop="productName"> |
| | | </el-table-column> |
| | | <el-table-column label="是否打印" align="center" prop="version"> |
| | | </el-table-column> |
| | | <el-table-column label="打印时间" align="center" prop="status"> |
| | | <el-table-column label="是否打印" align="center" prop="whetherOrPrint"> |
| | | <template slot-scope="scope"> |
| | | <dict-tag :options="dict.type.sys_normal_disable" :value="scope.row.status"/> |
| | | <span v-if="scope.row.whetherOrPrint === '1'">是</span> |
| | | <span v-if="scope.row.whetherOrPrint === '0'">否</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="打印时间" align="center" prop="null"> |
| | | </el-table-column> |
| | | </el-table> |
| | | <el-empty v-else> |
| | |
| | | </el-empty> |
| | | </el-card> |
| | | </div> |
| | | |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-card style="margin-top: 10px; min-height: 490px" class="box-card"> |
| | | |
| | | </el-card> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import {listOrderScheduling} from "@/api/main/bs/orderScheduling/orderScheduling"; |
| | | import VueQr from 'vue-qr' |
| | | export default { |
| | | name: "index", |
| | | dicts: ['sys_normal_disable'], |
| | |
| | | this.queryParams.pageNum = 1; |
| | | this.getList(); |
| | | }, |
| | | getList(){ |
| | | listOrderScheduling(this.queryParams).then(response => { |
| | | console.log("--------------------"+response.rows) |
| | | this.dataList = response.rows |
| | | }); |
| | | }, |
| | | filterTag(value, row) { |
| | | return row.tag === value; |
| | | }, |
| | | filterHandler(value, row, column) { |
| | | const property = column['property']; |
| | | return row[property] === value; |
| | | } |
| | | }, |
| | | mounted() { |
| | | this.getList() |
| | | } |
| | | } |
| | | </script> |