|
@@ -713,9 +713,47 @@
|
|
},
|
|
},
|
|
/** 重置按钮操作 */
|
|
/** 重置按钮操作 */
|
|
resetQuery() {
|
|
resetQuery() {
|
|
- this.resetForm("queryForm");
|
|
|
|
|
|
+ this.resetQueryParams();
|
|
this.handleQuery();
|
|
this.handleQuery();
|
|
},
|
|
},
|
|
|
|
+ /** 查询参数重置 */
|
|
|
|
+ resetQueryParams() {
|
|
|
|
+ this.queryParams = {
|
|
|
|
+ abbreviation: null,
|
|
|
|
+ areaClassification: null,
|
|
|
|
+ billingCustomer: null,
|
|
|
|
+ billingCustomerName: null,
|
|
|
|
+ businessType: null,
|
|
|
|
+ category: null,
|
|
|
|
+ channel: null,
|
|
|
|
+ classification: null,
|
|
|
|
+ code: null,
|
|
|
|
+ detailedAddress: null,
|
|
|
|
+ enterpriseName: null,
|
|
|
|
+ enterpriseType: null,
|
|
|
|
+ firstBattalion: null,
|
|
|
|
+ industry: null,
|
|
|
|
+ latitude: null,
|
|
|
|
+ licenseNumber: null,
|
|
|
|
+ longitude: null,
|
|
|
|
+ marketingArea: null,
|
|
|
|
+ marketingAreaName: null,
|
|
|
|
+ name: null,
|
|
|
|
+ org: null,
|
|
|
|
+ orgName: null,
|
|
|
|
+ pageNum: 1,
|
|
|
|
+ pageSize: 10,
|
|
|
|
+ potential: null,
|
|
|
|
+ registrationArea: null,
|
|
|
|
+ responsibleDept: null,
|
|
|
|
+ responsibleDeptName: null,
|
|
|
|
+ responsiblePerson: null,
|
|
|
|
+ responsiblePersonName: null,
|
|
|
|
+ taxType: null,
|
|
|
|
+ type: null
|
|
|
|
+ };
|
|
|
|
+ this.resetForm("queryForm");
|
|
|
|
+ },
|
|
// 多选框选中数据
|
|
// 多选框选中数据
|
|
handleSelectionChange(selection) {
|
|
handleSelectionChange(selection) {
|
|
this.ids = selection.map(item => item.id)
|
|
this.ids = selection.map(item => item.id)
|
|
@@ -763,6 +801,7 @@
|
|
const id = row.id || this.ids
|
|
const id = row.id || this.ids
|
|
getCustomers(id).then(response => {
|
|
getCustomers(id).then(response => {
|
|
this.form = response.data;
|
|
this.form = response.data;
|
|
|
|
+ this.form.oldName = response.data.name;
|
|
this.mkCmCustomersResponsiblePersonList = response.data.mkCmCustomersResponsiblePersonList;
|
|
this.mkCmCustomersResponsiblePersonList = response.data.mkCmCustomersResponsiblePersonList;
|
|
this.mkCmCustomersDepartmentList = response.data.mkCmCustomersDepartmentList;
|
|
this.mkCmCustomersDepartmentList = response.data.mkCmCustomersDepartmentList;
|
|
this.openState = 'update';
|
|
this.openState = 'update';
|