From e2ed46c21ecb7b82f3ab2d37678b1cf94bd3968e Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期三, 15 十一月 2023 15:46:09 +0800 Subject: [PATCH] 自定义流水算法-新增回填 编辑回填 --- Source/UBCS-WEB/src/views/code/code.vue | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Source/UBCS-WEB/src/views/code/code.vue b/Source/UBCS-WEB/src/views/code/code.vue index 29d0c62..023dbcb 100644 --- a/Source/UBCS-WEB/src/views/code/code.vue +++ b/Source/UBCS-WEB/src/views/code/code.vue @@ -886,7 +886,7 @@ :referConfig="this.referConfig || {}" :display="true" :value="form.customCodeSerialClass" - :text="form.customCodeSerialClassText" + :text="form.customCodeSerialClass" @setReferValue="setReferValue" ></vciWebRefer> <!-- <el-input--> @@ -1718,6 +1718,10 @@ //鑷畾涔夋祦姘村け鐒� setReferValue(data){ console.log(data) + if(data.field){ + this.form[data.field] = data.value || ""; + // this.form[data.showField] = data.text || ""; + } }, /** 杞Щ瑙勫垯鎵�鏈夎�呭璇濇 */ escapeOwner() { @@ -1777,7 +1781,7 @@ //杞崲鎴怞SON瀛楃涓茶繘琛岀埗缁勪欢鍥炴樉 let submitFormJson = JSON.stringify(content); this.form.referConfig = submitFormJson || ""; - debugger; + // debugger; }, /** 寮曠敤鐮佹涓恒�愬弬鐓у紩鐢ㄧ殑涓氬姟绫诲瀷銆戦�夊彇鍊间箣鍚庣殑鍐呭鍥炴樉鏃惰皟鐢� */ echoReferBtmType(content) { @@ -2797,6 +2801,7 @@ type: "success", message: "鎿嶄綔鎴愬姛!", }); + console.log(this.form) // 鍏抽棴瀵硅瘽妗� this.addBasicCodeSettingBox = false; // 鐐瑰嚮鏂板鍩虹鐮佹,鍏抽棴绐楀彛涔嬪悗瑙﹀彂閲嶆柊鍔犺浇 @@ -3283,6 +3288,7 @@ }, /** 鐮佹绫诲瀷鏀瑰彉鏃讹紝澧炲姞瀵瑰簲鐨刦orm琛ㄥ崟涓殑灞炴��*/ changeSectypeFormItems(row) { + console.log(row) if ( func.isEmpty(this.enumParam.secTypeList) || this.enumParam.secTypeList.length == 0 @@ -3303,6 +3309,7 @@ pkCodeRule: row != null ? row.pkCodeRule : this.form.pkCodeRule, //鎵�灞炵紪鐮佽鍒� prefixCode: row != null ? row.prefixCode : this.form.prefixCode, //鍓嶇紑 suffixCode: row != null ? row.suffixCode : this.form.suffixCode, //鍚庣紑 + // customCodeSerialClass: row != null ? row.customCodeSerialClass : this.form.customCodeSerialClass }; if (this.form.secType === "codefixedsec") { //鍥哄畾鐮佹 -- Gitblit v1.9.3