|
@@ -79,30 +79,30 @@
|
|
|
required: true,
|
|
|
colProps: { span: 20 },
|
|
|
},
|
|
|
- {
|
|
|
- field: 'customerType',
|
|
|
- component: 'Select',
|
|
|
- label: '客户类别',
|
|
|
- required: true,
|
|
|
- colProps: { span: 20 },
|
|
|
- componentProps: {
|
|
|
- options: [
|
|
|
- {
|
|
|
- label: '直销',
|
|
|
- value: 0,
|
|
|
- key: '0',
|
|
|
- },
|
|
|
- {
|
|
|
- label: '经销',
|
|
|
- value: 1,
|
|
|
- key: '1',
|
|
|
- },
|
|
|
- ],
|
|
|
- onChange: (value) => {
|
|
|
- updateSchema({ field: 'agentId', ifShow: value == '1' });
|
|
|
- },
|
|
|
- },
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // field: 'customerType',
|
|
|
+ // component: 'Select',
|
|
|
+ // label: '客户类别',
|
|
|
+ // required: true,
|
|
|
+ // colProps: { span: 20 },
|
|
|
+ // componentProps: {
|
|
|
+ // options: [
|
|
|
+ // {
|
|
|
+ // label: '直销',
|
|
|
+ // value: 0,
|
|
|
+ // key: '0',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // label: '经销',
|
|
|
+ // value: 1,
|
|
|
+ // key: '1',
|
|
|
+ // },
|
|
|
+ // ],
|
|
|
+ // onChange: (value) => {
|
|
|
+ // updateSchema({ field: 'agentId', ifShow: value == '1' });
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // },
|
|
|
{
|
|
|
field: 'endCustomer',
|
|
|
component: 'Input',
|
|
@@ -251,7 +251,6 @@
|
|
|
},
|
|
|
},
|
|
|
},
|
|
|
- { field: 'agentId', ifShow: data.customerType == '1' },
|
|
|
{
|
|
|
field: 'projectNum',
|
|
|
ifShow: data.useType == '4',
|
|
@@ -277,7 +276,7 @@
|
|
|
console.log(params);
|
|
|
// let authorizeTime = params.authorizeTime;
|
|
|
const apiData = {
|
|
|
- agentId: agent.value.id,
|
|
|
+ // agentId: agent.value.id,
|
|
|
...params,
|
|
|
// authorizeStartTime: authorizeTime[0],
|
|
|
// authorizeEndTime: authorizeTime[1],
|