报废管理接口对接
This commit is contained in:
parent
e9324c42ce
commit
c948f7e7db
|
|
@ -692,7 +692,7 @@
|
|||
:options="partTypeTreeTwo"
|
||||
:searchable="false"
|
||||
:disable-branch-nodes="true"
|
||||
:show-count="true"
|
||||
:show-count="false"
|
||||
:expand-on-click-node="false"
|
||||
placeholder="请选择配件型号"
|
||||
style="width: 200px;"
|
||||
|
|
@ -1442,6 +1442,9 @@ export default {
|
|||
},
|
||||
filterTree(nodes) {
|
||||
return nodes.map((node) => {
|
||||
if(node.level==3){
|
||||
node.label=node.label+`(${node.storageNum})`
|
||||
}
|
||||
if (node.children) {
|
||||
node.children = this.filterTree(node.children);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -132,13 +132,13 @@
|
|||
<el-table-column
|
||||
label="报废单号"
|
||||
align="center"
|
||||
prop="scrapCode"
|
||||
prop="scrapCode" width="150"
|
||||
:show-overflow-tooltip="true"
|
||||
/>
|
||||
<el-table-column
|
||||
label="维修单号"
|
||||
align="center"
|
||||
prop="repairCode"
|
||||
prop="repairCode" width="150"
|
||||
:show-overflow-tooltip="true"
|
||||
/>
|
||||
<el-table-column
|
||||
|
|
@ -157,7 +157,7 @@
|
|||
<el-table-column
|
||||
label="提交时间"
|
||||
align="center"
|
||||
prop="createTime"
|
||||
prop="createTime" width="180"
|
||||
:show-overflow-tooltip="true"
|
||||
>
|
||||
</el-table-column>
|
||||
|
|
@ -170,14 +170,14 @@
|
|||
<el-table-column
|
||||
label="审核时间"
|
||||
align="center"
|
||||
prop="auditTime"
|
||||
prop="auditTime" width="180"
|
||||
:show-overflow-tooltip="true"
|
||||
>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column
|
||||
label="状态"
|
||||
align="center"
|
||||
align="center" width="150"
|
||||
prop="taskStatusName"
|
||||
:show-overflow-tooltip="true"
|
||||
>
|
||||
|
|
@ -189,7 +189,7 @@
|
|||
prop="remark"
|
||||
:show-overflow-tooltip="true"
|
||||
/> -->
|
||||
<el-table-column label="操作" align="center" width="200">
|
||||
<el-table-column label="操作" align="center" width="200" fixed="right">
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
size="mini"
|
||||
|
|
@ -287,7 +287,7 @@ export default {
|
|||
|
||||
//是否可用勾选框
|
||||
selectable(row) {
|
||||
if (row.status == "1") {
|
||||
if (row.taskStatus == "1"||row.taskStatus == "2") {
|
||||
return false;
|
||||
} else {
|
||||
return true;
|
||||
|
|
|
|||
|
|
@ -67,6 +67,13 @@
|
|||
:show-overflow-tooltip="true"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="设备编码"
|
||||
align="center"
|
||||
prop="maCode"
|
||||
:show-overflow-tooltip="true"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="退料数量"
|
||||
align="center"
|
||||
|
|
|
|||
Loading…
Reference in New Issue