Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
599d88df
提交
599d88df
编写于
7月 10, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
82c5fac5
变更
7
显示空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
11 行增加
和
66 行删除
+11
-66
incident-customer_en_US.ts
...res/entities/incident-customer/incident-customer_en_US.ts
+0
-2
incident-customer_zh_CN.ts
...res/entities/incident-customer/incident-customer_zh_CN.ts
+0
-2
default-searchform-base.tsx
...t-customer/default-searchform/default-searchform-base.tsx
+0
-6
default-searchform-model.ts
...t-customer/default-searchform/default-searchform-model.ts
+0
-10
default-searchform.html
...ident-customer/default-searchform/default-searchform.html
+1
-26
main-grid-model.ts
...rc/widgets/incident-customer/main-grid/main-grid-model.ts
+0
-10
IncidentCustomerSearchContext.java
...al/core/service/filter/IncidentCustomerSearchContext.java
+10
-10
未找到文件。
app_CRM/src/locale/lanres/entities/incident-customer/incident-customer_en_US.ts
浏览文件 @
599d88df
...
@@ -26,8 +26,6 @@ export default {
...
@@ -26,8 +26,6 @@ export default {
default_searchform
:
{
default_searchform
:
{
details
:
{
details
:
{
formpage1
:
"常规条件"
,
formpage1
:
"常规条件"
,
n_customername_like
:
"客户(文本包含(%))"
,
n_customertype_eq
:
"客户类型(等于(=))"
,
},
},
uiactions
:
{
uiactions
:
{
},
},
...
...
app_CRM/src/locale/lanres/entities/incident-customer/incident-customer_zh_CN.ts
浏览文件 @
599d88df
...
@@ -25,8 +25,6 @@ export default {
...
@@ -25,8 +25,6 @@ export default {
default_searchform
:
{
default_searchform
:
{
details
:
{
details
:
{
formpage1
:
"常规条件"
,
formpage1
:
"常规条件"
,
n_customername_like
:
"客户(文本包含(%))"
,
n_customertype_eq
:
"客户类型(等于(=))"
,
},
},
uiactions
:
{
uiactions
:
{
},
},
...
...
app_CRM/src/widgets/incident-customer/default-searchform/default-searchform-base.tsx
浏览文件 @
599d88df
...
@@ -57,8 +57,6 @@ export class DefaultSearchFormBase extends SearchFormControlBase {
...
@@ -57,8 +57,6 @@ export class DefaultSearchFormBase extends SearchFormControlBase {
* @memberof DefaultSearchFormBase
* @memberof DefaultSearchFormBase
*/
*/
public
data
:
any
=
{
public
data
:
any
=
{
n_customername_like
:
null
,
n_customertype_eq
:
null
,
};
};
/**
/**
...
@@ -69,10 +67,6 @@ export class DefaultSearchFormBase extends SearchFormControlBase {
...
@@ -69,10 +67,6 @@ export class DefaultSearchFormBase extends SearchFormControlBase {
*/
*/
public
detailsModel
:
any
=
{
public
detailsModel
:
any
=
{
formpage1
:
new
FormPageModel
({
caption
:
'常规条件'
,
detailType
:
'FORMPAGE'
,
name
:
'formpage1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
})
formpage1
:
new
FormPageModel
({
caption
:
'常规条件'
,
detailType
:
'FORMPAGE'
,
name
:
'formpage1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
})
,
n_customername_like
:
new
FormItemModel
({
caption
:
'客户(文本包含(%))'
,
detailType
:
'FORMITEM'
,
name
:
'n_customername_like'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
n_customertype_eq
:
new
FormItemModel
({
caption
:
'客户类型(等于(=))'
,
detailType
:
'FORMITEM'
,
name
:
'n_customertype_eq'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
,
};
};
}
}
\ No newline at end of file
app_CRM/src/widgets/incident-customer/default-searchform/default-searchform-model.ts
浏览文件 @
599d88df
...
@@ -25,16 +25,6 @@ export default class DefaultModel {
...
@@ -25,16 +25,6 @@ export default class DefaultModel {
prop
:
'srffrontuf'
,
prop
:
'srffrontuf'
,
dataType
:
'TEXT'
,
dataType
:
'TEXT'
,
},
},
{
name
:
'n_customername_like'
,
prop
:
'customername'
,
dataType
:
'TEXT'
,
},
{
name
:
'n_customertype_eq'
,
prop
:
'customertype'
,
dataType
:
'SSCODELIST'
,
},
]
]
}
}
...
...
app_CRM/src/widgets/incident-customer/default-searchform/default-searchform.html
浏览文件 @
599d88df
...
@@ -5,30 +5,5 @@
...
@@ -5,30 +5,5 @@
<i-button
size=
"small"
type=
"default"
ghost
@
click=
"onReset.apply(_self, arguments)"
>
{{this.$t('app.searchButton.reset')}}
</i-button>
<i-button
size=
"small"
type=
"default"
ghost
@
click=
"onReset.apply(_self, arguments)"
>
{{this.$t('app.searchButton.reset')}}
</i-button>
</div>
</div>
<div
class=
"form-content"
>
<div
class=
"form-content"
>
<i-col
v-show=
"detailsModel.n_customername_like.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'n_customername_like'
:itemRules=
"this.rules.n_customername_like"
class=
''
:caption=
"$t('entities.incidentcustomer.default_searchform.details.n_customername_like')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.n_customername_like.error"
:isEmptyCaption=
"false"
labelPos=
"TOP"
>
<input-box
v-model=
"data.n_customername_like"
@
enter=
"onEnter($event)"
:disabled=
"detailsModel.n_customername_like.disabled"
type=
'text'
style=
""
></input-box>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.n_customertype_eq.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'n_customertype_eq'
:itemRules=
"this.rules.n_customertype_eq"
class=
''
:caption=
"$t('entities.incidentcustomer.default_searchform.details.n_customertype_eq')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.n_customertype_eq.error"
:isEmptyCaption=
"false"
labelPos=
"TOP"
>
<dropdown-list
v-model=
"data.n_customertype_eq"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.n_customertype_eq.disabled"
tag=
'IncidentCustomer'
codelistType=
'STATIC'
placeholder=
'请选择...'
style=
""
>
</dropdown-list>
</app-form-item>
</i-col>
</div>
</div>
</i-form>
</i-form>
\ No newline at end of file
app_CRM/src/widgets/incident-customer/main-grid/main-grid-model.ts
浏览文件 @
599d88df
...
@@ -55,16 +55,6 @@ export default class MainModel {
...
@@ -55,16 +55,6 @@ export default class MainModel {
name
:
'incidentcustomer'
,
name
:
'incidentcustomer'
,
prop
:
'customerid'
,
prop
:
'customerid'
,
},
},
{
name
:
'n_customername_like'
,
prop
:
'n_customername_like'
,
dataType
:
'TEXT'
,
},
{
name
:
'n_customertype_eq'
,
prop
:
'n_customertype_eq'
,
dataType
:
'SSCODELIST'
,
},
{
{
name
:
'size'
,
name
:
'size'
,
...
...
businesscentral-core/src/main/java/cn/ibizlab/businesscentral/core/service/filter/IncidentCustomerSearchContext.java
浏览文件 @
599d88df
...
@@ -27,18 +27,18 @@ import cn.ibizlab.businesscentral.core.service.domain.IncidentCustomer;
...
@@ -27,18 +27,18 @@ import cn.ibizlab.businesscentral.core.service.domain.IncidentCustomer;
@Data
@Data
public
class
IncidentCustomerSearchContext
extends
QueryWrapperContext
<
IncidentCustomer
>
{
public
class
IncidentCustomerSearchContext
extends
QueryWrapperContext
<
IncidentCustomer
>
{
private
String
n_customer
id
type_eq
;
//[客户类型]
private
String
n_customertype_eq
;
//[客户类型]
public
void
setN_customer
idtype_eq
(
String
n_customerid
type_eq
)
{
public
void
setN_customer
type_eq
(
String
n_customer
type_eq
)
{
this
.
n_customer
idtype_eq
=
n_customerid
type_eq
;
this
.
n_customer
type_eq
=
n_customer
type_eq
;
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_customer
id
type_eq
)){
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_customertype_eq
)){
this
.
getSearchCond
().
eq
(
"customertype"
,
n_customer
id
type_eq
);
this
.
getSearchCond
().
eq
(
"customertype"
,
n_customertype_eq
);
}
}
}
}
private
String
n_customer
idyomi
name_like
;
//[客户]
private
String
n_customername_like
;
//[客户]
public
void
setN_customer
idyominame_like
(
String
n_customeridyomi
name_like
)
{
public
void
setN_customer
name_like
(
String
n_customer
name_like
)
{
this
.
n_customer
idyominame_like
=
n_customeridyomi
name_like
;
this
.
n_customer
name_like
=
n_customer
name_like
;
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_customer
idyomi
name_like
)){
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_customername_like
)){
this
.
getSearchCond
().
like
(
"customername"
,
n_customer
idyomi
name_like
);
this
.
getSearchCond
().
like
(
"customername"
,
n_customername_like
);
}
}
}
}
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录