From 6f31eb3ae87f6f1c500ce9d6ad63ffbe861e28ef Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期五, 04 八月 2023 16:34:33 +0800 Subject: [PATCH] 主数据已发布数据更改bug --- Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue b/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue index f2ccf2b..8fb1716 100644 --- a/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue +++ b/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue @@ -67,7 +67,7 @@ :disabledProp="disabledProp" :rowOid="rowOid" :templateOid="templateOid" :title="'宸插彂甯冩暟鎹洿鏀�'" type="edit" - :visible.sync="DataVisible"></FormTemplateDialog> + :visible.sync="DataVisible" @submit="updataSumbit"></FormTemplateDialog> <!-- 鍙戝竷--> <set-personnel :parameter="this.parameter" :title="title" :visible.sync="visibleFlow" @onLoad="onLoad"></set-personnel> @@ -116,7 +116,7 @@ </basic-container> </template> <script> -import {MasterTable, TableData, FindData, addSaveCode, editSaveCode, deleteCode} from "@/api/GetItem"; +import {MasterTable, TableData, FindData, addSaveCode, editSaveCode, deleteCode, upSaveCode} from "@/api/GetItem"; import {processTS, changeStatus} from "@/api/template/setPersonnel" import {listCodeAttributeByClassId} from "@/api/integration/integration.js"; import integrationTransfer from "@/views/integration/integrationTransfer"; @@ -872,6 +872,14 @@ }) }) }, + updataSumbit(val){ + this.DataVisible = false; + upSaveCode(val).then(res=>{ + this.$nextTick(() => { + this.onLoad() + }) + }) + }, openBatchImport(type) { this.batchImportData.visible = true this.batchImportData.type = type -- Gitblit v1.9.3