|
@@ -387,7 +387,6 @@
|
|
component: 'ApiSelect',
|
|
component: 'ApiSelect',
|
|
label: '场景联系人',
|
|
label: '场景联系人',
|
|
required: true,
|
|
required: true,
|
|
-
|
|
|
|
componentProps: {
|
|
componentProps: {
|
|
api: staffListApi,
|
|
api: staffListApi,
|
|
resultField: 'list',
|
|
resultField: 'list',
|
|
@@ -396,8 +395,9 @@
|
|
immediate: true,
|
|
immediate: true,
|
|
showSearch: true,
|
|
showSearch: true,
|
|
optionFilterProp: 'label',
|
|
optionFilterProp: 'label',
|
|
- onChange: function (_, opt) {
|
|
|
|
- console.log('opt', opt.value);
|
|
|
|
|
|
+ onChange: function (model, opt) {
|
|
|
|
+ console.log('model', model);
|
|
|
|
+ console.log('opt', opt);
|
|
// Reflect.set(modalRecord, 'shippingName', opt.label);
|
|
// Reflect.set(modalRecord, 'shippingName', opt.label);
|
|
},
|
|
},
|
|
params: {
|
|
params: {
|
|
@@ -408,6 +408,7 @@
|
|
},
|
|
},
|
|
itemProps: {
|
|
itemProps: {
|
|
validateFirst: false,
|
|
validateFirst: false,
|
|
|
|
+ validateTrigger: 'change',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
];
|
|
];
|