Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
8cadff0c
提交
8cadff0c
编写于
6月 18, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
0c190713
变更
27
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
27 个修改的文件
包含
4179 行增加
和
62 行删除
+4179
-62
data-dictionary.json
app_BusinessCentral/public/assets/json/data-dictionary.json
+78
-0
codelist_en_US.ts
...inessCentral/src/locale/lanres/codelist/codelist_en_US.ts
+17
-0
codelist_zh_CN.ts
...inessCentral/src/locale/lanres/codelist/codelist_zh_CN.ts
+17
-0
account_en_US.ts
...ntral/src/locale/lanres/entities/account/account_en_US.ts
+5
-0
account_zh_CN.ts
...ntral/src/locale/lanres/entities/account/account_zh_CN.ts
+5
-0
contact_en_US.ts
...ntral/src/locale/lanres/entities/contact/contact_en_US.ts
+3
-0
contact_zh_CN.ts
...ntral/src/locale/lanres/entities/contact/contact_zh_CN.ts
+3
-0
codelist.ts
app_BusinessCentral/src/mock/codelist/codelist.ts
+78
-0
account-inner-pickup-view-base.vue
...ount-inner-pickup-view/account-inner-pickup-view-base.vue
+577
-5
account-inner-pickup-view.less
.../account-inner-pickup-view/account-inner-pickup-view.less
+18
-5
account-pickup-view-base.vue
...ges/base/account-pickup-view/account-pickup-view-base.vue
+577
-5
account-pickup-view.less
...c/pages/base/account-pickup-view/account-pickup-view.less
+18
-5
contact-pickup-view-base.vue
...ges/base/contact-pickup-view/contact-pickup-view-base.vue
+577
-5
contact-pickup-view.less
...c/pages/base/contact-pickup-view/contact-pickup-view.less
+18
-5
transaction-currency-pickup-view-base.vue
...ncy-pickup-view/transaction-currency-pickup-view-base.vue
+577
-5
transaction-currency-pickup-view.less
...urrency-pickup-view/transaction-currency-pickup-view.less
+18
-5
price-level-pickup-view-base.vue
.../price-level-pickup-view/price-level-pickup-view-base.vue
+577
-5
price-level-pickup-view.less
...duct/price-level-pickup-view/price-level-pickup-view.less
+18
-5
lead-pickup-view-base.vue
...rc/pages/sales/lead-pickup-view/lead-pickup-view-base.vue
+577
-5
lead-pickup-view.less
...al/src/pages/sales/lead-pickup-view/lead-pickup-view.less
+18
-5
default-searchform-base.vue
...ts/account/default-searchform/default-searchform-base.vue
+189
-1
default-searchform-model.ts
...ts/account/default-searchform/default-searchform-model.ts
+25
-0
inner-pickip-grid-model.ts
...gets/account/inner-pickip-grid/inner-pickip-grid-model.ts
+25
-0
main-grid-model.ts
...sCentral/src/widgets/account/main-grid/main-grid-model.ts
+25
-0
default-searchform-base.vue
...ts/contact/default-searchform/default-searchform-base.vue
+109
-1
default-searchform-model.ts
...ts/contact/default-searchform/default-searchform-model.ts
+15
-0
main-grid-model.ts
...sCentral/src/widgets/contact/main-grid/main-grid-model.ts
+15
-0
未找到文件。
app_BusinessCentral/public/assets/json/data-dictionary.json
浏览文件 @
8cadff0c
...
...
@@ -371,6 +371,23 @@
}
]
},
{
"srfkey"
:
"Account__AccountClassificationCode"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"1"
,
"label"
:
"Default Value"
,
"text"
:
"Default Value"
,
"data"
:
""
,
"codename"
:
"Item_1"
,
"value"
:
"1"
,
"disabled"
:
false
}
]
},
{
"srfkey"
:
"Activitypointer__PriorityCode"
,
"emptytext"
:
"未定义"
,
...
...
@@ -408,6 +425,23 @@
}
]
},
{
"srfkey"
:
"Account__AccountRatingCode"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"1"
,
"label"
:
"Default Value"
,
"text"
:
"Default Value"
,
"data"
:
""
,
"codename"
:
"Item_1"
,
"value"
:
"1"
,
"disabled"
:
false
}
]
},
{
"srfkey"
:
"Campaign__TypeCode"
,
"emptytext"
:
"未定义"
,
...
...
@@ -1330,6 +1364,50 @@
}
]
},
{
"srfkey"
:
"Contact__LeadSourceCode"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"1"
,
"label"
:
"Default Value"
,
"text"
:
"Default Value"
,
"data"
:
""
,
"codename"
:
"Item_1"
,
"value"
:
"1"
,
"disabled"
:
false
}
]
},
{
"srfkey"
:
"Account__AccountCategoryCode"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"1"
,
"label"
:
"Preferred Customer"
,
"text"
:
"Preferred Customer"
,
"data"
:
""
,
"codename"
:
"Item_1"
,
"value"
:
"1"
,
"disabled"
:
false
}
,
{
"id"
:
"2"
,
"label"
:
"Standard"
,
"text"
:
"Standard"
,
"data"
:
""
,
"codename"
:
"Item_2"
,
"value"
:
"2"
,
"disabled"
:
false
}
]
},
{
"srfkey"
:
"Product__ProductTypeCode"
,
"emptytext"
:
"未定义"
,
...
...
app_BusinessCentral/src/locale/lanres/codelist/codelist_en_US.ts
浏览文件 @
8cadff0c
...
...
@@ -50,12 +50,20 @@ export default {
'CAMPAIGNRESPONSE'
:
'市场活动响应'
,
empty
:
''
,
},
Account__AccountClassificationCode
:
{
'1'
:
'Default Value'
,
empty
:
''
,
},
Activitypointer__PriorityCode
:
{
'2'
:
'High'
,
'0'
:
'Low'
,
'1'
:
'Normal'
,
empty
:
''
,
},
Account__AccountRatingCode
:
{
'1'
:
'Default Value'
,
empty
:
''
,
},
Campaign__TypeCode
:
{
'1'
:
'Advertisement'
,
'4'
:
'Co-branding'
,
...
...
@@ -178,6 +186,15 @@ export default {
'2'
:
'Ship To'
,
empty
:
''
,
},
Contact__LeadSourceCode
:
{
'1'
:
'Default Value'
,
empty
:
''
,
},
Account__AccountCategoryCode
:
{
'1'
:
'Preferred Customer'
,
'2'
:
'Standard'
,
empty
:
''
,
},
Product__ProductTypeCode
:
{
'4'
:
'Flat Fees'
,
'2'
:
'Miscellaneous Charges'
,
...
...
app_BusinessCentral/src/locale/lanres/codelist/codelist_zh_CN.ts
浏览文件 @
8cadff0c
...
...
@@ -50,12 +50,20 @@ export default {
'CAMPAIGNRESPONSE'
:
'市场活动响应'
,
empty
:
''
,
},
Account__AccountClassificationCode
:
{
'1'
:
'Default Value'
,
empty
:
''
,
},
Activitypointer__PriorityCode
:
{
'2'
:
'High'
,
'0'
:
'Low'
,
'1'
:
'Normal'
,
empty
:
''
,
},
Account__AccountRatingCode
:
{
'1'
:
'Default Value'
,
empty
:
''
,
},
Campaign__TypeCode
:
{
'1'
:
'Advertisement'
,
'4'
:
'Co-branding'
,
...
...
@@ -178,6 +186,15 @@ export default {
'2'
:
'Ship To'
,
empty
:
''
,
},
Contact__LeadSourceCode
:
{
'1'
:
'Default Value'
,
empty
:
''
,
},
Account__AccountCategoryCode
:
{
'1'
:
'Preferred Customer'
,
'2'
:
'Standard'
,
empty
:
''
,
},
Product__ProductTypeCode
:
{
'4'
:
'Flat Fees'
,
'2'
:
'Miscellaneous Charges'
,
...
...
app_BusinessCentral/src/locale/lanres/entities/account/account_en_US.ts
浏览文件 @
8cadff0c
...
...
@@ -517,6 +517,11 @@ export default {
default_searchform
:
{
details
:
{
formpage1
:
"常规条件"
,
n_accountname_like
:
"客户名称(文本包含(%))"
,
n_statecode_eq
:
"状态(等于(=))"
,
n_accountcategorycode_eq
:
"类别(等于(=))"
,
n_accountclassificationcode_eq
:
"分类(等于(=))"
,
n_accountratingcode_eq
:
"客户等级(等于(=))"
,
},
uiactions
:
{
},
...
...
app_BusinessCentral/src/locale/lanres/entities/account/account_zh_CN.ts
浏览文件 @
8cadff0c
...
...
@@ -516,6 +516,11 @@ export default {
default_searchform
:
{
details
:
{
formpage1
:
'常规条件'
,
n_accountname_like
:
'客户名称(文本包含(%))'
,
n_statecode_eq
:
'状态(等于(=))'
,
n_accountcategorycode_eq
:
'类别(等于(=))'
,
n_accountclassificationcode_eq
:
'分类(等于(=))'
,
n_accountratingcode_eq
:
'客户等级(等于(=))'
,
},
uiactions
:
{
},
...
...
app_BusinessCentral/src/locale/lanres/entities/contact/contact_en_US.ts
浏览文件 @
8cadff0c
...
...
@@ -469,6 +469,9 @@ export default {
default_searchform
:
{
details
:
{
formpage1
:
"常规条件"
,
n_fullname_like
:
"全名(文本包含(%))"
,
n_statecode_eq
:
"状态(等于(=))"
,
n_leadsourcecode_eq
:
"潜在顾客来源(等于(=))"
,
},
uiactions
:
{
},
...
...
app_BusinessCentral/src/locale/lanres/entities/contact/contact_zh_CN.ts
浏览文件 @
8cadff0c
...
...
@@ -468,6 +468,9 @@ export default {
default_searchform
:
{
details
:
{
formpage1
:
'常规条件'
,
n_fullname_like
:
'全名(文本包含(%))'
,
n_statecode_eq
:
'状态(等于(=))'
,
n_leadsourcecode_eq
:
'潜在顾客来源(等于(=))'
,
},
uiactions
:
{
},
...
...
app_BusinessCentral/src/mock/codelist/codelist.ts
浏览文件 @
8cadff0c
...
...
@@ -379,6 +379,23 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey
:
'Account__AccountClassificationCode'
,
emptytext
:
'未定义'
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
'1'
,
label
:
'Default Value'
,
text
:
'Default Value'
,
"data"
:
""
,
"codename"
:
"Item_1"
,
value
:
'1'
,
disabled
:
false
,
},
]
},
{
srfkey
:
'Activitypointer__PriorityCode'
,
emptytext
:
'未定义'
,
...
...
@@ -416,6 +433,23 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey
:
'Account__AccountRatingCode'
,
emptytext
:
'未定义'
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
'1'
,
label
:
'Default Value'
,
text
:
'Default Value'
,
"data"
:
""
,
"codename"
:
"Item_1"
,
value
:
'1'
,
disabled
:
false
,
},
]
},
{
srfkey
:
'Campaign__TypeCode'
,
emptytext
:
'未定义'
,
...
...
@@ -1338,6 +1372,50 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey
:
'Contact__LeadSourceCode'
,
emptytext
:
'未定义'
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
'1'
,
label
:
'Default Value'
,
text
:
'Default Value'
,
"data"
:
""
,
"codename"
:
"Item_1"
,
value
:
'1'
,
disabled
:
false
,
},
]
},
{
srfkey
:
'Account__AccountCategoryCode'
,
emptytext
:
'未定义'
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
'1'
,
label
:
'Preferred Customer'
,
text
:
'Preferred Customer'
,
"data"
:
""
,
"codename"
:
"Item_1"
,
value
:
'1'
,
disabled
:
false
,
},
{
id
:
'2'
,
label
:
'Standard'
,
text
:
'Standard'
,
"data"
:
""
,
"codename"
:
"Item_2"
,
value
:
'2'
,
disabled
:
false
,
},
]
},
{
srfkey
:
'Product__ProductTypeCode'
,
emptytext
:
'未定义'
,
...
...
app_BusinessCentral/src/pages/base/account-inner-pickup-view/account-inner-pickup-view-base.vue
浏览文件 @
8cadff0c
此差异已折叠。
点击以展开。
app_BusinessCentral/src/pages/base/account-inner-pickup-view/account-inner-pickup-view.less
浏览文件 @
8cadff0c
!!!!模版产生代码错误:----
FTL stack trace ("~" means nesting-related):
- Failed at: ${P.getLayoutCode().code} [in template "TEMPLCODE_zh_CN" at line 1, column 1]
----
无法获取指定部件[VIEWLAYOUTPANEL#APPDEPICKUPVIEW_STYLE2]发布代码[VIEW.less]
\ No newline at end of file
// 避免空文件,后台不让空文件过
.account-inner-pickup-view {
--account-inner-pickup-view: 0;
}
.pickup-view {
>.pickupviewpanel {
flex-grow: 1;
display: flex;
justify-content: flex-end;
height: calc(100% - 64px);
}
>.footer {
height: 64px;
}
}
\ No newline at end of file
app_BusinessCentral/src/pages/base/account-pickup-view/account-pickup-view-base.vue
浏览文件 @
8cadff0c
此差异已折叠。
点击以展开。
app_BusinessCentral/src/pages/base/account-pickup-view/account-pickup-view.less
浏览文件 @
8cadff0c
!!!!模版产生代码错误:----
FTL stack trace ("~" means nesting-related):
- Failed at: ${P.getLayoutCode().code} [in template "TEMPLCODE_zh_CN" at line 1, column 1]
----
无法获取指定部件[VIEWLAYOUTPANEL#APPDEPICKUPVIEW_STYLE2]发布代码[VIEW.less]
\ No newline at end of file
// 避免空文件,后台不让空文件过
.account-pickup-view {
--account-pickup-view: 0;
}
.pickup-view {
>.pickupviewpanel {
flex-grow: 1;
display: flex;
justify-content: flex-end;
height: calc(100% - 64px);
}
>.footer {
height: 64px;
}
}
\ No newline at end of file
app_BusinessCentral/src/pages/base/contact-pickup-view/contact-pickup-view-base.vue
浏览文件 @
8cadff0c
此差异已折叠。
点击以展开。
app_BusinessCentral/src/pages/base/contact-pickup-view/contact-pickup-view.less
浏览文件 @
8cadff0c
!!!!模版产生代码错误:----
FTL stack trace ("~" means nesting-related):
- Failed at: ${P.getLayoutCode().code} [in template "TEMPLCODE_zh_CN" at line 1, column 1]
----
无法获取指定部件[VIEWLAYOUTPANEL#APPDEPICKUPVIEW_STYLE2]发布代码[VIEW.less]
\ No newline at end of file
// 避免空文件,后台不让空文件过
.contact-pickup-view {
--contact-pickup-view: 0;
}
.pickup-view {
>.pickupviewpanel {
flex-grow: 1;
display: flex;
justify-content: flex-end;
height: calc(100% - 64px);
}
>.footer {
height: 64px;
}
}
\ No newline at end of file
app_BusinessCentral/src/pages/base/transaction-currency-pickup-view/transaction-currency-pickup-view-base.vue
浏览文件 @
8cadff0c
此差异已折叠。
点击以展开。
app_BusinessCentral/src/pages/base/transaction-currency-pickup-view/transaction-currency-pickup-view.less
浏览文件 @
8cadff0c
!!!!模版产生代码错误:----
FTL stack trace ("~" means nesting-related):
- Failed at: ${P.getLayoutCode().code} [in template "TEMPLCODE_zh_CN" at line 1, column 1]
----
无法获取指定部件[VIEWLAYOUTPANEL#APPDEPICKUPVIEW_STYLE2]发布代码[VIEW.less]
\ No newline at end of file
// 避免空文件,后台不让空文件过
.transaction-currency-pickup-view {
--transaction-currency-pickup-view: 0;
}
.pickup-view {
>.pickupviewpanel {
flex-grow: 1;
display: flex;
justify-content: flex-end;
height: calc(100% - 64px);
}
>.footer {
height: 64px;
}
}
\ No newline at end of file
app_BusinessCentral/src/pages/product/price-level-pickup-view/price-level-pickup-view-base.vue
浏览文件 @
8cadff0c
此差异已折叠。
点击以展开。
app_BusinessCentral/src/pages/product/price-level-pickup-view/price-level-pickup-view.less
浏览文件 @
8cadff0c
!!!!模版产生代码错误:----
FTL stack trace ("~" means nesting-related):
- Failed at: ${P.getLayoutCode().code} [in template "TEMPLCODE_zh_CN" at line 1, column 1]
----
无法获取指定部件[VIEWLAYOUTPANEL#APPDEPICKUPVIEW_STYLE2]发布代码[VIEW.less]
\ No newline at end of file
// 避免空文件,后台不让空文件过
.price-level-pickup-view {
--price-level-pickup-view: 0;
}
.pickup-view {
>.pickupviewpanel {
flex-grow: 1;
display: flex;
justify-content: flex-end;
height: calc(100% - 64px);
}
>.footer {
height: 64px;
}
}
\ No newline at end of file
app_BusinessCentral/src/pages/sales/lead-pickup-view/lead-pickup-view-base.vue
浏览文件 @
8cadff0c
此差异已折叠。
点击以展开。
app_BusinessCentral/src/pages/sales/lead-pickup-view/lead-pickup-view.less
浏览文件 @
8cadff0c
!!!!模版产生代码错误:----
FTL stack trace ("~" means nesting-related):
- Failed at: ${P.getLayoutCode().code} [in template "TEMPLCODE_zh_CN" at line 1, column 1]
----
无法获取指定部件[VIEWLAYOUTPANEL#APPDEPICKUPVIEW_STYLE2]发布代码[VIEW.less]
\ No newline at end of file
// 避免空文件,后台不让空文件过
.lead-pickup-view {
--lead-pickup-view: 0;
}
.pickup-view {
>.pickupviewpanel {
flex-grow: 1;
display: flex;
justify-content: flex-end;
height: calc(100% - 64px);
}
>.footer {
height: 64px;
}
}
\ No newline at end of file
app_BusinessCentral/src/widgets/account/default-searchform/default-searchform-base.vue
浏览文件 @
8cadff0c
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/account/default-searchform/default-searchform-model.ts
浏览文件 @
8cadff0c
...
...
@@ -25,6 +25,31 @@ export default class DefaultModel {
prop
:
'srffrontuf'
,
dataType
:
'TEXT'
,
},
{
name
:
'n_accountname_like'
,
prop
:
'accountname'
,
dataType
:
'TEXT'
,
},
{
name
:
'n_statecode_eq'
,
prop
:
'statecode'
,
dataType
:
'NSCODELIST'
,
},
{
name
:
'n_accountcategorycode_eq'
,
prop
:
'accountcategorycode'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'n_accountclassificationcode_eq'
,
prop
:
'accountclassificationcode'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'n_accountratingcode_eq'
,
prop
:
'accountratingcode'
,
dataType
:
'SSCODELIST'
,
},
]
}
...
...
app_BusinessCentral/src/widgets/account/inner-pickip-grid/inner-pickip-grid-model.ts
浏览文件 @
8cadff0c
...
...
@@ -100,6 +100,31 @@ export default class InnerPickipModel {
name
:
'account'
,
prop
:
'accountid'
,
},
{
name
:
'n_accountname_like'
,
prop
:
'n_accountname_like'
,
dataType
:
'TEXT'
,
},
{
name
:
'n_statecode_eq'
,
prop
:
'n_statecode_eq'
,
dataType
:
'NSCODELIST'
,
},
{
name
:
'n_accountcategorycode_eq'
,
prop
:
'n_accountcategorycode_eq'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'n_accountclassificationcode_eq'
,
prop
:
'n_accountclassificationcode_eq'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'n_accountratingcode_eq'
,
prop
:
'n_accountratingcode_eq'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'size'
,
...
...
app_BusinessCentral/src/widgets/account/main-grid/main-grid-model.ts
浏览文件 @
8cadff0c
...
...
@@ -115,6 +115,31 @@ export default class MainModel {
name
:
'account'
,
prop
:
'accountid'
,
},
{
name
:
'n_accountname_like'
,
prop
:
'n_accountname_like'
,
dataType
:
'TEXT'
,
},
{
name
:
'n_statecode_eq'
,
prop
:
'n_statecode_eq'
,
dataType
:
'NSCODELIST'
,
},
{
name
:
'n_accountcategorycode_eq'
,
prop
:
'n_accountcategorycode_eq'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'n_accountclassificationcode_eq'
,
prop
:
'n_accountclassificationcode_eq'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'n_accountratingcode_eq'
,
prop
:
'n_accountratingcode_eq'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'size'
,
...
...
app_BusinessCentral/src/widgets/contact/default-searchform/default-searchform-base.vue
浏览文件 @
8cadff0c
...
...
@@ -4,7 +4,49 @@
<row>
<i-col
span=
"20"
class=
"form-content"
>
<row>
</row>
<i-col
v-show=
"detailsModel.n_fullname_like.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'n_fullname_like'
:itemRules=
"this.rules.n_fullname_like"
class=
''
:caption=
"$t('entities.contact.default_searchform.details.n_fullname_like')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.n_fullname_like.error"
:isEmptyCaption=
"false"
labelPos=
"TOP"
>
<input-box
v-model=
"data.n_fullname_like"
@
enter=
"onEnter($event)"
:disabled=
"detailsModel.n_fullname_like.disabled"
type=
'text'
style=
""
></input-box>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.n_statecode_eq.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'n_statecode_eq'
:itemRules=
"this.rules.n_statecode_eq"
class=
''
:caption=
"$t('entities.contact.default_searchform.details.n_statecode_eq')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.n_statecode_eq.error"
:isEmptyCaption=
"false"
labelPos=
"TOP"
>
<dropdown-list
v-model=
"data.n_statecode_eq"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }'
:localParam ='{ }'
:disabled="detailsModel.n_statecode_eq.disabled"
tag='State'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.n_leadsourcecode_eq.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'n_leadsourcecode_eq'
:itemRules=
"this.rules.n_leadsourcecode_eq"
class=
''
:caption=
"$t('entities.contact.default_searchform.details.n_leadsourcecode_eq')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.n_leadsourcecode_eq.error"
:isEmptyCaption=
"false"
labelPos=
"TOP"
>
<dropdown-list
v-model=
"data.n_leadsourcecode_eq"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }'
:localParam ='{ }'
:disabled="detailsModel.n_leadsourcecode_eq.disabled"
tag='Contact__LeadSourceCode'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
</app-form-item>
</i-col>
</row>
</i-col>
<i-col
span=
"4"
class=
"search-button"
>
<row
v-show=
"Object.keys(data).length>0"
>
...
...
@@ -244,6 +286,9 @@ export default class DefaultBase extends Vue implements ControlInterface {
* @memberof DefaultBase
*/
public
data
:
any
=
{
n_fullname_like
:
null
,
n_statecode_eq
:
null
,
n_leadsourcecode_eq
:
null
,
};
/**
...
...
@@ -253,6 +298,24 @@ export default class DefaultBase extends Vue implements ControlInterface {
* @memberof DefaultBase
*/
public
rules
:
any
=
{
n_fullname_like
:
[
{
type
:
'string'
,
message
:
'全名(文本包含(%)) 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'全名(文本包含(%)) 值必须为字符串类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'string'
,
message
:
'全名(文本包含(%)) 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
'全名(文本包含(%)) 值不能为空'
,
trigger
:
'blur'
},
],
n_statecode_eq
:
[
{
type
:
'number'
,
message
:
'状态(等于(=)) 值必须为数值类型'
,
trigger
:
'change'
},
{
type
:
'number'
,
message
:
'状态(等于(=)) 值必须为数值类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'number'
,
message
:
'状态(等于(=)) 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'number'
,
message
:
'状态(等于(=)) 值不能为空'
,
trigger
:
'blur'
},
],
n_leadsourcecode_eq
:
[
{
type
:
'string'
,
message
:
'潜在顾客来源(等于(=)) 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'潜在顾客来源(等于(=)) 值必须为字符串类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'string'
,
message
:
'潜在顾客来源(等于(=)) 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
'潜在顾客来源(等于(=)) 值不能为空'
,
trigger
:
'blur'
},
],
}
/**
...
...
@@ -263,9 +326,51 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
detailsModel
:
any
=
{
formpage1
:
new
FormPageModel
({
caption
:
'常规条件'
,
detailType
:
'FORMPAGE'
,
name
:
'formpage1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
})
,
n_fullname_like
:
new
FormItemModel
({
caption
:
'全名(文本包含(%))'
,
detailType
:
'FORMITEM'
,
name
:
'n_fullname_like'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
n_statecode_eq
:
new
FormItemModel
({
caption
:
'状态(等于(=))'
,
detailType
:
'FORMITEM'
,
name
:
'n_statecode_eq'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
n_leadsourcecode_eq
:
new
FormItemModel
({
caption
:
'潜在顾客来源(等于(=))'
,
detailType
:
'FORMITEM'
,
name
:
'n_leadsourcecode_eq'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
};
/**
* 监控表单属性 n_fullname_like 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof DefaultBase
*/
@
Watch
(
'data.n_fullname_like'
)
onN_fullname_likeChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'n_fullname_like'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 n_statecode_eq 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof DefaultBase
*/
@
Watch
(
'data.n_statecode_eq'
)
onN_statecode_eqChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'n_statecode_eq'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 n_leadsourcecode_eq 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof DefaultBase
*/
@
Watch
(
'data.n_leadsourcecode_eq'
)
onN_leadsourcecode_eqChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'n_leadsourcecode_eq'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 重置表单项值
...
...
@@ -287,6 +392,9 @@ export default class DefaultBase extends Vue implements ControlInterface {
public
formLogic
({
name
,
newVal
,
oldVal
}:
{
name
:
string
,
newVal
:
any
,
oldVal
:
any
}):
void
{
}
/**
...
...
app_BusinessCentral/src/widgets/contact/default-searchform/default-searchform-model.ts
浏览文件 @
8cadff0c
...
...
@@ -25,6 +25,21 @@ export default class DefaultModel {
prop
:
'srffrontuf'
,
dataType
:
'TEXT'
,
},
{
name
:
'n_fullname_like'
,
prop
:
'fullname'
,
dataType
:
'TEXT'
,
},
{
name
:
'n_statecode_eq'
,
prop
:
'statecode'
,
dataType
:
'NSCODELIST'
,
},
{
name
:
'n_leadsourcecode_eq'
,
prop
:
'leadsourcecode'
,
dataType
:
'SSCODELIST'
,
},
]
}
...
...
app_BusinessCentral/src/widgets/contact/main-grid/main-grid-model.ts
浏览文件 @
8cadff0c
...
...
@@ -95,6 +95,21 @@ export default class MainModel {
name
:
'contact'
,
prop
:
'contactid'
,
},
{
name
:
'n_fullname_like'
,
prop
:
'n_fullname_like'
,
dataType
:
'TEXT'
,
},
{
name
:
'n_statecode_eq'
,
prop
:
'n_statecode_eq'
,
dataType
:
'NSCODELIST'
,
},
{
name
:
'n_leadsourcecode_eq'
,
prop
:
'n_leadsourcecode_eq'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'size'
,
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录