提交 6381a6b2 编写于 作者: ibizdev's avatar ibizdev

xignzi006 发布系统代码

上级 5de99ad4
<template>
<studio-embed-view viewName="accountsummary" viewTitle="客户摘要" class='deportalview9 account-summary'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<view_dashboard
:viewState="viewState"
:viewparams="viewparams"
......
<template>
<i-form :model="this.data" class='app-form' ref='form' id='account_address' style="">
<i-form :model="this.data" class='app-form info-form-mode' ref='form' id='account_address' 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.address_form.details.group1')" :isShowCaption="false" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >
<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 }">
<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">
<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_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">
<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_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">
<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_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">
<input-box v-model="data.address1_composite" @enter="onEnter($event)" unit="" :disabled="detailsModel.address1_composite.disabled" type='text' style=""></input-box>
<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">
<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_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">
<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_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">
<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="{}" :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">
<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_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">
<input-box v-model="data.address1_latitude" @enter="onEnter($event)" unit="" :disabled="detailsModel.address1_latitude.disabled" type='number' style=""></input-box>
<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">
<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_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">
<input-box v-model="data.address1_line2" @enter="onEnter($event)" unit="" :disabled="detailsModel.address1_line2.disabled" type='text' style=""></input-box>
<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">
<input-box v-model="data.address1_line3" @enter="onEnter($event)" unit="" :disabled="detailsModel.address1_line3.disabled" type='text' style=""></input-box>
<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">
<input-box v-model="data.address1_longitude" @enter="onEnter($event)" unit="" :disabled="detailsModel.address1_longitude.disabled" type='number' style=""></input-box>
<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 }">
<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">
<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_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">
<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>
<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">
<input-box v-model="data.address1_postofficebox" @enter="onEnter($event)" unit="" :disabled="detailsModel.address1_postofficebox.disabled" type='text' style=""></input-box>
<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">
<input-box v-model="data.address1_primarycontactname" @enter="onEnter($event)" unit="" :disabled="detailsModel.address1_primarycontactname.disabled" type='text' style=""></input-box>
<app-span name='address1_primarycontactname' :value="data.address1_primarycontactname" :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">
<dropdown-list
v-model="data.address1_shippingmethodcode"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.address1_shippingmethodcode.disabled"
tag='Account__Address1_ShippingMethodCode'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
<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-form-item>
</i-col>
<i-col v-show="detailsModel.address1_stateorprovince.visible" :style="{}" :lg="{ span: 24, 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">
<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_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">
<input-box v-model="data.address1_telephone2" @enter="onEnter($event)" unit="" :disabled="detailsModel.address1_telephone2.disabled" type='text' style=""></input-box>
<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">
<input-box v-model="data.address1_telephone3" @enter="onEnter($event)" unit="" :disabled="detailsModel.address1_telephone3.disabled" type='text' style=""></input-box>
<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">
<input-box v-model="data.address1_upszone" @enter="onEnter($event)" unit="" :disabled="detailsModel.address1_upszone.disabled" type='text' style=""></input-box>
<app-span name='address1_upszone' :value="data.address1_upszone" :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">
<input-box v-model="data.address1_utcoffset" @enter="onEnter($event)" unit="" :disabled="detailsModel.address1_utcoffset.disabled" type='number' style=""></input-box>
<app-span name='address1_utcoffset' :value="data.address1_utcoffset" :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
</app-form-item>
</i-col>
......
<template>
<i-form :model="this.data" class='app-form' ref='form' id='account_contactsetting' style="">
<i-form :model="this.data" class='app-form info-form-mode' ref='form' id='account_contactsetting' 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.contactsetting_form.details.group1')" :isShowCaption="false" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >
<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">
<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="{}" :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">
<dropdown-list
v-model="data.donotemail"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.donotemail.disabled"
style="width:100px;width: 100px;"
tag='YesNo'
codelistType='STATIC'
placeholder='请选择...'>
</dropdown-list>
<app-span name='donotemail' :value="data.donotemail" tag='YesNo' codelistType='STATIC' :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
</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">
<dropdown-list
v-model="data.donotbulkemail"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.donotbulkemail.disabled"
style="width:100px;width: 100px;"
tag='YesNo'
codelistType='STATIC'
placeholder='请选择...'>
</dropdown-list>
<app-span name='donotbulkemail' :value="data.donotbulkemail" tag='YesNo' codelistType='STATIC' :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
</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">
<dropdown-list
v-model="data.donotphone"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.donotphone.disabled"
style="width:100px;width: 100px;"
tag='YesNo'
codelistType='STATIC'
placeholder='请选择...'>
</dropdown-list>
<app-span name='donotphone' :value="data.donotphone" tag='YesNo' codelistType='STATIC' :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
</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">
<dropdown-list
v-model="data.donotfax"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.donotfax.disabled"
style="width:100px;width: 100px;"
tag='YesNo'
codelistType='STATIC'
placeholder='请选择...'>
</dropdown-list>
<app-span name='donotfax' :value="data.donotfax" tag='YesNo' codelistType='STATIC' :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
</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">
<dropdown-list
v-model="data.donotpostalmail"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.donotpostalmail.disabled"
style="width:100px;width: 100px;"
tag='YesNo'
codelistType='STATIC'
placeholder='请选择...'>
</dropdown-list>
<app-span name='donotpostalmail' :value="data.donotpostalmail" tag='YesNo' codelistType='STATIC' :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
</app-form-item>
</i-col>
......@@ -534,34 +463,34 @@ export default class ContactSettingBase extends Vue implements ControlInterface
{ required: false, type: 'string', message: '首选联系方式 值不能为空', trigger: 'blur' },
],
donotemail: [
{ type: 'number', message: '不允许使用电子邮件 值必须为数值类型', trigger: 'change' },
{ type: 'number', message: '不允许使用电子邮件 值必须为数值类型', trigger: 'blur' },
{ required: false, type: 'number', message: '不允许使用电子邮件 值不能为空', trigger: 'change' },
{ required: false, type: 'number', message: '不允许使用电子邮件 值不能为空', trigger: 'blur' },
{ type: 'string', message: '不允许使用电子邮件 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '不允许使用电子邮件 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '不允许使用电子邮件 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '不允许使用电子邮件 值不能为空', trigger: 'blur' },
],
donotbulkemail: [
{ type: 'number', message: '不允许使用批量电子邮件 值必须为数值类型', trigger: 'change' },
{ type: 'number', message: '不允许使用批量电子邮件 值必须为数值类型', trigger: 'blur' },
{ required: false, type: 'number', message: '不允许使用批量电子邮件 值不能为空', trigger: 'change' },
{ required: false, type: 'number', message: '不允许使用批量电子邮件 值不能为空', trigger: 'blur' },
{ type: 'string', message: '不允许使用批量电子邮件 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '不允许使用批量电子邮件 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '不允许使用批量电子邮件 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '不允许使用批量电子邮件 值不能为空', trigger: 'blur' },
],
donotphone: [
{ type: 'number', message: '不允许电话联络 值必须为数值类型', trigger: 'change' },
{ type: 'number', message: '不允许电话联络 值必须为数值类型', trigger: 'blur' },
{ required: false, type: 'number', message: '不允许电话联络 值不能为空', trigger: 'change' },
{ required: false, type: 'number', message: '不允许电话联络 值不能为空', trigger: 'blur' },
{ type: 'string', message: '不允许电话联络 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '不允许电话联络 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '不允许电话联络 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '不允许电话联络 值不能为空', trigger: 'blur' },
],
donotfax: [
{ type: 'number', message: '不允许使用传真 值必须为数值类型', trigger: 'change' },
{ type: 'number', message: '不允许使用传真 值必须为数值类型', trigger: 'blur' },
{ required: false, type: 'number', message: '不允许使用传真 值不能为空', trigger: 'change' },
{ required: false, type: 'number', message: '不允许使用传真 值不能为空', trigger: 'blur' },
{ type: 'string', message: '不允许使用传真 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '不允许使用传真 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '不允许使用传真 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '不允许使用传真 值不能为空', trigger: 'blur' },
],
donotpostalmail: [
{ type: 'number', message: '不允许使用邮件 值必须为数值类型', trigger: 'change' },
{ type: 'number', message: '不允许使用邮件 值必须为数值类型', trigger: 'blur' },
{ required: false, type: 'number', message: '不允许使用邮件 值不能为空', trigger: 'change' },
{ required: false, type: 'number', message: '不允许使用邮件 值不能为空', trigger: 'blur' },
{ 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' },
......
<template>
<i-form :model="this.data" class='app-form' ref='form' id='account_distribution' style="">
<i-form :model="this.data" class='app-form info-form-mode' ref='form' id='account_distribution' 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.distribution_form.details.group1')" :isShowCaption="false" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >
<app-form-group layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.group1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.account.distribution_form.details.group1')" :isShowCaption="false" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="true" >
<row>
<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.distribution_form.details.address1_shippingmethodcode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.address1_shippingmethodcode.error" :isEmptyCaption="false" labelPos="LEFT">
<dropdown-list
v-model="data.address1_shippingmethodcode"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.address1_shippingmethodcode.disabled"
tag='Account__Address1_ShippingMethodCode'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
<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-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.distribution_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>
......
<template>
<i-form :model="this.data" class='app-form' ref='form' id='account_introduction' style="">
<i-form :model="this.data" class='app-form info-form-mode' ref='form' id='account_introduction' 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.introduction_form.details.group1')" :isShowCaption="false" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >
<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 }">
<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">
<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="{}" :lg="{ span: 24, 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">
<input-box v-model="data.sic" @enter="onEnter($event)" unit="" :disabled="detailsModel.sic.disabled" type='text' style=""></input-box>
<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 }">
<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">
<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="{}" :lg="{ 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">
<input-box v-model="data.description" @enter="onEnter($event)" unit="" :disabled="detailsModel.description.disabled" type='text' style=""></input-box>
<app-span name='description' :value="data.description" :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
</app-form-item>
</i-col>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册