<template>
|
<template if:true={isShow}>
|
<div class="" style="height:200px;width:100%;display: flex;flex-direction: column;justify-content: space-around;background-color: white;padding-left: 10px">
|
<div style="font-size: 20px;">
|
<!-- <b><p>>决裁信息</p></b> -->
|
</div>
|
<template if:false={isShowInputField}>
|
<lightning-record-edit-form object-api-name="Campaign">
|
<!-- <lightning-messages></lightning-messages> -->
|
<div style="display: flex;height:100px;width:100%;flex;flex-direction: column;justify-content: space-around;">
|
<div style="display: flex;height:100%;width:100%;flex-direction: row;justify-content: space-around;">
|
<div style="width: 5%;"></div>
|
<div style="height:100%;width:35%;display: flex;flex-wrap: nowrap;">
|
<lightning-input-field name="IF_Approved__c" field-name="IF_Approved__c" value={IFAc}> </lightning-input-field>
|
</div>
|
<div style="height:100%;width:30%;display: flex;flex-wrap: nowrap;">
|
<lightning-input-field id='abcd' name='Meeting_Approved_No__c' field-name="Meeting_Approved_No__c" value={MAc} onchange={ch}> </lightning-input-field>
|
</div>
|
<div style="height:100%;width:30%;display: flex;margin-left: 10%;">
|
<lightning-input-field name='CampaignTheme__c' field-name='CampaignTheme__c' type="text" label="" disabled="true"></lightning-input-field>
|
</div>
|
<div style="width: 5%;"></div>
|
</div>
|
|
<div style="display: flex;height:80px;width:100%;padding-top: 10px;flex-direction: row;justify-content: space-around;flex-wrap:nowrap;">
|
<div style="width: 40%">
|
</div>
|
<div>
|
<lightning-button
|
label="提交"
|
onclick={openNewPage}
|
></lightning-button>
|
</div>
|
|
<div>
|
<lightning-button
|
label="取消"
|
onclick={returnPage}
|
></lightning-button>
|
</div>
|
<div style="width: 40%">
|
</div>
|
</div>
|
</div>
|
</lightning-record-edit-form>
|
</template>
|
</div>
|
</template>
|
</template>
|