【issues/7203】自动生成一对多表单代码中,省市区回显问题--

pull/7333/head
JEECG 2 months ago
parent c5fee07cba
commit e770524f3a

@ -7,6 +7,7 @@ import { JVxeRenderType } from '../types/JVxeTypes';
import { isBoolean, isFunction, isObject, isPromise } from '/@/utils/is';
import { JVxeComponent } from '../types/JVxeComponent';
import { filterDictText } from '/@/utils/dict/JDictSelectUtil';
import { getAreaTextByCode } from "@/components/Form/src/utils/Area";
export function useJVxeCompProps() {
return {
@ -160,6 +161,14 @@ export function useJVxeComponent(props: JVxeComponent.Props) {
return;
}
// update-end--author:liaozhiyang---date:20240509---forQQYUN-9205(jVxetabledate)
//update-begin---author:wangshuai---date:2024-09-18---for:issues/7203---
if (props.type === 'pca' && props.renderType === JVxeRenderType.spaner) {
innerValue.value = getAreaTextByCode(newValue);
return;
}
//update-end---author:wangshuai---date:2024-09-18---for:issues/7203---
//
if (props.renderType === JVxeRenderType.spaner && enhanced.translate.enabled === true) {
if (isFunction(enhanced.translate.handler)) {

Loading…
Cancel
Save