|
|
@@ -53,7 +53,7 @@
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<!-- 配件信息 -->
|
|
|
- <spareInfo ref="spareInfoRef" :detailList="detailList" />
|
|
|
+ <spareInfo ref="spareInfoRef" :detailList="detailList" :taskDefinitionKey="taskDefinitionKey" />
|
|
|
<div class="title" v-if="!isView && taskDefinitionKey == 'wms_out'">
|
|
|
出库单信息</div
|
|
|
>
|
|
|
@@ -128,13 +128,16 @@
|
|
|
this.form.userName = row.userName;
|
|
|
this.form.purpose = row.purpose;
|
|
|
this.form.id = row.id;
|
|
|
+ row.details.map((el)=>{
|
|
|
+ el.totalCount = el.totalCount ? el.totalCount : 0;
|
|
|
+ })
|
|
|
this.detailList = row.details;
|
|
|
this.form.remark = row.purpose;
|
|
|
-
|
|
|
this.form.deptId = row.useDeptId;
|
|
|
this.form.deptName = row.useDeptName;
|
|
|
this.form.makerId = row.userId;
|
|
|
this.form.makerName = row.userName;
|
|
|
+
|
|
|
},
|
|
|
getUniqueCategoryLevelIds(arr) {
|
|
|
return [...new Set(arr.map((item) => item.categoryLevelId))].join(',');
|