From 21d3365df06ad66b93c253ebdc5ebe4003b724cb Mon Sep 17 00:00:00 2001 From: "LAPTOP-R6EHHS26\\86155" <2217640373@qq.com> Date: Thu, 16 Nov 2023 17:48:08 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=B4=E4=BF=AE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages.json | 16 + src/pages/equipment/Inspection/details.vue | 51 +- .../equipment/Inspection/detailsview.vue | 33 +- src/pages/equipment/Repair/Sparepartlist.vue | 998 +++--------------- src/pages/equipment/Repair/details.vue | 92 +- src/pages/equipment/Repair/index.vue | 56 +- src/pages/equipment/Repair/model.ts | 26 +- src/pages/equipment/Repair/repairing.vue | 390 +++++-- src/pages/equipment/Repair/repairingview.vue | 364 ++++--- src/pages/equipment/Repairbx/index.vue | 7 + src/pages/equipment/Spotcheck/details.vue | 2 +- src/pages/equipment/Upkeep/Sparepartlist.vue | 998 +++--------------- src/pages/equipment/Upkeep/details.vue | 103 +- src/pages/equipment/Upkeep/index.vue | 83 +- src/pages/equipment/Upkeep/model.ts | 56 +- src/pages/equipment/Upkeep/repairing.vue | 390 +++++-- src/pages/equipment/Upkeep/repairingview.vue | 364 ++++--- src/pages/mes/ChangePalletNew/index.vue | 1 + src/pages/mes/ProductionQtyInsp/index.vue | 13 +- src/pages/shouye/me.vue | 2 +- src/utils/request.ts | 13 +- src/utils/url.ts | 12 +- 22 files changed, 1810 insertions(+), 2260 deletions(-) diff --git a/src/pages.json b/src/pages.json index 128c744..b5545ea 100644 --- a/src/pages.json +++ b/src/pages.json @@ -124,6 +124,14 @@ "navigationBarTextStyle": "white" } }, + { + "path": "pages/equipment/Upkeep/repairingview", + "style": { + "navigationBarTitleText": "维修查看", + "navigationStyle": "custom", + "navigationBarTextStyle": "white" + } + }, { "path": "pages/equipment/Upkeep/Sparepartlist", "style": { @@ -156,6 +164,14 @@ "navigationBarTextStyle": "white" } }, + { + "path": "pages/equipment/Repair/repairingview", + "style": { + "navigationBarTitleText": "维修查看", + "navigationStyle": "custom", + "navigationBarTextStyle": "white" + } + }, { "path": "pages/equipment/Repair/Sparepartlist", "style": { diff --git a/src/pages/equipment/Inspection/details.vue b/src/pages/equipment/Inspection/details.vue index 878a428..d026190 100644 --- a/src/pages/equipment/Inspection/details.vue +++ b/src/pages/equipment/Inspection/details.vue @@ -166,8 +166,10 @@ export default class ChangePalletNew extends BasePage { console.log(item, value, index, index1); this.radiomodal = false; this.inputmodal = false; - if (value == null) { - this.isvalue == true; + if (value == null || value == '') { + this.isvalue = true; + } else { + this.isvalue = false; } if (value > item.detailUpLimit || value < item.detailDownLimit) { this.equipmentindex = []; @@ -296,7 +298,7 @@ export default class ChangePalletNew extends BasePage { // }); tempFilePaths.map((item) => { uni.uploadFile({ - url: '/dev-api/file/upload', + url: 'http://192.168.202.20:9000/prod-api/file/upload', //url: '/dev-api/file/upload', fileType: 'image', filePath: item, @@ -358,25 +360,38 @@ export default class ChangePalletNew extends BasePage { this.customToast('请扫码设备编码'); return; } + this.detailsinfocontent.equ.detailList.forEach((item) => { + if (item.standardList.length > 0) { + item.standardList.forEach((item1) => { + if (item1.standardType == 'quantify') { + if (item1.detailReach == null || item1.detailReach == '') { + // console.log(this.isvalue); + this.isvalue = true; + } + } + }); + } + }); + // i if (this.isvalue) { this.customToast('检查标准不能为空'); return; } - // this.detailsinfocontent.equ = this.detailsinfolist; - // let query = this.detailsinfocontent; - // await this.model.updateInspectionRecord(query); - // if (this.model.SubmitCode == '200') { - // (this.$refs.uToast as any).show({ - // title: '成功', - // type: 'success', - // }); - // uni.navigateBack({}); - // } else { - // (this.$refs.uToast as any).show({ - // title: '失败', - // type: 'error', - // }); - // } + this.detailsinfocontent.equ = this.detailsinfolist; + let query = this.detailsinfocontent; + await this.model.updateInspectionRecord(query); + if (this.model.SubmitCode == '200') { + (this.$refs.uToast as any).show({ + title: '成功', + type: 'success', + }); + uni.navigateBack({}); + } else { + (this.$refs.uToast as any).show({ + title: '失败', + type: 'error', + }); + } } search(value) { console.log(value); diff --git a/src/pages/equipment/Inspection/detailsview.vue b/src/pages/equipment/Inspection/detailsview.vue index 864c513..6070212 100644 --- a/src/pages/equipment/Inspection/detailsview.vue +++ b/src/pages/equipment/Inspection/detailsview.vue @@ -31,7 +31,7 @@
检查方法: {{ item.itemMethod }}
-
检查标准: {{ item1.standardName }}
+
检查标准: {{ item1.standardName }}
@@ -41,7 +41,7 @@
-
检查标准: {{ item1.standardName }}
+
检查标准: {{ item1.standardName }}
实际值: @@ -71,16 +71,16 @@ - + - - + + @@ -160,6 +160,25 @@ export default class ChangePalletNew extends BasePage { //this.remove = this.model.WlList[0]; } // 输入框焦点 + checkimg(item, value, index, index1) { + this.equipmentindex = []; + this.radiomodal = false; + this.inputmodal = false; + this.equipmentindex.push(index); + this.equipmentindex.push(index1); + if (item.picturePath != null) { + this.imgList = JSON.parse(JSON.stringify(item.picturePath)); + this.imgList = this.imgList.split(','); + this.isshow = true; + this.radiomodal = true; + this.form = item; + } else { + this.imgList = []; + this.isshow = true; + this.radiomodal = true; + this.form = item; + } + } blur(item, value, index, index1) { this.radiomodal = false; this.inputmodal = false; diff --git a/src/pages/equipment/Repair/Sparepartlist.vue b/src/pages/equipment/Repair/Sparepartlist.vue index 3f276f0..bf1079f 100644 --- a/src/pages/equipment/Repair/Sparepartlist.vue +++ b/src/pages/equipment/Repair/Sparepartlist.vue @@ -9,7 +9,7 @@ 备件名称: - + @@ -27,6 +27,12 @@ + +
+
申领数量
+ +
+
@@ -53,829 +59,51 @@ export default class ProductionQtyInsplist extends BasePage { }, { label: '备件名称', - key: 'rfid', + key: 'materialDesc', width: 320, }, { label: '备件编码', - key: 'rfid', + key: 'materialCode', width: 320, }, { - label: '库存数量', - key: 'orderCode', + label: '总数量', + key: 'amount', }, { - label: '机台', - key: 'machineName', - }, - { - label: '产品', - key: 'productName', - width: 220, - }, - { - label: '工单', - key: 'workorderCode', - width: 220, + label: '冻结数量', + key: 'storageAmount', }, // { - // label: '是否合格', - // key: 'licensePlateNumber', + // label: '产品', + // key: 'productName', + // width: 220, // }, - { - label: '不良描述', - key: 'badMeg', - }, // { - // label: '照片', - // key: 'checkPeople', + // label: '工单', + // key: 'workorderCode', + // width: 220, + // }, + // { + // label: '不良描述', + // key: 'badMeg', // }, ]; - tableData: any = [ - { - createBy: 'mobile', - createTime: '2023-11-06 14:09:06', - updateBy: null, - updateTime: null, - remark: null, - poolName: null, - deptId: null, - id: 'fcc79188e5814d20823bec29b33d2805', - rfid: 'S0000286', - factoryId: null, - factoryCode: '999', - workorderId: null, - workorderCode: 'DD2023110500094-1', - workorderName: null, - orderId: null, - orderCode: 'DD2023110500094', - workBatchCode: null, - machineId: null, - machineCode: 'H15', - machineName: '烘房15', - badMeg: null, - productId: null, - productCode: '20000000280', - productName: 'Φ130mm微烟免拆白坯', - productSpc: 'Φ130mm', - isqua: '1', - fileList: [], - fileId: '', - attr1: null, - attr2: null, - attr3: null, - attr4: null, - equipmentTypeCode: null, - equipmentCode: null, - equipmentName: null, - itemCode: null, - itemName: null, - }, - { - createBy: 'mobile', - createTime: '2023-11-06 14:04:47', - updateBy: null, - updateTime: null, - remark: null, - poolName: null, - deptId: null, - id: 'c58ab2b76a9d4148bd0d77a2bbb75374', - rfid: 'S0000145', - factoryId: null, - factoryCode: '999', - workorderId: null, - workorderCode: 'DD2023110500094-1', - workorderName: null, - orderId: null, - orderCode: 'DD2023110500094', - workBatchCode: null, - machineId: null, - machineCode: 'H18', - machineName: '烘房18', - badMeg: null, - productId: null, - productCode: '20000000280', - productName: 'Φ130mm微烟免拆白坯', - productSpc: 'Φ130mm', - isqua: '1', - fileList: [], - fileId: '', - attr1: null, - attr2: null, - attr3: null, - attr4: null, - equipmentTypeCode: null, - equipmentCode: null, - equipmentName: null, - itemCode: null, - itemName: null, - }, - { - createBy: 'mobile', - createTime: '2023-11-06 14:01:32', - updateBy: null, - updateTime: null, - remark: null, - poolName: null, - deptId: null, - id: '123895b70acc4cf19a160b2b56c76a11', - rfid: 'S0000480', - factoryId: null, - factoryCode: '999', - workorderId: null, - workorderCode: 'DD2023110500013-1', - workorderName: null, - orderId: null, - orderCode: 'DD2023110500013', - workBatchCode: null, - machineId: null, - machineCode: 'H61', - machineName: '烘房61', - badMeg: null, - productId: null, - productCode: '000000020000000292', - productName: 'Φ125mm无烟白坯', - productSpc: 'Φ125mm', - isqua: '1', - fileList: [], - fileId: '', - attr1: null, - attr2: null, - attr3: null, - attr4: null, - equipmentTypeCode: null, - equipmentCode: null, - equipmentName: null, - itemCode: null, - itemName: null, - }, - { - createBy: 'mobile', - createTime: '2023-11-06 13:50:59', - updateBy: null, - updateTime: null, - remark: null, - poolName: null, - deptId: null, - id: '1ad4fe9ec1a545d8a1b170f36ff18bd0', - rfid: 'S0000267', - factoryId: null, - factoryCode: '999', - workorderId: null, - workorderCode: 'DD2023110500094-1', - workorderName: null, - orderId: null, - orderCode: 'DD2023110500094', - workBatchCode: null, - machineId: null, - machineCode: 'H17', - machineName: '烘房17', - badMeg: null, - productId: null, - productCode: '20000000280', - productName: 'Φ130mm微烟免拆白坯', - productSpc: 'Φ130mm', - isqua: '1', - fileList: [], - fileId: '', - attr1: null, - attr2: null, - attr3: null, - attr4: null, - equipmentTypeCode: null, - equipmentCode: null, - equipmentName: null, - itemCode: null, - itemName: null, - }, - { - createBy: 'mobile', - createTime: '2023-11-06 13:49:45', - updateBy: null, - updateTime: null, - remark: null, - poolName: null, - deptId: null, - id: '27fa98d1f37b45f885bae71b08b24b30', - rfid: 'S0000067', - factoryId: null, - factoryCode: '999', - workorderId: null, - workorderCode: 'DD2023110500095-1', - workorderName: null, - orderId: null, - orderCode: 'DD2023110500095', - workBatchCode: null, - machineId: null, - machineCode: 'H18', - machineName: '烘房18', - badMeg: null, - productId: null, - productCode: '20000000284', - productName: 'Φ130mm无烟免拆白坯', - productSpc: 'Φ130mm', - isqua: '1', - fileList: [], - fileId: '', - attr1: null, - attr2: null, - attr3: null, - attr4: null, - equipmentTypeCode: null, - equipmentCode: null, - equipmentName: null, - itemCode: null, - itemName: null, - }, - { - createBy: 'mobile', - createTime: '2023-11-06 13:25:23', - updateBy: null, - updateTime: null, - remark: null, - poolName: null, - deptId: null, - id: 'f81731618e524ec8a132d369d97fd864', - rfid: 'S0000247', - factoryId: null, - factoryCode: '999', - workorderId: null, - workorderCode: 'DD2023110500094-1', - workorderName: null, - orderId: null, - orderCode: 'DD2023110500094', - workBatchCode: null, - machineId: null, - machineCode: 'H14', - machineName: '烘房14', - badMeg: null, - productId: null, - productCode: '20000000280', - productName: 'Φ130mm微烟免拆白坯', - productSpc: 'Φ130mm', - isqua: '1', - fileList: [], - fileId: '', - attr1: null, - attr2: null, - attr3: null, - attr4: null, - equipmentTypeCode: null, - equipmentCode: null, - equipmentName: null, - itemCode: null, - itemName: null, - }, - { - createBy: 'mobile', - createTime: '2023-11-06 13:00:34', - updateBy: null, - updateTime: null, - remark: null, - poolName: null, - deptId: null, - id: '4d3c9130c0344f47b6433a7e6abe29eb', - rfid: 'S0000223', - factoryId: null, - factoryCode: '999', - workorderId: null, - workorderCode: 'DD2023110500095-1', - workorderName: null, - orderId: null, - orderCode: 'DD2023110500095', - workBatchCode: null, - machineId: null, - machineCode: 'H15', - machineName: '烘房15', - badMeg: null, - productId: null, - productCode: '20000000284', - productName: 'Φ130mm无烟免拆白坯', - productSpc: 'Φ130mm', - isqua: '1', - fileList: [], - fileId: '', - attr1: null, - attr2: null, - attr3: null, - attr4: null, - equipmentTypeCode: null, - equipmentCode: null, - equipmentName: null, - itemCode: null, - itemName: null, - }, - { - createBy: 'mobile', - createTime: '2023-11-06 12:56:09', - updateBy: null, - updateTime: null, - remark: null, - poolName: null, - deptId: null, - id: '8579731e3d1544ceb5c2c696a7cbadae', - rfid: 'S0000050', - factoryId: null, - factoryCode: '999', - workorderId: null, - workorderCode: 'DD2023110500094-1', - workorderName: null, - orderId: null, - orderCode: 'DD2023110500094', - workBatchCode: null, - machineId: null, - machineCode: 'H16', - machineName: '烘房16', - badMeg: null, - productId: null, - productCode: '20000000280', - productName: 'Φ130mm微烟免拆白坯', - productSpc: 'Φ130mm', - isqua: '1', - fileList: [], - fileId: '', - attr1: null, - attr2: null, - attr3: null, - attr4: null, - equipmentTypeCode: null, - equipmentCode: null, - equipmentName: null, - itemCode: null, - itemName: null, - }, - { - createBy: 'mobile', - createTime: '2023-11-06 10:19:36', - updateBy: null, - updateTime: null, - remark: null, - poolName: null, - deptId: null, - id: 'a2863d392dab4caa92289c2f27522f7e', - rfid: 'S0000592', - factoryId: null, - factoryCode: '999', - workorderId: null, - workorderCode: 'DD2023110500095-1', - workorderName: null, - orderId: null, - orderCode: 'DD2023110500095', - workBatchCode: null, - machineId: null, - machineCode: 'H11', - machineName: '烘房11', - badMeg: null, - productId: null, - productCode: '20000000284', - productName: 'Φ130mm无烟免拆白坯', - productSpc: 'Φ130mm', - isqua: '1', - fileList: [], - fileId: '', - attr1: null, - attr2: null, - attr3: null, - attr4: null, - equipmentTypeCode: null, - equipmentCode: null, - equipmentName: null, - itemCode: null, - itemName: null, - }, - { - createBy: 'mobile', - createTime: '2023-11-06 10:14:12', - updateBy: null, - updateTime: null, - remark: null, - poolName: null, - deptId: null, - id: 'ea26dfe075584bc5ae277337194975a8', - rfid: 'S0000565', - factoryId: null, - factoryCode: '999', - workorderId: null, - workorderCode: 'DD2023110500095-1', - workorderName: null, - orderId: null, - orderCode: 'DD2023110500095', - workBatchCode: null, - machineId: null, - machineCode: 'H17', - machineName: '烘房17', - badMeg: null, - productId: null, - productCode: '20000000284', - productName: 'Φ130mm无烟免拆白坯', - productSpc: 'Φ130mm', - isqua: '1', - fileList: [], - fileId: '', - attr1: null, - attr2: null, - attr3: null, - attr4: null, - equipmentTypeCode: null, - equipmentCode: null, - equipmentName: null, - itemCode: null, - itemName: null, - }, - { - createBy: 'mobile', - createTime: '2023-11-06 10:14:12', - updateBy: null, - updateTime: null, - remark: null, - poolName: null, - deptId: null, - id: 'ea26dfe075584bc5ae277337194975a8', - rfid: 'S0000565', - factoryId: null, - factoryCode: '999', - workorderId: null, - workorderCode: 'DD2023110500095-1', - workorderName: null, - orderId: null, - orderCode: 'DD2023110500095', - workBatchCode: null, - machineId: null, - machineCode: 'H17', - machineName: '烘房17', - badMeg: null, - productId: null, - productCode: '20000000284', - productName: 'Φ130mm无烟免拆白坯', - productSpc: 'Φ130mm', - isqua: '1', - fileList: [], - fileId: '', - attr1: null, - attr2: null, - attr3: null, - attr4: null, - equipmentTypeCode: null, - equipmentCode: null, - equipmentName: null, - itemCode: null, - itemName: null, - }, - { - createBy: 'mobile', - createTime: '2023-11-06 10:14:12', - updateBy: null, - updateTime: null, - remark: null, - poolName: null, - deptId: null, - id: 'ea26dfe075584bc5ae277337194975a8', - rfid: 'S0000565', - factoryId: null, - factoryCode: '999', - workorderId: null, - workorderCode: 'DD2023110500095-1', - workorderName: null, - orderId: null, - orderCode: 'DD2023110500095', - workBatchCode: null, - machineId: null, - machineCode: 'H17', - machineName: '烘房17', - badMeg: null, - productId: null, - productCode: '20000000284', - productName: 'Φ130mm无烟免拆白坯', - productSpc: 'Φ130mm', - isqua: '1', - fileList: [], - fileId: '', - attr1: null, - attr2: null, - attr3: null, - attr4: null, - equipmentTypeCode: null, - equipmentCode: null, - equipmentName: null, - itemCode: null, - itemName: null, - }, - { - createBy: 'mobile', - createTime: '2023-11-06 10:14:12', - updateBy: null, - updateTime: null, - remark: null, - poolName: null, - deptId: null, - id: 'ea26dfe075584bc5ae277337194975a8', - rfid: 'S0000565', - factoryId: null, - factoryCode: '999', - workorderId: null, - workorderCode: 'DD2023110500095-1', - workorderName: null, - orderId: null, - orderCode: 'DD2023110500095', - workBatchCode: null, - machineId: null, - machineCode: 'H17', - machineName: '烘房17', - badMeg: null, - productId: null, - productCode: '20000000284', - productName: 'Φ130mm无烟免拆白坯', - productSpc: 'Φ130mm', - isqua: '1', - fileList: [], - fileId: '', - attr1: null, - attr2: null, - attr3: null, - attr4: null, - equipmentTypeCode: null, - equipmentCode: null, - equipmentName: null, - itemCode: null, - itemName: null, - }, - { - createBy: 'mobile', - createTime: '2023-11-06 10:14:12', - updateBy: null, - updateTime: null, - remark: null, - poolName: null, - deptId: null, - id: 'ea26dfe075584bc5ae277337194975a8', - rfid: 'S0000565', - factoryId: null, - factoryCode: '999', - workorderId: null, - workorderCode: 'DD2023110500095-1', - workorderName: null, - orderId: null, - orderCode: 'DD2023110500095', - workBatchCode: null, - machineId: null, - machineCode: 'H17', - machineName: '烘房17', - badMeg: null, - productId: null, - productCode: '20000000284', - productName: 'Φ130mm无烟免拆白坯', - productSpc: 'Φ130mm', - isqua: '1', - fileList: [], - fileId: '', - attr1: null, - attr2: null, - attr3: null, - attr4: null, - equipmentTypeCode: null, - equipmentCode: null, - equipmentName: null, - itemCode: null, - itemName: null, - }, - { - createBy: 'mobile', - createTime: '2023-11-06 10:14:12', - updateBy: null, - updateTime: null, - remark: null, - poolName: null, - deptId: null, - id: 'ea26dfe075584bc5ae277337194975a8', - rfid: 'S0000565', - factoryId: null, - factoryCode: '999', - workorderId: null, - workorderCode: 'DD2023110500095-1', - workorderName: null, - orderId: null, - orderCode: 'DD2023110500095', - workBatchCode: null, - machineId: null, - machineCode: 'H17', - machineName: '烘房17', - badMeg: null, - productId: null, - productCode: '20000000284', - productName: 'Φ130mm无烟免拆白坯', - productSpc: 'Φ130mm', - isqua: '1', - fileList: [], - fileId: '', - attr1: null, - attr2: null, - attr3: null, - attr4: null, - equipmentTypeCode: null, - equipmentCode: null, - equipmentName: null, - itemCode: null, - itemName: null, - }, - { - createBy: 'mobile', - createTime: '2023-11-06 10:14:12', - updateBy: null, - updateTime: null, - remark: null, - poolName: null, - deptId: null, - id: 'ea26dfe075584bc5ae277337194975a8', - rfid: 'S0000565', - factoryId: null, - factoryCode: '999', - workorderId: null, - workorderCode: 'DD2023110500095-1', - workorderName: null, - orderId: null, - orderCode: 'DD2023110500095', - workBatchCode: null, - machineId: null, - machineCode: 'H17', - machineName: '烘房17', - badMeg: null, - productId: null, - productCode: '20000000284', - productName: 'Φ130mm无烟免拆白坯', - productSpc: 'Φ130mm', - isqua: '1', - fileList: [], - fileId: '', - attr1: null, - attr2: null, - attr3: null, - attr4: null, - equipmentTypeCode: null, - equipmentCode: null, - equipmentName: null, - itemCode: null, - itemName: null, - }, - { - createBy: 'mobile', - createTime: '2023-11-06 10:14:12', - updateBy: null, - updateTime: null, - remark: null, - poolName: null, - deptId: null, - id: 'ea26dfe075584bc5ae277337194975a8', - rfid: 'S0000565', - factoryId: null, - factoryCode: '999', - workorderId: null, - workorderCode: 'DD2023110500095-1', - workorderName: null, - orderId: null, - orderCode: 'DD2023110500095', - workBatchCode: null, - machineId: null, - machineCode: 'H17', - machineName: '烘房17', - badMeg: null, - productId: null, - productCode: '20000000284', - productName: 'Φ130mm无烟免拆白坯', - productSpc: 'Φ130mm', - isqua: '1', - fileList: [], - fileId: '', - attr1: null, - attr2: null, - attr3: null, - attr4: null, - equipmentTypeCode: null, - equipmentCode: null, - equipmentName: null, - itemCode: null, - itemName: null, - }, - { - createBy: 'mobile', - createTime: '2023-11-06 10:14:12', - updateBy: null, - updateTime: null, - remark: null, - poolName: null, - deptId: null, - id: 'ea26dfe075584bc5ae277337194975a8', - rfid: 'S0000565', - factoryId: null, - factoryCode: '999', - workorderId: null, - workorderCode: 'DD2023110500095-1', - workorderName: null, - orderId: null, - orderCode: 'DD2023110500095', - workBatchCode: null, - machineId: null, - machineCode: 'H17', - machineName: '烘房17', - badMeg: null, - productId: null, - productCode: '20000000284', - productName: 'Φ130mm无烟免拆白坯', - productSpc: 'Φ130mm', - isqua: '1', - fileList: [], - fileId: '', - attr1: null, - attr2: null, - attr3: null, - attr4: null, - equipmentTypeCode: null, - equipmentCode: null, - equipmentName: null, - itemCode: null, - itemName: null, - }, - { - createBy: 'mobile', - createTime: '2023-11-06 10:14:12', - updateBy: null, - updateTime: null, - remark: null, - poolName: null, - deptId: null, - id: 'ea26dfe075584bc5ae277337194975a8', - rfid: 'S0000565', - factoryId: null, - factoryCode: '999', - workorderId: null, - workorderCode: 'DD2023110500095-1', - workorderName: null, - orderId: null, - orderCode: 'DD2023110500095', - workBatchCode: null, - machineId: null, - machineCode: 'H17', - machineName: '烘房17', - badMeg: null, - productId: null, - productCode: '20000000284', - productName: 'Φ130mm无烟免拆白坯', - productSpc: 'Φ130mm', - isqua: '1', - fileList: [], - fileId: '', - attr1: null, - attr2: null, - attr3: null, - attr4: null, - equipmentTypeCode: null, - equipmentCode: null, - equipmentName: null, - itemCode: null, - itemName: null, - }, - { - createBy: 'mobile', - createTime: '2023-11-06 10:14:12', - updateBy: null, - updateTime: null, - remark: null, - poolName: null, - deptId: null, - id: 'ea26dfe075584bc5ae277337194975a8', - rfid: 'S0000565', - factoryId: null, - factoryCode: '999', - workorderId: null, - workorderCode: 'DD2023110500095-1', - workorderName: null, - orderId: null, - orderCode: 'DD2023110500095', - workBatchCode: null, - machineId: null, - machineCode: 'H17', - machineName: '烘房17', - badMeg: null, - productId: null, - productCode: '20000000284', - productName: 'Φ130mm无烟免拆白坯', - productSpc: 'Φ130mm', - isqua: '1', - fileList: [], - fileId: '', - attr1: null, - attr2: null, - attr3: null, - attr4: null, - equipmentTypeCode: null, - equipmentCode: null, - equipmentName: null, - itemCode: null, - itemName: null, - }, - ]; + tableData: any = []; orderNo: any = ''; shouciFocus = true; + // 详细 + detailsinfo: any = {}; + detailsinfolist: any = {}; + detailsinfocontent: any = {}; + // 模态框 + isshow = false; + inputmodal = false; + isvalue = false; + ischecked = false; + radiomodal = false; + number1: any = ''; // remove: any = {}; // async onReady() { // await this.model.queryLocation(); @@ -886,6 +114,105 @@ export default class ProductionQtyInsplist extends BasePage { // } onShow() { // this.query(); + console.log(2, this.model.rowdata); + } + confirm() { + if (this.number1 == '' || this.number1 == null) { + (this.$refs.uToast as any).show({ + title: '请输入申领数量', + type: 'default', + }); + this.isshow = true; + return; + } + var bool = null; + let amount = this.rowdata.amount; + let storageAmount = this.rowdata.storageAmount; + let maxnumber = parseInt(amount) - parseInt(storageAmount); + if (this.number1 > maxnumber) { + (this.$refs.uToast as any).show({ + title: '输入的申领数量不符合', + type: 'default', + }); + this.isshow = true; + return; + } + if (this.model.rowdata.length > 0) { + bool = this.model.rowdata.some((item) => item.materialCode == this.rowdata.materialCode); + console.log(bool); + if (!bool) { + this.rowdata.spareQuantity = this.number1; + this.model.rowdata.push(this.rowdata); + // uni.navigateTo({ + // url: `/pages/equipment/Repair/repairing?listitem=` + encodeURIComponent(JSON.stringify(this.detailsinfo)), + // }); + uni.navigateBack({}); + } + if (bool) { + this.model.rowdata.forEach((item) => { + if (item.materialCode == this.rowdata.materialCode) { + let spareQuantity = parseInt(item.spareQuantity) + parseInt(this.number1); + let amount = this.rowdata.amount; + let storageAmount = this.rowdata.storageAmount; + let maxnumber = parseInt(amount) - parseInt(storageAmount); + if (spareQuantity > maxnumber) { + (this.$refs.uToast as any).show({ + title: '输入的申领数量不符合', + type: 'default', + }); + this.isshow = true; + return; + } + item.spareQuantity = parseInt(item.spareQuantity) + parseInt(this.number1); + // console.log(this.detailsinfo) + // uni.navigateTo({ + // url: `/pages/equipment/Repair/repairing?listitem=` + encodeURIComponent(JSON.stringify(this.detailsinfo)), + // }); + uni.navigateBack({}); + // uni.navigateBack({}); + } + }); + + // this.rowdata + // (this.$refs.uToast as any).show({ + // title: '请勿重复申领', + // type: 'default', + // }); + // _this.customToast('请勿重复申领'); + } + } else { + this.rowdata.spareQuantity = this.number1; + this.model.rowdata.push(this.rowdata); + // uni.navigateTo({ + // url: `/pages/equipment/Repair/repairing?listitem=` + encodeURIComponent(JSON.stringify(this.detailsinfo)), + // }); + uni.navigateBack({}); + } + console.log(this.model.rowdata, this.page, this.rowdata); + } + cancel() { + this.isshow = false; + } + goback() { + uni.redirectTo({ + url: `/pages/equipment/Repair/repairing?listitem=` + encodeURIComponent(JSON.stringify(this.detailsinfo)), + }); + } + async onLoad(options) { + let str = decodeURIComponent(options.listitem); + if (str) { + this.detailsinfo = JSON.parse(str); + let query = { + pageNum: 1, + pageSize: 10000, + materialDesc: this.orderNo, + }; + await this.model.queryhandChecklist(query); + this.tableData = this.model.Checklist; + this.tableData.map((item, index) => { + item.index = index + 1; + }); + } } changeContent(e) { //console.log('eee', e.data); @@ -900,49 +227,28 @@ export default class ProductionQtyInsplist extends BasePage { onSubmit() { //debugger //console.log('xssss',this.rowdata); - var bool = null; + if (JSON.stringify(this.rowdata) === '{}' || this.rowdata === undefined) { this.customToast('请选择至少一个备件'); return; } - if (this.model.rowdata.length > 0) { - bool = this.model.rowdata.some((item) => item.rfid == this.rowdata.rfid); - console.log(bool); - if (!bool) { - this.model.rowdata.push(this.rowdata); - uni.navigateBack({}); - } - if (bool) { - (this.$refs.uToast as any).show({ - title: '请勿重复申领', - type: 'default', - }); - // _this.customToast('请勿重复申领'); - } - } else { - this.model.rowdata.push(this.rowdata); - uni.navigateBack({}); - } + this.isshow = true; - console.log(this.model.rowdata, this.page, this.rowdata); // this.uni.navigateTo({ // url: this.page.mes.ProductionQtyInspDetail, // }); } - async query() { - //this.tableData = []; - await this.model.queryhandChecklist(); - //console.log('1234567', this.model.Checklist); + async search() { + let query = { + pageNum: 1, + pageSize: 10000, + materialDesc: this.orderNo, + }; + await this.model.queryhandChecklist(query); this.tableData = this.model.Checklist; this.tableData.map((item, index) => { item.index = index + 1; }); - //console.log('this.tableData', model.Checklist); - //this.productCodeList = this.model.productCodeList[0]; - //this.histroyItem = this.model.orderNoItemList[0]; - } - search(value) { - console.log(value); } histroyItem: any = {}; barcode: any = ''; @@ -1130,4 +436,22 @@ export default class ProductionQtyInsplist extends BasePage { // .wyb-table-scroll-view { // width: auto !important; // } +.form { + margin-top: 10px; + margin-bottom: 10px; + font-weight: 600; + display: flex; + align-items: center; + justify-content: space-around; +} +::v-deep .form .uni-input-input { + margin-left: 10px; + width: 93%; + border: 1px solid; + padding: 10px 5px; + box-sizing: border-box; + outline: none; + height: 35px; + font-weight: 500; +} diff --git a/src/pages/equipment/Repair/details.vue b/src/pages/equipment/Repair/details.vue index ee2d138..6d430ba 100644 --- a/src/pages/equipment/Repair/details.vue +++ b/src/pages/equipment/Repair/details.vue @@ -18,8 +18,8 @@
设备名称: {{ detailsinfolist.equipmentName }}
-
车间: {{ detailsinfocontent.planWorkshop }}
-
工作中心: {{ detailsinfocontent.workshopName }}
+ +
工作中心: {{ detailsinfolist.workshopName }}
@@ -27,7 +27,7 @@ - + - -
+ +
+
是否停机维修
+ + + {{ item.name }} + + +
@@ -65,6 +72,7 @@ import model from './model'; import chooseOne from '@/components/choose-one/choose-one.vue'; import jPicker from '@/components/J-Picker/jPicker.vue'; import { session } from '@/store/modules/session'; +import moment from 'moment'; //import store from '@/store'; @Component({ components: { @@ -125,6 +133,19 @@ export default class ChangePalletNew extends BasePage { deleteimgUrlListcope: any = []; orderNoItemList: any = {}; picturePath: any = 'https://cdn.uviewui.com/uview/swiper/1.jpg,https://cdn.uviewui.com/uview/swiper/2.jpg'; + radioList: any = [ + { + name: '停机', + disabled: false, + type: 1, + }, + { + name: '不停机', + disabled: false, + type: 0, + }, + ]; + radio: any = null; async onReady() { //await this.model.getpalletLocation(); @@ -183,6 +204,9 @@ export default class ChangePalletNew extends BasePage { this.form = item; } } + radioGroupChange1(value) { + console.log(value); + } async onLoad(options) { let str = decodeURIComponent(options.listitem); if (str) { @@ -205,32 +229,48 @@ export default class ChangePalletNew extends BasePage { this.linkrepairing(item); } async linkrepairing(item) { - let query = this.detailsinfocontent; - await this.model.updateInspectionRecord(query); - if (this.model.SubmitCode == '200') { + console.log(this.radio); + if (this.radio == null) { (this.$refs.uToast as any).show({ - title: '成功', - type: 'success', + title: '请选择是否停机维修', + type: 'default', }); - uni.navigateBack({}); + this.isshow = true; + return; + } + + let query = { + workId: item.workId, + workCode: item.workCode, + workDownMachine: this.radio, + workStartTime: moment().format('YYYY-MM-DD HH:mm:ss'), + }; + console.log(query); + await this.model.updateInspectionRecord(query); + if (this.model.SubmitCode.code == 200) { + // (this.$refs.uToast as any).show({ + // title: '成功', + // type: 'success', + // }); + uni.navigateTo({ + url: `/pages/equipment/Repair/repairing?listitem=` + encodeURIComponent(JSON.stringify(item)), + }); + this.isshow = false; } else { (this.$refs.uToast as any).show({ title: '失败', type: 'error', }); } - uni.navigateTo({ - url: `/pages/equipment/Repair/repairing?listitem=` + encodeURIComponent(JSON.stringify(item)), - }); } cancel() { this.isshow = false; - if (this.detailsinfolist.detailList[this.equipmentindex[0]].standardList[this.equipmentindex[1]].picturePath == null) { - this.imgList = []; - } else { - this.imgList = this.detailsinfolist.detailList[this.equipmentindex[0]].standardList[this.equipmentindex[1]].picturePath; - this.imgList = this.imgList.split(','); - } + // if (this.detailsinfolist.detailList[this.equipmentindex[0]].standardList[this.equipmentindex[1]].picturePath == null) { + // this.imgList = []; + // } else { + // this.imgList = this.detailsinfolist.detailList[this.equipmentindex[0]].standardList[this.equipmentindex[1]].picturePath; + // this.imgList = this.imgList.split(','); + // } } scrollLeft() { return 222 * (this.imgList.length + 1); @@ -265,7 +305,7 @@ export default class ChangePalletNew extends BasePage { // }); tempFilePaths.map((item) => { uni.uploadFile({ - url: '/dev-api/file/upload', + url: 'http://192.168.202.20:9000/prod-api/file/upload', //url: '/dev-api/file/upload', fileType: 'image', filePath: item, @@ -592,5 +632,13 @@ export default class ChangePalletNew extends BasePage { max-height: 15px; font-size: 13px; } + .form { + margin-top: 10px; + margin-bottom: 10px; + font-weight: 600; + display: flex; + align-items: center; + justify-content: space-around; + } } diff --git a/src/pages/equipment/Repair/index.vue b/src/pages/equipment/Repair/index.vue index 5ee1770..3d6d9e4 100644 --- a/src/pages/equipment/Repair/index.vue +++ b/src/pages/equipment/Repair/index.vue @@ -3,7 +3,7 @@ - + 维修 @@ -12,26 +12,30 @@
工单号: {{ item.workCode }}
-
{{ item.orderStatus == 0 ? '进行中' : item.orderStatus == 1 ? '已完成' : '已逾期' }}
+
{{ item.workStatus == 0 ? '待维修' : item.workStatus == 1 ? '维修完成' : item.workStatus == 2 ? '维修中' : '维修未完成' }}
设备编码: {{ item.equipmentCode }}
维修负责人: {{ item.workPerson }}
故障描述: {{ item.workFaultDesc }}
维修人员: {{ item.workPerson }}
+
维修组: {{ item.teamName }}
+
维修组人员: {{ item.teamPerson }}
是否立即维修: {{ item.workDownMachine == 1 ? '是' : '否' }}
工单号: {{ item.workCode }}
-
{{ item.orderStatus == 0 ? '进行中' : item.orderStatus == 1 ? '已完成' : '已逾期' }}
- +
{{ item.workStatus == 0 ? '待维修' : item.workStatus == 1 ? '维修完成' : item.workStatus == 2 ? '维修中' : '维修未完成' }}
+
设备编码: {{ item.equipmentCode }}
维修负责人: {{ item.workPerson }}
故障描述: {{ item.workFaultDesc }}
维修人员: {{ item.workPerson }}
+
维修组: {{ item.teamName }}
+
维修组人员: {{ item.teamPerson }}
是否立即维修: {{ item.workDownMachine == 1 ? '是' : '否' }}
@@ -99,6 +103,7 @@ export default class ChangePalletNew extends BasePage { }, ]; userinfo: any = null; + Sparepartlist: any = []; // remove: any = {}; async onReady() { //await this.model.getpalletLocation(); @@ -141,7 +146,7 @@ export default class ChangePalletNew extends BasePage { if (this.userinfo) { let query = { userId: this.userinfo.userId, - workStatus: '1', + workStatus: '0', workOutsource: '0', }; await this.model.getTaskRecord(query); @@ -150,16 +155,45 @@ export default class ChangePalletNew extends BasePage { } } linkdetails(item) { + this.model.rowdatanull(); + // this.model.rowdata = [] + // item.workStatus == 0 ? '待维修' : item.workStatus == 1 ? '维修完成' : item.workStatus == 2 ? '维修中' : '维修未完成'; + if (item.workStatus == 0) { + uni.navigateTo({ + url: `/pages/equipment/Repair/details?listitem=` + encodeURIComponent(JSON.stringify(item)), + }); + } else if (item.workStatus == 2 || item.workStatus == 3) { + uni.navigateTo({ + url: `/pages/equipment/Repair/repairing?listitem=` + encodeURIComponent(JSON.stringify(item)), + }); + } + } + goback() { uni.navigateTo({ - url: `/pages/equipment/Repair/details?listitem=` + encodeURIComponent(JSON.stringify(item)), + url: `/pages/equipment/index`, }); } linkdetailscheck(item) { - this.ischecked = true; - item.ischecked = true; - uni.navigateTo({ - url: `/pages/equipment/Repair/detailsview?listitem=` + encodeURIComponent(JSON.stringify(item)), - }); + this.model.rowdatanull(); + if (item.workStatus == 0) { + this.ischecked = true; + item.ischecked = true; + uni.navigateTo({ + url: `/pages/equipment/Repair/details?listitem=` + encodeURIComponent(JSON.stringify(item)), + }); + } else if (item.workStatus == 2 || item.workStatus == 3) { + this.ischecked = true; + item.ischecked = true; + uni.navigateTo({ + url: `/pages/equipment/Repair/repairing?listitem=` + encodeURIComponent(JSON.stringify(item)), + }); + } else { + this.ischecked = true; + item.ischecked = true; + uni.navigateTo({ + url: `/pages/equipment/Repair/repairingview?listitem=` + encodeURIComponent(JSON.stringify(item)), + }); + } } } diff --git a/src/pages/equipment/Repair/model.ts b/src/pages/equipment/Repair/model.ts index b42c53c..b0a3875 100644 --- a/src/pages/equipment/Repair/model.ts +++ b/src/pages/equipment/Repair/model.ts @@ -2,7 +2,6 @@ import { getModule, Module, MutationAction, VuexModule } from 'vuex-module-decor import store from '@/store'; import http from '@/utils/request'; import { url } from '@/utils/url'; -import { session } from '@/store/modules/session'; @Module({ namespaced: true, dynamic: true, @@ -37,25 +36,30 @@ export class ChangePalletNew extends VuexModule { //巡检提交 @MutationAction async updateInspectionRecord(params: any) { - const result: any = await http.post(url.lanjuequipment.product.Inspection.updateInspectionRecord, params); - const SubmitCode: [] = result.code; + const result: any = await http.put(url.lanjuequipment.product.Repair.updateDowntime, params); + const SubmitCode: [] = result; + return { SubmitCode }; + } + @MutationAction + async updateMaintenanceRecords(params: any) { + const result: any = await http.put(url.lanjuequipment.product.Repair.updateMaintenanceRecords, params); + const SubmitCode: [] = result; return { SubmitCode }; } Checklist: any = []; @MutationAction - async queryhandChecklist() { - const result: any = await http.get(url.lanjumes.product.queryhandChecklist, { - //loginName: session.loginName, - params: { - factoryCode: session.FactoryCode, - createBy: session.user?.loginName, - }, - }); + async queryhandChecklist(params: any) { + const result: any = await http.get(url.lanjuequipment.product.Repair.list, { params: params }); const Checklist: any = result.rows; console.log('this.tableData', Checklist); // debugger return { Checklist }; } + @MutationAction + async rowdatanull() { + const rowdata: [] = []; + return { rowdata }; + } } export default getModule(ChangePalletNew); diff --git a/src/pages/equipment/Repair/repairing.vue b/src/pages/equipment/Repair/repairing.vue index 17a5e62..3f3fba2 100644 --- a/src/pages/equipment/Repair/repairing.vue +++ b/src/pages/equipment/Repair/repairing.vue @@ -3,7 +3,7 @@ - + 巡检详情 @@ -13,35 +13,35 @@
报修信息
-
报修人: {{ detailsinfolist.equipmentCode }}
+
报修人: {{ detailsinfolist.orderRepairman }}
-
保修时间: {{ detailsinfolist.equipmentCode }}
+
保修时间: {{ detailsinfolist.orderTime }}
-
故障时间: {{ detailsinfolist.equipmentCode }}
+
故障时间: {{ detailsinfolist.orderBreakdownTime }}
-
报修来源: {{ detailsinfolist.equipmentCode }}
+
报修来源: {{ detailsinfolist.orderSource }}
+
-
故障时间: {{ detailsinfocontent.planWorkshop }}
+
是否立即维修: {{ detailsinfolist.workHandle }}
-
是否立即维修: {{ detailsinfocontent.planWorkshop }}
+
联系方式: {{ detailsinfolist.orderConnection }}
-
联系方式: {{ detailsinfocontent.planWorkshop }}
- -
-
-
故障描述: {{ detailsinfocontent.planWorkshop }}
+
故障描述: {{ detailsinfolist.workFaultDesc }}
@@ -58,7 +58,7 @@
检查标准: {{ item1.standardName }}
- + {{ n.name }} @@ -79,44 +79,43 @@
点击进行备件申领
- +
- +
备件申领单
+
+ 删除 +
-
件编码: {{ detailsinfolist.equipmentCode }}
+
备件编码: {{ item.materialCode }}
-
备件名称: {{ detailsinfolist.equipmentCode }}
+
备件名称: {{ item.materialDesc }}
-
申请数量: {{ detailsinfolist.equipmentCode }}
+
申领数量: {{ item.spareQuantity }}
-
备件费用: {{ detailsinfolist.equipmentCode }}
+
备件费用: {{ item.equipmentCode }}
-
-
申请人: {{ detailsinfocontent.planWorkshop }}
- + +
申请时间: {{ item.planWorkshop }}
-
审核人: {{ detailsinfocontent.planWorkshop }}
- +
审核人: {{ item.planWorkshop }}
-
审核时间: {{ detailsinfocontent.planWorkshop }}
- -
+
审核时间: {{ item.planWorkshop }}
+
-->
@@ -124,12 +123,12 @@
维修单
- {{ detailsinfolist.equipmentCode }} + {{ detailsinfolist.workPerson }}
- + {{ n.name }} @@ -138,33 +137,32 @@ - + - - - + - - + + --> + - + - + - + - - + + - + - + 添加照片 @@ -195,7 +193,7 @@ - + @@ -211,6 +209,7 @@
+
diff --git a/src/pages/equipment/Upkeep/model.ts b/src/pages/equipment/Upkeep/model.ts index a1f1535..b0a3875 100644 --- a/src/pages/equipment/Upkeep/model.ts +++ b/src/pages/equipment/Upkeep/model.ts @@ -2,48 +2,33 @@ import { getModule, Module, MutationAction, VuexModule } from 'vuex-module-decor import store from '@/store'; import http from '@/utils/request'; import { url } from '@/utils/url'; -import { session } from '@/store/modules/session'; @Module({ namespaced: true, dynamic: true, store, - name: 'page.equipment.Upkeep', + name: 'page.equipment.Repair', }) export class ChangePalletNew extends VuexModule { rowdata: any = []; orderNoItemList: any = []; getTaskRecordList: any = []; - // 点检:spotInspection - // 巡检:inspection - // 保养:maintenance - async getTodayTask(userId: any) { - const result: any = await http.get(url.lanjuequipment.product.Inspection.getTodayTask, { - //loginName: session.loginName, - params: { - userId: userId, - planType: 'maintenance', - }, - }); + @MutationAction + async getTodayTask(params: any) { + const result: any = await http.get(url.lanjuequipment.product.Repair.getTodayTask, { params: params }); const orderNoItemList = result.data; return { orderNoItemList }; } @MutationAction - async getTaskRecord(userId: any) { - const result: any = await http.get(url.lanjuequipment.product.Inspection.getTaskRecord, { - //loginName: session.loginName, - params: { - userId: userId, - planType: 'maintenance', - }, - }); + async getTaskRecord(params: any) { + const result: any = await http.get(url.lanjuequipment.product.Repair.getTaskRecord, { params: params }); const getTaskRecordList = result.data; return { getTaskRecordList }; } //巡检列表巡检记录 OrderInfList: any = []; @MutationAction - async getInspectionOrderInfo(params: any) { - const result: any = await http.post(url.lanjuequipment.product.Inspection.getInspectionOrderInfo, params); + async getInspectionOrderInfo(workId: any) { + const result: any = await http.get(url.lanjuequipment.product.Repair.selectPdaRepairWorkOrderDetails + '/' + workId); const OrderInfList: [] = result.data; return { OrderInfList }; } @@ -51,25 +36,30 @@ export class ChangePalletNew extends VuexModule { //巡检提交 @MutationAction async updateInspectionRecord(params: any) { - const result: any = await http.post(url.lanjuequipment.product.Inspection.updateInspectionRecord, params); - const SubmitCode: [] = result.code; + const result: any = await http.put(url.lanjuequipment.product.Repair.updateDowntime, params); + const SubmitCode: [] = result; + return { SubmitCode }; + } + @MutationAction + async updateMaintenanceRecords(params: any) { + const result: any = await http.put(url.lanjuequipment.product.Repair.updateMaintenanceRecords, params); + const SubmitCode: [] = result; return { SubmitCode }; } Checklist: any = []; @MutationAction - async queryhandChecklist() { - const result: any = await http.get(url.lanjumes.product.queryhandChecklist, { - //loginName: session.loginName, - params: { - factoryCode: session.FactoryCode, - createBy: session.user?.loginName, - }, - }); + async queryhandChecklist(params: any) { + const result: any = await http.get(url.lanjuequipment.product.Repair.list, { params: params }); const Checklist: any = result.rows; console.log('this.tableData', Checklist); // debugger return { Checklist }; } + @MutationAction + async rowdatanull() { + const rowdata: [] = []; + return { rowdata }; + } } export default getModule(ChangePalletNew); diff --git a/src/pages/equipment/Upkeep/repairing.vue b/src/pages/equipment/Upkeep/repairing.vue index 17a5e62..3f3fba2 100644 --- a/src/pages/equipment/Upkeep/repairing.vue +++ b/src/pages/equipment/Upkeep/repairing.vue @@ -3,7 +3,7 @@ - + 巡检详情 @@ -13,35 +13,35 @@
报修信息
-
报修人: {{ detailsinfolist.equipmentCode }}
+
报修人: {{ detailsinfolist.orderRepairman }}
-
保修时间: {{ detailsinfolist.equipmentCode }}
+
保修时间: {{ detailsinfolist.orderTime }}
-
故障时间: {{ detailsinfolist.equipmentCode }}
+
故障时间: {{ detailsinfolist.orderBreakdownTime }}
-
报修来源: {{ detailsinfolist.equipmentCode }}
+
报修来源: {{ detailsinfolist.orderSource }}
+
-
故障时间: {{ detailsinfocontent.planWorkshop }}
+
是否立即维修: {{ detailsinfolist.workHandle }}
-
是否立即维修: {{ detailsinfocontent.planWorkshop }}
+
联系方式: {{ detailsinfolist.orderConnection }}
-
联系方式: {{ detailsinfocontent.planWorkshop }}
- -
-
-
故障描述: {{ detailsinfocontent.planWorkshop }}
+
故障描述: {{ detailsinfolist.workFaultDesc }}
@@ -58,7 +58,7 @@
检查标准: {{ item1.standardName }}
- + {{ n.name }} @@ -79,44 +79,43 @@
点击进行备件申领
- +
- +
备件申领单
+
+ 删除 +
-
件编码: {{ detailsinfolist.equipmentCode }}
+
备件编码: {{ item.materialCode }}
-
备件名称: {{ detailsinfolist.equipmentCode }}
+
备件名称: {{ item.materialDesc }}
-
申请数量: {{ detailsinfolist.equipmentCode }}
+
申领数量: {{ item.spareQuantity }}
-
备件费用: {{ detailsinfolist.equipmentCode }}
+
备件费用: {{ item.equipmentCode }}
-
-
申请人: {{ detailsinfocontent.planWorkshop }}
- + +
申请时间: {{ item.planWorkshop }}
-
审核人: {{ detailsinfocontent.planWorkshop }}
- +
审核人: {{ item.planWorkshop }}
-
审核时间: {{ detailsinfocontent.planWorkshop }}
- -
+
审核时间: {{ item.planWorkshop }}
+
-->
@@ -124,12 +123,12 @@
维修单
- {{ detailsinfolist.equipmentCode }} + {{ detailsinfolist.workPerson }}
- + {{ n.name }} @@ -138,33 +137,32 @@ - + - - - + - - + + --> + - + - + - + - - + + - + - + 添加照片 @@ -195,7 +193,7 @@ - + @@ -211,6 +209,7 @@
+