Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
da7b7fd7
提交
da7b7fd7
编写于
6月 16, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
4c2f71b9
变更
19
显示空白字符变更
内嵌
并排
正在显示
19 个修改的文件
包含
335 行增加
和
734 行删除
+335
-734
view-config.json
app_BusinessCentral/public/assets/json/view-config.json
+20
-0
account_en_US.ts
...ntral/src/locale/lanres/entities/account/account_en_US.ts
+6
-20
account_zh_CN.ts
...ntral/src/locale/lanres/entities/account/account_zh_CN.ts
+6
-20
contact_en_US.ts
...ntral/src/locale/lanres/entities/contact/contact_en_US.ts
+8
-0
contact_zh_CN.ts
...ntral/src/locale/lanres/entities/contact/contact_zh_CN.ts
+8
-0
viewconfig.ts
app_BusinessCentral/src/mock/viewconfig/viewconfig.ts
+16
-0
page-register.ts
...usinessCentral/src/pages/ungroup/central/page-register.ts
+2
-0
router.ts
app_BusinessCentral/src/pages/ungroup/central/router.ts
+28
-0
state.ts
app_BusinessCentral/src/store/modules/view-action/state.ts
+1
-0
contact-ui-service-base.ts
...sCentral/src/uiservice/contact/contact-ui-service-base.ts
+2
-0
accountinfo-form-base.vue
...idgets/account/accountinfo-form/accountinfo-form-base.vue
+8
-8
address-form-base.vue
...al/src/widgets/account/address-form/address-form-base.vue
+54
-518
address-form-model.ts
...al/src/widgets/account/address-form/address-form-model.ts
+9
-89
contact-setting-form-base.vue
...ccount/contact-setting-form/contact-setting-form-base.vue
+37
-42
introduction-form-base.vue
...gets/account/introduction-form/introduction-form-base.vue
+4
-4
major-contact-form-base.vue
...ts/account/major-contact-form/major-contact-form-base.vue
+85
-14
major-contact-form-model.ts
...ts/account/major-contact-form/major-contact-form-model.ts
+12
-2
major-contact-form-service.ts
.../account/major-contact-form/major-contact-form-service.ts
+12
-0
h2_table.xml
...esscentral-core/src/main/resources/liquibase/h2_table.xml
+17
-17
未找到文件。
app_BusinessCentral/public/assets/json/view-config.json
浏览文件 @
da7b7fd7
...
...
@@ -269,6 +269,16 @@
"viewtag"
:
"7FCD2E75-E34A-493C-922E-8AE47BCE08CA"
,
"memo"
:
""
},
"contactpickupgridview"
:
{
"title"
:
"contact选择表格视图"
,
"caption"
:
"联系人"
,
"viewtype"
:
"DEPICKUPGRIDVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"ContactPickupGridView"
,
"viewfilename"
:
"contact-pickup-grid-view"
,
"viewtag"
:
"85781d107d628dfc6cdf9693797f073e"
,
"memo"
:
"系统自动添加"
},
"taskquickcreate"
:
{
"title"
:
"任务"
,
"caption"
:
"任务"
,
...
...
@@ -429,6 +439,16 @@
"viewtag"
:
"b3cfac5362b3bfb70d1471932f120fa5"
,
"memo"
:
"系统自动添加"
},
"contactpickupview"
:
{
"title"
:
"contact数据选择视图"
,
"caption"
:
"联系人"
,
"viewtype"
:
"DEPICKUPVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"ContactPickupView"
,
"viewfilename"
:
"contact-pickup-view"
,
"viewtag"
:
"b6b6215e439e78cdf6959b6f45bd7927"
,
"memo"
:
"系统自动添加"
},
"activitypointerbyparentkey"
:
{
"title"
:
"活动"
,
"caption"
:
"活动"
,
...
...
app_BusinessCentral/src/locale/lanres/entities/account/account_en_US.ts
浏览文件 @
da7b7fd7
...
...
@@ -256,28 +256,12 @@ export default {
srfdeid
:
""
,
srfsourcekey
:
""
,
address1_addressid
:
"地址 1: ID"
,
address1_name
:
"地址 1: 名称"
,
address1_addresstypecode
:
"地址 1: 地址类型"
,
address1_city
:
"地址 1: 市/县"
,
address1_composite
:
"地址 1"
,
address1_country
:
"地址 1: 国家/地区"
,
address1_county
:
"地址 1: 县"
,
address1_fax
:
"地址 1: 传真"
,
address1_freighttermscode
:
"地址 1: 货运条款"
,
address1_latitude
:
"地址 1: 纬度"
,
address1_line1
:
"地址 1: 街道 1"
,
address1_line2
:
"地址 1: 街道 2"
,
address1_line3
:
"地址 1: 街道 3"
,
address1_longitude
:
"地址 1: 经度"
,
address1_name
:
"地址 1: 名称"
,
address1_postalcode
:
"地址 1: 邮政编码"
,
address1_postofficebox
:
"地址 1: 邮政信箱"
,
address1_primarycontactname
:
"地址 1: 主要联系人姓名"
,
address1_shippingmethodcode
:
"地址 1: 送货方式"
,
address1_stateorprovince
:
"地址 1: 省/市/自治区"
,
address1_telephone2
:
"地址 1: 电话 2"
,
address1_telephone3
:
"地址 1: 电话 3"
,
address1_upszone
:
"地址 1: UPS 区域"
,
address1_utcoffset
:
"地址 1: UTC 时差"
,
address1_city
:
"地址 1: 市/县"
,
address1_county
:
"地址 1: 县"
,
accountid
:
"客户"
,
},
uiactions
:
{
...
...
@@ -358,7 +342,9 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
accountname
:
"客户名称"
,
primarycontactname
:
"主要联系人"
,
emailaddress1
:
"电子邮件"
,
primarycontactid
:
"主要联系人"
,
accountid
:
"客户"
,
},
uiactions
:
{
...
...
app_BusinessCentral/src/locale/lanres/entities/account/account_zh_CN.ts
浏览文件 @
da7b7fd7
...
...
@@ -255,28 +255,12 @@ export default {
srfdeid
:
''
,
srfsourcekey
:
''
,
address1_addressid
:
'地址 1: ID'
,
address1_name
:
'地址 1: 名称'
,
address1_addresstypecode
:
'地址 1: 地址类型'
,
address1_city
:
'地址 1: 市/县'
,
address1_composite
:
'地址 1'
,
address1_country
:
'地址 1: 国家/地区'
,
address1_county
:
'地址 1: 县'
,
address1_fax
:
'地址 1: 传真'
,
address1_freighttermscode
:
'地址 1: 货运条款'
,
address1_latitude
:
'地址 1: 纬度'
,
address1_line1
:
'地址 1: 街道 1'
,
address1_line2
:
'地址 1: 街道 2'
,
address1_line3
:
'地址 1: 街道 3'
,
address1_longitude
:
'地址 1: 经度'
,
address1_name
:
'地址 1: 名称'
,
address1_postalcode
:
'地址 1: 邮政编码'
,
address1_postofficebox
:
'地址 1: 邮政信箱'
,
address1_primarycontactname
:
'地址 1: 主要联系人姓名'
,
address1_shippingmethodcode
:
'地址 1: 送货方式'
,
address1_stateorprovince
:
'地址 1: 省/市/自治区'
,
address1_telephone2
:
'地址 1: 电话 2'
,
address1_telephone3
:
'地址 1: 电话 3'
,
address1_upszone
:
'地址 1: UPS 区域'
,
address1_utcoffset
:
'地址 1: UTC 时差'
,
address1_city
:
'地址 1: 市/县'
,
address1_county
:
'地址 1: 县'
,
accountid
:
'客户'
,
},
uiactions
:
{
...
...
@@ -357,7 +341,9 @@ export default {
srfuf
:
''
,
srfdeid
:
''
,
srfsourcekey
:
''
,
accountname
:
'客户名称'
,
primarycontactname
:
'主要联系人'
,
emailaddress1
:
'电子邮件'
,
primarycontactid
:
'主要联系人'
,
accountid
:
'客户'
,
},
uiactions
:
{
...
...
app_BusinessCentral/src/locale/lanres/entities/contact/contact_en_US.ts
浏览文件 @
da7b7fd7
...
...
@@ -206,10 +206,18 @@ export default {
gridview
:
{
caption
:
"联系人"
,
title
:
'contact表格视图'
,
},
pickupgridview
:
{
caption
:
"联系人"
,
title
:
'contact选择表格视图'
,
},
editview
:
{
caption
:
"联系人"
,
title
:
'contact编辑视图'
,
},
pickupview
:
{
caption
:
"联系人"
,
title
:
'contact数据选择视图'
,
},
optionview
:
{
caption
:
"联系人"
,
...
...
app_BusinessCentral/src/locale/lanres/entities/contact/contact_zh_CN.ts
浏览文件 @
da7b7fd7
...
...
@@ -205,10 +205,18 @@ export default {
gridview
:
{
caption
:
'联系人'
,
title
:
'contact表格视图'
,
},
pickupgridview
:
{
caption
:
'联系人'
,
title
:
'contact选择表格视图'
,
},
editview
:
{
caption
:
'联系人'
,
title
:
'contact编辑视图'
,
},
pickupview
:
{
caption
:
'联系人'
,
title
:
'contact数据选择视图'
,
},
optionview
:
{
caption
:
'联系人'
,
...
...
app_BusinessCentral/src/mock/viewconfig/viewconfig.ts
浏览文件 @
da7b7fd7
...
...
@@ -223,6 +223,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"CenteralPortal"
,
"viewtag"
:
"7FCD2E75-E34A-493C-922E-8AE47BCE08CA"
},
"contactpickupgridview"
:
{
"title"
:
"contact选择表格视图"
,
"caption"
:
"联系人"
,
"viewtype"
:
"DEPICKUPGRIDVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"ContactPickupGridView"
,
"viewtag"
:
"85781d107d628dfc6cdf9693797f073e"
},
"taskquickcreate"
:
{
"title"
:
"任务"
,
"caption"
:
"任务"
,
...
...
@@ -351,6 +359,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"CampaignResponseEditView"
,
"viewtag"
:
"b3cfac5362b3bfb70d1471932f120fa5"
},
"contactpickupview"
:
{
"title"
:
"contact数据选择视图"
,
"caption"
:
"联系人"
,
"viewtype"
:
"DEPICKUPVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"ContactPickupView"
,
"viewtag"
:
"b6b6215e439e78cdf6959b6f45bd7927"
},
"activitypointerbyparentkey"
:
{
"title"
:
"活动"
,
"caption"
:
"活动"
,
...
...
app_BusinessCentral/src/pages/ungroup/central/page-register.ts
浏览文件 @
da7b7fd7
...
...
@@ -19,6 +19,7 @@ export const PageComponents = {
Vue
.
component
(
'account-account-info'
,
()
=>
import
(
'@pages/base/account-account-info/account-account-info.vue'
));
Vue
.
component
(
'invoice-edit-view'
,
()
=>
import
(
'@pages/finance/invoice-edit-view/invoice-edit-view.vue'
));
Vue
.
component
(
'account-summary'
,
()
=>
import
(
'@pages/base/account-summary/account-summary.vue'
));
Vue
.
component
(
'contact-pickup-view'
,
()
=>
import
(
'@pages/base/contact-pickup-view/contact-pickup-view.vue'
));
Vue
.
component
(
'account-contact-setting'
,
()
=>
import
(
'@pages/base/account-contact-setting/account-contact-setting.vue'
));
Vue
.
component
(
'opportunity-grid-view'
,
()
=>
import
(
'@pages/sales/opportunity-grid-view/opportunity-grid-view.vue'
));
Vue
.
component
(
'letter-edit-view'
,
()
=>
import
(
'@pages/base/letter-edit-view/letter-edit-view.vue'
));
...
...
@@ -27,6 +28,7 @@ export const PageComponents = {
Vue
.
component
(
'account-address'
,
()
=>
import
(
'@pages/base/account-address/account-address.vue'
));
Vue
.
component
(
'appointment-edit-view'
,
()
=>
import
(
'@pages/base/appointment-edit-view/appointment-edit-view.vue'
));
Vue
.
component
(
'email-edit-view'
,
()
=>
import
(
'@pages/base/email-edit-view/email-edit-view.vue'
));
Vue
.
component
(
'contact-pickup-grid-view'
,
()
=>
import
(
'@pages/base/contact-pickup-grid-view/contact-pickup-grid-view.vue'
));
Vue
.
component
(
'goal-grid-view'
,
()
=>
import
(
'@pages/sales/goal-grid-view/goal-grid-view.vue'
));
Vue
.
component
(
'contact-grid-view'
,
()
=>
import
(
'@pages/base/contact-grid-view/contact-grid-view.vue'
));
Vue
.
component
(
'service-appointment-edit-view'
,
()
=>
import
(
'@pages/service/service-appointment-edit-view/service-appointment-edit-view.vue'
));
...
...
app_BusinessCentral/src/pages/ungroup/central/router.ts
浏览文件 @
da7b7fd7
...
...
@@ -300,6 +300,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/base/account-summary/account-summary.vue'
),
},
{
path
:
'contacts/:contact?/pickupview/:pickupview?'
,
meta
:
{
caption
:
'entities.contact.views.pickupview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'pickupview'
,
parameterName
:
'pickupview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-pickup-view/contact-pickup-view.vue'
),
},
{
path
:
'accounts/:account?/contactsetting/:contactsetting?'
,
meta
:
{
...
...
@@ -412,6 +426,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/base/email-edit-view/email-edit-view.vue'
),
},
{
path
:
'contacts/:contact?/pickupgridview/:pickupgridview?'
,
meta
:
{
caption
:
'entities.contact.views.pickupgridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'pickupgridview'
,
parameterName
:
'pickupgridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-pickup-grid-view/contact-pickup-grid-view.vue'
),
},
{
path
:
'goals/:goal?/gridview/:gridview?'
,
meta
:
{
...
...
app_BusinessCentral/src/store/modules/view-action/state.ts
浏览文件 @
da7b7fd7
...
...
@@ -554,6 +554,7 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'b6b6215e439e78cdf6959b6f45bd7927'
,
],
},
{
...
...
app_BusinessCentral/src/uiservice/contact/contact-ui-service-base.ts
浏览文件 @
da7b7fd7
...
...
@@ -80,7 +80,9 @@ export default class ContactUIServiceBase extends UIService {
*/
public
initViewMap
(){
this
.
allViewMap
.
set
(
'MDATAVIEW:'
,{
viewname
:
'gridview'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'pickupgridview'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
'EDITVIEW:'
,{
viewname
:
'editview'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
'PICKUPVIEW:'
,{
viewname
:
'pickupview'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'optionview'
,
srfappde
:
'contacts'
});
}
...
...
app_BusinessCentral/src/widgets/account/accountinfo-form/accountinfo-form-base.vue
浏览文件 @
da7b7fd7
...
...
@@ -6,56 +6,56 @@
<i-col
v-show=
"detailsModel.group1.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-group
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.account.accountinfo_form.details.group1')"
:isShowCaption=
"false"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"true"
>
<row>
<i-col
v-show=
"detailsModel.accountname.visible"
:style=
"
{}" :
lg="{ span: 24
, offset: 0 }">
<i-col
v-show=
"detailsModel.accountname.visible"
:style=
"
{}" :
md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6
, offset: 0 }">
<app-form-item
name=
'accountname'
:itemRules=
"this.rules.accountname"
class=
''
:caption=
"$t('entities.account.accountinfo_form.details.accountname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.accountname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'accountname'
:value=
"data.accountname"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.telephone1.visible"
:style=
"
{}" :
lg="{ span: 24
, offset: 0 }">
<i-col
v-show=
"detailsModel.telephone1.visible"
:style=
"
{}" :
md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6
, offset: 0 }">
<app-form-item
name=
'telephone1'
:itemRules=
"this.rules.telephone1"
class=
''
:caption=
"$t('entities.account.accountinfo_form.details.telephone1')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.telephone1.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'telephone1'
:value=
"data.telephone1"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.fax.visible"
:style=
"
{}" :
lg="{ span: 24
, offset: 0 }">
<i-col
v-show=
"detailsModel.fax.visible"
:style=
"
{}" :
md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6
, offset: 0 }">
<app-form-item
name=
'fax'
:itemRules=
"this.rules.fax"
class=
''
:caption=
"$t('entities.account.accountinfo_form.details.fax')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.fax.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'fax'
:value=
"data.fax"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.websiteurl.visible"
:style=
"
{}" :
lg="{ span: 24
, offset: 0 }">
<i-col
v-show=
"detailsModel.websiteurl.visible"
:style=
"
{}" :
md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6
, offset: 0 }">
<app-form-item
name=
'websiteurl'
:itemRules=
"this.rules.websiteurl"
class=
''
:caption=
"$t('entities.account.accountinfo_form.details.websiteurl')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.websiteurl.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'websiteurl'
:value=
"data.websiteurl"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.parentaccountname.visible"
:style=
"
{}" :
lg="{ span: 24
, offset: 0 }">
<i-col
v-show=
"detailsModel.parentaccountname.visible"
:style=
"
{}" :
md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6
, offset: 0 }">
<app-form-item
name=
'parentaccountname'
:itemRules=
"this.rules.parentaccountname"
class=
''
:caption=
"$t('entities.account.accountinfo_form.details.parentaccountname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.parentaccountname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'parentaccountname'
:value=
"data.parentaccountname"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.tickersymbol.visible"
:style=
"
{}" :
lg="{ span: 24
, offset: 0 }">
<i-col
v-show=
"detailsModel.tickersymbol.visible"
:style=
"
{}" :
md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6
, offset: 0 }">
<app-form-item
name=
'tickersymbol'
:itemRules=
"this.rules.tickersymbol"
class=
''
:caption=
"$t('entities.account.accountinfo_form.details.tickersymbol')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.tickersymbol.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'tickersymbol'
:value=
"data.tickersymbol"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.customertypecode.visible"
:style=
"
{}" :
lg="{ span: 24
, offset: 0 }">
<i-col
v-show=
"detailsModel.customertypecode.visible"
:style=
"
{}" :
md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6
, offset: 0 }">
<app-form-item
name=
'customertypecode'
:itemRules=
"this.rules.customertypecode"
class=
''
:caption=
"$t('entities.account.accountinfo_form.details.customertypecode')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.customertypecode.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'customertypecode'
:value=
"data.customertypecode"
tag=
'Account__CustomerTypeCode'
codelistType=
'STATIC'
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.defaultpricelevelname.visible"
:style=
"
{}" :
lg="{ span: 24
, offset: 0 }">
<i-col
v-show=
"detailsModel.defaultpricelevelname.visible"
:style=
"
{}" :
md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6
, offset: 0 }">
<app-form-item
name=
'defaultpricelevelname'
:itemRules=
"this.rules.defaultpricelevelname"
class=
''
:caption=
"$t('entities.account.accountinfo_form.details.defaultpricelevelname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.defaultpricelevelname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'defaultpricelevelname'
:value=
"data.defaultpricelevelname"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
...
...
app_BusinessCentral/src/widgets/account/address-form/address-form-base.vue
浏览文件 @
da7b7fd7
...
...
@@ -6,164 +6,52 @@
<i-col
v-show=
"detailsModel.group1.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-group
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.account.address_form.details.group1')"
:isShowCaption=
"false"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"true"
>
<row>
<i-col
v-show=
"detailsModel.address1_addressid.visible"
:style=
"
{}" :
lg="{ span: 24
, offset: 0 }">
<i-col
v-show=
"detailsModel.address1_addressid.visible"
:style=
"
{}" :
md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6
, offset: 0 }">
<app-form-item
name=
'address1_addressid'
:itemRules=
"this.rules.address1_addressid"
class=
''
:caption=
"$t('entities.account.address_form.details.address1_addressid')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.address1_addressid.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'address1_addressid'
:value=
"data.address1_addressid"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.address1_addresstypecode.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'address1_addresstypecode'
:itemRules=
"this.rules.address1_addresstypecode"
class=
''
:caption=
"$t('entities.account.address_form.details.address1_addresstypecode')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.address1_addresstypecode.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'address1_addresstypecode'
:value=
"data.address1_addresstypecode"
tag=
'Account__Address1_AddressTypeCode'
codelistType=
'STATIC'
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.address1_city.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'address1_city'
:itemRules=
"this.rules.address1_city"
class=
''
:caption=
"$t('entities.account.address_form.details.address1_city')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.address1_city.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'address1_city'
:value=
"data.address1_city"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.address1_composite.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'address1_composite'
:itemRules=
"this.rules.address1_composite"
class=
''
:caption=
"$t('entities.account.address_form.details.address1_composite')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.address1_composite.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'address1_composite'
:value=
"data.address1_composite"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.address1_country.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'address1_country'
:itemRules=
"this.rules.address1_country"
class=
''
:caption=
"$t('entities.account.address_form.details.address1_country')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.address1_country.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'address1_country'
:value=
"data.address1_country"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.address1_county.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'address1_county'
:itemRules=
"this.rules.address1_county"
class=
''
:caption=
"$t('entities.account.address_form.details.address1_county')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.address1_county.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'address1_county'
:value=
"data.address1_county"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.address1_fax.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'address1_fax'
:itemRules=
"this.rules.address1_fax"
class=
''
:caption=
"$t('entities.account.address_form.details.address1_fax')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.address1_fax.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'address1_fax'
:value=
"data.address1_fax"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.address1_freighttermscode.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'address1_freighttermscode'
:itemRules=
"this.rules.address1_freighttermscode"
class=
''
:caption=
"$t('entities.account.address_form.details.address1_freighttermscode')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.address1_freighttermscode.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'address1_freighttermscode'
:value=
"data.address1_freighttermscode"
tag=
'Account__Address1_FreightTermsCode'
codelistType=
'STATIC'
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.address1_latitude.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'address1_latitude'
:itemRules=
"this.rules.address1_latitude"
class=
''
:caption=
"$t('entities.account.address_form.details.address1_latitude')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.address1_latitude.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'address1_latitude'
:value=
"data.address1_latitude"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.address1_line1.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'address1_line1'
:itemRules=
"this.rules.address1_line1"
class=
''
:caption=
"$t('entities.account.address_form.details.address1_line1')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.address1_line1.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'address1_line1'
:value=
"data.address1_line1"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.address1_line2.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'address1_line2'
:itemRules=
"this.rules.address1_line2"
class=
''
:caption=
"$t('entities.account.address_form.details.address1_line2')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.address1_line2.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'address1_line2'
:value=
"data.address1_line2"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.address1_line3.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'address1_line3'
:itemRules=
"this.rules.address1_line3"
class=
''
:caption=
"$t('entities.account.address_form.details.address1_line3')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.address1_line3.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'address1_line3'
:value=
"data.address1_line3"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.address1_longitude.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'address1_longitude'
:itemRules=
"this.rules.address1_longitude"
class=
''
:caption=
"$t('entities.account.address_form.details.address1_longitude')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.address1_longitude.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'address1_longitude'
:value=
"data.address1_longitude"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.address1_name.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<i-col
v-show=
"detailsModel.address1_name.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item
name=
'address1_name'
:itemRules=
"this.rules.address1_name"
class=
''
:caption=
"$t('entities.account.address_form.details.address1_name')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.address1_name.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'address1_name'
:value=
"data.address1_name"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.address1_postalcode.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'address1_postalcode'
:itemRules=
"this.rules.address1_postalcode"
class=
''
:caption=
"$t('entities.account.address_form.details.address1_postalcode')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.address1_postalcode.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'address1_postalcode'
:value=
"data.address1_postalcode"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.address1_postofficebox.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'address1_postofficebox'
:itemRules=
"this.rules.address1_postofficebox"
class=
''
:caption=
"$t('entities.account.address_form.details.address1_postofficebox')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.address1_postofficebox.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'address1_postofficebox'
:value=
"data.address1_postofficebox"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.address1_primarycontactname.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'address1_primarycontactname'
:itemRules=
"this.rules.address1_primarycontactname"
class=
''
:caption=
"$t('entities.account.address_form.details.address1_primarycontactname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.address1_primarycontactname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<i-col
v-show=
"detailsModel.address1_addresstypecode.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item
name=
'address1_addresstypecode'
:itemRules=
"this.rules.address1_addresstypecode"
class=
''
:caption=
"$t('entities.account.address_form.details.address1_addresstypecode')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.address1_addresstypecode.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'address1_
primarycontactname'
:value=
"data.address1_primarycontactname"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
<app-span
name=
'address1_
addresstypecode'
:value=
"data.address1_addresstypecode"
tag=
'Account__Address1_AddressTypeCode'
codelistType=
'STATIC'
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.address1_
shippingmethodcode.visible"
:style=
"
{}" :lg="{ span: 24
, offset: 0 }">
<app-form-item
name=
'address1_
shippingmethodcode'
:itemRules=
"this.rules.address1_shippingmethodcode"
class=
''
:caption=
"$t('entities.account.address_form.details.address1_shippingmethodcode')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.address1_shippingmethodcode
.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<i-col
v-show=
"detailsModel.address1_
country.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6
, offset: 0 }">
<app-form-item
name=
'address1_
country'
:itemRules=
"this.rules.address1_country"
class=
''
:caption=
"$t('entities.account.address_form.details.address1_country')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.address1_country
.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'address1_
shippingmethodcode'
:value=
"data.address1_shippingmethodcode"
tag=
'Account__Address1_ShippingMethodCode'
codelistType=
'STATIC'
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
<app-span
name=
'address1_
country'
:value=
"data.address1_country"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.address1_stateorprovince.visible"
:style=
"
{}" :
lg="{ span: 24
, offset: 0 }">
<i-col
v-show=
"detailsModel.address1_stateorprovince.visible"
:style=
"
{}" :
md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6
, offset: 0 }">
<app-form-item
name=
'address1_stateorprovince'
:itemRules=
"this.rules.address1_stateorprovince"
class=
''
:caption=
"$t('entities.account.address_form.details.address1_stateorprovince')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.address1_stateorprovince.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'address1_stateorprovince'
:value=
"data.address1_stateorprovince"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.address1_telephone2.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'address1_telephone2'
:itemRules=
"this.rules.address1_telephone2"
class=
''
:caption=
"$t('entities.account.address_form.details.address1_telephone2')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.address1_telephone2.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'address1_telephone2'
:value=
"data.address1_telephone2"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.address1_telephone3.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'address1_telephone3'
:itemRules=
"this.rules.address1_telephone3"
class=
''
:caption=
"$t('entities.account.address_form.details.address1_telephone3')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.address1_telephone3.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'address1_telephone3'
:value=
"data.address1_telephone3"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.address1_upszone.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'address1_upszone'
:itemRules=
"this.rules.address1_upszone"
class=
''
:caption=
"$t('entities.account.address_form.details.address1_upszone')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.address1_upszone.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<i-col
v-show=
"detailsModel.address1_city.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item
name=
'address1_city'
:itemRules=
"this.rules.address1_city"
class=
''
:caption=
"$t('entities.account.address_form.details.address1_city')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.address1_city.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'address1_
upszone'
:value=
"data.address1_upszone
"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
<app-span
name=
'address1_
city'
:value=
"data.address1_city
"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.address1_
utcoffset.visible"
:style=
"
{}" :lg="{ span: 24
, offset: 0 }">
<app-form-item
name=
'address1_
utcoffset'
:itemRules=
"this.rules.address1_utcoffset"
class=
''
:caption=
"$t('entities.account.address_form.details.address1_utcoffset')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.address1_utcoffset
.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<i-col
v-show=
"detailsModel.address1_
county.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6
, offset: 0 }">
<app-form-item
name=
'address1_
county'
:itemRules=
"this.rules.address1_county"
class=
''
:caption=
"$t('entities.account.address_form.details.address1_county')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.address1_county
.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'address1_
utcoffset'
:value=
"data.address1_utcoffset
"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
<app-span
name=
'address1_
county'
:value=
"data.address1_county
"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
...
...
@@ -479,28 +367,12 @@ export default class AddressBase extends Vue implements ControlInterface {
srfdeid
:
null
,
srfsourcekey
:
null
,
address1_addressid
:
null
,
address1_name
:
null
,
address1_addresstypecode
:
null
,
address1_city
:
null
,
address1_composite
:
null
,
address1_country
:
null
,
address1_county
:
null
,
address1_fax
:
null
,
address1_freighttermscode
:
null
,
address1_latitude
:
null
,
address1_line1
:
null
,
address1_line2
:
null
,
address1_line3
:
null
,
address1_longitude
:
null
,
address1_name
:
null
,
address1_postalcode
:
null
,
address1_postofficebox
:
null
,
address1_primarycontactname
:
null
,
address1_shippingmethodcode
:
null
,
address1_stateorprovince
:
null
,
address1_telephone2
:
null
,
address1_telephone3
:
null
,
address1_upszone
:
null
,
address1_utcoffset
:
null
,
address1_city
:
null
,
address1_county
:
null
,
accountid
:
null
,
account
:
null
,
};
...
...
@@ -598,137 +470,41 @@ export default class AddressBase extends Vue implements ControlInterface {
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: ID 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: ID 值不能为空'
,
trigger
:
'blur'
},
],
address1_name
:
[
{
type
:
'string'
,
message
:
'地址 1: 名称 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'地址 1: 名称 值必须为字符串类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 名称 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 名称 值不能为空'
,
trigger
:
'blur'
},
],
address1_addresstypecode
:
[
{
type
:
'string'
,
message
:
'地址 1: 地址类型 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'地址 1: 地址类型 值必须为字符串类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 地址类型 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 地址类型 值不能为空'
,
trigger
:
'blur'
},
],
address1_city
:
[
{
type
:
'string'
,
message
:
'地址 1: 市/县 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'地址 1: 市/县 值必须为字符串类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 市/县 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 市/县 值不能为空'
,
trigger
:
'blur'
},
],
address1_composite
:
[
{
type
:
'string'
,
message
:
'地址 1 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'地址 1 值必须为字符串类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1 值不能为空'
,
trigger
:
'blur'
},
],
address1_country
:
[
{
type
:
'string'
,
message
:
'地址 1: 国家/地区 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'地址 1: 国家/地区 值必须为字符串类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 国家/地区 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 国家/地区 值不能为空'
,
trigger
:
'blur'
},
],
address1_county
:
[
{
type
:
'string'
,
message
:
'地址 1: 县 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'地址 1: 县 值必须为字符串类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 县 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 县 值不能为空'
,
trigger
:
'blur'
},
],
address1_fax
:
[
{
type
:
'string'
,
message
:
'地址 1: 传真 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'地址 1: 传真 值必须为字符串类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 传真 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 传真 值不能为空'
,
trigger
:
'blur'
},
],
address1_freighttermscode
:
[
{
type
:
'string'
,
message
:
'地址 1: 货运条款 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'地址 1: 货运条款 值必须为字符串类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 货运条款 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 货运条款 值不能为空'
,
trigger
:
'blur'
},
],
address1_latitude
:
[
{
type
:
'number'
,
message
:
'地址 1: 纬度 值必须为数值类型'
,
trigger
:
'change'
},
{
type
:
'number'
,
message
:
'地址 1: 纬度 值必须为数值类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'number'
,
message
:
'地址 1: 纬度 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'number'
,
message
:
'地址 1: 纬度 值不能为空'
,
trigger
:
'blur'
},
],
address1_line1
:
[
{
type
:
'string'
,
message
:
'地址 1: 街道 1 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'地址 1: 街道 1 值必须为字符串类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 街道 1 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 街道 1 值不能为空'
,
trigger
:
'blur'
},
],
address1_line2
:
[
{
type
:
'string'
,
message
:
'地址 1: 街道 2 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'地址 1: 街道 2 值必须为字符串类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 街道 2 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 街道 2 值不能为空'
,
trigger
:
'blur'
},
],
address1_line3
:
[
{
type
:
'string'
,
message
:
'地址 1: 街道 3 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'地址 1: 街道 3 值必须为字符串类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 街道 3 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 街道 3 值不能为空'
,
trigger
:
'blur'
},
],
address1_longitude
:
[
{
type
:
'number'
,
message
:
'地址 1: 经度 值必须为数值类型'
,
trigger
:
'change'
},
{
type
:
'number'
,
message
:
'地址 1: 经度 值必须为数值类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'number'
,
message
:
'地址 1: 经度 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'number'
,
message
:
'地址 1: 经度 值不能为空'
,
trigger
:
'blur'
},
],
address1_name
:
[
{
type
:
'string'
,
message
:
'地址 1: 名称 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'地址 1: 名称 值必须为字符串类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 名称 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 名称 值不能为空'
,
trigger
:
'blur'
},
],
address1_postalcode
:
[
{
type
:
'string'
,
message
:
'地址 1: 邮政编码 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'地址 1: 邮政编码 值必须为字符串类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 邮政编码 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 邮政编码 值不能为空'
,
trigger
:
'blur'
},
],
address1_postofficebox
:
[
{
type
:
'string'
,
message
:
'地址 1: 邮政信箱 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'地址 1: 邮政信箱 值必须为字符串类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 邮政信箱 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 邮政信箱 值不能为空'
,
trigger
:
'blur'
},
],
address1_primarycontactname
:
[
{
type
:
'string'
,
message
:
'地址 1: 主要联系人姓名 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'地址 1: 主要联系人姓名 值必须为字符串类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 主要联系人姓名 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 主要联系人姓名 值不能为空'
,
trigger
:
'blur'
},
],
address1_shippingmethodcode
:
[
{
type
:
'string'
,
message
:
'地址 1: 送货方式 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'地址 1: 送货方式 值必须为字符串类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 送货方式 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 送货方式 值不能为空'
,
trigger
:
'blur'
},
],
address1_stateorprovince
:
[
{
type
:
'string'
,
message
:
'地址 1: 省/市/自治区 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'地址 1: 省/市/自治区 值必须为字符串类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 省/市/自治区 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 省/市/自治区 值不能为空'
,
trigger
:
'blur'
},
],
address1_telephone2
:
[
{
type
:
'string'
,
message
:
'地址 1: 电话 2 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'地址 1: 电话 2 值必须为字符串类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 电话 2 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 电话 2 值不能为空'
,
trigger
:
'blur'
},
],
address1_telephone3
:
[
{
type
:
'string'
,
message
:
'地址 1: 电话 3 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'地址 1: 电话 3 值必须为字符串类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 电话 3 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 电话 3 值不能为空'
,
trigger
:
'blur'
},
],
address1_upszone
:
[
{
type
:
'string'
,
message
:
'地址 1: UPS 区域 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'地址 1: UPS 区域 值必须为字符串类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: UPS 区域 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: UPS 区域 值不能为空'
,
trigger
:
'blur'
},
address1_city
:
[
{
type
:
'string'
,
message
:
'地址 1: 市/县 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'地址 1: 市/县 值必须为字符串类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 市/县 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
'地址 1: 市/县 值不能为空'
,
trigger
:
'blur'
},
],
address1_
utcoffset
:
[
{
type
:
'
number'
,
message
:
'地址 1: UTC 时差 值必须为数值
类型'
,
trigger
:
'change'
},
{
type
:
'
number'
,
message
:
'地址 1: UTC 时差 值必须为数值
类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'
number'
,
message
:
'地址 1: UTC 时差
值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'
number'
,
message
:
'地址 1: UTC 时差
值不能为空'
,
trigger
:
'blur'
},
address1_
county
:
[
{
type
:
'
string'
,
message
:
'地址 1: 县 值必须为字符串
类型'
,
trigger
:
'change'
},
{
type
:
'
string'
,
message
:
'地址 1: 县 值必须为字符串
类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'
string'
,
message
:
'地址 1: 县
值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'
string'
,
message
:
'地址 1: 县
值不能为空'
,
trigger
:
'blur'
},
],
accountid
:
[
{
type
:
'string'
,
message
:
'客户 值必须为字符串类型'
,
trigger
:
'change'
},
...
...
@@ -766,50 +542,18 @@ export default class AddressBase extends Vue implements ControlInterface {
srfsourcekey
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfsourcekey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
address1_addressid
:
new
FormItemModel
({
caption
:
'地址 1: ID'
,
detailType
:
'FORMITEM'
,
name
:
'address1_addressid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
address1_addresstypecode
:
new
FormItemModel
({
caption
:
'地址 1: 地址类型'
,
detailType
:
'FORMITEM'
,
name
:
'address1_addresstypecode'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
address1_city
:
new
FormItemModel
({
caption
:
'地址 1: 市/县'
,
detailType
:
'FORMITEM'
,
name
:
'address1_city'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
address1_composite
:
new
FormItemModel
({
caption
:
'地址 1'
,
detailType
:
'FORMITEM'
,
name
:
'address1_composite'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
0
})
,
address1_country
:
new
FormItemModel
({
caption
:
'地址 1: 国家/地区'
,
detailType
:
'FORMITEM'
,
name
:
'address1_country'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
address1_county
:
new
FormItemModel
({
caption
:
'地址 1: 县'
,
detailType
:
'FORMITEM'
,
name
:
'address1_county'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
address1_fax
:
new
FormItemModel
({
caption
:
'地址 1: 传真'
,
detailType
:
'FORMITEM'
,
name
:
'address1_fax'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
address1_freighttermscode
:
new
FormItemModel
({
caption
:
'地址 1: 货运条款'
,
detailType
:
'FORMITEM'
,
name
:
'address1_freighttermscode'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
address1_latitude
:
new
FormItemModel
({
caption
:
'地址 1: 纬度'
,
detailType
:
'FORMITEM'
,
name
:
'address1_latitude'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
address1_line1
:
new
FormItemModel
({
caption
:
'地址 1: 街道 1'
,
detailType
:
'FORMITEM'
,
name
:
'address1_line1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
address1_line2
:
new
FormItemModel
({
caption
:
'地址 1: 街道 2'
,
detailType
:
'FORMITEM'
,
name
:
'address1_line2'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
address1_line3
:
new
FormItemModel
({
caption
:
'地址 1: 街道 3'
,
detailType
:
'FORMITEM'
,
name
:
'address1_line3'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
address1_longitude
:
new
FormItemModel
({
caption
:
'地址 1: 经度'
,
detailType
:
'FORMITEM'
,
name
:
'address1_longitude'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
address1_name
:
new
FormItemModel
({
caption
:
'地址 1: 名称'
,
detailType
:
'FORMITEM'
,
name
:
'address1_name'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
address1_postalcode
:
new
FormItemModel
({
caption
:
'地址 1: 邮政编码'
,
detailType
:
'FORMITEM'
,
name
:
'address1_postalcode'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
address1_postofficebox
:
new
FormItemModel
({
caption
:
'地址 1: 邮政信箱'
,
detailType
:
'FORMITEM'
,
name
:
'address1_postofficebox'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
address1_primarycontactname
:
new
FormItemModel
({
caption
:
'地址 1: 主要联系人姓名'
,
detailType
:
'FORMITEM'
,
name
:
'address1_primarycontactname'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
address1_addresstypecode
:
new
FormItemModel
({
caption
:
'地址 1: 地址类型'
,
detailType
:
'FORMITEM'
,
name
:
'address1_addresstypecode'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
address1_
shippingmethodcode
:
new
FormItemModel
({
caption
:
'地址 1: 送货方式'
,
detailType
:
'FORMITEM'
,
name
:
'address1_shippingmethodcode
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
address1_
country
:
new
FormItemModel
({
caption
:
'地址 1: 国家/地区'
,
detailType
:
'FORMITEM'
,
name
:
'address1_country
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
address1_stateorprovince
:
new
FormItemModel
({
caption
:
'地址 1: 省/市/自治区'
,
detailType
:
'FORMITEM'
,
name
:
'address1_stateorprovince'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
address1_telephone2
:
new
FormItemModel
({
caption
:
'地址 1: 电话 2'
,
detailType
:
'FORMITEM'
,
name
:
'address1_telephone2'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
address1_telephone3
:
new
FormItemModel
({
caption
:
'地址 1: 电话 3'
,
detailType
:
'FORMITEM'
,
name
:
'address1_telephone3'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
address1_upszone
:
new
FormItemModel
({
caption
:
'地址 1: UPS 区域'
,
detailType
:
'FORMITEM'
,
name
:
'address1_upszone'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
address1_city
:
new
FormItemModel
({
caption
:
'地址 1: 市/县'
,
detailType
:
'FORMITEM'
,
name
:
'address1_city'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
address1_
utcoffset
:
new
FormItemModel
({
caption
:
'地址 1: UTC 时差'
,
detailType
:
'FORMITEM'
,
name
:
'address1_utcoffset
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
address1_
county
:
new
FormItemModel
({
caption
:
'地址 1: 县'
,
detailType
:
'FORMITEM'
,
name
:
'address1_county
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
accountid
:
new
FormItemModel
({
caption
:
'客户'
,
detailType
:
'FORMITEM'
,
name
:
'accountid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
1
})
,
...
...
@@ -923,150 +667,6 @@ export default class AddressBase extends Vue implements ControlInterface {
this
.
formDataChange
({
name
:
'address1_addressid'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 address1_addresstypecode 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Address
*/
@
Watch
(
'data.address1_addresstypecode'
)
onAddress1_addresstypecodeChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'address1_addresstypecode'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 address1_city 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Address
*/
@
Watch
(
'data.address1_city'
)
onAddress1_cityChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'address1_city'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 address1_composite 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Address
*/
@
Watch
(
'data.address1_composite'
)
onAddress1_compositeChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'address1_composite'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 address1_country 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Address
*/
@
Watch
(
'data.address1_country'
)
onAddress1_countryChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'address1_country'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 address1_county 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Address
*/
@
Watch
(
'data.address1_county'
)
onAddress1_countyChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'address1_county'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 address1_fax 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Address
*/
@
Watch
(
'data.address1_fax'
)
onAddress1_faxChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'address1_fax'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 address1_freighttermscode 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Address
*/
@
Watch
(
'data.address1_freighttermscode'
)
onAddress1_freighttermscodeChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'address1_freighttermscode'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 address1_latitude 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Address
*/
@
Watch
(
'data.address1_latitude'
)
onAddress1_latitudeChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'address1_latitude'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 address1_line1 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Address
*/
@
Watch
(
'data.address1_line1'
)
onAddress1_line1Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'address1_line1'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 address1_line2 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Address
*/
@
Watch
(
'data.address1_line2'
)
onAddress1_line2Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'address1_line2'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 address1_line3 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Address
*/
@
Watch
(
'data.address1_line3'
)
onAddress1_line3Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'address1_line3'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 address1_longitude 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Address
*/
@
Watch
(
'data.address1_longitude'
)
onAddress1_longitudeChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'address1_longitude'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 address1_name 值
*
...
...
@@ -1080,51 +680,27 @@ export default class AddressBase extends Vue implements ControlInterface {
}
/**
* 监控表单属性 address1_postalcode 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Address
*/
@
Watch
(
'data.address1_postalcode'
)
onAddress1_postalcodeChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'address1_postalcode'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 address1_postofficebox 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Address
*/
@
Watch
(
'data.address1_postofficebox'
)
onAddress1_postofficeboxChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'address1_postofficebox'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 address1_primarycontactname 值
* 监控表单属性 address1_addresstypecode 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Address
*/
@
Watch
(
'data.address1_
primarycontactnam
e'
)
onAddress1_
primarycontactnam
eChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'address1_
primarycontactnam
e'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
@
Watch
(
'data.address1_
addresstypecod
e'
)
onAddress1_
addresstypecod
eChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'address1_
addresstypecod
e'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 address1_
shippingmethodcode
值
* 监控表单属性 address1_
country
值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Address
*/
@
Watch
(
'data.address1_
shippingmethodcode
'
)
onAddress1_
shippingmethodcode
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'address1_
shippingmethodcode
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
@
Watch
(
'data.address1_
country
'
)
onAddress1_
country
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'address1_
country
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
...
...
@@ -1140,51 +716,27 @@ export default class AddressBase extends Vue implements ControlInterface {
}
/**
* 监控表单属性 address1_telephone2 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Address
*/
@
Watch
(
'data.address1_telephone2'
)
onAddress1_telephone2Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'address1_telephone2'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 address1_telephone3 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Address
*/
@
Watch
(
'data.address1_telephone3'
)
onAddress1_telephone3Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'address1_telephone3'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 address1_upszone 值
* 监控表单属性 address1_city 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Address
*/
@
Watch
(
'data.address1_
upszone
'
)
onAddress1_
upszone
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'address1_
upszone
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
@
Watch
(
'data.address1_
city
'
)
onAddress1_
city
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'address1_
city
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 address1_
utcoffset
值
* 监控表单属性 address1_
county
值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Address
*/
@
Watch
(
'data.address1_
utcoffset
'
)
onAddress1_
utcoffset
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'address1_
utcoffset
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
@
Watch
(
'data.address1_
county
'
)
onAddress1_
county
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'address1_
county
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
...
...
@@ -1248,22 +800,6 @@ export default class AddressBase extends Vue implements ControlInterface {
...
...
app_BusinessCentral/src/widgets/account/address-form/address-form-model.ts
浏览文件 @
da7b7fd7
...
...
@@ -60,116 +60,36 @@ export default class AddressModel {
prop
:
'address1_addressid'
,
dataType
:
'TEXT'
,
},
{
name
:
'address1_addresstypecode'
,
prop
:
'address1_addresstypecode'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'address1_city'
,
prop
:
'address1_city'
,
dataType
:
'TEXT'
,
},
{
name
:
'address1_composite'
,
prop
:
'address1_composite'
,
dataType
:
'TEXT'
,
},
{
name
:
'address1_country'
,
prop
:
'address1_country'
,
dataType
:
'TEXT'
,
},
{
name
:
'address1_county'
,
prop
:
'address1_county'
,
dataType
:
'TEXT'
,
},
{
name
:
'address1_fax'
,
prop
:
'address1_fax'
,
dataType
:
'TEXT'
,
},
{
name
:
'address1_freighttermscode'
,
prop
:
'address1_freighttermscode'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'address1_latitude'
,
prop
:
'address1_latitude'
,
dataType
:
'DECIMAL'
,
},
{
name
:
'address1_line1'
,
prop
:
'address1_line1'
,
dataType
:
'TEXT'
,
},
{
name
:
'address1_line2'
,
prop
:
'address1_line2'
,
dataType
:
'TEXT'
,
},
{
name
:
'address1_line3'
,
prop
:
'address1_line3'
,
dataType
:
'TEXT'
,
},
{
name
:
'address1_longitude'
,
prop
:
'address1_longitude'
,
dataType
:
'DECIMAL'
,
},
{
name
:
'address1_name'
,
prop
:
'address1_name'
,
dataType
:
'TEXT'
,
},
{
name
:
'address1_postalcode'
,
prop
:
'address1_postalcode'
,
dataType
:
'TEXT'
,
},
{
name
:
'address1_postofficebox'
,
prop
:
'address1_postofficebox'
,
dataType
:
'TEXT'
,
name
:
'address1_addresstypecode'
,
prop
:
'address1_addresstypecode'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'address1_
primarycontactname
'
,
prop
:
'address1_
primarycontactname
'
,
name
:
'address1_
country
'
,
prop
:
'address1_
country
'
,
dataType
:
'TEXT'
,
},
{
name
:
'address1_shippingmethodcode'
,
prop
:
'address1_shippingmethodcode'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'address1_stateorprovince'
,
prop
:
'address1_stateorprovince'
,
dataType
:
'TEXT'
,
},
{
name
:
'address1_telephone2'
,
prop
:
'address1_telephone2'
,
dataType
:
'TEXT'
,
},
{
name
:
'address1_telephone3'
,
prop
:
'address1_telephone3'
,
name
:
'address1_city'
,
prop
:
'address1_city'
,
dataType
:
'TEXT'
,
},
{
name
:
'address1_
upszone
'
,
prop
:
'address1_
upszone
'
,
name
:
'address1_
county
'
,
prop
:
'address1_
county
'
,
dataType
:
'TEXT'
,
},
{
name
:
'address1_utcoffset'
,
prop
:
'address1_utcoffset'
,
dataType
:
'INT'
,
},
{
name
:
'accountid'
,
prop
:
'accountid'
,
...
...
app_BusinessCentral/src/widgets/account/contact-setting-form/contact-setting-form-base.vue
浏览文件 @
da7b7fd7
...
...
@@ -6,45 +6,40 @@
<i-col
v-show=
"detailsModel.group1.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-group
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.account.contactsetting_form.details.group1')"
:isShowCaption=
"false"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"true"
>
<row>
<i-col
v-show=
"detailsModel.preferredcontactmethodcode.visible"
:style=
"
{}" :
lg="{ span: 24
, offset: 0 }">
<app-form-item
name=
'preferredcontactmethodcode'
:itemRules=
"this.rules.preferredcontactmethodcode"
class=
''
:caption=
"$t('entities.account.contactsetting_form.details.preferredcontactmethodcode')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.preferredcontactmethodcode.error"
:isEmptyCaption=
"false"
labelPos=
"
LEFT
"
>
<i-col
v-show=
"detailsModel.preferredcontactmethodcode.visible"
:style=
"
{}" :
md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6
, offset: 0 }">
<app-form-item
name=
'preferredcontactmethodcode'
:itemRules=
"this.rules.preferredcontactmethodcode"
class=
''
:caption=
"$t('entities.account.contactsetting_form.details.preferredcontactmethodcode')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.preferredcontactmethodcode.error"
:isEmptyCaption=
"false"
labelPos=
"
TOP
"
>
<app-span
name=
'preferredcontactmethodcode'
:value=
"data.preferredcontactmethodcode"
tag=
'Account__PreferredContactMethodCode'
codelistType=
'STATIC'
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.donotemail.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'donotemail'
:itemRules=
"this.rules.donotemail"
class=
''
:caption=
"$t('entities.account.contactsetting_form.details.donotemail')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.donotemail.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'donotemail'
:value=
"data.donotemail"
tag=
'YesNo'
codelistType=
'STATIC'
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
<i-col
v-show=
"detailsModel.donotemail.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item
name=
'donotemail'
:itemRules=
"this.rules.donotemail"
class=
''
:caption=
"$t('entities.account.contactsetting_form.details.donotemail')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.donotemail.error"
:isEmptyCaption=
"false"
labelPos=
"TOP"
>
<app-switch
name=
'donotemail'
:value=
"this.data.donotemail"
@
change=
"($event)=>
{this.data.donotemail = $event} " :disabled="detailsModel.donotemail.disabled" style="">
</app-switch>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.donotbulkemail.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'donotbulkemail'
:itemRules=
"this.rules.donotbulkemail"
class=
''
:caption=
"$t('entities.account.contactsetting_form.details.donotbulkemail')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.donotbulkemail.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'donotbulkemail'
:value=
"data.donotbulkemail"
tag=
'YesNo'
codelistType=
'STATIC'
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
<i-col
v-show=
"detailsModel.donotbulkemail.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item
name=
'donotbulkemail'
:itemRules=
"this.rules.donotbulkemail"
class=
''
:caption=
"$t('entities.account.contactsetting_form.details.donotbulkemail')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.donotbulkemail.error"
:isEmptyCaption=
"false"
labelPos=
"TOP"
>
<app-switch
name=
'donotbulkemail'
:value=
"this.data.donotbulkemail"
@
change=
"($event)=>
{this.data.donotbulkemail = $event} " :disabled="detailsModel.donotbulkemail.disabled" style="">
</app-switch>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.donotphone.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'donotphone'
:itemRules=
"this.rules.donotphone"
class=
''
:caption=
"$t('entities.account.contactsetting_form.details.donotphone')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.donotphone.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'donotphone'
:value=
"data.donotphone"
tag=
'YesNo'
codelistType=
'STATIC'
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
<i-col
v-show=
"detailsModel.donotphone.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item
name=
'donotphone'
:itemRules=
"this.rules.donotphone"
class=
''
:caption=
"$t('entities.account.contactsetting_form.details.donotphone')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.donotphone.error"
:isEmptyCaption=
"false"
labelPos=
"TOP"
>
<app-switch
name=
'donotphone'
:value=
"this.data.donotphone"
@
change=
"($event)=>
{this.data.donotphone = $event} " :disabled="detailsModel.donotphone.disabled" style="">
</app-switch>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.donotfax.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'donotfax'
:itemRules=
"this.rules.donotfax"
class=
''
:caption=
"$t('entities.account.contactsetting_form.details.donotfax')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.donotfax.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'donotfax'
:value=
"data.donotfax"
tag=
'YesNo'
codelistType=
'STATIC'
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
<i-col
v-show=
"detailsModel.donotfax.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item
name=
'donotfax'
:itemRules=
"this.rules.donotfax"
class=
''
:caption=
"$t('entities.account.contactsetting_form.details.donotfax')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.donotfax.error"
:isEmptyCaption=
"false"
labelPos=
"TOP"
>
<app-switch
name=
'donotfax'
:value=
"this.data.donotfax"
@
change=
"($event)=>
{this.data.donotfax = $event} " :disabled="detailsModel.donotfax.disabled" style="">
</app-switch>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.donotpostalmail.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'donotpostalmail'
:itemRules=
"this.rules.donotpostalmail"
class=
''
:caption=
"$t('entities.account.contactsetting_form.details.donotpostalmail')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.donotpostalmail.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'donotpostalmail'
:value=
"data.donotpostalmail"
tag=
'YesNo'
codelistType=
'STATIC'
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
<i-col
v-show=
"detailsModel.donotpostalmail.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item
name=
'donotpostalmail'
:itemRules=
"this.rules.donotpostalmail"
class=
''
:caption=
"$t('entities.account.contactsetting_form.details.donotpostalmail')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.donotpostalmail.error"
:isEmptyCaption=
"false"
labelPos=
"TOP"
>
<app-switch
name=
'donotpostalmail'
:value=
"this.data.donotpostalmail"
@
change=
"($event)=>
{this.data.donotpostalmail = $event} " :disabled="detailsModel.donotpostalmail.disabled" style="">
</app-switch>
</app-form-item>
</i-col>
...
...
@@ -463,34 +458,34 @@ export default class ContactSettingBase extends Vue implements ControlInterface
{
required
:
false
,
type
:
'string'
,
message
:
'首选联系方式 值不能为空'
,
trigger
:
'blur'
},
],
donotemail
:
[
{
type
:
'
string'
,
message
:
'不允许使用电子邮件 值必须为字符串
类型'
,
trigger
:
'change'
},
{
type
:
'
string'
,
message
:
'不允许使用电子邮件 值必须为字符串
类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'
string
'
,
message
:
'不允许使用电子邮件 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'
string
'
,
message
:
'不允许使用电子邮件 值不能为空'
,
trigger
:
'blur'
},
{
type
:
'
number'
,
message
:
'不允许使用电子邮件 值必须为数值
类型'
,
trigger
:
'change'
},
{
type
:
'
number'
,
message
:
'不允许使用电子邮件 值必须为数值
类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'
number
'
,
message
:
'不允许使用电子邮件 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'
number
'
,
message
:
'不允许使用电子邮件 值不能为空'
,
trigger
:
'blur'
},
],
donotbulkemail
:
[
{
type
:
'
string'
,
message
:
'不允许使用批量电子邮件 值必须为字符串
类型'
,
trigger
:
'change'
},
{
type
:
'
string'
,
message
:
'不允许使用批量电子邮件 值必须为字符串
类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'
string
'
,
message
:
'不允许使用批量电子邮件 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'
string
'
,
message
:
'不允许使用批量电子邮件 值不能为空'
,
trigger
:
'blur'
},
{
type
:
'
number'
,
message
:
'不允许使用批量电子邮件 值必须为数值
类型'
,
trigger
:
'change'
},
{
type
:
'
number'
,
message
:
'不允许使用批量电子邮件 值必须为数值
类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'
number
'
,
message
:
'不允许使用批量电子邮件 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'
number
'
,
message
:
'不允许使用批量电子邮件 值不能为空'
,
trigger
:
'blur'
},
],
donotphone
:
[
{
type
:
'
string'
,
message
:
'不允许电话联络 值必须为字符串
类型'
,
trigger
:
'change'
},
{
type
:
'
string'
,
message
:
'不允许电话联络 值必须为字符串
类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'
string
'
,
message
:
'不允许电话联络 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'
string
'
,
message
:
'不允许电话联络 值不能为空'
,
trigger
:
'blur'
},
{
type
:
'
number'
,
message
:
'不允许电话联络 值必须为数值
类型'
,
trigger
:
'change'
},
{
type
:
'
number'
,
message
:
'不允许电话联络 值必须为数值
类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'
number
'
,
message
:
'不允许电话联络 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'
number
'
,
message
:
'不允许电话联络 值不能为空'
,
trigger
:
'blur'
},
],
donotfax
:
[
{
type
:
'
string'
,
message
:
'不允许使用传真 值必须为字符串
类型'
,
trigger
:
'change'
},
{
type
:
'
string'
,
message
:
'不允许使用传真 值必须为字符串
类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'
string
'
,
message
:
'不允许使用传真 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'
string
'
,
message
:
'不允许使用传真 值不能为空'
,
trigger
:
'blur'
},
{
type
:
'
number'
,
message
:
'不允许使用传真 值必须为数值
类型'
,
trigger
:
'change'
},
{
type
:
'
number'
,
message
:
'不允许使用传真 值必须为数值
类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'
number
'
,
message
:
'不允许使用传真 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'
number
'
,
message
:
'不允许使用传真 值不能为空'
,
trigger
:
'blur'
},
],
donotpostalmail
:
[
{
type
:
'
string'
,
message
:
'不允许使用邮件 值必须为字符串
类型'
,
trigger
:
'change'
},
{
type
:
'
string'
,
message
:
'不允许使用邮件 值必须为字符串
类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'
string
'
,
message
:
'不允许使用邮件 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'
string
'
,
message
:
'不允许使用邮件 值不能为空'
,
trigger
:
'blur'
},
{
type
:
'
number'
,
message
:
'不允许使用邮件 值必须为数值
类型'
,
trigger
:
'change'
},
{
type
:
'
number'
,
message
:
'不允许使用邮件 值必须为数值
类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'
number
'
,
message
:
'不允许使用邮件 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'
number
'
,
message
:
'不允许使用邮件 值不能为空'
,
trigger
:
'blur'
},
],
accountid
:
[
{
type
:
'string'
,
message
:
'客户 值必须为字符串类型'
,
trigger
:
'change'
},
...
...
app_BusinessCentral/src/widgets/account/introduction-form/introduction-form-base.vue
浏览文件 @
da7b7fd7
...
...
@@ -6,28 +6,28 @@
<i-col
v-show=
"detailsModel.group1.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-group
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.account.introduction_form.details.group1')"
:isShowCaption=
"false"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"true"
>
<row>
<i-col
v-show=
"detailsModel.industrycode.visible"
:style=
"
{}" :
lg="{ span: 24
, offset: 0 }">
<i-col
v-show=
"detailsModel.industrycode.visible"
:style=
"
{}" :
md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6
, offset: 0 }">
<app-form-item
name=
'industrycode'
:itemRules=
"this.rules.industrycode"
class=
''
:caption=
"$t('entities.account.introduction_form.details.industrycode')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.industrycode.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'industrycode'
:value=
"data.industrycode"
tag=
'Account__IndustryCode'
codelistType=
'STATIC'
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.sic.visible"
:style=
"
{}" :
lg="{ span: 24
, offset: 0 }">
<i-col
v-show=
"detailsModel.sic.visible"
:style=
"
{}" :
md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6
, offset: 0 }">
<app-form-item
name=
'sic'
:itemRules=
"this.rules.sic"
class=
''
:caption=
"$t('entities.account.introduction_form.details.sic')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.sic.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'sic'
:value=
"data.sic"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.ownershipcode.visible"
:style=
"
{}" :
lg="{ span: 24
, offset: 0 }">
<i-col
v-show=
"detailsModel.ownershipcode.visible"
:style=
"
{}" :
md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6
, offset: 0 }">
<app-form-item
name=
'ownershipcode'
:itemRules=
"this.rules.ownershipcode"
class=
''
:caption=
"$t('entities.account.introduction_form.details.ownershipcode')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.ownershipcode.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'ownershipcode'
:value=
"data.ownershipcode"
tag=
'Account__OwnershipCode'
codelistType=
'STATIC'
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.description.visible"
:style=
"
{}" :
lg
="{ span: 24, offset: 0 }">
<i-col
v-show=
"detailsModel.description.visible"
:style=
"
{}" :
md="{ span: 24, offset: 0 }" :lg="{ span: 24, offset: 0 }" :xl
="{ span: 24, offset: 0 }">
<app-form-item
name=
'description'
:itemRules=
"this.rules.description"
class=
''
:caption=
"$t('entities.account.introduction_form.details.description')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.description.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'description'
:value=
"data.description"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
...
...
app_BusinessCentral/src/widgets/account/major-contact-form/major-contact-form-base.vue
浏览文件 @
da7b7fd7
...
...
@@ -6,9 +6,36 @@
<i-col
v-show=
"detailsModel.group1.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-group
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.account.majorcontact_form.details.group1')"
:isShowCaption=
"false"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<row>
<i-col
v-show=
"detailsModel.accountname.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'accountname'
:itemRules=
"this.rules.accountname"
class=
''
:caption=
"$t('entities.account.majorcontact_form.details.accountname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.accountname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.accountname"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.accountname.disabled"
type=
'text'
style=
""
></input-box>
<i-col
v-show=
"detailsModel.primarycontactname.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item
name=
'primarycontactname'
:itemRules=
"this.rules.primarycontactname"
class=
''
:caption=
"$t('entities.account.majorcontact_form.details.primarycontactname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.primarycontactname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-picker
:formState=
"formState"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }'
:localParam ='{ }'
:disabled="detailsModel.primarycontactname.disabled"
name='primarycontactname'
deMajorField='fullname'
deKeyField='contact'
:service="service"
:acParams="{ serviceName: 'ContactService', interfaceName: 'FetchDefault'}"
valueitem='primarycontactid'
:value="data.primarycontactname"
editortype=""
:pickupView="{ viewname: 'contact-pickup-view', title: $t('entities.contact.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'contacts', parameterName: 'contact' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
style=""
@formitemvaluechange="onFormItemValueChange">
</app-picker>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.emailaddress1.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item
name=
'emailaddress1'
:itemRules=
"this.rules.emailaddress1"
class=
''
:caption=
"$t('entities.account.majorcontact_form.details.emailaddress1')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.emailaddress1.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.emailaddress1"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.emailaddress1.disabled"
type=
'text'
style=
""
></input-box>
</app-form-item>
</i-col>
...
...
@@ -323,7 +350,9 @@ export default class MajorContactBase extends Vue implements ControlInterface {
srfuf
:
null
,
srfdeid
:
null
,
srfsourcekey
:
null
,
accountname
:
null
,
primarycontactname
:
null
,
emailaddress1
:
null
,
primarycontactid
:
null
,
accountid
:
null
,
account
:
null
,
};
...
...
@@ -415,11 +444,23 @@ export default class MajorContactBase extends Vue implements ControlInterface {
{
required
:
false
,
type
:
'string'
,
message
:
' 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
' 值不能为空'
,
trigger
:
'blur'
},
],
accountname
:
[
{
type
:
'string'
,
message
:
'客户名称 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'客户名称 值必须为字符串类型'
,
trigger
:
'blur'
},
{
required
:
true
,
type
:
'string'
,
message
:
'客户名称 值不能为空'
,
trigger
:
'change'
},
{
required
:
true
,
type
:
'string'
,
message
:
'客户名称 值不能为空'
,
trigger
:
'blur'
},
primarycontactname
:
[
{
type
:
'string'
,
message
:
'主要联系人 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'主要联系人 值必须为字符串类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'string'
,
message
:
'主要联系人 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
'主要联系人 值不能为空'
,
trigger
:
'blur'
},
],
emailaddress1
:
[
{
type
:
'string'
,
message
:
'电子邮件 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'电子邮件 值必须为字符串类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'string'
,
message
:
'电子邮件 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
'电子邮件 值不能为空'
,
trigger
:
'blur'
},
],
primarycontactid
:
[
{
type
:
'string'
,
message
:
'主要联系人 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'主要联系人 值必须为字符串类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'string'
,
message
:
'主要联系人 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'string'
,
message
:
'主要联系人 值不能为空'
,
trigger
:
'blur'
},
],
accountid
:
[
{
type
:
'string'
,
message
:
'客户 值必须为字符串类型'
,
trigger
:
'change'
},
...
...
@@ -456,7 +497,11 @@ export default class MajorContactBase extends Vue implements ControlInterface {
,
srfsourcekey
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfsourcekey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
accountname
:
new
FormItemModel
({
caption
:
'客户名称'
,
detailType
:
'FORMITEM'
,
name
:
'accountname'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
primarycontactname
:
new
FormItemModel
({
caption
:
'主要联系人'
,
detailType
:
'FORMITEM'
,
name
:
'primarycontactname'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
emailaddress1
:
new
FormItemModel
({
caption
:
'电子邮件'
,
detailType
:
'FORMITEM'
,
name
:
'emailaddress1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
primarycontactid
:
new
FormItemModel
({
caption
:
'主要联系人'
,
detailType
:
'FORMITEM'
,
name
:
'primarycontactid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
3
})
,
accountid
:
new
FormItemModel
({
caption
:
'客户'
,
detailType
:
'FORMITEM'
,
name
:
'accountid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
disabled
:
false
,
enableCond
:
1
})
,
...
...
@@ -559,15 +604,39 @@ export default class MajorContactBase extends Vue implements ControlInterface {
}
/**
* 监控表单属性 accountname 值
* 监控表单属性 primarycontactname 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MajorContact
*/
@
Watch
(
'data.primarycontactname'
)
onPrimarycontactnameChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'primarycontactname'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 emailaddress1 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MajorContact
*/
@
Watch
(
'data.emailaddress1'
)
onEmailaddress1Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'emailaddress1'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 primarycontactid 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MajorContact
*/
@
Watch
(
'data.
accountname
'
)
on
Accountname
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
accountname
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
@
Watch
(
'data.
primarycontactid
'
)
on
Primarycontactid
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
primarycontactid
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
...
...
@@ -630,6 +699,8 @@ export default class MajorContactBase extends Vue implements ControlInterface {
}
/**
...
...
app_BusinessCentral/src/widgets/account/major-contact-form/major-contact-form-model.ts
浏览文件 @
da7b7fd7
...
...
@@ -56,10 +56,20 @@ export default class MajorContactModel {
name
:
'srfsourcekey'
,
},
{
name
:
'accountname'
,
prop
:
'accountname'
,
name
:
'primarycontactname'
,
prop
:
'primarycontactname'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'emailaddress1'
,
prop
:
'emailaddress1'
,
dataType
:
'TEXT'
,
},
{
name
:
'primarycontactid'
,
prop
:
'primarycontactid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'accountid'
,
prop
:
'accountid'
,
...
...
app_BusinessCentral/src/widgets/account/major-contact-form/major-contact-form-service.ts
浏览文件 @
da7b7fd7
...
...
@@ -2,6 +2,7 @@ import { Http,Util,Errorlog } from '@/utils';
import
ControlService
from
'@/widgets/control-service'
;
import
AccountService
from
'@/service/account/account-service'
;
import
MajorContactModel
from
'./major-contact-form-model'
;
import
ContactService
from
'@/service/contact/contact-service'
;
/**
...
...
@@ -41,6 +42,14 @@ export default class MajorContactService extends ControlService {
this
.
model
=
new
MajorContactModel
();
}
/**
* 联系人服务对象
*
* @type {ContactService}
* @memberof MajorContactService
*/
public
contactService
:
ContactService
=
new
ContactService
();
/**
* 处理数据
*
...
...
@@ -80,6 +89,9 @@ export default class MajorContactService extends ControlService {
*/
@
Errorlog
public
getItems
(
serviceName
:
string
,
interfaceName
:
string
,
context
:
any
=
{},
data
:
any
,
isloading
?:
boolean
):
Promise
<
any
[]
>
{
if
(
Object
.
is
(
serviceName
,
'ContactService'
)
&&
Object
.
is
(
interfaceName
,
'FetchDefault'
))
{
return
this
.
doItems
(
this
.
contactService
.
FetchDefault
(
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
,
isloading
),
'contactid'
,
'contact'
);
}
return
Promise
.
reject
([])
}
...
...
businesscentral-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
da7b7fd7
...
...
@@ -3152,7 +3152,7 @@
<!--输出实体[CONTACT]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-contact-
29
-42"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-contact-
31
-42"
>
<createTable
tableName=
"CONTACT"
>
<column
name=
"ADDRESS1_FREIGHTTERMSCODE"
remarks=
""
type=
"VARCHAR(30)"
>
</column>
...
...
@@ -4480,7 +4480,7 @@
<!--输出实体[ACCOUNT]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-account-12
3
-53"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-account-12
9
-53"
>
<createTable
tableName=
"ACCOUNT"
>
<column
name=
"ADDRESS1_PRIMARYCONTACTNAME"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
...
...
@@ -10973,22 +10973,22 @@
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"MONTHLYFISCALCALENDAR"
constraintName=
"DER1N_MONTHLYFISCALCALENDAR__T"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
<!--输出实体[CONTACT]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
29
-206"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
31
-206"
>
<addForeignKeyConstraint
baseColumnNames=
"PREFERREDEQUIPMENTID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__EQUIPMENT__PREF"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"EQUIPMENTID"
referencedTableName=
"EQUIPMENT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
29
-207"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
31
-207"
>
<addForeignKeyConstraint
baseColumnNames=
"ORIGINATINGLEADID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__LEAD__ORIGINATI"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"LEADID"
referencedTableName=
"LEAD"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
29
-208"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
31
-208"
>
<addForeignKeyConstraint
baseColumnNames=
"DEFAULTPRICELEVELID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__PRICELEVEL__DEF"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"PRICELEVELID"
referencedTableName=
"PRICELEVEL"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
29
-209"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
31
-209"
>
<addForeignKeyConstraint
baseColumnNames=
"PREFERREDSERVICEID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__SERVICE__PREFER"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SERVICEID"
referencedTableName=
"SERVICE"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
29
-210"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
31
-210"
>
<addForeignKeyConstraint
baseColumnNames=
"SLAID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__SLA__SLAID"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SLAID"
referencedTableName=
"SLA"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
29
-211"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
31
-211"
>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__TRANSACTIONCURR"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
<!--输出实体[TEAM]外键关系 -->
...
...
@@ -11074,31 +11074,31 @@
<addForeignKeyConstraint
baseColumnNames=
"METRICID"
baseTableName=
"GOAL"
constraintName=
"DER1N_GOAL__METRIC__METRICID"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"METRICID"
referencedTableName=
"METRIC"
validate=
"true"
/>
</changeSet>
<!--输出实体[ACCOUNT]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-12
3
-246"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-12
9
-246"
>
<addForeignKeyConstraint
baseColumnNames=
"PARENTACCOUNTID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__ACCOUNT__PARENT"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"ACCOUNTID"
referencedTableName=
"ACCOUNT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-12
3
-247"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-12
9
-247"
>
<addForeignKeyConstraint
baseColumnNames=
"PRIMARYCONTACTID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__CONTACT__PRIMAR"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"CONTACTID"
referencedTableName=
"CONTACT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-12
3
-248"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-12
9
-248"
>
<addForeignKeyConstraint
baseColumnNames=
"PREFERREDEQUIPMENTID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__EQUIPMENT__PREF"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"EQUIPMENTID"
referencedTableName=
"EQUIPMENT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-12
3
-249"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-12
9
-249"
>
<addForeignKeyConstraint
baseColumnNames=
"ORIGINATINGLEADID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__LEAD__ORIGINATI"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"LEADID"
referencedTableName=
"LEAD"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-12
3
-250"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-12
9
-250"
>
<addForeignKeyConstraint
baseColumnNames=
"DEFAULTPRICELEVELID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__PRICELEVEL__DEF"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"PRICELEVELID"
referencedTableName=
"PRICELEVEL"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-12
3
-251"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-12
9
-251"
>
<addForeignKeyConstraint
baseColumnNames=
"PREFERREDSERVICEID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__SERVICE__PREFER"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SERVICEID"
referencedTableName=
"SERVICE"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-12
3
-252"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-12
9
-252"
>
<addForeignKeyConstraint
baseColumnNames=
"SLAID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__SLA__SLAID"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SLAID"
referencedTableName=
"SLA"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-12
3
-253"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-12
9
-253"
>
<addForeignKeyConstraint
baseColumnNames=
"TERRITORYID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__TERRITORY__TERR"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TERRITORYID"
referencedTableName=
"TERRITORY"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-12
3
-254"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-12
9
-254"
>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__TRANSACTIONCURR"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
<!--输出实体[KNOWLEDGEARTICLEVIEWS]外键关系 -->
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录