往来单位 客户参数字段调整

szh-new
张同海 3 months ago
parent 04e7a9f2b6
commit a21068472d

@ -20,13 +20,13 @@ export const columns: BasicColumn[] = [
// width: 150,
// },
{
title: '客户参数类',
dataIndex: 'paramType',
title: '客户参数类',
dataIndex: 'paramName',
width: 150,
},
{
title: '客户参数名称',
dataIndex: 'paramName',
dataIndex: 'itemName',
width: 200,
},
{
@ -38,7 +38,7 @@ export const columns: BasicColumn[] = [
export const searchFormSchema: FormSchema[] = [
{
field: 'paramName',
field: 'itemName',
label: '客户参数名称',
colProps: { span: 6 },
component: 'Input',
@ -70,11 +70,12 @@ export const formSchema: FormSchema[] = [
GetTenantParamDataSelectList({ code: e }).then((res) => {
itemNameOption.value = res.data
})
if (obj) {
if (e && obj) {
formModel.paramName = obj.label
formModel.paramId = obj.id
formModel.paramType = obj.type
} else {
}
if (!e && !obj) {
formModel.paramName = ''
formModel.paramId = ''
formModel.paramType = ''

Loading…
Cancel
Save