From 8c7e3151c1a31bc9dc3e7fa1371825b02baeb1db Mon Sep 17 00:00:00 2001 From: zhen <1173776308@qq.com> Date: Tue, 16 Jul 2024 11:21:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=93=8D=E4=BD=9C=E7=A5=A8=EF=BC=88=E5=BC=A0?= =?UTF-8?q?=E5=90=8C=E6=9C=95=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/smart/operationticket.vue | 2 +- src/views/smart/operationticketDetail.vue | 17 ++++++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/views/smart/operationticket.vue b/src/views/smart/operationticket.vue index 71d54e9..89c6afa 100644 --- a/src/views/smart/operationticket.vue +++ b/src/views/smart/operationticket.vue @@ -698,7 +698,7 @@ import {getList, getDetail, add, update, remove, closeticket} from "@/api/smart/ cancelButtonText: "取消", type: "warning" }).then(() => { - expUtil.excelExport(`/api/equipmentledger/export?daf-auth=${getToken()}`, this.search, ['station', 'userStatus']); + expUtil.excelExport(`/api/smart/operationticket/export?daf-auth=${getToken()}`, this.search); }); }, } diff --git a/src/views/smart/operationticketDetail.vue b/src/views/smart/operationticketDetail.vue index 85d86f7..10c00f5 100644 --- a/src/views/smart/operationticketDetail.vue +++ b/src/views/smart/operationticketDetail.vue @@ -38,7 +38,14 @@ @row-update="item_rowUpdate" @row-save="item_rowSave" @row-del="item_rowDel"> + +
@@ -525,7 +532,7 @@ export default { ...mapGetters(["permission"]), permissionList() { return { - addBtn: true, + addBtn: false, viewBtn: false, delBtn: true, editBtn: true @@ -640,6 +647,14 @@ export default { this.item_onLoad(); } } + if(column.prop == 'operationItem'){ + if(this.tab1_form.operationTicketNo ==="" || this.tab1_form.operationTicketNo ===null){ + this.$message({ + type: "error", + message: "请返回基本信息填写“操作票编号”!!!" + }); + } + } this.item_form.operationTicketNo = this.tab1_form.operationTicketNo; },