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; },