feature-JimuReport-1106-yjl
lijingjia 4 weeks ago
commit b9bf639846

@ -194,17 +194,17 @@ export const EditformSchema: FormSchema[] = [
field: 'registeredCapital',
label: '注册资金',
component: 'DEdit',
defaultValue: 0,
colProps: { span: 4 },
defaultValue: 0,
componentProps: (e) => {
return {
min: '0',
step: '0.01',
stringMode: true,
onEdit: () => {
const { formActionType } = e
formActionType ? formActionType.linkageForm(e) : null
},
min: '0',
step: '0.01',
stringMode: true,
}
},
},

@ -616,6 +616,8 @@
}
const linkageForm = (e) => {
console.log(e)
let Data = DIYformSchema.value.length ? DIYformSchema.value : formSchema
Data.forEach((item) => {
if (item.field == e.schema.field) {

@ -646,10 +646,12 @@ export const formSchema: FormSchema[] = [
component: 'InputNumber',
colProps: { span: 4 },
defaultValue: 0,
componentProps: {
min: '0',
step: '0.01',
stringMode: true,
componentProps: () => {
return {
min: '0',
step: '0.01',
stringMode: true,
}
},
},
{

Loading…
Cancel
Save