quick-create-form.html 7.7 KB
<i-form :model="this.data" class='app-form' ref='form'  id='campaignactivity_quickcreate' 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.campaignactivity.quickcreate_form.details.group1')" :isShowCaption="false" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >    
    <row>
        <i-col v-show="detailsModel.subject.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-item name='subject' :itemRules="this.rules.subject" class='' :caption="$t('entities.campaignactivity.quickcreate_form.details.subject')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.subject.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box v-model="data.subject"  @enter="onEnter($event)"   unit=""  :disabled="detailsModel.subject.disabled" type='text'  style=""></input-box>
</app-form-item>

</i-col>
<i-col v-show="detailsModel.category.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-item name='category' :itemRules="this.rules.category" class='' :caption="$t('entities.campaignactivity.quickcreate_form.details.category')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.category.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box v-model="data.category"  @enter="onEnter($event)"   unit=""  :disabled="detailsModel.category.disabled" type='text'  style=""></input-box>
</app-form-item>

</i-col>
<i-col v-show="detailsModel.channeltypecode.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-item name='channeltypecode' :itemRules="this.rules.channeltypecode" class='' :caption="$t('entities.campaignactivity.quickcreate_form.details.channeltypecode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.channeltypecode.error" :isEmptyCaption="false" labelPos="LEFT">
    
 <dropdown-list 
    v-model="data.channeltypecode" 
    :data="data" 
    :context="context"
    :viewparams="viewparams"
    :localContext ='{ }' 
    :localParam ='{ }' 
    :disabled="detailsModel.channeltypecode.disabled"  
    tag='Campaignactivity__ChannelTypeCode' 
    codelistType='STATIC'
    placeholder='请选择...' style="">
 </dropdown-list>
</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.campaignactivity.quickcreate_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-form-item>

</i-col>
<i-col v-show="detailsModel.scheduledstart.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-item name='scheduledstart' :itemRules="this.rules.scheduledstart" class='' :caption="$t('entities.campaignactivity.quickcreate_form.details.scheduledstart')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.scheduledstart.error" :isEmptyCaption="false" labelPos="LEFT">
    <date-picker type="datetime" :transfer="true" format="yyyy-MM-dd HH:mm:ss" placeholder="请选择时间..." :value="data.scheduledstart" :disabled="detailsModel.scheduledstart.disabled" style="min-width: 150px; width:160px;" @on-change="(val1, val2) => { this.data.scheduledstart = val1 }"></date-picker>
</app-form-item>

</i-col>
<i-col v-show="detailsModel.scheduledend.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-item name='scheduledend' :itemRules="this.rules.scheduledend" class='' :caption="$t('entities.campaignactivity.quickcreate_form.details.scheduledend')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.scheduledend.error" :isEmptyCaption="false" labelPos="LEFT">
    <date-picker type="datetime" :transfer="true" format="yyyy-MM-dd HH:mm:ss" placeholder="请选择时间..." :value="data.scheduledend" :disabled="detailsModel.scheduledend.disabled" style="min-width: 150px; width:160px;" @on-change="(val1, val2) => { this.data.scheduledend = val1 }"></date-picker>
</app-form-item>

</i-col>
<i-col v-show="detailsModel.actualstart.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-item name='actualstart' :itemRules="this.rules.actualstart" class='' :caption="$t('entities.campaignactivity.quickcreate_form.details.actualstart')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.actualstart.error" :isEmptyCaption="false" labelPos="LEFT">
    <date-picker type="datetime" :transfer="true" format="yyyy-MM-dd HH:mm:ss" placeholder="请选择时间..." :value="data.actualstart" :disabled="detailsModel.actualstart.disabled" style="min-width: 150px; width:160px;" @on-change="(val1, val2) => { this.data.actualstart = val1 }"></date-picker>
</app-form-item>

</i-col>
<i-col v-show="detailsModel.actualend.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-item name='actualend' :itemRules="this.rules.actualend" class='' :caption="$t('entities.campaignactivity.quickcreate_form.details.actualend')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.actualend.error" :isEmptyCaption="false" labelPos="LEFT">
    <date-picker type="datetime" :transfer="true" format="yyyy-MM-dd HH:mm:ss" placeholder="请选择时间..." :value="data.actualend" :disabled="detailsModel.actualend.disabled" style="min-width: 150px; width:160px;" @on-change="(val1, val2) => { this.data.actualend = val1 }"></date-picker>
</app-form-item>

</i-col>
<i-col v-show="detailsModel.budgetedcost.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-item name='budgetedcost' :itemRules="this.rules.budgetedcost" class='' :caption="$t('entities.campaignactivity.quickcreate_form.details.budgetedcost')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.budgetedcost.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box v-model="data.budgetedcost"  @enter="onEnter($event)"   unit=""  :disabled="detailsModel.budgetedcost.disabled" type='number'  style=""></input-box>
</app-form-item>

</i-col>
<i-col v-show="detailsModel.actualcost.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-item name='actualcost' :itemRules="this.rules.actualcost" class='' :caption="$t('entities.campaignactivity.quickcreate_form.details.actualcost')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.actualcost.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box v-model="data.actualcost"  @enter="onEnter($event)"   unit=""  :disabled="detailsModel.actualcost.disabled" type='number'  style=""></input-box>
</app-form-item>

</i-col>
<i-col v-show="detailsModel.regardingobjectid.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-item name='regardingobjectid' :itemRules="this.rules.regardingobjectid" class='' :caption="$t('entities.campaignactivity.quickcreate_form.details.regardingobjectid')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.regardingobjectid.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box v-model="data.regardingobjectid"  @enter="onEnter($event)"   unit=""  :disabled="detailsModel.regardingobjectid.disabled" type='text'  style=""></input-box>
</app-form-item>

</i-col>
    
    </row>
</app-form-group>

</i-col>


    </row>
</i-form>