From 45838623f185bb6426b7a233f3ecb8924e520750 Mon Sep 17 00:00:00 2001
From: yuxc <653031404@qq.com>
Date: 星期二, 11 七月 2023 18:36:02 +0800
Subject: [PATCH] 1、主要对主数据修改的数据复制进行了修改。
---
Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue | 25 ++++++++++++++++++-------
1 files changed, 18 insertions(+), 7 deletions(-)
diff --git a/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue b/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue
index 75413c2..be3ea00 100644
--- a/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue
+++ b/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue
@@ -79,7 +79,7 @@
</basic-container>
</template>
<script>
-import {MasterTable, TableData, FindData} from "@/api/GetItem";
+import {MasterTable, TableData, FindData,addSaveCode,editSaveCode} from "@/api/GetItem";
import {listCodeAttributeByClassId} from "@/api/integration/integration.js";
import integrationTransfer from "@/views/integration/integrationTransfer";
import SetPersonnel from "@/components/template/SetPersonnel";
@@ -213,7 +213,8 @@
codeClassifyOid: {
handler(newval, oldval) {
this.codeClassifyOid = newval;
- this.parameter.vars.codeClassifyOid = newval
+ this.parameter.vars.codeClassifyOid = newval;
+ console.log('瀛�',newval)
},
deep: true,
},
@@ -421,6 +422,7 @@
},
//澶氶��
handleSelectionChange(row) {
+ console.log(row)
if (this.row) {
this.rowOid = row[0].oid;
} else {
@@ -485,16 +487,26 @@
}
},
//澧炲姞淇濆瓨
- AddSumbit() {
+ AddSumbit(val) {
this.addvisible = false;
+ console.log(val)
+ addSaveCode(val).then(res=>{
+ console.log(res)
+ this.onLoad()
+ })
},
EditSumbit(val) {
this.editvisible = false;
+ console.log(val)
+ editSaveCode(val).then(res=>{
+ console.log(res)
+ this.onLoad()
+ })
},
openBatchImport(type) {
- this.batchImportData.visible = true
- this.batchImportData.type = type
- this.batchImportData.codeClassifyOid = this.codeClassifyOid
+ this.batchImportData.visible = true;
+ this.batchImportData.type = type;
+ this.batchImportData.codeClassifyOid = this.codeClassifyOid;
}
},
};
@@ -505,7 +517,6 @@
.el-table--scrollable-x .el-table__body-wrapper {
overflow: auto !important;
}
-
.el-table__fixed-right-patch {
background-color: #f5f7fa !important;
}
--
Gitblit v1.10.0