From 2268b2e9d7fe64344423b9355b646ba9cca596bd Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期五, 01 十二月 2023 00:14:13 +0800
Subject: [PATCH] 打包配置文件调整为预发布方式
---
Source/UBCS-WEB/src/components/FormTemplate/FormTemplate.vue | 17 ++++++++++-------
1 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/Source/UBCS-WEB/src/components/FormTemplate/FormTemplate.vue b/Source/UBCS-WEB/src/components/FormTemplate/FormTemplate.vue
index 5849e98..bfd0254 100644
--- a/Source/UBCS-WEB/src/components/FormTemplate/FormTemplate.vue
+++ b/Source/UBCS-WEB/src/components/FormTemplate/FormTemplate.vue
@@ -278,7 +278,6 @@
let columnItem = {
change: (val) => {
- console.log(val)
if (val.column.field === "drawingno") {
this.codeattrsecValue = val.value;
return;
@@ -600,12 +599,16 @@
// 鑾峰彇琛ㄥ崟璇︽儏鏁版嵁
getFormDetail() {
if (this.type === "add") return;
- getFormDetail({templateOid: this.templateOid, oid: this.rowOid}).then(
- (res) => {
- this.form = Object.assign(this.form, res.data.data[0]);
- this.loading = false;
- }
- );
+ if(this.templateOid){
+ getFormDetail({templateOid: this.templateOid, oid: this.rowOid}).then(
+ (res) => {
+ this.form = Object.assign(this.form, res.data.data[0]);
+ this.loading = false;
+ }
+ );
+ return;
+ }
+
},
setReferValue(data) {
if (data.field) {
--
Gitblit v1.9.3