|
@@ -103,35 +103,35 @@
|
|
|
@cell-click="cellClick"
|
|
|
>
|
|
|
<!-- 序号 -->
|
|
|
- <el-table-column :label='$t("common.serialNo")' width="55px" align="center">
|
|
|
+ <el-table-column :label='$t("common.serialNo")' style="width: 3%;" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
<div>
|
|
|
{{scope.$index+(queryParams.current - 1) * queryParams.size + 1}}
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="center" type="selection" width="50" :reserve-selection="true" />
|
|
|
+ <el-table-column align="center" type="selection" style="width: 3%;" :reserve-selection="true" />
|
|
|
<!-- 订单编号 -->
|
|
|
- <el-table-column prop="orderNo" :label='$t("runCenter.table.oder.orderNo")' :show-overflow-tooltip="true" width="180px"></el-table-column>
|
|
|
+ <el-table-column prop="orderNo" :label='$t("runCenter.table.oder.orderNo")' :show-overflow-tooltip="true" style="width: 12%;"></el-table-column>
|
|
|
<!-- 订单名称 -->
|
|
|
- <el-table-column prop="orderName" :label='$t("runCenter.table.oder.orderName")' :show-overflow-tooltip="true" width="180px"></el-table-column>
|
|
|
+ <el-table-column prop="orderName" :label='$t("runCenter.table.oder.orderName")' :show-overflow-tooltip="true" style="width: 12%;"></el-table-column>
|
|
|
<!-- 交货日期 -->
|
|
|
- <el-table-column prop="deliveryTime" :label='$t("runCenter.table.oder.deliveryTime")' :show-overflow-tooltip="true" width="160px"></el-table-column>
|
|
|
+ <el-table-column prop="deliveryTime" :label='$t("runCenter.table.oder.deliveryTime")' :show-overflow-tooltip="true" style="width: 12%;"></el-table-column>
|
|
|
<!-- 来源 -->
|
|
|
- <el-table-column prop="source" :label='$t("runCenter.table.oder.source")' :show-overflow-tooltip="true" width="80px">
|
|
|
+ <el-table-column prop="source" :label='$t("runCenter.table.oder.source")' :show-overflow-tooltip="true" style="width: 8%;">
|
|
|
<template slot-scope="{ row }">
|
|
|
<el-tag v-if="row.source == '1'">{{$t("runCenter.common.source.self")}}</el-tag>
|
|
|
<el-tag v-if="row.source == '2'" type="success">{{$t("runCenter.common.source.out")}}</el-tag>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<!-- 零件 -->
|
|
|
- <el-table-column prop="bomDesc" :label='$t("runCenter.table.oder.bomName")' :show-overflow-tooltip="true" width="100px"></el-table-column>
|
|
|
+ <el-table-column prop="bomDesc" :label='$t("runCenter.table.oder.bomName")' :show-overflow-tooltip="true" style="width: 12%;"></el-table-column>
|
|
|
<!-- 产品代号 -->
|
|
|
- <el-table-column prop="bomAlias" :label='$t("runCenter.table.oder.bomAlias")' :show-overflow-tooltip="true" width="100px"></el-table-column>
|
|
|
+ <el-table-column prop="bomAlias" :label='$t("runCenter.table.oder.bomAlias")' :show-overflow-tooltip="true" style="width: 12%;"></el-table-column>
|
|
|
<!-- 零件交货日期 -->
|
|
|
- <el-table-column prop="pdeliveryTime" :label='$t("runCenter.table.oder.pdeliveryTime")' :show-overflow-tooltip="true" width="160px"></el-table-column>
|
|
|
+ <el-table-column prop="pdeliveryTime" :label='$t("runCenter.table.oder.pdeliveryTime")' :show-overflow-tooltip="true" style="width: 12%;"></el-table-column>
|
|
|
<!-- 计划状态 -->
|
|
|
- <el-table-column prop="planStatus" :label='$t("runCenter.table.plan.pStatus")' :show-overflow-tooltip="true" width="120" align="center">
|
|
|
+ <el-table-column prop="planStatus" :label='$t("runCenter.table.plan.pStatus")' :show-overflow-tooltip="true" style="width: 12%;" align="center">
|
|
|
<template slot-scope="{ row }">
|
|
|
<el-tag v-if="row.planStatus == '0'" type="warning">{{$t("runCenter.common.planStatus.zero")}}</el-tag>
|
|
|
<el-tag v-if="row.planStatus == '1'" type="info">{{$t("runCenter.common.planStatus.one")}}</el-tag>
|
|
@@ -140,7 +140,7 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<!-- 计划进度 -->
|
|
|
- <el-table-column prop="process" :label='$t("runCenter.table.plan.planProgress")' :show-overflow-tooltip="true" width="200">
|
|
|
+ <el-table-column prop="process" :label='$t("runCenter.table.plan.planProgress")' :show-overflow-tooltip="true" style="width: 18%;">
|
|
|
<template slot-scope="scope">
|
|
|
<!--<el-progress v-if="scope.row.jindu <= 25" :text-inside="true" :stroke-width="24" :percentage="scope.row.jindu" status="exception"></el-progress>
|
|
|
<el-progress v-if="scope.row.jindu > 25 && scope.row.jindu <= 50" :text-inside="true" :stroke-width="24" :percentage="scope.row.jindu" status="warning"></el-progress>-->
|
|
@@ -149,7 +149,7 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<!-- 排产 -->
|
|
|
- <el-table-column prop="schedulingStatus" :label='$t("runCenter.table.plan.schedulingStatus")' :show-overflow-tooltip="true" width="120" align="center">
|
|
|
+ <el-table-column prop="schedulingStatus" :label='$t("runCenter.table.plan.schedulingStatus")' :show-overflow-tooltip="true" style="width: 12%;" align="center">
|
|
|
<template slot-scope="{ row }">
|
|
|
<el-tag v-if="row.schedulingStatus == '0'" type="info">待排产</el-tag>
|
|
|
<el-tag v-if="row.schedulingStatus == '1'" type="success">已排产</el-tag>
|
|
@@ -159,7 +159,7 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<!-- 生产 -->
|
|
|
- <el-table-column prop="produceStatus" :label='$t("runCenter.table.plan.produceStatus")' :show-overflow-tooltip="true" width="120" align="center">
|
|
|
+ <el-table-column prop="produceStatus" :label='$t("runCenter.table.plan.produceStatus")' :show-overflow-tooltip="true" style="width: 12%;" align="center">
|
|
|
<template slot-scope="{ row }">
|
|
|
<el-tag v-if="row.produceStatus == '3'" type="warning">{{$t("runCenter.common.produceStatus.panse")}}</el-tag>
|
|
|
<el-tag v-if="row.produceStatus == '1'" type="info">{{$t("runCenter.common.produceStatus.noStart")}}</el-tag>
|
|
@@ -168,24 +168,24 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<!-- 优先级 -->
|
|
|
- <el-table-column prop="prority" :label='$t("runCenter.table.plan.priority")' :show-overflow-tooltip="true" width="120"></el-table-column>
|
|
|
+ <el-table-column prop="prority" :label='$t("runCenter.table.plan.priority")' :show-overflow-tooltip="true" style="width: 12%;"></el-table-column>
|
|
|
<!-- 零件总数 -->
|
|
|
- <el-table-column prop="planBomNum" :label='$t("runCenter.table.oder.planAllNum")' :show-overflow-tooltip="true" width="80px">
|
|
|
+ <el-table-column prop="planBomNum" :label='$t("runCenter.table.oder.planAllNum")' :show-overflow-tooltip="true" style="width: 8%;">
|
|
|
<!--<template slot-scope="scope">
|
|
|
<div class="pointerCls" @click="view(scope.row)">{{ scope.row.planBomNum }}</div>
|
|
|
</template>-->
|
|
|
</el-table-column>
|
|
|
<!-- 不合格数量 -->
|
|
|
- <el-table-column prop="unqualifiedBomNum" :label='$t("runCenter.table.oder.buhegeNum")' :show-overflow-tooltip="true" width="100px"></el-table-column>
|
|
|
+ <el-table-column prop="unqualifiedBomNum" :label='$t("runCenter.table.oder.buhegeNum")' :show-overflow-tooltip="true" style="width: 12%;"></el-table-column>
|
|
|
<!-- 已完成(数量) -->
|
|
|
- <el-table-column prop="completeNum" :label='$t("runCenter.table.oder.completeNum")' :show-overflow-tooltip="true" width="80px"></el-table-column>
|
|
|
+ <el-table-column prop="completeNum" :label='$t("runCenter.table.oder.completeNum")' :show-overflow-tooltip="true" style="width: 8%;"></el-table-column>
|
|
|
<!-- 操作 -->
|
|
|
<el-table-column
|
|
|
:label="$t('table.operation')"
|
|
|
fixed="right"
|
|
|
align="center"
|
|
|
column-key="operation"
|
|
|
- width="170px"
|
|
|
+ width="200px"
|
|
|
>
|
|
|
<template slot-scope="{ row }">
|
|
|
<!-- 生产详情-->
|