From 6af6557a8d8a525ec3cab33607b8a041ef0968fa Mon Sep 17 00:00:00 2001 From: ludc Date: 星期三, 08 十一月 2023 11:15:31 +0800 Subject: [PATCH] 历史导入生成编码时添加前后缀代码逻辑添加;历史导入模板下载时查询模板返回的key不区分大小写。 --- Source/UBCS-WEB/src/views/code/code.vue | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Source/UBCS-WEB/src/views/code/code.vue b/Source/UBCS-WEB/src/views/code/code.vue index c623dfc..c9e7ac1 100644 --- a/Source/UBCS-WEB/src/views/code/code.vue +++ b/Source/UBCS-WEB/src/views/code/code.vue @@ -1552,8 +1552,8 @@ serialDependFlag: false, //鏄惁娴佹按渚濊禆 serialDependOrder: "", //娴佹按渚濊禆椤哄簭 nullableFlag: false, //鏄惁涓虹┖ - prefix: "", //鍓嶇紑 - suffix: "", //鍚庣紑 + prefixCode: "", //鍓嶇紑 + suffixCode: "", //鍚庣紑 displayFlag: false, // componentCodeFlag: false, //鏄惁鍙備笌缂栫爜 pkCodeRule: "", //鎵�灞炵紪鐮佽鍒� @@ -3219,16 +3219,18 @@ } this.form = { oid: row !=null ? row.oid:this.form.oid, - id: row !=null ? row.id:this.form.id, //缂栧彿, - name: row !=null ? row.name:this.form.name, //鍚嶇О - secType: row !=null ? row.secType:this.form.secType, //鐮佹绫诲瀷 - description: row !=null ? row.description:this.form.description, //鎻忚堪 + id: row != null ? row.id:this.form.id, //缂栧彿, + name: row != null ? row.name:this.form.name, //鍚嶇О + secType: row != null ? row.secType:this.form.secType, //鐮佹绫诲瀷 + description: row != null ? row.description:this.form.description, //鎻忚堪 serialDependFlag: this.isNullJsonBoolean(row,this.form, 'serialDependFlag'), //鏄惁娴佹按渚濊禆 serialDependOrder: row !=null ? row.serialDependOrder:this.form.serialDependOrder, //娴佹按渚濊禆椤哄簭 nullableFlag: this.isNullJsonBoolean(row, this.form, 'nullableFlag'), //鏄惁涓虹┖ displayFlag: this.isNullJsonBoolean(row, this.form, 'displayFlag'), componentCodeFlag: this.isNullJsonBoolean(row, this.form, 'componentCodeFlag'), //鏄惁鍙備笌缂栫爜 - pkCodeRule: row !=null ? row.pkCodeRule:this.form.pkCodeRule, //鎵�灞炵紪鐮佽鍒� + pkCodeRule: row != null ? row.pkCodeRule:this.form.pkCodeRule, //鎵�灞炵紪鐮佽鍒� + prefixCode: row != null ? row.prefixCode:this.form.prefixCode, //鍓嶇紑 + suffixCode: row!= null ? row.suffixCode:this.form.suffixCode, //鍚庣紑 }; if (this.form.secType === "codefixedsec") { //鍥哄畾鐮佹 -- Gitblit v1.9.3