|
|
|
@ -119,13 +119,15 @@ class CustomerStore {
|
|
|
|
|
} else {
|
|
|
|
|
url += '&IsDetail=0';
|
|
|
|
|
}
|
|
|
|
|
url += `&IncludeTickets=${this.regular_data.include_tickets}`;
|
|
|
|
|
|
|
|
|
|
fetch(config.HT_HOST + url)
|
|
|
|
|
.then((response) => response.json())
|
|
|
|
|
.then((json) => {
|
|
|
|
|
runInAction(() => {
|
|
|
|
|
if (get_detail) {
|
|
|
|
|
this.regular_data.data_detail = json;
|
|
|
|
|
const dump_l = json.filter(ele => ele.COLI_IsOld !== '' && ele.COLI_IsCusCommend !== '').length;
|
|
|
|
|
const dump_l = (json || []).filter(ele => ele.COLI_IsOld !== '' && ele.COLI_IsCusCommend !== '').length;
|
|
|
|
|
this.regular_data.total_data_tips = dump_l > 0 ? `包含 ${dump_l} 条同时勾选的数据` : '';
|
|
|
|
|
} else {
|
|
|
|
|
this.regular_data.data = json;
|
|
|
|
@ -165,6 +167,7 @@ class CustomerStore {
|
|
|
|
|
group_select_mode: 'multiple',// 是否多选分组
|
|
|
|
|
groups: ['1', '2', '28', '7'],
|
|
|
|
|
date_type: 'applyDate',
|
|
|
|
|
include_tickets: 0,
|
|
|
|
|
group_handleChange: this.handleChange_group_select_regular.bind(this),
|
|
|
|
|
onChange_datetype: this.onChange_datetype_regular.bind(this),
|
|
|
|
|
regular_customer_order: this.regular_customer_order.bind(this),
|
|
|
|
|