往来单位调整

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

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

@ -668,18 +668,6 @@ export const EditformSchema: FormSchema[] = [
dynamicDisabled: ({ values }) => {
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 },
},
{

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

Loading…
Cancel
Save