From 0b80976496ec670d14fb16f3a8ffa5c5c033300f Mon Sep 17 00:00:00 2001 From: xd <844539747@qq.com> Date: Wed, 17 Apr 2024 10:46:55 +0800 Subject: [PATCH] '123' --- .../technicalConfirm/index.vue | 80 +++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/ruoyi-ui/src/views/technicalConfirm/technicalConfirm/index.vue b/ruoyi-ui/src/views/technicalConfirm/technicalConfirm/index.vue index ecb822b..2d3a511 100644 --- a/ruoyi-ui/src/views/technicalConfirm/technicalConfirm/index.vue +++ b/ruoyi-ui/src/views/technicalConfirm/technicalConfirm/index.vue @@ -869,6 +869,85 @@ export default { this.getList(); }, methods: { + /** 清空表单 */ + reset(){ + this.form = { + quotJsqrCode: null, + quotCode: null, + quotJsxzStandard: null, + quotJsxzChapter: null, + quotJsxzGroup: null, + quotCustomerName: null, + quotSalesmanName: null, + quotProject: null, + quotJsxzTechnicalRequirement: null, + + quotJsqrTlApprovalStatus: null, + quotJsqrTlOperateState: null, + quotJsqrTlCheckState: null, + quotJsqrTlLeaderState: null, + quotJsqrTlRemark: null, + quotJsqrTlOperateUserName: null, + quotJsqrTlOperateTime: null, + quotJsqrTlCheckUserName: null, + quotJsqrTlCheckTime: null, + quotJsqrTlCheckRemark: null, + quotJsqrTlLeaderUserName: null, + quotJsqrTlLeaderTime: null, + quotJsqrTlLeaderRemark: null, + + quotJsqrDyApprovalStatus: null, + quotJsqrDyOperateState: null, + quotJsqrDyCheckState: null, + quotJsqrDyLeaderState: null, + quotJsqrDyRemark: null, + quotJsqrDyOperateUserName: null, + quotJsqrDyOperateTime: null, + quotJsqrDyCheckUserName: null, + quotJsqrDyCheckTime: null, + quotJsqrDyCheckRemark: null, + quotJsqrDyLeaderUserName: null, + quotJsqrDyLeaderTime: null, + quotJsqrDyLeaderRemark: null, + + quotJsqrZyApprovalStatus: null, + quotJsqrZyOperateState: null, + quotJsqrZyCheckState: null, + quotJsqrZyLeaderState: null, + quotJsqrZyRemark: null, + quotJsqrZyOperateUserName: null, + quotJsqrZyOperateTime: null, + quotJsqrZyCheckUserName: null, + quotJsqrZyCheckTime: null, + quotJsqrZyCheckRemark: null, + quotJsqrZyLeaderUserName: null, + quotJsqrZyLeaderTime: null, + quotJsqrZyLeaderRemark: null, + + quotJsqrQtApprovalStatus: null, + quotJsqrQtOperateState: null, + quotJsqrQtCheckState: null, + quotJsqrQtLeaderState: null, + quotJsqrQtRemark: null, + quotJsqrQtOperateUserName: null, + quotJsqrQtOperateTime: null, + quotJsqrQtCheckUserName: null, + quotJsqrQtCheckTime: null, + quotJsqrQtCheckRemark: null, + quotJsqrQtLeaderUserName: null, + quotJsqrQtLeaderTime: null, + quotJsqrQtLeaderRemark: null + }; + + this.quotJsgfFileList = []; + this.quotJsqrFileList = []; + + this.showTl = false; + this.showDy = false; + this.showZy = false; + this.showQt = false; + this.resetForm("form"); + }, /** 查询报价单-技术确认单列表 */ getList() { this.loading = true; @@ -902,6 +981,7 @@ export default { /** 修改按钮操作 */ handleUpdate(row) { + this.reset(); const quotJsqrId = row.quotJsqrId || this.ids getJsqr(quotJsqrId).then(response => { this.form = response.data;