|
|
@@ -237,21 +237,20 @@
|
|
|
width="84px"
|
|
|
:show-overflow-tooltip="true"
|
|
|
>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- sortable
|
|
|
- prop="tag"
|
|
|
- label="应急标识"
|
|
|
- align="center"
|
|
|
- fixed="left"
|
|
|
- width="88px"
|
|
|
- :show-overflow-tooltip="true"
|
|
|
- >
|
|
|
- <template slot-scope="scope">
|
|
|
- <span
|
|
|
- :style="{color: nameObj.tag.obj[scope.row.tag] ? nameObj.tag.obj[scope.row.tag].color : ''}"
|
|
|
- >{{ nameObj.tag.obj[scope.row.tag] ? nameObj.tag.obj[scope.row.tag].name : scope.row.tag }}</span>
|
|
|
- </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ sortable
|
|
|
+ prop="tag"
|
|
|
+ label="订单类型"
|
|
|
+ align="center"
|
|
|
+ width="88px"
|
|
|
+ :show-overflow-tooltip="true"
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span
|
|
|
+ :style="{color: nameObj.tag.obj[scope.row.tag] ? nameObj.tag.obj[scope.row.tag].color : ''}"
|
|
|
+ >{{ nameObj.tag.obj[scope.row.tag] ? nameObj.tag.obj[scope.row.tag].name : scope.row.tag }}</span>
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
sortable
|
|
|
@@ -412,6 +411,20 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
+ sortable
|
|
|
+ prop="tag"
|
|
|
+ align="center"
|
|
|
+ label="订单类型"
|
|
|
+ min-width="70px"
|
|
|
+ :show-overflow-tooltip="true"
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span
|
|
|
+ :style="{color: nameObj.tag.obj[scope.row.tag] ? nameObj.tag.obj[scope.row.tag].color : ''}"
|
|
|
+ >{{ nameObj.tag.obj[scope.row.tag] ? nameObj.tag.obj[scope.row.tag].name : scope.row.tag }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
sortable
|
|
|
prop="grades"
|
|
|
label="钢种"
|
|
|
@@ -1020,28 +1033,28 @@ export default {
|
|
|
name: '钢丝、弹簧'
|
|
|
}
|
|
|
]
|
|
|
- },
|
|
|
- tag: {
|
|
|
- obj: {
|
|
|
- '0': {
|
|
|
- name: '正常',
|
|
|
- color: '#7a7a7a'
|
|
|
- },
|
|
|
- '1': {
|
|
|
- name: '应急',
|
|
|
- color: 'red'
|
|
|
- }
|
|
|
- },
|
|
|
- arr: [
|
|
|
- {
|
|
|
- id: '0',
|
|
|
- name: '正常'
|
|
|
- },
|
|
|
- {
|
|
|
- id: '1',
|
|
|
- name: '应急'
|
|
|
- }
|
|
|
- ]
|
|
|
+ },
|
|
|
+ tag: {
|
|
|
+ obj: {
|
|
|
+ '0': {
|
|
|
+ name: '正常',
|
|
|
+ color: '#7a7a7a'
|
|
|
+ },
|
|
|
+ '1': {
|
|
|
+ name: '应急',
|
|
|
+ color: 'red'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ arr: [
|
|
|
+ {
|
|
|
+ id: '0',
|
|
|
+ name: '正常'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: '1',
|
|
|
+ name: '应急'
|
|
|
+ }
|
|
|
+ ]
|
|
|
}
|
|
|
},
|
|
|
loading: false,
|
|
|
@@ -1316,7 +1329,7 @@ export default {
|
|
|
planweight: item.PLANWEIGHT,
|
|
|
dimension: item.DIMENSION,
|
|
|
kxf_weight: item.PLANWEIGHT - item.YXF_WEIGHT,
|
|
|
- yxf_weight: item.YXF_WEIGHT,
|
|
|
+ yxf_weight: item.YXF_WEIGHT,
|
|
|
tag: item.TAG ? item.TAG : '0'
|
|
|
})
|
|
|
}
|
|
|
@@ -1337,7 +1350,7 @@ export default {
|
|
|
if (that.leftTableShow == true){
|
|
|
that.getTableDetailDatas(that.pageNum);
|
|
|
} else {
|
|
|
- that.getTableDetailAsRadio(that.pageNum)
|
|
|
+ that.getTableDetailAsRadio(that.pageNum)
|
|
|
}
|
|
|
},
|
|
|
// 改变表格显示条数
|
|
|
@@ -1388,7 +1401,8 @@ export default {
|
|
|
deliveryDate: item.deliveryDate,
|
|
|
sqno: item.sqno,
|
|
|
workprocType: item.workprocType,
|
|
|
- auditState: item.auditState
|
|
|
+ auditState: item.auditState,
|
|
|
+ tag: item.tag ? item.tag : '0'
|
|
|
});
|
|
|
}
|
|
|
that.rightTableData = arr;
|
|
|
@@ -1501,7 +1515,8 @@ export default {
|
|
|
sqno: item.sqno,
|
|
|
updatetime: item.updatetime,
|
|
|
workprocType: item.workprocType,
|
|
|
- auditState: item.auditState
|
|
|
+ auditState: item.auditState,
|
|
|
+ tag: item.tag
|
|
|
});
|
|
|
}
|
|
|
that.rightTableData = arr;
|
|
|
@@ -2066,7 +2081,8 @@ export default {
|
|
|
planweight: that.tableFormDataObj[key].planweight,
|
|
|
createTime: that.tableFormDataObj[key].createtime,
|
|
|
deliveryDate: that.tableFormDataObj[key].deliveryDate,
|
|
|
- auditState: '0'
|
|
|
+ auditState: '0',
|
|
|
+ tag: that.tableFormDataObj[key].tag ? that.tableFormDataObj[key].tag : '0'
|
|
|
})
|
|
|
}
|
|
|
that.loading = true;
|