提交 07e3e901 编写于 作者: ibizdev's avatar ibizdev

xignzi006 发布系统代码

上级 e2b0152f
......@@ -334,8 +334,6 @@ export default {
donotphone: "不允许电话联络",
donotfax: "不允许使用传真",
donotpostalmail: "不允许使用邮件",
defaultpricelevelid: "价目表",
parentaccountid: "上级单位",
accountid: "客户",
},
uiactions: {
......
......@@ -333,8 +333,6 @@ export default {
donotphone: '不允许电话联络',
donotfax: '不允许使用传真',
donotpostalmail: '不允许使用邮件',
defaultpricelevelid: '价目表',
parentaccountid: '上级单位',
accountid: '客户',
},
uiactions: {
......
......@@ -288,8 +288,6 @@ export const viewstate: any = {
viewaction: '',
viewdatachange: false,
refviews: [
'8b806fb12589b2fc17d1bb90f4b5422e',
'29bfcd628ab25e297248ff0524d12908',
'90cb61421b72cbc76f75360deffde218',
'688201ee5642d41628dbf4deba002d17',
],
......
<template>
<i-form :model="this.data" class='app-form' ref='form' id='account_info_all' style="">
<i-form :model="this.data" class='app-form info-form-mode' ref='form' id='account_info_all' style="">
<input style="display:none;" />
<row >
<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.info_all_form.details.group1')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="1" :isInfoGroupMode="false" >
<app-form-group layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.group1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.account.info_all_form.details.group1')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="1" :isInfoGroupMode="true" >
<row>
<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.info_all_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>
<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="{}" :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.info_all_form.details.telephone1')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.telephone1.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.telephone1" @enter="onEnter($event)" unit="" :disabled="detailsModel.telephone1.disabled" type='text' style=""></input-box>
<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="{}" :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.info_all_form.details.fax')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.fax.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.fax" @enter="onEnter($event)" unit="" :disabled="detailsModel.fax.disabled" type='text' style=""></input-box>
<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="{}" :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.info_all_form.details.websiteurl')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.websiteurl.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.websiteurl" @enter="onEnter($event)" unit="" :disabled="detailsModel.websiteurl.disabled" type='text' style=""></input-box>
<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="{}" :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.info_all_form.details.parentaccountname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.parentaccountname.error" :isEmptyCaption="false" labelPos="LEFT">
<app-picker
:formState="formState"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.parentaccountname.disabled"
name='parentaccountname'
deMajorField='accountname'
deKeyField='account'
:service="service"
:acParams="{ serviceName: 'AccountService', interfaceName: 'FetchDefault'}"
valueitem='parentaccountid'
:value="data.parentaccountname"
editortype=""
:pickupView="{ viewname: 'account-pickup-view', title: $t('entities.account.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'accounts', parameterName: 'account' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
style=""
@formitemvaluechange="onFormItemValueChange">
</app-picker>
<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="{}" :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.info_all_form.details.tickersymbol')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.tickersymbol.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.tickersymbol" @enter="onEnter($event)" unit="" :disabled="detailsModel.tickersymbol.disabled" type='text' style=""></input-box>
<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="{}" :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.info_all_form.details.customertypecode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.customertypecode.error" :isEmptyCaption="false" labelPos="LEFT">
<dropdown-list
v-model="data.customertypecode"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.customertypecode.disabled"
tag='Account__CustomerTypeCode'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
<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="{}" :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.info_all_form.details.defaultpricelevelname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.defaultpricelevelname.error" :isEmptyCaption="false" labelPos="LEFT">
<app-picker
:formState="formState"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.defaultpricelevelname.disabled"
name='defaultpricelevelname'
deMajorField='pricelevelname'
deKeyField='pricelevel'
:service="service"
:acParams="{ serviceName: 'PriceLevelService', interfaceName: 'FetchDefault'}"
valueitem='defaultpricelevelid'
:value="data.defaultpricelevelname"
editortype=""
:pickupView="{ viewname: 'price-level-pickup-view', title: $t('entities.pricelevel.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'pricelevels', parameterName: 'pricelevel' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
style=""
@formitemvaluechange="onFormItemValueChange">
</app-picker>
<app-span name='defaultpricelevelname' :value="data.defaultpricelevelname" :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
</app-form-item>
</i-col>
......@@ -114,53 +68,33 @@
</i-col>
<i-col v-show="detailsModel.grouppanel3.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-group layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel3.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.account.info_all_form.details.grouppanel3')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >
<app-form-group layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel3.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.account.info_all_form.details.grouppanel3')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="true" >
<row>
<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.info_all_form.details.industrycode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.industrycode.error" :isEmptyCaption="false" labelPos="TOP">
<app-form-item name='industrycode' :itemRules="this.rules.industrycode" class='' :caption="$t('entities.account.info_all_form.details.industrycode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.industrycode.error" :isEmptyCaption="false" labelPos="LEFT">
<dropdown-list
v-model="data.industrycode"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.industrycode.disabled"
tag='Account__IndustryCode'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
<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="{}" :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.info_all_form.details.sic')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.sic.error" :isEmptyCaption="false" labelPos="TOP">
<input-box v-model="data.sic" @enter="onEnter($event)" unit="" :disabled="detailsModel.sic.disabled" type='text' style=""></input-box>
<app-form-item name='sic' :itemRules="this.rules.sic" class='' :caption="$t('entities.account.info_all_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="{}" :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.info_all_form.details.ownershipcode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.ownershipcode.error" :isEmptyCaption="false" labelPos="TOP">
<app-form-item name='ownershipcode' :itemRules="this.rules.ownershipcode" class='' :caption="$t('entities.account.info_all_form.details.ownershipcode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.ownershipcode.error" :isEmptyCaption="false" labelPos="LEFT">
<dropdown-list
v-model="data.ownershipcode"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.ownershipcode.disabled"
tag='Account__OwnershipCode'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
<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="{}" :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.info_all_form.details.description')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.description.error" :isEmptyCaption="false" labelPos="TOP">
<input-box v-model="data.description" @enter="onEnter($event)" unit="" :disabled="detailsModel.description.disabled" type='text' style=""></input-box>
<app-form-item name='description' :itemRules="this.rules.description" class='' :caption="$t('entities.account.info_all_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-form-item>
</i-col>
......@@ -170,95 +104,82 @@
</i-col>
<i-col v-show="detailsModel.grouppanel1.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-group layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.account.info_all_form.details.grouppanel1')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >
<app-form-group layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.account.info_all_form.details.grouppanel1')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="true" >
<row>
<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.info_all_form.details.address1_addressid')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.address1_addressid.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.address1_addressid" @enter="onEnter($event)" unit="" :disabled="detailsModel.address1_addressid.disabled" type='text' style=""></input-box>
<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_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.info_all_form.details.address1_name')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.address1_name.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.address1_name" @enter="onEnter($event)" unit="" :disabled="detailsModel.address1_name.disabled" type='text' style=""></input-box>
<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_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.info_all_form.details.address1_addresstypecode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.address1_addresstypecode.error" :isEmptyCaption="false" labelPos="LEFT">
<dropdown-list
v-model="data.address1_addresstypecode"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.address1_addresstypecode.disabled"
tag='Account__Address1_AddressTypeCode'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
<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_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.info_all_form.details.address1_country')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.address1_country.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.address1_country" @enter="onEnter($event)" unit="" :disabled="detailsModel.address1_country.disabled" type='text' style=""></input-box>
<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="{}" :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.info_all_form.details.address1_stateorprovince')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.address1_stateorprovince.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.address1_stateorprovince" @enter="onEnter($event)" unit="" :disabled="detailsModel.address1_stateorprovince.disabled" type='text' style=""></input-box>
<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_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.info_all_form.details.address1_city')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.address1_city.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.address1_city" @enter="onEnter($event)" unit="" :disabled="detailsModel.address1_city.disabled" type='text' style=""></input-box>
<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_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.info_all_form.details.address1_county')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.address1_county.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.address1_county" @enter="onEnter($event)" unit="" :disabled="detailsModel.address1_county.disabled" type='text' style=""></input-box>
<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_line1.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='address1_line1' :itemRules="this.rules.address1_line1" class='' :caption="$t('entities.account.info_all_form.details.address1_line1')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.address1_line1.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.address1_line1" @enter="onEnter($event)" unit="" :disabled="detailsModel.address1_line1.disabled" type='text' style=""></input-box>
<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_fax.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='address1_fax' :itemRules="this.rules.address1_fax" class='' :caption="$t('entities.account.info_all_form.details.address1_fax')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.address1_fax.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.address1_fax" @enter="onEnter($event)" unit="" :disabled="detailsModel.address1_fax.disabled" type='text' style=""></input-box>
<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="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='address1_freighttermscode' :itemRules="this.rules.address1_freighttermscode" class='' :caption="$t('entities.account.info_all_form.details.address1_freighttermscode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.address1_freighttermscode.error" :isEmptyCaption="false" labelPos="LEFT">
<dropdown-list
v-model="data.address1_freighttermscode"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.address1_freighttermscode.disabled"
tag='Account__Address1_FreightTermsCode'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
<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_postalcode.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='address1_postalcode' :itemRules="this.rules.address1_postalcode" class='' :caption="$t('entities.account.info_all_form.details.address1_postalcode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.address1_postalcode.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.address1_postalcode" @enter="onEnter($event)" unit="" :disabled="detailsModel.address1_postalcode.disabled" type='text' style=""></input-box>
<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>
......@@ -268,52 +189,41 @@
</i-col>
<i-col v-show="detailsModel.grouppanel2.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-group layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel2.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.account.info_all_form.details.grouppanel2')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >
<app-form-group layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel2.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.account.info_all_form.details.grouppanel2')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="true" >
<row>
<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.info_all_form.details.preferredcontactmethodcode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.preferredcontactmethodcode.error" :isEmptyCaption="false" labelPos="TOP">
<app-form-item name='preferredcontactmethodcode' :itemRules="this.rules.preferredcontactmethodcode" class='' :caption="$t('entities.account.info_all_form.details.preferredcontactmethodcode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.preferredcontactmethodcode.error" :isEmptyCaption="false" labelPos="LEFT">
<dropdown-list
v-model="data.preferredcontactmethodcode"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.preferredcontactmethodcode.disabled"
tag='Account__PreferredContactMethodCode'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
<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="{}" :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.info_all_form.details.donotemail')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.donotemail.error" :isEmptyCaption="false" labelPos="TOP">
<app-form-item name='donotemail' :itemRules="this.rules.donotemail" class='' :caption="$t('entities.account.info_all_form.details.donotemail')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.donotemail.error" :isEmptyCaption="false" labelPos="LEFT">
<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="{}" :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.info_all_form.details.donotbulkemail')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.donotbulkemail.error" :isEmptyCaption="false" labelPos="TOP">
<app-form-item name='donotbulkemail' :itemRules="this.rules.donotbulkemail" class='' :caption="$t('entities.account.info_all_form.details.donotbulkemail')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.donotbulkemail.error" :isEmptyCaption="false" labelPos="LEFT">
<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="{}" :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.info_all_form.details.donotphone')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.donotphone.error" :isEmptyCaption="false" labelPos="TOP">
<app-form-item name='donotphone' :itemRules="this.rules.donotphone" class='' :caption="$t('entities.account.info_all_form.details.donotphone')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.donotphone.error" :isEmptyCaption="false" labelPos="LEFT">
<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="{}" :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.info_all_form.details.donotfax')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.donotfax.error" :isEmptyCaption="false" labelPos="TOP">
<app-form-item name='donotfax' :itemRules="this.rules.donotfax" class='' :caption="$t('entities.account.info_all_form.details.donotfax')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.donotfax.error" :isEmptyCaption="false" labelPos="LEFT">
<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="{}" :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.info_all_form.details.donotpostalmail')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.donotpostalmail.error" :isEmptyCaption="false" labelPos="TOP">
<app-form-item name='donotpostalmail' :itemRules="this.rules.donotpostalmail" class='' :caption="$t('entities.account.info_all_form.details.donotpostalmail')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.donotpostalmail.error" :isEmptyCaption="false" labelPos="LEFT">
<app-switch name='donotpostalmail' :value="this.data.donotpostalmail" @change="($event)=>{this.data.donotpostalmail = $event} " :disabled="detailsModel.donotpostalmail.disabled" style=""></app-switch>
</app-form-item>
......@@ -715,8 +625,6 @@ export default class Info_AllBase extends Vue implements ControlInterface {
donotphone: null,
donotfax: null,
donotpostalmail: null,
defaultpricelevelid: null,
parentaccountid: null,
accountid: null,
account:null,
};
......@@ -811,8 +719,8 @@ export default class Info_AllBase extends Vue implements ControlInterface {
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' },
{ required: false, type: 'string', message: '客户名称 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '客户名称 值不能为空', trigger: 'blur' },
],
telephone1: [
{ type: 'string', message: '主要电话 值必须为字符串类型', trigger: 'change' },
......@@ -982,18 +890,6 @@ export default class Info_AllBase extends Vue implements ControlInterface {
{ required: false, type: 'number', message: '不允许使用邮件 值不能为空', trigger: 'change' },
{ required: false, type: 'number', message: '不允许使用邮件 值不能为空', trigger: 'blur' },
],
defaultpricelevelid: [
{ type: 'string', message: '价目表 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '价目表 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '价目表 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '价目表 值不能为空', trigger: 'blur' },
],
parentaccountid: [
{ 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' },
{ type: 'string', message: '客户 值必须为字符串类型', trigger: 'blur' },
......@@ -1092,10 +988,6 @@ export default class Info_AllBase extends Vue implements ControlInterface {
donotfax: new FormItemModel({ caption: '不允许使用传真', detailType: 'FORMITEM', name: 'donotfax', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
donotpostalmail: new FormItemModel({ caption: '不允许使用邮件', detailType: 'FORMITEM', name: 'donotpostalmail', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
defaultpricelevelid: new FormItemModel({ caption: '价目表', detailType: 'FORMITEM', name: 'defaultpricelevelid', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
parentaccountid: new FormItemModel({ caption: '上级单位', detailType: 'FORMITEM', name: 'parentaccountid', 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 })
,
......@@ -1545,30 +1437,6 @@ export default class Info_AllBase extends Vue implements ControlInterface {
this.formDataChange({ name: 'donotpostalmail', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 defaultpricelevelid 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Info_All
*/
@Watch('data.defaultpricelevelid')
onDefaultpricelevelidChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'defaultpricelevelid', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 parentaccountid 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Info_All
*/
@Watch('data.parentaccountid')
onParentaccountidChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'parentaccountid', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 accountid 值
*
......@@ -1657,8 +1525,6 @@ export default class Info_AllBase extends Vue implements ControlInterface {
......
......@@ -200,16 +200,6 @@ export default class Info_AllModel {
prop: 'donotpostalmail',
dataType: 'YESNO',
},
{
name: 'defaultpricelevelid',
prop: 'defaultpricelevelid',
dataType: 'PICKUP',
},
{
name: 'parentaccountid',
prop: 'parentaccountid',
dataType: 'PICKUP',
},
{
name: 'accountid',
prop: 'accountid',
......
......@@ -2,7 +2,6 @@ import { Http,Util,Errorlog } from '@/utils';
import ControlService from '@/widgets/control-service';
import AccountService from '@/service/account/account-service';
import Info_AllModel from './info-all-form-model';
import PriceLevelService from '@/service/price-level/price-level-service';
/**
......@@ -42,14 +41,6 @@ export default class Info_AllService extends ControlService {
this.model = new Info_AllModel();
}
/**
* 价目表服务对象
*
* @type {PriceLevelService}
* @memberof Info_AllService
*/
public pricelevelService: PriceLevelService = new PriceLevelService();
/**
* 处理数据
*
......@@ -89,12 +80,6 @@ export default class Info_AllService extends ControlService {
*/
@Errorlog
public getItems(serviceName: string, interfaceName: string, context: any = {}, data: any, isloading?: boolean): Promise<any[]> {
if (Object.is(serviceName, 'AccountService') && Object.is(interfaceName, 'FetchDefault')) {
return this.doItems(this.appEntityService.FetchDefault(JSON.parse(JSON.stringify(context)), data, isloading), 'accountid', 'account');
}
if (Object.is(serviceName, 'PriceLevelService') && Object.is(interfaceName, 'FetchDefault')) {
return this.doItems(this.pricelevelService.FetchDefault(JSON.parse(JSON.stringify(context)),data, isloading), 'pricelevelid', 'pricelevel');
}
return Promise.reject([])
}
......
......@@ -23,7 +23,6 @@
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="300"
name="dashboard_sysportlet6"
ref='dashboard_sysportlet6'
@closeview="closeView($event)">
......
<template>
<div class='portlet view-account-info-all ' :style="{'height': isAdaptiveSize ? 'calc(100% - 16px)' : (height > 0 ? height+'px' :'300px'),}">
<div class='portlet view-account-info-all ' :style="{'height': 'auto',}">
<p class='portlet-title'>
<span>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册