往来单位 客户属性 默认值问题

feature-JimuReport-1106-yjl
张同海 4 weeks ago
parent 9723f53594
commit d94402c5c9

@ -381,6 +381,7 @@
rowId.value = route.query.id rowId.value = route.query.id
activeKey.value = '2' activeKey.value = '2'
await getData(true) await getData(true)
ChangeArrclientTag(false)
} else { } else {
clientId.value = '' clientId.value = ''
clientTag_o.value = { clientTag_o.value = {
@ -402,8 +403,8 @@
} else if (route.path == '/SupplierinfoclientDetail') { } else if (route.path == '/SupplierinfoclientDetail') {
CustomerOrSupplier.value = 'isSupplier' CustomerOrSupplier.value = 'isSupplier'
} }
ChangeArrclientTag(true)
} }
ChangeArrclientTag(false)
}) })
function ChangeArrclientTag(type) { function ChangeArrclientTag(type) {
// //

@ -370,8 +370,8 @@ export const searchFormSchema: FormSchema[] = [
component: 'Input', component: 'Input',
colProps: { span: 4 }, colProps: { span: 4 },
componentProps: { componentProps: {
placeholder: '支持中英文全/简称、助记码搜索' placeholder: '支持中英文全/简称、助记码搜索',
} },
}, },
{ {
field: 'contactInfo', field: 'contactInfo',
@ -1256,7 +1256,8 @@ export const formSchema: FormSchema[] = [
field: 'ArrclientTag', field: 'ArrclientTag',
component: 'ApiSelect', component: 'ApiSelect',
colProps: { span: 12 }, colProps: { span: 12 },
defaultValue: ['isController'], // 'isController'
defaultValue: [],
componentProps: ({ formModel }) => { componentProps: ({ formModel }) => {
return { return {
api: () => { api: () => {

Loading…
Cancel
Save