|
@@ -222,7 +222,7 @@
|
|
>
|
|
>
|
|
保存
|
|
保存
|
|
</el-button>
|
|
</el-button>
|
|
- <el-button @click="resetForm('formInfo')">取消</el-button>
|
|
|
|
|
|
+ <!-- <el-button @click="resetForm('formInfo')">取消</el-button> -->
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</div>
|
|
</div>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -377,7 +377,7 @@ export default defineComponent({
|
|
}
|
|
}
|
|
|
|
|
|
function resetForm() {
|
|
function resetForm() {
|
|
- formInfo.value.resetFields()
|
|
|
|
|
|
+ formInfo.value.clearValidate()
|
|
}
|
|
}
|
|
|
|
|
|
// 动态属性下拉请求
|
|
// 动态属性下拉请求
|
|
@@ -580,9 +580,16 @@ export default defineComponent({
|
|
dataSet.fileList = []
|
|
dataSet.fileList = []
|
|
newArray.value = []
|
|
newArray.value = []
|
|
|
|
|
|
|
|
+ resetForm()
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
getSite()
|
|
getSite()
|
|
dynamicPropertiesDroplist(2)
|
|
dynamicPropertiesDroplist(2)
|
|
dynamicPropertiesDroplist(1)
|
|
dynamicPropertiesDroplist(1)
|
|
|
|
+
|
|
|
|
+
|
|
}
|
|
}
|
|
}
|
|
}
|
|
)
|
|
)
|
|
@@ -592,6 +599,9 @@ export default defineComponent({
|
|
if (newVal == 'first') {
|
|
if (newVal == 'first') {
|
|
dataSet.fileList = []
|
|
dataSet.fileList = []
|
|
newArray.value = []
|
|
newArray.value = []
|
|
|
|
+
|
|
|
|
+ resetForm()
|
|
|
|
+
|
|
getSite()
|
|
getSite()
|
|
dynamicPropertiesDroplist(2)
|
|
dynamicPropertiesDroplist(2)
|
|
dynamicPropertiesDroplist(1)
|
|
dynamicPropertiesDroplist(1)
|