一,四,五楼仓储和生产的看板

master
maxw@mesnac.com 2 months ago
parent e2cac6db14
commit ee2081f8b9

@ -106,9 +106,9 @@
</template> </template>
</el-table-column> </el-table-column>
<!-- <el-table-column label="保养状态1-待保养2-保养中3-已完成" align="center" prop="maintStatus" />--> <!-- <el-table-column label="保养状态1-待保养2-保养中3-已完成" align="center" prop="maintStatus" />-->
<el-table-column label="保养状态" align="center" prop="inspectStatus" > <el-table-column label="保养状态" align="center" prop="maintStatus" >
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag :options="dict.type.dms_maint_status" :value="scope.row.maintStatus"/> <dict-tag :options="dict.type.dms_maint_status" :value="scope.row.maintStatus-1"/>
</template> </template>
</el-table-column> </el-table-column>
<!-- <el-table-column label="保养完成率" align="center" prop="maintCompRate" />--> <!-- <el-table-column label="保养完成率" align="center" prop="maintCompRate" />-->

@ -341,9 +341,9 @@ export default {
// console.log(response.rows[0]) // console.log(response.rows[0])
// console.log(this.planMaintDetail) // console.log(this.planMaintDetail)
// console.log("==================================--------------------------==============================") // console.log("==================================--------------------------==============================")
for (let i = 0; i < this.dict.type.dms_maint_status.length;i++){ for (let i = 1; i < this.dict.type.dms_maint_status.length+1;i++){
if (this.dmsBillsMaintInstanceList[0].maintStatus==i){ if (this.dmsBillsMaintInstanceList[0].maintStatus==i){
this.billsStatusCheck = this.dict.type.dms_maint_status[i].label; this.billsStatusCheck = this.dict.type.dms_maint_status[i-1].label;
} }
} }
// for (let j = 0; j < this.dict.type.dms_instance_type.length;j++){ // for (let j = 0; j < this.dict.type.dms_instance_type.length;j++){

Loading…
Cancel
Save