往来单位调整

szh-new
张同海 3 months ago
parent 8d15afe4c9
commit e9d16ab493

@ -40,7 +40,7 @@
return [] return []
}, },
}, },
ShowName: { type: String }, formModel: { type: Object },
}, },
emits: ['change', 'update:value', 'edit'], emits: ['change', 'update:value', 'edit'],
setup(props, { emit }) { setup(props, { emit }) {
@ -78,8 +78,8 @@
}) })
} else { } else {
if (props.label == '来源明细') { if (props.label == '来源明细') {
RData = props.ShowName // RData = props.ShowName
console.log(props.ShowName, 111111111111) console.log(props.formModel, 111111111111)
} else { } else {
RData = state.value ? state.value.replace(/\"/g, '') : '' RData = state.value ? state.value.replace(/\"/g, '') : ''
} }

@ -668,18 +668,6 @@ export const EditformSchema: FormSchema[] = [
dynamicDisabled: ({ values }) => { dynamicDisabled: ({ values }) => {
return !values.sourceId return !values.sourceId
}, },
componentProps: async (e) => {
const { formModel } = e
console.log(formModel, 11111111111)
return {
ShowName: formModel.sourceDetailName,
onEdit: () => {
const { formActionType } = e
formActionType ? formActionType.linkageForm(e) : null
},
}
},
colProps: { span: 4 }, colProps: { span: 4 },
}, },
{ {

@ -394,8 +394,12 @@
return !values.sourceId return !values.sourceId
}, },
colProps: { span: 4 }, colProps: { span: 4 },
componentProps: (e) => { componentProps: async (e) => {
const { formModel } = e
console.log(formModel, 2222)
return { return {
formModel: formModel,
onEdit: () => { onEdit: () => {
const { formActionType } = e const { formActionType } = e
formActionType ? formActionType.linkageForm(e) : null formActionType ? formActionType.linkageForm(e) : null

Loading…
Cancel
Save