diff --git a/src/views/device/repairOrder/index.vue b/src/views/device/repairOrder/index.vue index 5640125..2b46c06 100644 --- a/src/views/device/repairOrder/index.vue +++ b/src/views/device/repairOrder/index.vue @@ -264,6 +264,19 @@ width="200" fixed /> + + + - - - { this.form = response.data; + //转成list if (response.data.faultType != null) { this.form.faultType = response.data.faultType.split(","); } + //遍历response.data.beforeRepairFiles + this.urlBeforeLists = null; if (response.data.beforeRepairFiles != null) { var beforeNewFiles = []; response.data.beforeRepairFiles.forEach((item) => { @@ -1967,7 +1972,9 @@ export default { this.urlBeforeLists = urlBeforeLists; } + //遍历response.data.afterRepairFiles + this.urlAfterLists = null; if (response.data.afterRepairFiles != null) { var afterNewFiles = []; response.data.afterRepairFiles.forEach((item) => { @@ -2040,7 +2047,6 @@ export default { }); this.detailList = standards; - console.log("111111111111", this.detailList); } if (this.form.workStatus == "1") { this.queryWrite = true; diff --git a/src/views/device/repairOrder/selectSparePartsLedger.vue b/src/views/device/repairOrder/selectSparePartsLedger.vue index f149e40..46589d7 100644 --- a/src/views/device/repairOrder/selectSparePartsLedger.vue +++ b/src/views/device/repairOrder/selectSparePartsLedger.vue @@ -331,8 +331,6 @@ export default { /** 提交按钮 */ submitForm() { - console.log("data:", this.sparePartsLedgerList); - console.log("选择的数据", this.$refs.multipleTable.selection); this.$refs.multipleTable.selection.forEach((item) => { if (item.spareQuantity > item.amount - item.storageAmount) { Message.warning(