|
|
@@ -170,8 +170,9 @@
|
|
|
<spareParts
|
|
|
ref="sparePartsRef2"
|
|
|
:state="type == 'edit' || type == 'report' ? '可操作' : ''"
|
|
|
- :type="type == 'edit'|| type == 'report' ? 'edit' : 'view'"
|
|
|
+ :type="type == 'edit' || type == 'report' ? 'edit' : 'view'"
|
|
|
obtain="仓库"
|
|
|
+ pageName="workOrder"
|
|
|
></spareParts>
|
|
|
<!-- source="报工信息" -->
|
|
|
</el-col>
|
|
|
@@ -260,6 +261,7 @@
|
|
|
ref="sparePartsRef"
|
|
|
:state="type == 'edit' ? '可操作' : ''"
|
|
|
:type="type == 'edit' ? 'edit' : 'view'"
|
|
|
+ pageName="workOrder"
|
|
|
></spareParts>
|
|
|
<!-- source="报工信息" -->
|
|
|
</el-col>
|
|
|
@@ -405,7 +407,9 @@
|
|
|
if (this.infoShow) {
|
|
|
this.detailList = res.accessoryApply?.detailList;
|
|
|
this.$refs.infoRef.init(res.afterSalesDemandVO);
|
|
|
- this.$refs.sparePartsRef.setTableValue(res?.costListVOS.filter(item=>item.typeId==2) || []);
|
|
|
+ this.$refs.sparePartsRef.setTableValue(
|
|
|
+ res?.costListVOS.filter((item) => item.typeId == 2) || []
|
|
|
+ );
|
|
|
this.$refs.infoRef2.init(res.afterSalesDemandVO);
|
|
|
this.$refs.sparePartsRef2.setTableValue(res?.costListVOS || []);
|
|
|
this.$set(this.addForm, 'startTime', this.addForm.acceptTime);
|
|
|
@@ -413,7 +417,7 @@
|
|
|
this.calculateTimeConversion(res.inFactDuration);
|
|
|
} else {
|
|
|
this.$refs.infoRef2.init(res.afterSalesDemandVO);
|
|
|
- this.$refs.sparePartsRef2.setTableValue(res?.costListVOS|| []);
|
|
|
+ this.$refs.sparePartsRef2.setTableValue(res?.costListVOS || []);
|
|
|
}
|
|
|
this.$refs.plan.init(res.afterSalesPlanVO);
|
|
|
});
|