报废管理接口对接

This commit is contained in:
zzyuan 2025-01-17 09:29:40 +08:00
parent e9324c42ce
commit c948f7e7db
3 changed files with 18 additions and 8 deletions

View File

@ -692,7 +692,7 @@
:options="partTypeTreeTwo" :options="partTypeTreeTwo"
:searchable="false" :searchable="false"
:disable-branch-nodes="true" :disable-branch-nodes="true"
:show-count="true" :show-count="false"
:expand-on-click-node="false" :expand-on-click-node="false"
placeholder="请选择配件型号" placeholder="请选择配件型号"
style="width: 200px;" style="width: 200px;"
@ -1442,6 +1442,9 @@ export default {
}, },
filterTree(nodes) { filterTree(nodes) {
return nodes.map((node) => { return nodes.map((node) => {
if(node.level==3){
node.label=node.label+`${node.storageNum}`
}
if (node.children) { if (node.children) {
node.children = this.filterTree(node.children); node.children = this.filterTree(node.children);
} }

View File

@ -132,13 +132,13 @@
<el-table-column <el-table-column
label="报废单号" label="报废单号"
align="center" align="center"
prop="scrapCode" prop="scrapCode" width="150"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
/> />
<el-table-column <el-table-column
label="维修单号" label="维修单号"
align="center" align="center"
prop="repairCode" prop="repairCode" width="150"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
/> />
<el-table-column <el-table-column
@ -157,7 +157,7 @@
<el-table-column <el-table-column
label="提交时间" label="提交时间"
align="center" align="center"
prop="createTime" prop="createTime" width="180"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
> >
</el-table-column> </el-table-column>
@ -170,14 +170,14 @@
<el-table-column <el-table-column
label="审核时间" label="审核时间"
align="center" align="center"
prop="auditTime" prop="auditTime" width="180"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
label="状态" label="状态"
align="center" align="center" width="150"
prop="taskStatusName" prop="taskStatusName"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
> >
@ -189,7 +189,7 @@
prop="remark" prop="remark"
:show-overflow-tooltip="true" :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"> <template slot-scope="scope">
<el-button <el-button
size="mini" size="mini"
@ -287,7 +287,7 @@ export default {
// //
selectable(row) { selectable(row) {
if (row.status == "1") { if (row.taskStatus == "1"||row.taskStatus == "2") {
return false; return false;
} else { } else {
return true; return true;

View File

@ -67,6 +67,13 @@
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
> >
</el-table-column> </el-table-column>
<el-table-column
label="设备编码"
align="center"
prop="maCode"
:show-overflow-tooltip="true"
>
</el-table-column>
<el-table-column <el-table-column
label="退料数量" label="退料数量"
align="center" align="center"